home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
430.lha
/
SoftSpan_v1.1
/
text
/
help
/
TtyEdit.hlp
< prev
next >
Wrap
Text File
|
1990-11-09
|
3KB
|
78 lines
The tty editor is a line editor which lets you edit messages for posting on
message bases, as mail or as feedback. Once you are in the editor, simply
start typing your message in. There is no need to hit [RETURN] after every
line because the editor's word wrap feature will terminate the current line
with a "soft" carriage. Letting the editor terminate lines for you insures
that your message will be formatted correctly for someone whose terminal has
a different number of columns per line.
When typing your message, you can use the BACKSPACE key to delete over any
mistakes. The CTRL-X combination will cause the entire current line to be
deleted. Additionally, when you are re-editing a line of text, CTRL-Y will
cause the current editing line to be replaced by the old line's text.
The remaining features of the editor are accessed as commands which are
preceeded by the slash(/) or backslash(\). For example: enterring /S will
save the message. Either lower case or upper case can be used, and only
the first letter you supply is considered.
Line Editor Commands
-----------------------------
/S Save the message
/Q or /A Abort the message
/R Redo the message
/G # Go to the specified line
/B Go to the beginning
/E Go to the end
/C Current line number
/L #-# List message (w/ line #)
/P #-# Print messgage (no line #)
/I Toggle insert mode
/D #-# Delete specified lines
/H Display this help file
/? Displays brief menu
Choosing /S will save your message and get you out of the editor.
If you want to abort the message and exit the editor, choose /A or /Q.
The /R command will clear out the editor's buffer and let you restart editing
your message.
To find out what line you are currently editing, use the /C option.
/L will list out your message with line numbers. Choosing /L by itself
will list the entire message. Optionally, you can specify a range of line
numbers to display, such as: /L 5-20 which will list lines 5 through 20.
/P is the same as /L except that no line numbers are displayed.
/D will delete specified lines of text. /D by itself will delete either the
current line or, if at the end of the message, the previous line. /D #, where
# is the line number to delete will delete the specified line. /D A-B, where
A is the first line number to be deleted and B is the last, will delete the
specified range of lines.
If you wish to edit a previously enterred line, you must "go" to it via the
/G command. First determine the line's number. Then, /G # , where # is the
line number will go to that line. You will see something like:
Editing line 4
This is a mistake
Under "This is a mistake" you will be able to enter the new text for the line.
If you press CTRL-Y, "This is a mistake" will appear as your input, replacing
whatever was there before. You terminate the line with a RETURN, or if you
wish to place a "soft" carriage, CTRL-Q may be used. In addition, word wrap
will cause you to go to the next line. You will continue to descend through
the lines until you enter Insert Mode or arrive at the end.
Insert mode is toggled on and off via the /I command. If you are in insert
mode and go to a previous line, you will begin to insert text until you
shut insert mode off by enterring /I again.
In addition to the standard /G command, you can move to the very beginning
of the message through the /B command or to the very end via the /E command.