home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
SEDTOS2.ZIP
/
LKHLP.EDT
< prev
next >
Wrap
Text File
|
1988-08-19
|
25KB
|
517 lines
Sedt Version 3.3
Help Menu
At any point type Backspace (<Ctl> H) to go
up one level, Return to continue and go up one level at
the end, or a digit to make a menu selection.
0 Keypad Diagram
1 Keyboard Commands
2 Internal Commands
0
┌───────┬───────┬───────┐ ┌───────┬───────┬───────┬───────┐
│ Find │ │ Cut │ │ │ │ Find │ Delete│
│ Next │ Paste │ GET │ │ GOLD │ HELP │ Next │ Line │
│ FIND │ │SEL RNG│ │ │ │ FIND │UND. L.│
├───────┼───────┼───────┤ ├───────┼───────┼───────┼───────┤
│ Select│ Up one│ Dn one│ │ Page │ Par │ Subst.│ Delete│
│ │ Screen│ Screen│ │ SEDT │ FILL │ Next │ Word │
│ CANCEL│ TOP │ BOTTOM│ │COMMAND│ PAR │ SUBST.│UND. W.│
└───────┼───────┼───────┘ ├───────┼───────┼───────┼───────┤
│ Up │ │Forward│Reverse│ Cut │ Delete│
│ 1 Line│ │ │ │ │ Char │
│CRS TOP│ │BOTTOM │ TOP │ PASTE │UND. C.│
┌───────┼───────┼───────┐ ├───────┼───────┼───────┼───────┤
│ Left │ Down │ Right │ │ Word │ End │ Char │ │
│ 1 Char│ 1 Line│ 1 Char│ │CHANGE │ Line │ │ Enter │
│SCR. UP│CRS BOT│SCR. DN│ │ CASE │DEL EL.│ ASCII │ │
└───────┴───────┴───────┘ ├───────┴───────┼───────┤ │
│ Line │ Select│ │
Sedt Version 3.2 │ │ │ SWAP │
│ OPEN LINE │ CANCEL│ │
└───────────────┴───────┴───────┘
F1 F2 F3 F4 F5 F6 F7 F8 F9 F10
┌──────┬──────┬──────┬──────┬───────┐ ┌──────┬──────┬──────┬──────┬──────┐
│ │ │ │App Sr│ │ │ Save │ Save │ │ │ Save │
│ │ │ │ LOAD │ │ │ File │ File&│ Quit │ Dead │ File │
│ │ │ │ PASTE│ │ │ │Contex│ │ │& Exit│
└──────┴──────┴──────┴──────┴───────┘ └──────┴──────┴──────┴──────┴──────┘
F11 F12 F13 F14 Help Do
┌──────┬──────┬──────┬──────┐ ┌──────┬─────────────┐
│Insert│Beginn│Delete│ Spawn│ │ │ O/S Command │
│Escape│ Line │Beginn│ Text │ │ HELP │ │
│(ESC) │ │ Word │Proces│ │ │ SEDT COMMAND│
└──────┴──────┴──────┴──────┘ └──────┴─────────────┘
F17 F18 F19 F20
┌──────┬──────┬──────┬──────┐
│Buffer│Buffer│Buffer│Buffer│
│ 0 │ 1 │ 2 │ 3 │
│ LEARN│LEARNK│ │ │
└──────┴──────┴──────┴──────┘
1
Keyboard Commands
0 Cursor Movement
1 Deletion
2 Insertion
3 Selecting Text Ranges
4 Text Formatting
5 Session Control
6 Key Definition
7 Miscellaneous
8 Ruler Definition Commands
10
C U R S O R M O V E M E N T
<Ctl> H: Goto start of line
<Keypad PF1> +: Set temporary direction to forward
<Keypad PF1> -: Set temporary direction to reverse
<Keypad PF1> .: Goto mark
<Keypad PF1> <: Set temporary direction to reverse
<Keypad PF1> >: Set temporary direction to forward
<Keypad PF1> B: Goto end of buffer
<Keypad PF1> M: Set mark
<Keypad PF1> T: Goto start of buffer
<F12>: Goto beginning of line
<Find>: Goto next occurrence of search string
<Prev Screen>: Go one screen up
<Next Screen>: Go one screen down
<Up Arrow>: Go 1 line up vertically
<Left Arrow>: Go 1 character back
<Down Arrow>: Go 1 line down vertically
<Right Arrow>: Go 1 character forward
<Keypad 0>: Goto next line beginning
<Keypad 1>: Goto next word
<Keypad 2>: Goto next end of line
<Keypad 3>: Goto next character
<Keypad 4>: Set default direction forward
<Keypad 5>: Set default direction reverse
<Keypad 7>: Goto next page
<Keypad 8>: Goto next paragraph
<Keypad PF3>: Goto next occurrence of search string
<Keypad PF1> <F19>: Goto matching bracketing character:'"<>[]{}()
<Keypad PF1> <Find>: Goto next occurence of string
<Keypad PF1> <Prev Screen>: Go to top of buffer
<Keypad PF1> <Next Screen>: Go to bottom of buffer
<Keypad PF1> <Up Arrow>: Position cursor at top of window
<Keypad PF1> <Left Arrow>: Go backwards until key struck
<Keypad PF1> <Down Arrow>: Position cursor at bottom of window
<Keypad PF1> <Right Arrow>: Go forward until key struck
<Keypad PF1> <Keypad 4>: Goto end of buffer
<Keypad PF1> <Keypad 5>: Goto beginning of buffer
<Keypad PF1> <Keypad PF3>: Goto next occurrence of string
11
D E L E T I O N
<Ctl> J/<Line Feed>: Delete to beginning of word
<Ctl> U: Delete to beginning of line
<Keypad PF1> Z: Clear buffer
<F13>: Delete to beginning of word
<Remove>: Cut
<Keypad 6>: Cut
<Keypad ,>: Delete character forward
<Keypad ->: Delete word forward
<Keypad PF4>: Delete line forward
<Keypad PF1> <Keypad 2>: Delete to end of line
12
I N S E R T I O N
<Ctl> I/<Tab>: Insert a tab character
<Ctl> M/<Return>: Insert a carriage return
<Keypad PF1> G: Include file at current position
<Keypad PF1> P: Insert a form feed character
<F11>: Insert an escape character
<Insert Here>: Paste
<Keypad PF1> <Keypad 0>: Open line
<Keypad PF1> <Keypad 3>: Insert ASCII character
<Keypad PF1> <Keypad 6>: Undelete paste string
<Keypad PF1> <Keypad ,>: Undelete character
<Keypad PF1> <Keypad ->: Undelete word
<Keypad PF1> <Keypad PF4>: Undelete Line
13
S E L E C T I N G T E X T R A N G E S
<Select>: Set select point at current position
<Keypad .>: Set select point at current position
<Keypad PF1> <Select>: Cancel select point
<Keypad PF1> <Keypad .>: Cancel select point
14
T E X T F O R M A T T I N G
<Ctl> A: Set indentation level
<Ctl> D: Decrease indentation level
<Ctl> E: Increase indentation level
<Ctl> T: Adjust select range by a tab stop
<Keypad PF1> C: Center line
<Keypad PF1> I: Toggle tab expansion/insertion
<Keypad PF1> L: Toggle block/line cut and paste
<Keypad PF1> O: Toggle overstrike mode
<Keypad PF1> J: Refill paragraph from beginning of line
<Keypad PF1> R: Enter ruler definition mode
<Keypad PF1> _: Insert a hyphen and reindent paragraph
<F14>: Process file with TXTF
<Keypad PF1> <Keypad 8>: Fill or justify to end of paragraph
15
S E S S I O N C O N T R O L
<Ctl> W: Refresh display
<Keypad PF1> D: Toggle between one and two window mode
<Keypad PF1> E: Edit new file in current buffer
<Keypad PF1> F: Save current buffer and exit
<Keypad PF1> Q: Exit without saving current buffer
<Keypad PF1> S: Save contents of buffer
<Keypad PF1> W: Toggle between 132 and 80 character screen
<F6>: Save contents of buffer
<F8>: Quit without saving buffer
<F10>: Save buffer and exit
<F17>: Select buffer 0
<F18>: Select buffer 1
<F19>: Select buffer 2
<F20>: Select buffer 3
16
K E Y D E F I N I T I O N
<Ctl> K: Define key
<Keypad PF1> <Ctl> I: Save key definition in buffer
<Keypad PF1> <Ctl> L: Load key definition from buffer
<Keypad PF1> <F17>: Load keystrokes into ^Z
<Keypad PF1> <F18>: Load keystrokes into arbitrary key
17
M I S C E L L A N E O U S
<Ctl> L: Increase font size
<Ctl> P: Print contents of buffer
<Ctl> R: Reduce font size
<Keypad PF1> <Return>: Execute operating system command
<Keypad PF1> A: Toggle automatic horizontal screen shifting
<Keypad PF1> H: Help
<Keypad PF1> U: Undo last command if possible
<Keypad PF1> X: Switch to previous window
<F4>: Delete select range and append to paste buffer
<F7>: Dead key
<F9>: Dead key
<Help>: Help
<Do>: Execute operating system command
<Keypad 9>: Substitute next occurrence of search string
<Keypad PF2>: Help
<Keypad Enter>: Dead key
<Keypad PF1> <F4>: Load paste buffer from file
<Keypad PF1> <F7>: Dead key
<Keypad PF1> <Do>: Execute Sedt command
<Keypad PF1> <F4>: Load paste buffer from select range
<Keypad PF1> <Keypad 1>: Change case EDT style
<Keypad PF1> <Keypad 7>: Execute Sedt command
<Keypad PF1> <Keypad 9>: Substitute one string by another
<Keypad PF1> <Keypad Enter>: Swap characters
18
R U L E R D E F I N I T I O N C O M M A N D S
<Right Arrow> Move 1 column right
<Left Arrow> Move 1 column left
- Remove tab stop at current column
<Tab> Move right to next tab position
<Ctl> H Move to column 1
T Set a tab position at the current column
L Set left margin
R Set right margin for fill
J Set right margin for justify
W Set left margin for fill and justify
A Set auto left margin mode
I Set Tab indentation level
<Spacebar> Remove all format controls at current column
<Digit> Load saved ruler number Digit
<Keypad PF1> <Digit> Save ruler in saved ruler number Digit
<Return> Return to edit mode
2
Internal Commands
0 Execution
1 Tokens
2 Prompts
3 Conditionals
4 State Control
5 Movement Commands
6 Action Commands
20
Execution
Key definitions terminated by a period are executed immediatly
after the key is pressed.
Key definitions not terminated by a period are saved until a key
with a defition terminated by a period is pressed.
21
Tokens
Tokens are replaced by the value that the token definies
immediatly before command execution. Tokens replacement will not
happen in responses to prompts.
%% Replaced by a single % character
%# The current value of the counter
%F Output file name of the current buffer
%N Filename, excluding extention, of the output file
of the current buffer
%T The file type of the output file of the current
buffer
%D The device and directory of the output file of
the current buffer
%E Value of environment variable SEDT or, on VMS,
the string Sedt$Dir:
%L Current line number
%C Current character position
%P The contents of the paste buffer
22
Prompts
If a key definition contains one of the following characters: ?
or ! the following actions will take place:
?? is replaced by ?
!! is replaced by !
?<Delimiter><String><Delimiter> will prompt with <String> at the
bottom of the screen, read a string from the keyboard and
replace the contruct with the string.
!<Delimiter><String><Delimiter> will prompt with <String> at the
bottom of the screen, wait for a key to be pressed and
replace the construct with a string that uniquely
identifies the key.
23
Conditionals
^C(<Commands>) causes <Commands> to be executed only if the
current buffer contains unsaved changes.
^C(<Commands1>|<Commands2>) causes <Commands1> to be executed if
the buffer contains unsaved changes and <Commands2> to
executed if the buffer is unchanged.
^E(<Commands1>)(<Commands2>) causes <Commands1> to be executed.
If any error occurs during the execution the rest of
<Commands1> will be skipped and <Commands2> will be
executed. <Commands2> string is ignored if no error
occurs.
^E(<Commands1>)(<Commands2>|<Commands3>) will execute
<Commands1>. If an error occurs the rest of <Commands1>
will be skipped and then <Commands2> will be executed,
otherwise <Commands3> is executed after completion of
<Commands1>.
^S(<Commands>) causes <Commands> to be executed only if there is
a select region active.
^S(<Commands1>|<Commands2>) causes <Commands1> to be executed if
a select region is active. If no select region is active
<Commands2> will be executed>. 24
State Control
^TD(<commands>) Saves the direction flag and restores it after
<commands> have been executed.
^TI(<commands>) Saves the replace/insert mode flag and restores
it after <commands> have been executed.
^TB(<commands>) Saves the block/line mode flag and restores it
after <commands> have been executed.
^TT(<commands>) Saves the the tab insert/expand flag and restores
it after <commands> have been executed.
25
Movement Commands
{<Count>}@AC Absolute Character
{<Count>}@AL Absolute Line
@BB Beginning of Buffer
@BM Matching bracketing character:'"<>[]{}()
@EB End of Buffer
<Count>@EL End of Line
{+|-|<|>}{<Count>}@C Character
{+|-|<|>}{<Count>}@F<Delimiter><String><Delimiter>
Find <String>
{+|-|<|>}{<Count>}@L Line
{<Count>}@M Mark
{+|-|<|>}{<Count>}@N Next ocurrence of <String>
{+|-|<|>}{<Count>}@PAG Page
{+|-|<|>}{<Count>}@PAR Paragraph
{+|-|<|>}{<Count>}@SCR Screen
{+|-|<|>}{<Count>}@SEN Sentence
@SR Select Range
{+|-|<|>}{<Count>}@V Vertical
{+|-|<|>}{<Count>}@W Word
@XSR Select Range without clear
26
Action Commands
:A Advance as Default
:B Backward as Default
:CB Cursor at Bottom of Screen
:CC<@ command> Change Case
:CD<@ command> Change to Lower case
<Count>:CE Change Case Edt Style
<Count>:CH Insert ASCII Character
:CK Checkpoint buffer
:CL Center Line
:CM Cursor at Middle of Screen
:CNA Add number to counter
:CNG Get counter from buffer
<Count>:CNI Increment or decrement counter
:CNP Insert value of counter in buffer
<Count>:CNS Set counter value
:CS Save buffer context
:CT Cursor at Top of Screen
:CU<@ command> Change to Upper Case
:D<@ command> Delete
:EAP<@ command> Delete and Append to Delete Buffer
:EK Execute key
<Count>:EL Set Error Level for Audible Warning
:ERC Clear edit region
:ERS<@ Command> Set edit region
:FE<Delimiter><File Name><Delimiter>
Edit File
:FG<Delimiter><File Name><Delimiter>
Get File
:FNL Use Larger Font
:FNS Use Smaller Font
:FS<Delimiter><File Name><Delimiter>
Save File
:FW<Delimiter><File Name><Delimiter>
Write Buffer to File
:FX<Delimiter><File Name><Delimiter>
Execute File
:GAP<@ command> Get and Append to Delete Buffer
:GE<@ command> Get
<Count>:GR Get Ruler from Ruler Definition File
:H Help
:I<Delimiter><Any text><Delimiter>
Insert Text
:K<Key><Delimiter><Definition><Delimiter>
Define Key
{<Count>}:LD Decrease Indentation
{<Count>}:LI Increase Indentation
:LK<Key><@ Command> Load Key Definition from Buffer
{<Count>}:LNE<Key> Execute Keystrokes Stored in Key
:LNL<Key> Store Keystrokes in Key
:LNX End keystroke learning
:LS Set Indentation Level
{<Count>}:M Mark cursor position
{<Count>}:NL New line
{+|-|<|>}{<Count>}:NS Substitute Next
:OE<Delimiter><Message><Delimiter>
Output Error Message
{<Count>}:OL Open Line
:OM<Delimiter><Message><Delimiter>
Output Message
:OS Toggle Overstrike Mode
:OW Switch to Previous Buffer
:PD Insert Current Date
:PL<Delimiter><File name><Delimiter>
Load Paste Buffer from File
:PR<Delimiter><File name><Delimiter>
Print Current Buffer
:PS<Delimiter><File name><Delimiter>
Save Paste Buffer
:PT Insert Current Time
:Q Quit
:REP Replace
:RF Refresh Display
<Count>:RK<Key> Redefine key as character
:RL Ruler
:RMCHA Clear character delete buffer
:RMHEL Clear help buffer
:RMLIN Clear line delete buffer
:RMPAG Clear page delete buffer
:RMPAR Clear paragraph delete buffer
:RMPAS Clear paste buffer
:RMSEA Clear search buffer
:RMSEN Clear sentence delete buffer
:RMSUB Clear substitute buffer
:RMUNK Clear unknown delete buffer
:RMWOR Clear word delete buffer
:RS Reset Select Range
:RTAB<@ command> Replace tabs with spaces
:RUL<@ command> Load Ruler from Entity
:RUS Save Ruler in Buffer
:SAVK<Delimiter><File name><Delimiter>
Save key definitions in file
:SC Show Current Column
:SEL Select
:SETB Set block/line mode toggle
:SETD Set forward/reverse toggle
:SETR Set replace/insert mode toggle
:SETT Set tab insert/expand toggle
:SK<Key> Save Key Definition in Buffer
:SL<@ command> Load Search Buffer
:STAB<@ command> Replace multiple spaces with tabs
:STRP<@ command> Strip trailing spaces from end of lines
{+|-|<|>}{<Count>}:SUB<Delimiter><Target><Delimiter><Object><Delimiter>
Substitute
:SV Show Version
:SYQ<Delimiter><Command><Delimiter>
Spawn without clearing and refreshing screen
:SYR<Delimiter><New stdout><Delimiter><New stderr>
<Delimiter><Command><Delimiter>
Spawn and redirect stdout and sterr
:SYS<Delimiter><Command><Delimiter>
Spawn to Operating System
{<Count>}:TAB Move to Next Tab Stop
{+|-|<|>}{<Count>}:TAD<@ command>
Adjust Text by One Tab Stop
:TB Toggle Block Mode
:TC Toggle Control Character Display
:TD Toggle Direction
:TF<@ command> Fill
:TI Test for Input Pending
:TM Toggle Buffer Markers
:TP Toggle Cursor Line
:TR Toggle ruler display
:TS Toggle Automatic Screen Shifts
:TT Toggle Tab Expansion
{<Count>}:UC Undelete Character
{<Count>}:UL Undelete Line
:UM Undo Last Command
:UOFF Turn off screen updating
:UON Turn on screen updating
{<Count>}:UPAG Undelete Page
{<Count>}:UPAR Undelete Paragraph
:UPD Update Buffer Header Line
{<Count>}:USEN Undelete Sentence
{<Count>}:USR Paste
{<Count>}:UU Undelete Unknown
{<Count>}:UW Undelete Word
:WC Toggle Windows
:WD Toggle Width
<Count>:WI Select Buffer
:X Exit
:YN<Delimiter><Text><Delimiter>
Prompt for confirmation
:Z Zap Buffer