2022-02-17

WordPerfect 2021 - Why this instead of Word?

WordPerfect 2021.
Article originally written for version X5, then version X9, now version 2021.


I'll keep comments short, because most of you are snickering - WordPerfect?


I know this: In another window, I am editing a 650 page document with 300 illustrations.  Not once have I lost a graphic or been confused with tab-settings.  I do not curse at my computer while writing.

Tabs, margin-releases, indented paragraphs, hanging indents, footnotes, headers and footers, along with word-wrapped graphics -- all work as you would hope, with no friction.  If you are fiddling with the ruler-bar each time you need an indented list or header, then you are working too hard -- and I'd bet you are using Microsoft's Word.



WordPerfect understands word processing; it is not an after-thought.

2021 Update:  WordPerfect is now at Version 2021.  Almost the same menus, same features as their first Windows version.  This is better than Word.  And the price is right.  Buy the Home/Student version for around $60. 

2020.06 Update:  I just finished writing my 2,200 page book, 6 volumes, 1,200 illustrations using Word Perfect:  Search Amazon for "War and Peace Programming in C#".


In Word, have you ever back-spaced an entire word just to get rid of a bold or underline that wouldn't go away?  In WordPerfect, this doesn't happen. WP exposes everything about the document, using a feature called "Reveal Codes", where *all* hidden codes are viewable, as you are editing. 

This is why people use WordPerfect.

Reveal Codes, Illustrated, with sample text:


In practice, this is not as strange as it seems.  Reveal Codes only take up about 5% of the screen, at the bottom, out-of-the-way.  But they are glorious.  You get to see the bolds, underlines, margin-releases, and paragraph-block protect codes.  Anything you can do to a word, sentence, or even an individual character, is visible. These codes are unobtrusive and do not clutter your editing window.  At-a-glance, they are always visible (if you expose this feature - and everyone exposes them - this is why they use WordPerfect).


Compare this to Microsoft Word, which can show tabs, carriage-returns, and a few other measly codes -- but that is all.  How many times have you wished you could see the bullet-list codes so they could be deleted?  And worse, when Word shows its 'codes,' it clutters the editing space like a train-wreck.

Word's "codes" are sad:



WordPerfect  Home and Student Edition:

I buy the Home/Student edition.  You get the following:

  • WordPerfect 
  • Full Oxford Dictionary and Thesaurus
  • Presentation - similar to Powerpoint
  • Quattro - Spreadsheet, similar to Excel
  • Lightning - a Note-taker program
  • Aftershot Pro - a snazzy photo organization

All Corel programs can read-and-write Microsoft Office formats (docx, xlsx, ppt), but when writing, I keep my documents in the native WPD format because it handles formatting better. 

The other programs, particularly Presentation and Quattro-the-spreadsheet, are probably swell, but I just use the word processor, dictionaries, and the photo organizer. 

You can buy, and out-right-own, an entire office suite for about the price a year's subscription to O365.  


WordPerfect is not Word - here is why

