WordStar's “column mode”

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












14















I've read that WordStar had a "column mode" which could be useful for making it act as a programmer's editor. But I've not found a clear description (or screenshots) of exactly what this mode was and what it did?



Note - I'm not even sure if that is the real name of the feature, or just a description.










share|improve this question



















  • 5





    @Chenmunka this has nothing to do with page layout columns.

    – Stephen Kitt
    Jan 30 at 15:06






  • 1





    I'm not familiar with WordStar's 'column mode', but I imagine it is similar to nedit's, where you can select any arbitrary rectangular selection of text to copy and paste. I.e., if you start your selection say 10 characters in from the start of a line, then drag down how ever many rows you want, the selection would not include the first 10 chars of any of the lines.

    – Glen Yates
    Jan 30 at 18:20






  • 1





    I read this as "WorldStar" and was like ummm...

    – only_pro
    Jan 30 at 18:38






  • 2





    You can do it in Notepad++ (at least, I'm pretty sure it's the same) by holding Alt while selecting text (either using the mouse or Shift+arrow keys)

    – 12Me21
    Jan 30 at 18:47







  • 1





    Yes, Notepad++ can do it. Occasionally useful for things like converting a tab-separated file to a comma-separated file.

    – Alan B
    Jan 31 at 15:02















14















I've read that WordStar had a "column mode" which could be useful for making it act as a programmer's editor. But I've not found a clear description (or screenshots) of exactly what this mode was and what it did?



Note - I'm not even sure if that is the real name of the feature, or just a description.










share|improve this question



















  • 5





    @Chenmunka this has nothing to do with page layout columns.

    – Stephen Kitt
    Jan 30 at 15:06






  • 1





    I'm not familiar with WordStar's 'column mode', but I imagine it is similar to nedit's, where you can select any arbitrary rectangular selection of text to copy and paste. I.e., if you start your selection say 10 characters in from the start of a line, then drag down how ever many rows you want, the selection would not include the first 10 chars of any of the lines.

    – Glen Yates
    Jan 30 at 18:20






  • 1





    I read this as "WorldStar" and was like ummm...

    – only_pro
    Jan 30 at 18:38






  • 2





    You can do it in Notepad++ (at least, I'm pretty sure it's the same) by holding Alt while selecting text (either using the mouse or Shift+arrow keys)

    – 12Me21
    Jan 30 at 18:47







  • 1





    Yes, Notepad++ can do it. Occasionally useful for things like converting a tab-separated file to a comma-separated file.

    – Alan B
    Jan 31 at 15:02













14












14








14








I've read that WordStar had a "column mode" which could be useful for making it act as a programmer's editor. But I've not found a clear description (or screenshots) of exactly what this mode was and what it did?



Note - I'm not even sure if that is the real name of the feature, or just a description.










share|improve this question
















I've read that WordStar had a "column mode" which could be useful for making it act as a programmer's editor. But I've not found a clear description (or screenshots) of exactly what this mode was and what it did?



Note - I'm not even sure if that is the real name of the feature, or just a description.







wordstar






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 31 at 3:53









manassehkatz

2,992622




2,992622










asked Jan 30 at 14:54









DaveInCazDaveInCaz

1714




1714







  • 5





    @Chenmunka this has nothing to do with page layout columns.

    – Stephen Kitt
    Jan 30 at 15:06






  • 1





    I'm not familiar with WordStar's 'column mode', but I imagine it is similar to nedit's, where you can select any arbitrary rectangular selection of text to copy and paste. I.e., if you start your selection say 10 characters in from the start of a line, then drag down how ever many rows you want, the selection would not include the first 10 chars of any of the lines.

    – Glen Yates
    Jan 30 at 18:20






  • 1





    I read this as "WorldStar" and was like ummm...

    – only_pro
    Jan 30 at 18:38






  • 2





    You can do it in Notepad++ (at least, I'm pretty sure it's the same) by holding Alt while selecting text (either using the mouse or Shift+arrow keys)

    – 12Me21
    Jan 30 at 18:47







  • 1





    Yes, Notepad++ can do it. Occasionally useful for things like converting a tab-separated file to a comma-separated file.

    – Alan B
    Jan 31 at 15:02












  • 5





    @Chenmunka this has nothing to do with page layout columns.

    – Stephen Kitt
    Jan 30 at 15:06






  • 1





    I'm not familiar with WordStar's 'column mode', but I imagine it is similar to nedit's, where you can select any arbitrary rectangular selection of text to copy and paste. I.e., if you start your selection say 10 characters in from the start of a line, then drag down how ever many rows you want, the selection would not include the first 10 chars of any of the lines.

    – Glen Yates
    Jan 30 at 18:20






  • 1





    I read this as "WorldStar" and was like ummm...

    – only_pro
    Jan 30 at 18:38






  • 2





    You can do it in Notepad++ (at least, I'm pretty sure it's the same) by holding Alt while selecting text (either using the mouse or Shift+arrow keys)

    – 12Me21
    Jan 30 at 18:47







  • 1





    Yes, Notepad++ can do it. Occasionally useful for things like converting a tab-separated file to a comma-separated file.

    – Alan B
    Jan 31 at 15:02







