diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-16 22:36:52 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-16 22:36:52 -0700 |
commit | df91d75e55fe03a3774f56a84b0ba855fc585b49 (patch) | |
tree | 71cc9f3b0f0e738408fbd85e12aff58c5f10aa00 /txr.1 | |
parent | 0007855e3b1b2114fb95c37ecd2e4daca6046a76 (diff) | |
download | txr-df91d75e55fe03a3774f56a84b0ba855fc585b49.tar.gz txr-df91d75e55fe03a3774f56a84b0ba855fc585b49.tar.bz2 txr-df91d75e55fe03a3774f56a84b0ba855fc585b49.zip |
Rearrange some subsections.
* txr.1: Clear Screen, Suspend, and History Persistence
are not editing commands. They get their own sections.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 73 |
1 files changed, 37 insertions, 36 deletions
@@ -33478,26 +33478,6 @@ a mode in which the next character is interpreted literally and inserted into the line, even if that character is a special character such as Enter, or a command character. -.NP* Clear Screen and Refresh - -The Ctrl-L command clears the screen and re-draws the line being edited. -This is useful when the display is disturbed by the output of some -background process, or serial line noise. - -.NP* Suspend to Background - -The Ctrl-Z ("Zzzz... (sleep)") command causes \*(TX to be placed into the -background in a suspended, and control returned to the system shell. -This feature depends on the use of a POSIX job control shell. - -Bringing the suspended \*(TX back into the foreground is achieved with a shell -command such as the -.code fg -command in GNU Bash. - -When \*(TX is resumed, the interactive listener will re-display the edited -line and restore the previous cursor position. - .NP* History Recall The most recent one hundred lines submitted to the interactive listener are @@ -33586,22 +33566,6 @@ Navigating to a history line manually using the up and down arrow keys (or Ctrl-P/Ctrl-N) has the same net effect same as locating that line using Ctrl-R search. -.NP* History Persistence - -The history is maintained in a text file called -.code .txr_history -in the user's home directory. Whenever the interactive listener terminates, -this file is overwritten with the history contents stored in the listener's -memory. The next time the listener starts, it first re-loads the history from -this file, making the commands of a previous session available for recall. - -The home directory is determined from the -contents of the -.code HOME -environment variable. If this variable doesn't exist, or the user doesn't -have permissions to write to this directory or to an existing history file -in that directory, then the history isn't saved. - .NP* Symbolic Completion If the Tab key is pressed while editing a line, it is interpreted as a @@ -33709,6 +33673,26 @@ interactive history. Only the .code :read command which triggers this parsing mode appears in the history. +.SS* Clear Screen and Refresh + +The Ctrl-L command clears the screen and re-draws the line being edited. +This is useful when the display is disturbed by the output of some +background process, or serial line noise. + +.SS* Suspend to Background + +The Ctrl-Z ("Zzzz... (sleep)") command causes \*(TX to be placed into the +background in a suspended, and control returned to the system shell. +This feature depends on the use of a POSIX job control shell. + +Bringing the suspended \*(TX back into the foreground is achieved with a shell +command such as the +.code fg +command in GNU Bash. + +When \*(TX is resumed, the interactive listener will re-display the edited +line and restore the previous cursor position. + .SS* Interactive Profile File When the listener starts up, it looks for file called @@ -33731,6 +33715,23 @@ that is, when the .code -i option isn't present. +.SS* History Persistence + +The history is maintained in a text file called +.code .txr_history +in the user's home directory. Whenever the interactive listener terminates, +this file is overwritten with the history contents stored in the listener's +memory. The next time the listener starts, it first re-loads the history from +this file, making the commands of a previous session available for recall. + +The home directory is determined from the +contents of the +.code HOME +environment variable. If this variable doesn't exist, or the user doesn't +have permissions to write to this directory or to an existing history file +in that directory, then the history isn't saved. + + .SS* Parenthesis Matching A feature of the listener is visual parenthesis matching in the form of a |