AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
KSH(l) KSH(l) using paper terminals). Restore last item removed from line (Yank item back to the line.) Line feed and print current line. (Null character) Set mark. M- (Meta space) Set mark. (New line) Execute the current line. (Return) Execute the current line. eof End-of-file character, normally AD, will terminate the shell if the current line is null. Fetch the previous command. Each time Ap is entered the previous command back in time is accessed. M-< Fetch the lest recent (oldest) history line. Fetch the most recent (youngest) history line. Fetch next command. Each time AN is entered the next command forward in time is accessed. ARstring Reverse search history for a previous command line containing string . If a parameter of zero if given the search is forward. String is terminated by a "RETURN" or "NEW LINE". � I , Operate-Execute the current line and fetch the next line relative to the current line from the history file. M-digits (Escape) Define numeric parameter, the digits are taken as a parameter to the next command. The commands that accept a parameter are AF, AB, erase, AD , A ·� K "" , AR, AP, and AN. M-letter Soft-key-Your alias list is searched for an alias by the name _ letter. If an alias of this name is defined, its value will be inserted on the line. The letter must not be one of the above meta-functions. M-_ The last parameter of the previous command is inserted on the line. M-. The last parameter of the previous command is inserted on the line. M-* Attempt file name generation on the current word. AU Multiply parameter of next command by 4. \ Escape next character. Editing characters, the user's erase, kill and interrupt (normally A?) characters may """" be entered in a command line or in a search string if preceded by a \. The \ removes the next character's editing features (if any). AV Display version of the shell. Vi Editing Mode. There are two typing modes. Initially, when you enter a - 16 - �
KSH ( 1) KSH ( 1) command you are in the input mode. To edit, the user enters control mode by typing ESC (033) and moves the cursor to the point needing correction and then inserts or deletes characters or words as needed. Most control commands accept an optional repeat count prior to the command. When in vi mode on most systems, canonical processing is initially enabled and the command will be echoed again if the speed is 1200 baud or greater and it contains any control characters or less than one second has elapsed since the prompt was printed. The ESC character terminates canonical processing for the remainder of the command and the user can then modify the command line. This scheme has the advantages of canonical processing with the type-ahead echoing of raw mode. If the option viraw is also set, the terminal will always have canonical processing disabled. This mode is implicit for systems that do not support two alternate end-of-line delimiters, and may be helpful for certain terminals. Input Edit Commands erase (User-defined erase character as defined by the stty command, usually AH or #.) Delete previous character. AW Delete the previous blank separated word. AD Terminate the shell. AV Escape next character. Editing characters, the user's erase or kill characters may be entered in a command line or in a search string if preceded by a AV. The AV removes the next character's editing features (if any). \ Escape the next erase or kill character. Motion Edit Commands These commands will move the cursor. [count]l Cursor forward (right) one character. [count]w Cursor forward one alpha-numeric word. [count]W Cursor to the beginning of the next word that follows a blank. [count]e Cursor to end of word. [count]E Cursor to end of the current blank delimitedword. [count]h Cursor backward (left) one character. [count]b Cursor backward one word. [count]B Cursor to preceding blank-separated word. [count]rc Find the next character c in the current line. [count]Fc Find the previous character c in the current line. [count]tc Equivalent to r followed by h. - 17 -
- Page 328 and 329: FIND ( 1 ) FIND ( 1 ) -print -cpio
- Page 330 and 331: GET(l) -b -ilist -xlist GET(l) furt
- Page 332 and 333: GET(l) GET(l) TABLE 1. Determinatio
- Page 334 and 335: GET(l) GET(l) generated by the get.
- Page 337 and 338: GETOPT ( 1) GETOPT ( l ) NAME getop
- Page 339: GREEK (l) GREEK(l) NAME greek - sel
- Page 342 and 343: GREP ( 1) GREP (1) The order of pre
- Page 344 and 345: � '--- I I I I I I f)
- Page 346 and 347: · r1 . .... .. ._ _ . . r1 ' ·
- Page 348 and 349: HP(l) HP (1) is adjacent to an ASCl
- Page 351: ID ( 1 ) ID ( 1) NAME id - print us
- Page 355 and 356: IPCS ( 1) IPCS ( 1) NAME ipcs - rep
- Page 357 and 358: IPCS ( 1 ) OWNER GROUP CREATOR CGRO
- Page 359 and 360: JOIN ( 1 ) JOIN ( 1 ) NAME join - r
- Page 361: KILL (I) KILL(l) NAME kill - termin
- Page 364 and 365: KSH(l) KSH ( 1) A command is either
- Page 366 and 367: KSH ( 1) KSH ( 1) The following exp
- Page 368 and 369: KSH ( 1) KSH ( 1) ${parameter%patte
- Page 370 and 371: KSH ( 1) KSH(l) with the parameter
- Page 372 and 373: KSH ( 1) KSH(l) redirected using a
- Page 374 and 375: KSH ( 1) KSH(l) variables whose sco
- Page 376 and 377: KSH ( 1 ) KSH(l) Command Re-entry.
- Page 380 and 381: KSH ( 1) KSH ( 1) [count]Tc Equival
- Page 382 and 383: KSH ( 1) KSH(I) Line feed and print
- Page 384 and 385: KSH ( 1 ) KSH ( 1) fc -e - [ old= n
- Page 386 and 387: KSH ( 1 ) KSH(l) ?, the remainder o
- Page 388 and 389: KSH (l) KSH(l) test [ expr ] Evalua
- Page 390 and 391: KSH ( 1 ) KSH(l) ulimit [ -cdfmpt 1
- Page 393 and 394: LD ( 1 ) LD (1) NAME ld - link edit
- Page 395: LD ( 1 ) FILES LD ( 1) allow compat
- Page 398 and 399: LEX(l) LEX(l) EXAMPLE character def
- Page 401 and 402: LINT ( l ) LINT ( 1 ) NAME lint - a
- Page 403: LOGNAME ( l ) LOGNAME ( l ) NAME lo
- Page 406 and 407: I� �- '--- . ·
- Page 408 and 409: LP (l) LP (l) -ooption Specify prin
- Page 410 and 411: LPSTAT (l) LPSTAT (l) SEE ALSO enab
- Page 412 and 413: LS (l) LS (l) -f Force each argumen
- Page 415 and 416: M4 ( 1 ) M4 ( 1) NAME m4 - macro pr
- Page 417 and 418: M4 (1) undivert divnum dnl if else
- Page 419 and 420: MAIL ( 1) MAIL (l) NAME mail, rmail
- Page 421 and 422: MAKE(l) MAKE(l) NAME make - maintai
- Page 423 and 424: MAKE ( I) MAKE (l) MAKEFLAGS macro
- Page 425 and 426: MAKE(l) MAKE (I) .C .C - .Sh .sh- .
- Page 427 and 428: MAKE (l) MAKE (l) In the above exam
KSH ( 1) KSH ( 1)<br />
command you are in the input mode. To edit, the user enters control<br />
mode by typing ESC (033) and moves the cursor to the point<br />
needing correction and then inserts or deletes characters or words<br />
as needed. Most control commands accept an optional repeat<br />
count prior to the command.<br />
When in vi mode on most systems, canonical processing is initially<br />
enabled and the command will be echoed again if the speed is<br />
1200 baud or greater and it contains any control characters or less<br />
than one second has elapsed since the prompt was printed. The<br />
ESC character terminates canonical processing for the remainder<br />
of the command and the user can then modify the command line.<br />
This scheme has the advantages of canonical processing with the<br />
type-ahead echoing of raw mode. If the option viraw is also set,<br />
the terminal will always have canonical processing disabled. This<br />
mode is implicit for systems that do not support two alternate<br />
end-of-line delimiters, and may be helpful for certain terminals.<br />
Input Edit Commands<br />
erase (User-defined erase character as defined by the<br />
stty command, usually AH or #.) Delete previous<br />
character.<br />
AW Delete the previous blank separated word.<br />
AD Terminate the shell.<br />
AV Escape next character. Editing characters, the<br />
user's erase or kill characters may be entered<br />
in a command line or in a search string if preceded<br />
by a AV. The AV removes the next<br />
character's editing features (if any).<br />
\ Escape the next erase or kill character.<br />
Motion Edit Commands<br />
These commands will move the cursor.<br />
[count]l Cursor forward (right) one character.<br />
[count]w Cursor forward one alpha-numeric word.<br />
[count]W Cursor to the beginning of the next word that<br />
follows a blank.<br />
[count]e Cursor to end of word.<br />
[count]E Cursor to end of the current blank delimitedword.<br />
[count]h Cursor backward (left) one character.<br />
[count]b Cursor backward one word.<br />
[count]B Cursor to preceding blank-separated word.<br />
[count]rc Find the next character c in the current line.<br />
[count]Fc Find the previous character c in the current<br />
line.<br />
[count]tc Equivalent to r followed by h.<br />
- 17 -