5




5





@Chenmunka this has nothing to do with page layout columns.

– Stephen Kitt
Jan 30 at 15:06





@Chenmunka this has nothing to do with page layout columns.

– Stephen Kitt
Jan 30 at 15:06




1




1





I'm not familiar with WordStar's 'column mode', but I imagine it is similar to nedit's, where you can select any arbitrary rectangular selection of text to copy and paste. I.e., if you start your selection say 10 characters in from the start of a line, then drag down how ever many rows you want, the selection would not include the first 10 chars of any of the lines.

– Glen Yates
Jan 30 at 18:20





I'm not familiar with WordStar's 'column mode', but I imagine it is similar to nedit's, where you can select any arbitrary rectangular selection of text to copy and paste. I.e., if you start your selection say 10 characters in from the start of a line, then drag down how ever many rows you want, the selection would not include the first 10 chars of any of the lines.

– Glen Yates
Jan 30 at 18:20




1




1





I read this as "WorldStar" and was like ummm...

– only_pro
Jan 30 at 18:38





I read this as "WorldStar" and was like ummm...

– only_pro
Jan 30 at 18:38




2




2





You can do it in Notepad++ (at least, I'm pretty sure it's the same) by holding Alt while selecting text (either using the mouse or Shift+arrow keys)

– 12Me21
Jan 30 at 18:47






You can do it in Notepad++ (at least, I'm pretty sure it's the same) by holding Alt while selecting text (either using the mouse or Shift+arrow keys)

– 12Me21
Jan 30 at 18:47





1




1





Yes, Notepad++ can do it. Occasionally useful for things like converting a tab-separated file to a comma-separated file.

– Alan B
Jan 31 at 15:02





Yes, Notepad++ can do it. Occasionally useful for things like converting a tab-separated file to a comma-separated file.

– Alan B
Jan 31 at 15:02










3 Answers
3






active

oldest

votes


















16














Took me a while to write this and another answer showed up. But submitting it anyway because I am such a huge fan of WordStar and have the keystrokes in muscle memory.



There are a few different features of WordStar that made it work pretty well (for the time) as a programmer's editor. I used it (and NewWord) for many years, and then switched to vEdit. I have programmed vEdit with the WordStar control-codes and used it that way for so many years that it is somewhat of a blur which features were actually native in WordStar/NewWord and which ones were not. (Well, multi-gigabyte file editing is definitely vEdit and not WordStar...)



Non-document Mode



Non-document mode was a key feature of WordStar that most other word processors never had. In non-document mode, there were no formatting codes inserted or recognized (e.g., for bold, italics, etc.), did not wrap lines automatically, and did not set the 8th-bit of characters for internal use. A quick search finds WordStar's Document and Non-Document Modes Demystified which gives a complete explanation.



Column Blocks



I think this is the feature you are referring to. I still use it today in vEdit, which as a programmer's editor quite naturally has such a feature, but I still use the WordStar codes to get to it. WordStar historically used Ctrl-KB to start a block and Ctrl-KK to end a block. Those keys worked very much like clicking on the start of a block in a typical modern word processor and holding shift while clicking on the end - block highlighted and ready to copy/move/delete.



However, if you pressed Ctrl-KN first, then you entered column block mode. In this mode the block is a rectangle instead of a continuous character stream. This is ideal for programming as you can use it to indent/undent, move chunks of data or code around left & right, etc.






share|improve this answer




















  • 4





    "have the keystrokes in muscle memory" Did you have the urge to press ctrl-K S while writing this answer?

    – Acccumulation
    Jan 30 at 19:43











  • I sometimes do things like that. Particularly, control-Q F to find in many programs - depending on the program it can do anything from nothing at all to Quit... I use control-K S all the time in vEdit - I have no idea what the default key binding is and it is plenty faster than going through the menus.

    – manassehkatz
    Jan 30 at 19:47






  • 1





    Off topic probably, but I've never heard of "undent". Was this terminology in use anywhere? "Outdent" I would recognise.

    – Mr Lister
    Jan 30 at 20:04






  • 2





    I think I've heard "unindent"

    – 12Me21
    Jan 30 at 20:37






  • 1





    @Mr Lister: that's why it's different. It's another operation that's the mirror of indent. While unindent, that we speak about here, is simply undoing the indent, so that it doesn't result in an outdent, just restores what it was before. (And, actually, we're digressing because column mode isn't about indents at all, it's about copying rectangular sections of text).

    – Gábor
    Jan 31 at 8:50



















13














WordStar does indeed have a column mode, whose effect is to allow blocks to have left and right boundaries. Usually when you mark a block (using CtrlKB and CtrlKK), the block spans whole lines, with at most the first and last lines being incomplete. In column mode (CtrlKN), the block starts at whatever line and column the cursor is in when you start it, and ends at whatever line and column the cursor is in when you end it. You can then manipulate the column as an object.