WordPerfect operates differently than Word.  Here are the important points:
  • Take 5 minutes and learn Reveal Codes. 

  • Font changes, tab, margin, etc, happen at the cursor and flow through the bottom of the document (or until stopped by a replacement/related code).
     
    No need to highlight a 17 page document to change a document's font. Move to the top of the document, and change the font. Same with line spacing, default tab settings, and others. 

    Change in the middle of the document, and that change takes affect from that page, onward.  No fuss.  In other words, it is easy to change things like headers and footers mid-document, and previous pages are unaffected!  This is noticeably different than Word, where all codes are tied to the highlighted paragraph.

  • When highlighting a sentence, paragraph, or page, make a change -- and only the highlighted area is changed.  Everything else remains the same -- this includes margin changes!  All the other original settings "flow" around the highlighted change.  Wow!  A breath of sanity.  Are you listening, Microsoft?

    This means a tab-change only needs to be made once -- at the place and text where you want it.  No need to reset the remainder of the document back to the old tab-settings.  Word is confused here. 

  • When changing a block of text's font, margin, or other settings, conflicting codes within the highlight are removed and replaced with the new settings.  It cleans itself. This is exactly what you want.

  • Font changes can be made with 'relative' sizes.  Select "Small", "Large", "Extra-Large". 
    This way, if the default font changes from 12 points to 10, all of the resizes happen automatically.  This flows through font changes, from Arial to Century Schoolbook, etc.
  • Graphics work as expected. Drag anywhere on the page, with no restrictions on Left, Right, Middle. No fiddling.  They can be anchored to a (paragraph) and given an exact size and/or relative position.  WP has dozens of graphic settings; Word has 5.  Do you need this stuff?  Maybe.  Writing a text book sure proved the need.
     
  • Numbered and bullet lists work.  No surprises.  And all is visible in Reveal Codes.  Do you want two paragraphs tied to one bullet.  No problem.  Do you want the bullets aligned with the with the left margin, rather than indented?  Done. Word blows my mind every time it starts mis-numbering a paragraph.

      • For indented and hanging paragraphs, like this one, press F7 to indent. 
        It just works.  No fiddling with rulers or tabs.  Press Shift-tab to out-dent (margin release). 

        Unlike Word, indents can move more than one tab-stop - making deeply-indented paragraphs.  Press F7 twice for two indents; tap-tap.  Hang paragraph headers on the left-side of the margin with a Shift-F7 keystroke - a margin release just like the old days. 

  • Text can be centered with the mouse and the ruler-bar -- but nobody bothers.  Instead, they use keystrokes: Shift-F7 (center).  Alt-F7 right justifies.  No fiddling with the ruler bar!

    Interestingly, a line can have left-justified, centered, and right-justified, all on the same line.  For example, consider this common page footer, which as near as I can tell, is impossible to do in Word:

    My School Paper          Page 7         Wolf, Johnson, and Smith

    To build this, select the 'Footer' menu and just start tying.  At the 'Page number', press Shift-F7 (center) and type what you want, inserting a code for the 'current page'  -- yes! you can center in the middle of a sentence!   For the third phrase (the author names), type Alt-F7 (right-justify) and start typing.  Again, type this stuff right in the middle of the sentence.  No mouse. No margin changes. No fiddling with ruler-bars.  It adjusts with changes to margins and font changes.


 
 
 
 
 
 
 
 
 
As you would expect, it can read and edit Microsoft Office Documents, Open office, and 40 other formats. It has full PDF features (writing to PDF is built in).

You can legally load it on your desktop and laptop at no additional charge (see license).


After Installing, make this one change:

When first installing, make this one, highly-recommended change:
Tools, Settings, Display:
Set mouse to be active in Text

