by technosmurf · 10y ago · 0 comments
Wordstar treats the text like a long-hand manuscript. You can add notes to yourself like "fix this!" and deal with the edits later. Or, you can block copy large sections of text and have the computer keep a reference to it without having to "copy and paste" it immediately. I've seen George RR Martin write that he likes how easy it is to move large sections of text around in WordStar.
Here's how the SF writer Robert J. Sawyer describes it:
"... as a creative writer, I am convinced that the long-hand page is the better metaphor.
Consider: On a long-hand page, you can jump back and forth in your document with ease. You can put in bookmarks, either actual paper ones, or just fingers slipped into the middle of the manuscript stack. You can annotate the manuscript for yourself with comments like "Fix this!" or "Don't forget to check these facts" without there being any possibility of you missing them when you next work on the document. And you can mark a block, either by circling it with your pen, or by physically cutting it out, without necessarily having to do anything with it right away. The entire document is your workspace...
WordStar's ^Q (Quick cursor movement) and ^K (block) commands give me more of what I used to have when I wrote in longhand than any other product does. WordStar's powerful suite of cursor commands lets me fly all over my manuscript, without ever getting lost. That's because WordStar is constantly keeping track of where I've been and where I'm likely to want to go. ^QB will take me to the beginning of the marked block; ^QK will take me to the end; ^QV will take me to where the marked block was moved from; ^QP will take me to my previous cursor position. And, just as I used to juggle up to ten fingers inserted into various places in my paper manuscript, WordStar provides me with ten bookmarks, set with ^K0 through ^K9, and ten commands to jump to them, ^Q0 to ^Q9...
WordStar, with its long-hand-page metaphor, says, hey, do whatever you want whenever you want to. This is a good spot to mark the beginning of a block? Fine. What would you like to do next? Deal with the block? Continue writing? Use the thesaurus?
After another half hour of writing, I can say, ah hah!, this is where I want to end that block. And two hours later I can say, and this is where that block should go. I'm in control, not the program. That's clearly more powerful, more intuitive, and more flexible than any other method of text manipulation I've yet seen implemented in a word processor. That WordStar lets me have separate marked blocks in each of its editing windows multiplies that power substantially: imagine doing a cut and paste job between two versions of a paper document, but being told that you could only have one piece cut out at a time. Madness! Yet that's what WordPerfect, Microsoft Word, and others would force you to do. (In WordStar 7.0, you can even, in essence, have two marked blocks per window, toggling between them with the "mark previous block" command, ^KU.)"
You could mark a block (^KB to start, ^KK to end), and you could move around, find a place to insert it, then hit ^KV to move it there. Borland's IDEs also had selecting (using shift+arrows like many UIs today), and didn't affect blocks, which meant you could do some really fast editing by combining them.
The WordStar keystrokes currently survive in JOE [1], which I use as my $EDITOR. There's also a tiny Atom plugin [2] which gives you those block commands.
Looking around now, this may have come from Phillipe Khan and Sidekick. Quoting Jim Mischel at http://www.mischel.com/diary/2005/08/22.htm :
> While I'm on the subject of WordStar, I've heard a story that I haven't been able to verify. When Phillipe Kahn was asked why he chose to use the WordStar command set in the first version of Sidekick, he said that he asked a lot of people for their editor preferences. Almost everybody had a different first preference (back then it could have been Emacs, vi, Word Perfect, WordStar, Brief, Leading Edge Word Processor, or who knows what else). But almost everybody he asked knew WordStar and named it as their second preference. I don't know if it's true, but it smacks of truth. Certainly every microcomputer programmer I knew back in the late 80s was proficient with WordStar.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Ki...
It takes a while to get used to it, but once you understand it / use it in anger, it becomes tough to live without.
In Emacs, what you nowadays call "cutting and pasting" is instead called "killing and yanking". It was called that way even before "cut" and "paste" got popularized, I think.
And the "Kill Ring" name makes sense, as it a) contains snippets of text you killed and b) when yanking (pasting) lets you cycle through all the killed snippets. You can view your kill ring in its entirety via a menu or with a plugin (kill-ring-browser or similar, I forget).
Emacs is old and brittle, but its basic editing model is very good. It does lack (without plugins) some features I learned in Vim (the most irritating thing at the beginning was a lack of "textobjects"; I still occasionally miss them, despite expand-region and other plugins), but is basically the only editor that I feel is worth learning.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms6...
Applications that wish to get data from the clipboard can then enumerate the available formats and select the format that matches what they can use.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms6...
http://www.mschaef.com/blog/tech/excel/what_is_in_your_clipb...
I've used Wordstar, though only for a year or so, and a quarter century ago or so. Memories...
"[a-zA-Z0-9\-"][ypd]{,2} -- Quote to specify a register,
followed by an alphanumeric
character (or hyphen, or double
quote (the default register))
followed by a yank, put, or
delete command.
m[a-zA-Z\[\]<>] -- Set the mark indicated by the
following character. Lower-case
characters are buffer-local,
upper-case are global across
all buffers in the session.
[, ], <, and > are normally
implicit marks: [] refer to
the start and end of the last
effected range of text, while <>
refer to the start and end of
the visual selection (if any).
'[a-zA-Z0-9<>'`"^\.(){}] -- Jump to the mark indicated by
the following character. Numeric
marks are set in the .viminfo
file, while the special
characters refer to various
implicit marks, which I won't
list here since there's so many.
As in Emacs, I tend to think of it as a mark of advanced usage (but one among many, really). Navigating around in Vim is exquisite once you grok using marks. Vi had registers and marks as well, but marks were limited to buffer-local only, if I recall correctly.This reminds me -- I need to get back into Emacs and learn some more! Hopefully this time I don't get carried away writing Lisp all night again ;) Makes me yearn for a Vim that's configurable and extensible with Lisp (there's a plugin that enables writing extensions in Racket, but I'm not sure how much extensibility it actually affords compared to Vimscript -- my guess is that it's probably rather limited, I'm afraid).