For example, this would allow you to select the “Year” column below



Year Top salesman Total sales
2013 Joe Bloggs 1000000
2014 Jane Doe 1500000


and move it to another position in the table.



When programming, this is useful for indenting or un-indenting code, or manipulating columnar data as would be common in some programming environments in the past.



Using WordStar has a decent description of this feature.



(For readers used to modern-day column handling in word processors, this has nothing to do with page layout columns. It’s a text-selection feature which you’ll find in many text editors; see for example editors with support for rectangular block selection in Wikipedia’s comparison of text editors.)






share|improve this answer




















  • 1





    I also remember using these codes in a very early version of Turbo Pascal for DOS.

    – Mark Williams
    Jan 30 at 21:00






  • 1





    This sounds like Emacs's Rectangle commands.

    – Barmar
    Jan 31 at 4:49











  • This feature can be activated in many modern editors (including MS Word) by pressing ALT while dragging the mouse (in Word, the useless “research this” feature can interfere with this, if you don’t move the mouse fast or cleanly enough).

    – Euro Micelli
    Jan 31 at 14:20


















9














Well, since I mentioned it, I'll illustrate it. I'm told that this is not unique to WordStar: Borland Sprint had it, and so do several modern text editors (I've been using Emacs with folds for the last 25 years).



Say you have some text like this:



 Production by year
Foos Bars Blats Spungs
1975 4 7 20 3
1976 1000 2 23 1
1977 3000 1 1537 0
1978 5000 4 20331 0
1979 4875 321 38145 0
1980 4900 450 37 0


This is not using a column formatting feature like a modern word processor. These are just characters on simple lines of text, in a text file. They are necessarily monospaced text, because CP/M, which WordStar was designed for, had no graphics.



Now, you want to change the order of the columns, in this text file. It's a fiddle. However, if you have column mode, you can select, say, the Bars column, which looks like this on the screen:



 Production by year
Foos *Bars* Blats Spungs
1975 4 * 7* 20 3
1976 1000 * 2* 23 1
1977 3000 * 1* 1537 0
1978 5000 * 4* 20331 0
1979 4875 * 321* 38145 0
1980 4900 * 450* 37 0


Then you put the cursor at the start of the Spungs column, and use the Block Move command (not separate cut and paste commands, they hadn't been invented yet), and you get this:



 Production by year
Foos Blats Bars Spungs
1975 4 20 7 3
1976 1000 23 2 1
1977 3000 1537 1 0
1978 5000 20331 4 0
1979 4875 38145 321 0
1980 4900 37 450 0


Yes, this is far more primitive than you might do with a modern text-processing tool, or with spreadsheet columns embedded in a word-processor document. Retrocomputing, remember?






share|improve this answer
























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "648"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fretrocomputing.stackexchange.com%2fquestions%2f9011%2fwordstars-column-mode%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    16














    Took me a while to write this and another answer showed up. But submitting it anyway because I am such a huge fan of WordStar and have the keystrokes in muscle memory.



    There are a few different features of WordStar that made it work pretty well (for the time) as a programmer's editor. I used it (and NewWord) for many years, and then switched to vEdit. I have programmed vEdit with the WordStar control-codes and used it that way for so many years that it is somewhat of a blur which features were actually native in WordStar/NewWord and which ones were not. (Well, multi-gigabyte file editing is definitely vEdit and not WordStar...)



    Non-document Mode



    Non-document mode was a key feature of WordStar that most other word processors never had. In non-document mode, there were no formatting codes inserted or recognized (e.g., for bold, italics, etc.), did not wrap lines automatically, and did not set the 8th-bit of characters for internal use. A quick search finds WordStar's Document and Non-Document Modes Demystified which gives a complete explanation.



    Column Blocks



    I think this is the feature you are referring to. I still use it today in vEdit, which as a programmer's editor quite naturally has such a feature, but I still use the WordStar codes to get to it. WordStar historically used Ctrl-KB to start a block and Ctrl-KK to end a block. Those keys worked very much like clicking on the start of a block in a typical modern word processor and holding shift while clicking on the end - block highlighted and ready to copy/move/delete.



    However, if you pressed Ctrl-KN first, then you entered column block mode. In this mode the block is a rectangle instead of a continuous character stream. This is ideal for programming as you can use it to indent/undent, move chunks of data or code around left & right, etc.






    share|improve this answer




















    • 4





      "have the keystrokes in muscle memory" Did you have the urge to press ctrl-K S while writing this answer?

      – Acccumulation
      Jan 30 at 19:43











    • I sometimes do things like that. Particularly, control-Q F to find in many programs - depending on the program it can do anything from nothing at all to Quit... I use control-K S all the time in vEdit - I have no idea what the default key binding is and it is plenty faster than going through the menus.

      – manassehkatz
      Jan 30 at 19:47






    • 1





      Off topic probably, but I've never heard of "undent". Was this terminology in use anywhere? "Outdent" I would recognise.

      – Mr Lister
      Jan 30 at 20:04






    • 2





      I think I've heard "unindent"

      – 12Me21
      Jan 30 at 20:37






    • 1





      @Mr Lister: that's why it's different. It's another operation that's the mirror of indent. While unindent, that we speak about here, is simply undoing the indent, so that it doesn't result in an outdent, just restores what it was before. (And, actually, we're digressing because column mode isn't about indents at all, it's about copying rectangular sections of text).

      – Gábor
      Jan 31 at 8:50
















    16














    Took me a while to write this and another answer showed up. But submitting it anyway because I am such a huge fan of WordStar and have the keystrokes in muscle memory.



    There are a few different features of WordStar that made it work pretty well (for the time) as a programmer's editor. I used it (and NewWord) for many years, and then switched to vEdit. I have programmed vEdit with the WordStar control-codes and used it that way for so many years that it is somewhat of a blur which features were actually native in WordStar/NewWord and which ones were not. (Well, multi-gigabyte file editing is definitely vEdit and not WordStar...)



    Non-document Mode



    Non-document mode was a key feature of WordStar that most other word processors never had. In non-document mode, there were no formatting codes inserted or recognized (e.g., for bold, italics, etc.), did not wrap lines automatically, and did not set the 8th-bit of characters for internal use. A quick search finds WordStar's Document and Non-Document Modes Demystified which gives a complete explanation.



    Column Blocks



    I think this is the feature you are referring to. I still use it today in vEdit, which as a programmer's editor quite naturally has such a feature, but I still use the WordStar codes to get to it. WordStar historically used Ctrl-KB to start a block and Ctrl-KK to end a block. Those keys worked very much like clicking on the start of a block in a typical modern word processor and holding shift while clicking on the end - block highlighted and ready to copy/move/delete.



    However, if you pressed Ctrl-KN first, then you entered column block mode. In this mode the block is a rectangle instead of a continuous character stream. This is ideal for programming as you can use it to indent/undent, move chunks of data or code around left & right, etc.






    share|improve this answer




















    • 4





      "have the keystrokes in muscle memory" Did you have the urge to press ctrl-K S while writing this answer?

      – Acccumulation
      Jan 30 at 19:43











    • I sometimes do things like that. Particularly, control-Q F to find in many programs - depending on the program it can do anything from nothing at all to Quit... I use control-K S all the time in vEdit - I have no idea what the default key binding is and it is plenty faster than going through the menus.

      – manassehkatz
      Jan 30 at 19:47






    • 1





      Off topic probably, but I've never heard of "undent". Was this terminology in use anywhere? "Outdent" I would recognise.

      – Mr Lister
      Jan 30 at 20:04






    • 2





      I think I've heard "unindent"

      – 12Me21
      Jan 30 at 20:37






    • 1





      @Mr Lister: that's why it's different. It's another operation that's the mirror of indent. While unindent, that we speak about here, is simply undoing the indent, so that it doesn't result in an outdent, just restores what it was before. (And, actually, we're digressing because column mode isn't about indents at all, it's about copying rectangular sections of text).

      – Gábor
      Jan 31 at 8:50














    16












    16








    16







    Took me a while to write this and another answer showed up. But submitting it anyway because I am such a huge fan of WordStar and have the keystrokes in muscle memory.



    There are a few different features of WordStar that made it work pretty well (for the time) as a programmer's editor. I used it (and NewWord) for many years, and then switched to vEdit. I have programmed vEdit with the WordStar control-codes and used it that way for so many years that it is somewhat of a blur which features were actually native in WordStar/NewWord and which ones were not. (Well, multi-gigabyte file editing is definitely vEdit and not WordStar...)



    Non-document Mode



    Non-document mode was a key feature of WordStar that most other word processors never had. In non-document mode, there were no formatting codes inserted or recognized (e.g., for bold, italics, etc.), did not wrap lines automatically, and did not set the 8th-bit of characters for internal use. A quick search finds WordStar's Document and Non-Document Modes Demystified which gives a complete explanation.



    Column Blocks



    I think this is the feature you are referring to. I still use it today in vEdit, which as a programmer's editor quite naturally has such a feature, but I still use the WordStar codes to get to it. WordStar historically used Ctrl-KB to start a block and Ctrl-KK to end a block. Those keys worked very much like clicking on the start of a block in a typical modern word processor and holding shift while clicking on the end - block highlighted and ready to copy/move/delete.



    However, if you pressed Ctrl-KN first, then you entered column block mode. In this mode the block is a rectangle instead of a continuous character stream. This is ideal for programming as you can use it to indent/undent, move chunks of data or code around left & right, etc.






    share|improve this answer















    Took me a while to write this and another answer showed up. But submitting it anyway because I am such a huge fan of WordStar and have the keystrokes in muscle memory.



    There are a few different features of WordStar that made it work pretty well (for the time) as a programmer's editor. I used it (and NewWord) for many years, and then switched to vEdit. I have programmed vEdit with the WordStar control-codes and used it that way for so many years that it is somewhat of a blur which features were actually native in WordStar/NewWord and which ones were not. (Well, multi-gigabyte file editing is definitely vEdit and not WordStar...)



    Non-document Mode



    Non-document mode was a key feature of WordStar that most other word processors never had. In non-document mode, there were no formatting codes inserted or recognized (e.g., for bold, italics, etc.), did not wrap lines automatically, and did not set the 8th-bit of characters for internal use. A quick search finds WordStar's Document and Non-Document Modes Demystified which gives a complete explanation.



    Column Blocks



    I think this is the feature you are referring to. I still use it today in vEdit, which as a programmer's editor quite naturally has such a feature, but I still use the WordStar codes to get to it. WordStar historically used Ctrl-KB to start a block and Ctrl-KK to end a block. Those keys worked very much like clicking on the start of a block in a typical modern word processor and holding shift while clicking on the end - block highlighted and ready to copy/move/delete.



    However, if you pressed Ctrl-KN first, then you entered column block mode. In this mode the block is a rectangle instead of a continuous character stream. This is ideal for programming as you can use it to indent/undent, move chunks of data or code around left & right, etc.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 31 at 11:34









    Jan Doggen

    1156




    1156










    answered Jan 30 at 15:09









    manassehkatzmanassehkatz

    2,992622




    2,992622







    • 4





      "have the keystrokes in muscle memory" Did you have the urge to press ctrl-K S while writing this answer?

      – Acccumulation
      Jan 30 at 19:43











    • I sometimes do things like that. Particularly, control-Q F to find in many programs - depending on the program it can do anything from nothing at all to Quit... I use control-K S all the time in vEdit - I have no idea what the default key binding is and it is plenty faster than going through the menus.

      – manassehkatz
      Jan 30 at 19:47






    • 1





      Off topic probably, but I've never heard of "undent". Was this terminology in use anywhere? "Outdent" I would recognise.

      – Mr Lister
      Jan 30 at 20:04






    • 2





      I think I've heard "unindent"

      – 12Me21
      Jan 30 at 20:37






    • 1





      @Mr Lister: that's why it's different. It's another operation that's the mirror of indent. While unindent, that we speak about here, is simply undoing the indent, so that it doesn't result in an outdent, just restores what it was before. (And, actually, we're digressing because column mode isn't about indents at all, it's about copying rectangular sections of text).

      – Gábor
      Jan 31 at 8:50













    • 4





      "have the keystrokes in muscle memory" Did you have the urge to press ctrl-K S while writing this answer?

      – Acccumulation
      Jan 30 at 19:43











    • I sometimes do things like that. Particularly, control-Q F to find in many programs - depending on the program it can do anything from nothing at all to Quit... I use control-K S all the time in vEdit - I have no idea what the default key binding is and it is plenty faster than going through the menus.

      – manassehkatz
      Jan 30 at 19:47






    • 1





      Off topic probably, but I've never heard of "undent". Was this terminology in use anywhere? "Outdent" I would recognise.

      – Mr Lister
      Jan 30 at 20:04






    • 2





      I think I've heard "unindent"

      – 12Me21
      Jan 30 at 20:37






    • 1





      @Mr Lister: that's why it's different. It's another operation that's the mirror of indent. While unindent, that we speak about here, is simply undoing the indent, so that it doesn't result in an outdent, just restores what it was before. (And, actually, we're digressing because column mode isn't about indents at all, it's about copying rectangular sections of text).

      – Gábor
      Jan 31 at 8:50








    4




    4





    "have the keystrokes in muscle memory" Did you have the urge to press ctrl-K S while writing this answer?

    – Acccumulation
    Jan 30 at 19:43





    "have the keystrokes in muscle memory" Did you have the urge to press ctrl-K S while writing this answer?

    – Acccumulation
    Jan 30 at 19:43













    I sometimes do things like that. Particularly, control-Q F to find in many programs - depending on the program it can do anything from nothing at all to Quit... I use control-K S all the time in vEdit - I have no idea what the default key binding is and it is plenty faster than going through the menus.

    – manassehkatz
    Jan 30 at 19:47





    I sometimes do things like that. Particularly, control-Q F to find in many programs - depending on the program it can do anything from nothing at all to Quit... I use control-K S all the time in vEdit - I have no idea what the default key binding is and it is plenty faster than going through the menus.

    – manassehkatz
    Jan 30 at 19:47




    1




    1





    Off topic probably, but I've never heard of "undent". Was this terminology in use anywhere? "Outdent" I would recognise.

    – Mr Lister
    Jan 30 at 20:04





    Off topic probably, but I've never heard of "undent". Was this terminology in use anywhere? "Outdent" I would recognise.

    – Mr Lister
    Jan 30 at 20:04




    2




    2





    I think I've heard "unindent"

    – 12Me21
    Jan 30 at 20:37





    I think I've heard "unindent"

    – 12Me21
    Jan 30 at 20:37




    1




    1





    @Mr Lister: that's why it's different. It's another operation that's the mirror of indent. While unindent, that we speak about here, is simply undoing the indent, so that it doesn't result in an outdent, just restores what it was before. (And, actually, we're digressing because column mode isn't about indents at all, it's about copying rectangular sections of text).

    – Gábor
    Jan 31 at 8:50






    @Mr Lister: that's why it's different. It's another operation that's the mirror of indent. While unindent, that we speak about here, is simply undoing the indent, so that it doesn't result in an outdent, just restores what it was before. (And, actually, we're digressing because column mode isn't about indents at all, it's about copying rectangular sections of text).

    – Gábor
    Jan 31 at 8:50












    13














    WordStar does indeed have a column mode, whose effect is to allow blocks to have left and right boundaries. Usually when you mark a block (using CtrlKB and CtrlKK), the block spans whole lines, with at most the first and last lines being incomplete. In column mode (CtrlKN), the block starts at whatever line and column the cursor is in when you start it, and ends at whatever line and column the cursor is in when you end it. You can then manipulate the column as an object.



    For example, this would allow you to select the “Year” column below



    Year Top salesman Total sales
    2013 Joe Bloggs 1000000
    2014 Jane Doe 1500000


    and move it to another position in the table.



    When programming, this is useful for indenting or un-indenting code, or manipulating columnar data as would be common in some programming environments in the past.



    Using WordStar has a decent description of this feature.



    (For readers used to modern-day column handling in word processors, this has nothing to do with page layout columns. It’s a text-selection feature which you’ll find in many text editors; see for example editors with support for rectangular block selection in Wikipedia’s comparison of text editors.)






    share|improve this answer




















    • 1





      I also remember using these codes in a very early version of Turbo Pascal for DOS.

      – Mark Williams
      Jan 30 at 21:00






    • 1





      This sounds like Emacs's Rectangle commands.

      – Barmar
      Jan 31 at 4:49











    • This feature can be activated in many modern editors (including MS Word) by pressing ALT while dragging the mouse (in Word, the useless “research this” feature can interfere with this, if you don’t move the mouse fast or cleanly enough).

      – Euro Micelli
      Jan 31 at 14:20















    13














    WordStar does indeed have a column mode, whose effect is to allow blocks to have left and right boundaries. Usually when you mark a block (using CtrlKB and CtrlKK), the block spans whole lines, with at most the first and last lines being incomplete. In column mode (CtrlKN), the block starts at whatever line and column the cursor is in when you start it, and ends at whatever line and column the cursor is in when you end it. You can then manipulate the column as an object.



    For example, this would allow you to select the “Year” column below



    Year Top salesman Total sales
    2013 Joe Bloggs 1000000
    2014 Jane Doe 1500000


    and move it to another position in the table.



    When programming, this is useful for indenting or un-indenting code, or manipulating columnar data as would be common in some programming environments in the past.



    Using WordStar has a decent description of this feature.



    (For readers used to modern-day column handling in word processors, this has nothing to do with page layout columns. It’s a text-selection feature which you’ll find in many text editors; see for example editors with support for rectangular block selection in Wikipedia’s comparison of text editors.)






    share|improve this answer




















    • 1





      I also remember using these codes in a very early version of Turbo Pascal for DOS.

      – Mark Williams
      Jan 30 at 21:00






    • 1





      This sounds like Emacs's Rectangle commands.

      – Barmar
      Jan 31 at 4:49











    • This feature can be activated in many modern editors (including MS Word) by pressing ALT while dragging the mouse (in Word, the useless “research this” feature can interfere with this, if you don’t move the mouse fast or cleanly enough).

      – Euro Micelli
      Jan 31 at 14:20













    13












    13








    13







    WordStar does indeed have a column mode, whose effect is to allow blocks to have left and right boundaries. Usually when you mark a block (using CtrlKB and CtrlKK), the block spans whole lines, with at most the first and last lines being incomplete. In column mode (CtrlKN), the block starts at whatever line and column the cursor is in when you start it, and ends at whatever line and column the cursor is in when you end it. You can then manipulate the column as an object.



    For example, this would allow you to select the “Year” column below



    Year Top salesman Total sales
    2013 Joe Bloggs 1000000
    2014 Jane Doe 1500000


    and move it to another position in the table.



    When programming, this is useful for indenting or un-indenting code, or manipulating columnar data as would be common in some programming environments in the past.



    Using WordStar has a decent description of this feature.



    (For readers used to modern-day column handling in word processors, this has nothing to do with page layout columns. It’s a text-selection feature which you’ll find in many text editors; see for example editors with support for rectangular block selection in Wikipedia’s comparison of text editors.)






    share|improve this answer















    WordStar does indeed have a column mode, whose effect is to allow blocks to have left and right boundaries. Usually when you mark a block (using CtrlKB and CtrlKK), the block spans whole lines, with at most the first and last lines being incomplete. In column mode (CtrlKN), the block starts at whatever line and column the cursor is in when you start it, and ends at whatever line and column the cursor is in when you end it. You can then manipulate the column as an object.



    For example, this would allow you to select the “Year” column below



    Year Top salesman Total sales
    2013 Joe Bloggs 1000000
    2014 Jane Doe 1500000


    and move it to another position in the table.



    When programming, this is useful for indenting or un-indenting code, or manipulating columnar data as would be common in some programming environments in the past.



    Using WordStar has a decent description of this feature.



    (For readers used to modern-day column handling in word processors, this has nothing to do with page layout columns. It’s a text-selection feature which you’ll find in many text editors; see for example editors with support for rectangular block selection in Wikipedia’s comparison of text editors.)







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Jan 30 at 18:58

























    answered Jan 30 at 15:06









    Stephen KittStephen Kitt

    38.1k8154166




    38.1k8154166







    • 1





      I also remember using these codes in a very early version of Turbo Pascal for DOS.

      – Mark Williams
      Jan 30 at 21:00






    • 1





      This sounds like Emacs's Rectangle commands.

      – Barmar
      Jan 31 at 4:49











    • This feature can be activated in many modern editors (including MS Word) by pressing ALT while dragging the mouse (in Word, the useless “research this” feature can interfere with this, if you don’t move the mouse fast or cleanly enough).

      – Euro Micelli
      Jan 31 at 14:20












    • 1





      I also remember using these codes in a very early version of Turbo Pascal for DOS.

      – Mark Williams
      Jan 30 at 21:00






    • 1





      This sounds like Emacs's Rectangle commands.

      – Barmar
      Jan 31 at 4:49











    • This feature can be activated in many modern editors (including MS Word) by pressing ALT while dragging the mouse (in Word, the useless “research this” feature can interfere with this, if you don’t move the mouse fast or cleanly enough).

      – Euro Micelli
      Jan 31 at 14:20







    1




    1





    I also remember using these codes in a very early version of Turbo Pascal for DOS.

    – Mark Williams
    Jan 30 at 21:00





    I also remember using these codes in a very early version of Turbo Pascal for DOS.

    – Mark Williams
    Jan 30 at 21:00




    1




    1





    This sounds like Emacs's Rectangle commands.

    – Barmar
    Jan 31 at 4:49





    This sounds like Emacs's Rectangle commands.

    – Barmar
    Jan 31 at 4:49













    This feature can be activated in many modern editors (including MS Word) by pressing ALT while dragging the mouse (in Word, the useless “research this” feature can interfere with this, if you don’t move the mouse fast or cleanly enough).

    – Euro Micelli
    Jan 31 at 14:20





    This feature can be activated in many modern editors (including MS Word) by pressing ALT while dragging the mouse (in Word, the useless “research this” feature can interfere with this, if you don’t move the mouse fast or cleanly enough).

    – Euro Micelli
    Jan 31 at 14:20











    9














    Well, since I mentioned it, I'll illustrate it. I'm told that this is not unique to WordStar: Borland Sprint had it, and so do several modern text editors (I've been using Emacs with folds for the last 25 years).



    Say you have some text like this:



     Production by year
    Foos Bars Blats Spungs
    1975 4 7 20 3
    1976 1000 2 23 1
    1977 3000 1 1537 0
    1978 5000 4 20331 0
    1979 4875 321 38145 0
    1980 4900 450 37 0


    This is not using a column formatting feature like a modern word processor. These are just characters on simple lines of text, in a text file. They are necessarily monospaced text, because CP/M, which WordStar was designed for, had no graphics.



    Now, you want to change the order of the columns, in this text file. It's a fiddle. However, if you have column mode, you can select, say, the Bars column, which looks like this on the screen:



     Production by year
    Foos *Bars* Blats Spungs
    1975 4 * 7* 20 3
    1976 1000 * 2* 23 1
    1977 3000 * 1* 1537 0
    1978 5000 * 4* 20331 0
    1979 4875 * 321* 38145 0
    1980 4900 * 450* 37 0


    Then you put the cursor at the start of the Spungs column, and use the Block Move command (not separate cut and paste commands, they hadn't been invented yet), and you get this:



     Production by year
    Foos Blats Bars Spungs
    1975 4 20 7 3
    1976 1000 23 2 1
    1977 3000 1537 1 0
    1978 5000 20331 4 0
    1979 4875 38145 321 0
    1980 4900 37 450 0


    Yes, this is far more primitive than you might do with a modern text-processing tool, or with spreadsheet columns embedded in a word-processor document. Retrocomputing, remember?






    share|improve this answer





























      9














      Well, since I mentioned it, I'll illustrate it. I'm told that this is not unique to WordStar: Borland Sprint had it, and so do several modern text editors (I've been using Emacs with folds for the last 25 years).



      Say you have some text like this:



       Production by year
      Foos Bars Blats Spungs
      1975 4 7 20 3
      1976 1000 2 23 1
      1977 3000 1 1537 0
      1978 5000 4 20331 0
      1979 4875 321 38145 0
      1980 4900 450 37 0


      This is not using a column formatting feature like a modern word processor. These are just characters on simple lines of text, in a text file. They are necessarily monospaced text, because CP/M, which WordStar was designed for, had no graphics.



      Now, you want to change the order of the columns, in this text file. It's a fiddle. However, if you have column mode, you can select, say, the Bars column, which looks like this on the screen:



       Production by year
      Foos *Bars* Blats Spungs
      1975 4 * 7* 20 3
      1976 1000 * 2* 23 1
      1977 3000 * 1* 1537 0
      1978 5000 * 4* 20331 0
      1979 4875 * 321* 38145 0
      1980 4900 * 450* 37 0


      Then you put the cursor at the start of the Spungs column, and use the Block Move command (not separate cut and paste commands, they hadn't been invented yet), and you get this:



       Production by year
      Foos Blats Bars Spungs
      1975 4 20 7 3
      1976 1000 23 2 1
      1977 3000 1537 1 0
      1978 5000 20331 4 0
      1979 4875 38145 321 0
      1980 4900 37 450 0


      Yes, this is far more primitive than you might do with a modern text-processing tool, or with spreadsheet columns embedded in a word-processor document. Retrocomputing, remember?






      share|improve this answer



























        9












        9








        9







        Well, since I mentioned it, I'll illustrate it. I'm told that this is not unique to WordStar: Borland Sprint had it, and so do several modern text editors (I've been using Emacs with folds for the last 25 years).



        Say you have some text like this:



         Production by year
        Foos Bars Blats Spungs
        1975 4 7 20 3
        1976 1000 2 23 1
        1977 3000 1 1537 0
        1978 5000 4 20331 0
        1979 4875 321 38145 0
        1980 4900 450 37 0


        This is not using a column formatting feature like a modern word processor. These are just characters on simple lines of text, in a text file. They are necessarily monospaced text, because CP/M, which WordStar was designed for, had no graphics.



        Now, you want to change the order of the columns, in this text file. It's a fiddle. However, if you have column mode, you can select, say, the Bars column, which looks like this on the screen:



         Production by year
        Foos *Bars* Blats Spungs
        1975 4 * 7* 20 3
        1976 1000 * 2* 23 1
        1977 3000 * 1* 1537 0
        1978 5000 * 4* 20331 0
        1979 4875 * 321* 38145 0
        1980 4900 * 450* 37 0


        Then you put the cursor at the start of the Spungs column, and use the Block Move command (not separate cut and paste commands, they hadn't been invented yet), and you get this:



         Production by year
        Foos Blats Bars Spungs
        1975 4 20 7 3
        1976 1000 23 2 1
        1977 3000 1537 1 0
        1978 5000 20331 4 0
        1979 4875 38145 321 0
        1980 4900 37 450 0


        Yes, this is far more primitive than you might do with a modern text-processing tool, or with spreadsheet columns embedded in a word-processor document. Retrocomputing, remember?






        share|improve this answer















        Well, since I mentioned it, I'll illustrate it. I'm told that this is not unique to WordStar: Borland Sprint had it, and so do several modern text editors (I've been using Emacs with folds for the last 25 years).



        Say you have some text like this:



         Production by year
        Foos Bars Blats Spungs
        1975 4 7 20 3
        1976 1000 2 23 1
        1977 3000 1 1537 0
        1978 5000 4 20331 0
        1979 4875 321 38145 0
        1980 4900 450 37 0


        This is not using a column formatting feature like a modern word processor. These are just characters on simple lines of text, in a text file. They are necessarily monospaced text, because CP/M, which WordStar was designed for, had no graphics.



        Now, you want to change the order of the columns, in this text file. It's a fiddle. However, if you have column mode, you can select, say, the Bars column, which looks like this on the screen:



         Production by year
        Foos *Bars* Blats Spungs
        1975 4 * 7* 20 3
        1976 1000 * 2* 23 1
        1977 3000 * 1* 1537 0
        1978 5000 * 4* 20331 0
        1979 4875 * 321* 38145 0
        1980 4900 * 450* 37 0


        Then you put the cursor at the start of the Spungs column, and use the Block Move command (not separate cut and paste commands, they hadn't been invented yet), and you get this:



         Production by year
        Foos Blats Bars Spungs
        1975 4 20 7 3
        1976 1000 23 2 1
        1977 3000 1537 1 0
        1978 5000 20331 4 0
        1979 4875 38145 321 0
        1980 4900 37 450 0


        Yes, this is far more primitive than you might do with a modern text-processing tool, or with spreadsheet columns embedded in a word-processor document. Retrocomputing, remember?







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 31 at 14:06

























        answered Jan 30 at 15:01









        John DallmanJohn Dallman

        2,956715




        2,956715



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Retrocomputing Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fretrocomputing.stackexchange.com%2fquestions%2f9011%2fwordstars-column-mode%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?