(This way, it doesn't add a new tab (white space), just because you clicked in a blank area of the page.  I wish Corel would default this setting.  Trust me on this; it makes the program behave more naturally.)
Learn these keystrokes
(I call these sanity keystrokes, and they save you from fiddling with the ruler-bar and these are the only keystrokes you need to remember -- although there are dozens of others...):

    F7 - Paragraph Indent
    Shift-Tab - Margin Release, Paragraph Outdent
    Shift-F7 - Center
    Alt-F7 - Right-justify
    F9 - Font menu

I had so much fun writing my programming books, I wrote a book about using WordPerfect to write books.   Search Amazon for "Adventures with WordPerfect"



Final Thoughts:

If your new PC came with an expired trial version of Microsoft Office, consider WordPerfect Office.  I recommend using the Home/Student edition as you likely don't need the Standard, Professional, or Legal versions.

You will get a capable spreadsheet (not quite Excel, but not bad), and a fabulous word processor, along with other software and training materials.

30-day trial, downloadable from Corel.com.

Write one term paper, or one long document with footnotes, graphics and font changes, and you will be hooked. Things like printing envelopes and mail-merges work easily and intuitively. 

I literally wrote a 2,200-page book, with 1,300 embedded illustrations, automatic table-of-contents, and full indexing.  I spent most of my time writing.  Very little formatting.


Related Articles:
WordPerfect - Hanging Indents / Paragraph Headers
WordPerfect - Block Protect Text Across Page Breaks
WordPerfect - Using WP for School Papers - Page Numbering ** go here

2022: Article updated to include references to newer versions

2022-02-04

Midy5 - MD5 SHA-256 CheckSum Finder

Midy5 - Show a file's MD5 or SHA-256 checksum

An MD5 or SHA-256 are calculated values of a file's checksum and can show if a file has been modified.  Use this free keyliner utility to display the file's internal checksums, showing both the MD5 and the SHA-256.  The program is affectionately named "Midy5".

Click for larger view

(MD5 is an older style; SHA-256 keys are more cryptographically secure.  This program shows both.)

No registration, no login, no required email.
No advertisements, no nags, no spying. Does not call the mothership.
Free for personal and commercial use.


The Need:
Often vendors publish the checksum for their files.  When you download the file, say from Source Forge, or other distribution sites, compare the original vendor's published MD5 with your copy.  If different, you know the file was changed and the download should be viewed with suspicion.  

For example, a picture's MD5 checksum might be
File:    SomeFile.png
MD5:     f2-4b-ae-fc-37-e8-85-a5-0e-41-3a-3e-9a-60-3a-d0

Changing one-pixel from a ghostly-light-gray to white results in a wildly-different MD5-hash:
MD5:     33-94-8b-b0-82-bc-a2-f4-e2-51-35-43-8f-ae-dd-a9

Files copied to a different drive, will get a different date-stamp, and the file can be renamed, but both copies retain the same MD5 / SHA-256.  By looking at the hash, you would know they were identical files.

Checksums can also show if a file was corrupted or changed by other legitimate processes since it was last checked.  A file re-copied (with new date-stamp) may be the identical file, or may be changed.  The checksum is able to tell.

Midy5 Features

  • Retrieves any file's MD5 or SHA-256 checksum
  • Results can be copied to the clipboard
  • Drag-and-drop files from File Explorer, or browse to the file
  • Pass filename from the command-line
  • At a glance compare two files checksums, Date-time, file size
  • A small executable, fast, easy-to-use

This program was written as a personal project and became Chapter 4 in keyliner's Student and Instructor workbook, "War and Peace - Programming in C# Volume 6".  Learn how you can write this program yourself!

Installation Steps:

No registration, no login, no required email.
No advertisements, no nags, no spying. Does not call home.
Free for personal and commercial use.
keyliner does not (and cannot) track who downloads or runs this program
.

Installation is easy: Download the .exe and place in any folder on your hard disk.  Double-click the .exe to run - no installation required. 

Since keyliner cannot afford a signing certificate, you will be prompted that the file is not safe (being downloaded from the internet).  Click "more information" and allow the program to run.


Follow these steps for a more professional installation:

Using the .exe from a download folder, or copying to (my Documents) folder is a quick workaround for various Windows 10 and 11 security concerns.  Some vendors recommend this, but these folders are inappropriate for executable software.  Instead, the program should be copied to Program Files so it gains the protection of other Windows security features. Total time: about a minute.

A.  Download the .exe to a Download or Temp folder:

From Keyliner's public GDrive, click this link and download to a local temp or download directory.  Do not download directly into ProgramFiles

Download Link
https://drive.google.com/file/d/1QGeawJH9v0HrbsFqwg1z-WNd8kxeNcuA/view?usp=sharing

Ironically, I used this program to publish the download's own MD5:
Midy5.exe, Version 1.04
MD5:c3-19-68-a8-9b-5e-c0-c2-81-74-f7-5e-3d-8a-74-55

SHA256:   0f7f278d8f90aa8616eeb1bd0c392a065bd4c63338ee423c306f5a504a1d9427

When downloading, different browsers behave differently.
You will be prompted 'file cannot be scanned.'  Click "Download anyway". 
For, example:

Microsoft Edge Downloads:
Prompts "Midy5.exe was blocked because it could harm your device."

Click "See More" and allow the download. 

With Edge, the file appears in your Downloads directory with a random name, "Unconfirmed 780359.crdownloaded" (name varies). 

Use File Explorer to rename the file to "Midy5.exe".


B.  Mark the program as safe-to-run:

(This step may not be needed if downloaded by Edge and you clicked "More / Download Anyway")

Using File Explorer, right-mouse-click the downloaded (and re-named) Midy5.exe
Select "Properties"
Check [x] Unblock.  (This removes the "mark of the web.")

                 Click for larger view

* Only do this if you trust keyliner *and* only if downloaded from keyliner's public GDrive. 

If "Unblock" is not visible, it has already been unlocked (by Microsoft Edge).
Once [x] Unblocked is clicked, this security menu disappears.

C.  Create a Program folder to hold the program:

Using File Explorer, open folder C:\Program Files,
Create a folder  C:\Program Files\Util
 
D.  Copy the .exe to ProgramFiles\Util:

Using File Explorer,
Copy/paste the downloaded .exe from the temporary/download folder to
C:\Program Files\Util  (or directory of your choosing)

Do this copy as a two-step, copying from the download folder into Program Files.  Windows security will not let you download directly into Program Files (technically, you will not be able to remove the "mark of the web" if downloaded directly into Program Files).


E.  Create a Start Menu Tile:

Using File Explorer, in C:\Program Files\util
Right-mouse-click the executable and "Pin to Start"

The program is ready to run.  See icon on Start Menu.

Try it out:

1.  Download and launch Midy5.exe
2.  Open File-Explorer.  Locate any file and click and drag it on top of Midy5
3.  In all its glory, review the MD5 checksum

Version 1.04 - Added ctrl-N to launch Notepad.  Added an Icon .ico file.
Version 1.03 - Added support for SHA-256
Version 1.02 - Tiny change to internal variable name.  Small cosmetic change on panel.
Version 1.01 - Initial Release



Write this program yourself!
"War and Peace - Programming in C# Volume 6"

(Student/Instructor workbook, Project 4.  Search Amazon.com for "War and Peace Programming")




Related links

keyliner wrote a command-line version of this same idea, except this version can view and inventory entire directories, showing which files have changed, which are new, or deleted.  This utility was meant for volatile folders, usually in a corporate environment.

Link: File MD5 Checksum Inventory (batch MD5)

Link:  keyliner file backup software


Leave a comment and tell me how you like the program.

2022-02-02

Windows Event ID 137 Error The System Firmware has changed the processor's memory type

Windows Event ID 137 Error The System Firmware has changed the processor's memory type range registers (MTRRs) across a sleep state transition (S4).  This can result in reduced resume performance.

Discussion:

This event always happens when the computer goes from sleep to hibernation. The event is not considered worrisome. 

Sleep is a low-power state, but RAM is still active.  Hibernation is a no-power state and it writes RAM to disk and can recover at the same place, even if power is lost.  See more about this, below.

It is a poorly-written event, which should not even be recorded if the machine is going into hibernation.  Of course it will result in slower performance -- that is the definition of hibernation!


Diagnostics:

Windows 10/11 no longer expose the hibernation file in a control panel.  Optionally, and unimportantly, you can look to see if Hibernation is enabled.  It is enabled by default on all Windows installs.

Using File Explorer, on the ribbon bar, click the ellipsis, Options
In Options, click the [View] tab.
Check "[x] Show hidden files, folders, and drives"
Uncheck "[  ] Hide extensions for known file types"
Uncheck "[  ] Hide protected operating system files"
Ignore warnings.
Click OK.

Using File Explorer, browse to the root of the C: drive.
If you have a large file, "hiberfil.sys" -- this is the hibernation file and it is enabled.


Solution:

Consider disabling the hibernation file if you are on a desktop.  Do this especially if a UPS Battery backup is present.  I turn this off on all desktops.

However, if you have a laptop, I do not recommend disabling hibernation.  This feature is used when you close the lid and jump on an airplane.  Laptops will have to accept the Event ID 137.

Disable hibernation steps:

1.  Click Start, type/search "CMD", Run as Administrator
2.  At the DOS Prompt, type this command:

powercfg /hibernate off

You are done.

Note the C:\hiberfile.sys file is deleted.

Related articles:

For other Windows 11 Tuning tips, see
https://keyliner.blogspot.com/2021/11/windows-11-tuning.html

Windows Event ID 2505 - Could not bind to transport
Windows Event ID 2 - Windows.Remediation
Windows Event ID 137 - System firmware has changed the processors...
Windows Event ID 10010 - Did not register with DCOM
Windows Event ID 10016 - permission settings do not grant, could not bind