Lines Matching +full:no +full:- +full:1 +full:- +full:8 +full:- +full:v

8 .\" 1. Redistributions of source code must retain the above copyright
20 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
29 .\" - Indent in multiples of 4, usually 8.
31 .\" - Use \` for literal back-quote (`).
33 .\" - Use \e for literal backslash (\).
35 .\" - Use \-, not -.
37 .\" - Include the tilde when naming dot files. .Pa ~/.login , not .Pa .login
39 .\" - Refer to external commands in man page format, e.g., .Xr csh 1
43 .\" - Say .Sq the shell , not .Sq tcsh ,
46 .\" - Say .Sq shell variable / .Sq environment variable instead of
51 .\" - Use the simple present tense.
54 .\" - IMPORTANT: Cross-reference as much as possible. Commands, variables,
56 .\" descriptive section, or at least in the reference-section description
58 .\" section. Remember to note OS-specific things in "OS variant support",
62 .\" - tcsh.man2html depends heavily on the specific nroff commands used in the
85 .Xr csh 1 .
88 It includes a command-line editor (see
89 .Sx The command-line editor )
98 and a C-like syntax.
104 .Xr csh 1 .
108 .Xr csh 1
114 .Xr csh 1
117 .Bl -tag
120 .Sq \-
128 .Bl -tag -width indent
133 further shell arguments to be treated as non-option arguments.
137 The shell will not run a set-user ID script without this option.
160 yields a non-zero exit status.
171 The shell is interactive and prompts for its top-level input, even if
186 .Xr su 1
206 .It Fl v
216 .It Fl V
225 .Fl V
227 .Fl v .
229 .It Fl \-help
231 .It Fl \-version
306 Non-login shells read only
318 .Xr stty 1
320 .Xr tset 1 ,
325 .Xr csh 1
332 shell variable (q.v.) before using
333 .Nm \-
389 .Xr csh 1
394 .Sx The command-line editor
405 .Ss The command-line editor (+)
406 Command-line input can be edited using key sequences much like those used in
407 .Xr emacs 1
409 .Xr vi 1 .
416 .Xr emacs 1
424 .Xr vi 1
431 .Bl -tag -width right -compact -offset indent
433 .Ic down-history
435 .Ic up-history
437 .Ic backward-char
439 .Ic forward-char
442 unless doing so would alter another single-character binding.
449 .Xr emacs 1
451 .Xr vi 1
455 is no need to list them here.
461 .Xr emacs 1
463 .Xr vi 1
471 The editor delimits words with any non-alphanumeric characters not in
483 .Ic complete-word
499 If no match is found (perhaps
536 if no other variable began with
560 .Ic delete-char-or-list-or-eof
563 .Ic ls\-F
564 builtin (q.v.)
566 .Bd -literal -offset indent
576 .Bd -literal -offset indent
588 completion fails and adds no new characters to the word being completed.
600 .Bd -literal -offset indent
607 .Bd -literal -offset indent
616 .Ic expand-variables
619 .Ic delete-char-or-list-or-eof
625 .Sq M-^D ,
627 .Ic list-choices ,
630 .Ic list-choices
634 .Ic delete-char-or-list-or-eof )
642 .Ic complete-word-fwd
644 .Ic complete-word-back
654 .Bd -literal -offset indent
687 completion 1) ignores case and 2) considers periods, hyphens and underscores
694 .Bd -literal -offset indent
700 .Sq mail \-f c.l.c[tab] ,
702 .Sq mail \-f comp.lang.c ,
709 .Sq mail \-f c..c++[^D]
715 .Sq rm a\-\-file[^D]
717 .Bd -literal -offset indent
718 A_silly_file a-hyphenated-file another_silly_file
736 .Sq rm a\-\-file[^D]
739 .Sq rm A\-\-file
755 .Bd -literal -offset indent
770 .Bd -literal -offset indent
784 .Ic expand-history
789 spelling-correct the word to be completed (see
819 Completion and listing do not work on glob-patterns (see
822 .Ic list-glob
824 .Ic expand-glob
826 equivalent functions for glob-patterns.
831 Individual words can be spelling-corrected with the
832 .Ic spell-word
833 editor command (usually bound to M-s and M-S)
835 .Ic spell-line
836 (usually bound to M-$).
851 .Bd -literal -offset indent
868 Spelling correction recognizes user-defined completions (see the
885 .Ic bindkey \-l
889 .Xr emacs 1
891 .Xr vi 1
898 .Sq M-character
900 .Sq escape-character
903 to letters by default are bound to both lower- and uppercase letters for
905 .Bl -tag -width indent
906 .It Ic backward-char Ar (^B, left)
910 .It Ic backward-delete-word Ar (M-^H, M-^?)
911 Cut from beginning of current word to cursor \- saved in cut buffer.
914 .It Ic backward-word Ar (M-b, M-B)
918 .It Ic beginning-of-line Ar (^A, home)
922 .It Ic capitalize-word Ar (M-c, M-C)
926 .It Ic complete-word Ar (tab)
929 .It Ic complete-word-back Ar (not bound)
931 .Ic complete-word-fwd ,
933 .It Ic complete-word-fwd Ar (not bound)
938 .It Ic complete-word-raw Ar (^X-tab)
940 .Ic complete-word ,
941 but ignores user-defined completions.
942 .It Ic copy-prev-word Ar (M-^_)
945 .Ic insert-last-word
948 .It Ic dabbrev-expand Ar (M-/)
953 .Ic dabbrev-expand
957 .Ic history-search-backward
959 .It Ic delete-char Ar (not bound)
962 .Ic delete-char-or-list-or-eof
965 .It Ic delete-char-or-eof Ar (not bound)
967 .Ic delete-char
969 .Ic end-of-file
972 .Ic delete-char-or-list-or-eof
975 .It Ic delete-char-or-list Ar (not bound)
977 .Ic delete-char
980 .Ic list-choices
983 .Ic delete-char-or-list-or-eof
984 .It Ic delete-char-or-list-or-eof Ar (^D)
986 .Ic delete-char
988 .Ic list-choices
990 .Ic end-of-file
993 .Ic delete-char-or-eof ,
994 .Ic delete-char-or-list
996 .Ic list-or-eof ,
998 .It Ic delete-word Ar (M-d, M-D)
999 Cut from cursor to end of current word \- save in cut buffer.
1002 .It Ic down-history Ar (down-arrow, ^N)
1004 .Ic up-history ,
1006 .It Ic downcase-word Ar (M-l, M-L)
1010 .It Ic end-of-file Ar (not bound)
1013 shell variable (q.v.) is set to prevent this.
1015 .Ic delete-char-or-list-or-eof
1016 .It Ic end-of-line Ar (^E, end)
1020 .It Ic expand-history Ar (M-space)
1025 .Ic magic-space ,
1026 .Ic toggle-literal-history
1030 .It Ic expand-glob Ar (^X-*)
1031 Expands the glob-pattern to the left of the cursor.
1034 .It Ic expand-line Ar (not bound)
1036 .Ic expand-history ,
1038 .It Ic expand-variables Ar (^X-$)
1042 .It Ic forward-char Ar (^F, right)
1046 .It Ic forward-word Ar (M-f, M-F)
1050 .It Ic history-search-backward Ar (M-p, M-P)
1054 The search string may be a glob-pattern (see
1062 .Ic up-history
1064 .Ic down-history
1069 .Ic history-search-forward
1071 .Ic i-search-back
1072 .It Ic history-search-forward Ar (M-n, M-N)
1074 .Ic history-search-backward ,
1076 .It Ic i-search-back Ar (not bound)
1078 .Ic history-search-backward ,
1086 .Ic i-search-back
1090 .Ic ( i-search-back
1095 .Bl -tag -width indent -compact
1100 .Ic backward-delete-char )
1111 .Ic self-insert-command
1118 .Ic i-search-fwd
1120 .Ic history-search-backward
1123 .It Ic i-search-fwd Ar (not bound)
1125 .Ic i-search-back ,
1129 .It Ic insert-last-word Ar (M-_)
1134 .Ic copy-prev-word
1135 .It Ic list-choices Ar (M-^D)
1139 .Ic delete-char-or-list-or-eof
1141 .Ic list-choices-raw
1142 .It Ic list-choices-raw Ar (^X-^D)
1144 .Ic list-choices ,
1145 but ignores user-defined completions.
1146 .It Ic list-glob Ar (^X-g, ^X-G)
1148 .Ic ls\-F
1149 builtin) matches to the glob-pattern
1153 .It Ic list-or-eof Ar (not bound)
1155 .Ic list-choices
1157 .Ic end-of-file
1160 .Ic delete-char-or-list-or-eof
1161 .It Ic magic-space Ar (not bound)
1164 .Ic expand-history ,
1166 .Ic magic-space
1169 .It Ic normalize-command Ar (^X-?)
1179 .Sq sh \-x
1180 .It Ic normalize-path Ar (^X-n, ^X-N)
1187 .It Ic overwrite-mode Ar (unbound)
1189 .It Ic run-fg-editor Ar (M-^Z)
1218 .It Ic run-help Ar (M-h, M-H)
1222 There is no way
1224 .Ic run-help
1233 .Sq command.1 ,
1235 .Sq command.8 ,
1243 .It Ic self-insert-command Ar (text characters)
1255 .Ic overwrite-mode
1256 .It Ic sequence-lead-in Ar (arrow prefix, meta prefix, ^X)
1258 multi-key sequence.
1259 Binding a command to a multi-key sequence really creates
1261 .Ic sequence-lead-in
1266 .Ic sequence-lead-in
1268 .Ic undefined-key
1270 .It Ic spell-line Ar (M-$)
1272 .Ic spell-word ,
1274 .Sq \- ,
1287 .It Ic spell-word Ar (M-s, M-S)
1291 .It Ic toggle-literal-history Ar (M-r, M-R)
1296 .Ic expand-history
1300 .It Ic undefined-key Ar (any unbound key)
1302 .It Ic up-history Ar (up-arrow, ^P)
1308 .It Ic upcase-word Ar (M-u, M-U)
1312 .It Ic vi-beginning-of-next-word Ar (not bound)
1316 .It Ic vi-eword Ar (not bound)
1320 .It Ic vi-search-back Ar (?)
1323 for a search string (which may be a glob-pattern, as with
1324 .Ic history-search-backward ),
1326 The bell rings if no match is found.
1332 .It Ic vi-search-fwd Ar (/)
1334 .Ic vi-search-back ,
1336 .It Ic which-command Ar (M-?)
1341 .It Ic yank-pop Ar (M-y)
1345 .Ic yank-pop ,
1351 .Ic yank-pop
1420 is no exception: quoting in any way any
1442 below) can a double-quoted string yield parts of more than one word;
1443 single-quoted strings never do.
1446 (q.v.), which may result in more than one word.
1458 shell variable (q.v.) can be set to make backslashes
1466 .Xr csh 1
1489 Saved commands are numbered sequentially from 1 and stamped with the time.
1565 .Bl -tag -width XXXX -offset indent -compact
1568 .It Ar \-n
1575 .Xr csh 1 ,
1576 where there is no check for recursion.
1582 .Sq \-1 )
1595 .Bd -literal -offset indent
1596 9 8:30 nroff \-man wumpus.man
1597 10 8:31 cp wumpus.man wumpus.man.old
1598 11 8:36 vi wumpus.man
1599 12 8:37 diff wumpus.man.old wumpus.man
1606 .Sq !\-2
1640 .Sq !{v}doc
1647 .Xr csh 1
1663 .Xr csh 1
1672 (first argument) being 1, etc.
1675 .Bl -tag -width XXXX -offset indent -compact
1684 .Sq 1
1691 .It Ar x\-y
1693 .It Ar \-y
1695 .Sq 0\-y
1698 .Sq ^\-$ ,
1699 but returns nothing if the event contains only 1 word
1702 .Sq x\-$
1703 .It Ar x\-
1715 .Sq diff !!:1.old !!:1
1717 .Sq \&:1
1720 .Sq diff !\-2:2 !\-2:1
1727 .Sq diff !\-2:1\-2
1729 .Sq diff !\-2:*
1733 .Sq cp wumpus.man !#:1.old
1737 `!n:\- hurkle.man' would reuse the first two words from the
1741 .Sq nroff \-man hurkle.man
1766 .Sq \-
1770 A history reference may have a word designator but no event specification.
1784 .Bl -tag -width XXXXXX -offset indent -compact
1809 .Xr ed 1
1862 .Bd -literal -offset indent -compact
1863 > set args=('arg 1' '' 'arg 3')
1864 > tcsh -f -c 'echo ${#argv}' $args:gQ
1876 It is an error for no word to be modifiable.
1898 .Sq mail \-s "I forgot my password" rot
1921 .Xr csh 1
1927 .Bd -literal -offset indent
1928 % mv wumpus.man /usr/man/man1/wumpus.1
1934 .Xr csh 1 ,
1936 .Sq wumpus.1:r
1939 .Bd -literal -offset indent
1943 > setenv PATH !{\-2$:h}:$PATH
1948 .Xr csh 1
1960 .Ic up-
1962 .Ic down-history ,
1963 .Ic history-search-backward
1965 .Va -forward ,
1966 .Ic i-search-back
1968 .Ic -fwd ,
1969 .Ic vi-search-back
1971 .Ic -fwd ,
1972 .Ic copy-prev-word
1974 .Ic insert-last-word
1978 .Ic toggle-literal-history
1981 .Ic expand-history
1983 .Ic expand-line
1997 left-to-right, is checked to see if it has an alias.
2002 (q.v.) as though the original command were the
2010 .Sq ls \-l
2014 \-l /usr', the argument list here being undisturbed.
2031 (1)s its arguments to the line printer.
2033 Alias substitution is repeated until the first word of the command has no
2060 (+) Variables may be made read-only with
2061 .Sq set \-r
2062 (q.v.).
2063 Read-only variables may not be modified or unset;
2065 Once made read-only, a variable cannot be made writable,
2067 .Sq set \-r
2069 Environment variables cannot be made read-only.
2083 .Fl v\fR command line option sets this variable.
2096 the second and subsequent words of multi-word values are ignored.
2128 end-of-line.
2161 .Bl -tag -width XXXXXXXXXX -offset indent -compact
2194 .Sq 1
2196 .Sq 1
2233 (q.v.); any modifiers must appear
2240 .Bl -tag -width XXXXXXXXXX -offset indent -compact
2244 .Sq 1
2252 .Sq 1
2292 Substitutes a line from the standard input, with no further interpretation
2296 .Xr csh 1
2306 .Xr csh 1
2311 .Va expand-variables
2313 .Sq ^X-$ ,
2322 This occurs very late, after input-output redirection is performed, andk
2362 .Dq ( glob-pattern ) ,
2397 (+) Some glob-patterns can be negated:
2405 An entire glob-pattern can also be negated with
2407 .Bd -literal -offset indent
2414 Glob-patterns which do not use
2428 Left-to-right order is preserved:
2486 It is an error for a glob-pattern containing
2497 glob-patterns must match a file (so that, e.g.,
2500 only if there were no files in the current directory ending in
2520 recursively traversing any existing sub-directories.
2524 If used by itself, it will match zero or more sub-directories
2542 glob-pattern will not
2553 .Va expand-glob
2555 .Sq ^X-* ,
2564 builtin commands (q.v.).
2583 .Sq =-
2587 .Bd -literal -offset indent
2588 > dirs \&-v
2590 1 /usr/spool/uucp
2592 > echo =1
2596 > echo =\-
2605 .Va expand-glob
2613 variable (q.v.) is set to
2617 .Va normalize-path
2620 .Va normalize-command
2667 .Ss "Builtin and non-builtin command execution"
2674 .Bd -literal -offset indent
2682 .Bd -literal -offset indent
2713 .Bl -enum -width indent
2764 .Bl -tag -width XXXXXXXXX -offset indent -compact
2864 by the input-output parameters and the presence of the command in a pipeline.
2866 have no access to the text of the commands by default; rather they receive the
2892 .Sq \&( command > output-file ) >& error-file
2895 .Va output-file
2897 .Va error-file
2918 .Va if-then-else
2929 s will succeed on non-seekable inputs.)
2942 builtin command (q.v.) has its own separate syntax.
2947 .Bl -tag -width XXXXXX -offset indent -compact
2949 .It < > << >> + \- * / % ! ~ ( )
2991 glob-pattern (see
3024 .Sq 1 ,
3042 .Bl -tag -width XXX -offset indent -compact
3065 Non-zero size (+)
3081 Set-user-ID bit is set (+)
3083 Set-group-ID bit is set (+)
3092 Applies subsequent operators in a multiple-operator test to a symbolic link
3117 .Sq 1 )
3121 may be used in a multiple-operator test to apply subsequent operators
3131 non-links.
3134 in a multiple-operator test; see below.
3146 with a non-file operator
3152 .Sq 1
3158 .Bl -tag -width XXX -offset indent -compact
3200 .Sq \-P
3205 .Sq \-P22
3233 Only one of these operators may appear in a multiple-operator test, and it
3238 elsewhere in a multiple-operator test.
3246 .Sq \&-1
3261 ordinarily allow writing but which is on a file system mounted read-only,
3262 the test will succeed in a POSIX shell but fail in a non-POSIX shell.
3267 command (q.v.) (+).
3282 [1] 1234
3284 indicating that the job which was started asynchronously was job number 1 and
3285 had one (top-level) process, whose process id was 1234.
3316 .Va run-fg-editor
3338 .Xr csh 1
3358 If you wish to refer to job number 1, you can name it
3360 .Sq %1
3362 .Sq %1
3365 .Sq fg %1
3366 , bringing job 1 back into the foreground.
3368 .Sq %1 &
3369 resumes job 1 in the background, just like
3370 .Sq bg %1
3376 .Xr ex 1
3392 .Sq \-
3403 .Sq %\-
3409 (1) option
3420 (1) and the
3427 informs you whenever a job becomes blocked so that no further progress is
3471 builtin command puts commands in a scheduled-event list,
3543 In either case, 7-bit ASCII is the default character code
3556 (e.g., a 'en_CA.UTF-8' would yield "UTF-8" as a character code).
3563 ISO 8859-1 character set is used
3573 characters in the range \e200\-\e377, i.e., those that have
3574 M-
3577 .Va self-insert-command
3578 The corresponding binding for the escape-
3587 which assumes full ISO 8859-1.
3588 Otherwise, all M-
3591 range \e240\-\e377 are effectively undone.
3598 If the tty is not in 8 bit mode, other 8 bit characters are printed by
3601 never changes the 7/8 bit mode of the tty and tracks user-initiated
3602 changes of 7/8 bit mode.
3605 the tty in 8 bit mode through the appropriate
3607 (1)
3618 On systems that support TCF (aix-ibm370, aix-ps2),
3652 (1).
3700 shell variables and the system-dependent locations of
3709 Login shells catch the terminate signal, but non-login shells inherit the
3751 it takes typed-ahead characters anyway.
3782 .Bl -tag -width XXXXXXX -offset indent
3797 .It Ar @ name++|--
3798 .It Ar @name[index]++|--
3848 .Sq ( -- )
3899 The categories start at size 8 and double at each step.
3915 .It Ar bindkey Oo Fl l Ns | Ns Fl d Ns | Ns Fl e Ns | Ns Fl v Ns | Ns Fl u Oc (+)
3929 .Bl -tag -width XXX -compact
3935 .Va -e
3937 .Va -v
3942 (1)\-style bindings.
3945 .It Fl v
3948 (1)\-style bindings.
3952 Lists or changes key-bindings in the alternative key map.
3964 C-
3967 .Sq C-A
3969 a meta character written M-
3972 .Sq M-A
3974 a function key written F-
3977 .Sq F-string
3979 or an extended prefix key written X-
3982 .Sq X-A
3998 .Sq bindkey \-r
4004 .Va self-insert-command
4005 (q.v.), it unbinds
4034 .Va sequence-lead-in
4041 .Va quoted-insert
4043 .Sq ^V
4045 written caret-character style, e.g.,
4049 (caret-question mark).
4054 escape sequences (in the style of System V
4056 (1)) as follows:
4058 .Bl -tag -width XXXX -compact -offset indent
4085 .It bs2cmd Va bs2000-command
4088 .Va bs2000-command
4090 execution. Only non-interactive commands can be executed, and it is
4092 of the current process, like /EXECUTE or /CALL-PROCEDURE. (BS2000 only)
4103 Multi-level breaks are thus
4132 .Fl v\fR] [\I--\fR] [
4150 .Sq \-
4178 .RS +8
4186 .Fl v\fR flags have the same effect on
4194 .Fl \-\fR forces a break from option processing so the next word
4197 even if it begins with '\-'. (+)
4234 .RS +8
4237 may be a full command name or a glob-pattern
4242 .Sq \-
4256 Current-word completion.
4258 is a glob-pattern which must match the beginning of the current word on
4271 Next-word completion.
4273 is a glob-pattern which must match the beginning of the previous word on
4282 Position-dependent completion.
4292 .Bl -tag
4331 .It v
4341 .Va list-choices
4356 is an optional glob-pattern.
4373 .Va list-choices
4379 If null, no character is appended.
4394 sophisticated completions (see completion for svn(1) included in
4399 so there's no point completing plain files.
4401 > complete cd 'p/1/d/'
4405 (`p/1') with a directory.
4413 > complete \-co* 'p/0/(compress)/'
4431 .Sq \-
4435 > complete find 'n/\-user/u/'
4444 .Sq \-user
4447 > complete cc 'c/\-I/d/'
4456 .Sq \-I
4458 `\-I' is not taken as part of the
4466 > complete alias 'p/1/a/'
4470 > complete set 'p/1/s/'
4472 > complete true 'p/1/x:Truth has no options./'
4486 .Sq Truth has no options.
4496 > complete ftp 'p/1/$hostnames/'
4514 > complete kill 'p/*/\`ps | awk \e{print\e \e$1\e}\`/'
4516 > kill \-9 [^D]
4526 .Sq {print $1}
4540 before the next-word completion.
4542 the next-word completion were specified first it would always match
4564 can also exclude files, using negation of a glob-pattern as
4569 > complete rm 'p/*/f:^*.{c,h,cc,C,tex,1,man,l,y}/'
4577 .Va complete-word-raw
4579 .Va list-choices-raw
4580 editor commands (q.v.).
4614 .Sq elm \-f =
4616 .Sq elm \-f ~/Mail/
4635 > complete finger 'c/*@/$hostnames/' 'p/1/u/@'
4654 \&'n/\-name/f/' 'n/\-newer/f/' 'n/\-{,n}cpio/f/' \e
4656 \&\'n/\-exec/c/' 'n/\-ok/c/' 'n/\-user/u/' \e
4658 \&'n/\-group/g/' 'n/\-fstype/(nfs 4.2)/' \e
4660 \&'n/\-type/(b c d f l p s)/' \e
4662 \'c/\-/(name newer cpio ncpio exec ok user \e
4673 .Sq \-name
4675 .Sq \-newer
4677 .Sq \-cpio
4682 .Sq \-exec
4684 .Sq \-ok
4691 .Sq \-fstype
4693 .Sq \-type
4713 .TP 8
4720 .TP 8
4732 .Fl v\fR]
4734 .B dirs \-S\fR|
4739 .TP 8
4740 .B dirs \-c \fR(+)
4758 .Fl v\fR, entries are printed one per line, preceded by their stack positions.
4762 .Fl v\fR is given,
4763 .Fl v\fR takes precedence.
4766 .RS +8
4795 .Sq dirs \-L
4800 .Sq dirs \-S
4815 .TP 8
4827 sequences of the BSD and/or System V versions of
4831 (1).
4832 .TP 8
4845 .RS +8
4850 value of that capability ("yes" or "no" indicating that the terminal does
4858 > @ history\-\-
4869 > echo \-n "$tosl";date; echo \-n "$frsl"
4875 .Fl v\fR, messages are verbose.
4884 .TP 8
4896 .TP 8
4908 (1) for a sample use of
4910 .TP 8
4914 .TP 8
4926 .TP 8
4940 .Sq \-
4945 .Va run-fg-editor
4947 .TP 8
4948 .B filetest \-
4958 space-separated list.
4964 .TP 8
4993 .TP 8
4997 .TP 8
5001 .TP 8
5006 .Sq -n
5011 .TP 8
5014 is filename and command-substituted to
5023 .TP 8
5047 .B history \-S\fR|
5053 .TP 8
5054 .B history \-c \fR(+)
5064 .Va -T
5067 produce files suitable for loading with 'history \-L' or 'source \-h'.)
5072 .RS +8
5124 `history \-L' is exactly like 'source \-h' except that it does not require a
5128 .Sq history \-L
5133 .Sq history \-S
5153 .TP 8
5166 Without an argument, causes the non-interactive shell only to
5173 .TP 8
5213 .TP 8
5228 .Va else-if
5247 .TP 8
5249 .Va shared-library
5252 .Va shared-library
5254 There is no way
5257 .TP 8
5268 .TP 8
5278 .TP 8
5279 .B kill \-l
5292 .Sq \-
5301 There is no default
5312 .TP 8
5317 .Va maximum-use
5321 .Va maximum-use
5325 If no
5326 .Va maximum-use
5328 the current limit is printed; if no
5338 Only the super-user may raise the hard limits, but
5342 .Bl -tag -width pseudoterminals -compact -offset indent
5344 the maximum number of cpu-seconds to be used by each process
5351 the maximum size of the automatically-extended stack region
5373 the maximum number of pseudo-terminals for this user
5400 the maximum nice priority the user is allowed to raise mapped from [19...-20]
5408 .Va maximum-use
5441 .Va maximum-use
5455 .TP 8
5465 .TP 8
5471 .Xr sh 1 .
5472 .TP 8
5478 .TP 8
5479 .B ls\-F \fR[\-
5485 .Sq ls \-F
5489 .Bl -tag -width x -offset indent -compact
5518 Symbolic link to a non-directory
5528 also slows down \fIls\-F\fR and causes partitions holding
5542 ), they are used as flags to \fIls\-F\fR,
5544 .Sq ls \-xF
5546 .Sq ls \-Fa
5548 .Sq ls \-FA
5551 .Sq ls \-FxA
5554 .Sq ls \-C
5555 is not the default, \fIls\-F\fR acts like
5556 .Sq ls \-CF
5563 .Sq ls \-xF
5564 \fIls\-F\fR passes its arguments to
5566 (1) if it is given any switches,
5568 .Sq alias ls ls\-F
5571 The \fBls\-F\fR builtin can list files using different colors depending on the
5589 .TP 8
5590 .B migrate \-
5596 .Sq migrate \-
5606 .TP 8
5615 (1).
5620 .TP 8
5641 The super-user may specify negative
5643 .Sq nice \-number ...
5645 executed in a sub-shell, and the restrictions placed on
5649 .TP 8
5660 Without an argument, causes the non-interactive shell only to
5667 .TP 8
5684 .Sq \-
5691 .TP 8
5702 .Sq \-
5711 .IP "" 8
5717 .TP 8
5722 .Fl v\fR] \fR[\fB+
5732 .IP "" 8
5747 .Fl v\fR flags have the same effect on
5752 .TP 8
5761 .TP 8
5766 .Fl v\fR] [
5790 .Sq \-
5821 .IP "" 8
5836 .Fl v\fR flags have the same effect on
5841 .TP 8
5863 .TP 8
5878 .TP 8
5900 .TP 8
5901 .B sched \-
5904 The first form prints the scheduled-event list.
5908 the scheduled-event list is printed.
5911 to the scheduled-event list.
5914 .RS +8
5921 The time may be in 12-hour AM/PM format
5928 > sched +2:15 /usr/lib/uucp/uucico \-r1 \-sother
5934 .Bd -literal -offset indent
5936 1 Wed Apr 4 15:42 /usr/lib/uucp/uucico \-r1 \-sother
5938 > sched \-2
5940 1 Wed Apr 4 15:42 /usr/lib/uucp/uucico \-r1 \-sother
5943 A command in the scheduled-event list is executed just before the first
5949 However, normal operation of an already-running command will not
5950 be interrupted so that a scheduled-event list element may be run.
5954 (1)
5978 .B set [\-r] [\-f|\-l]
5990 .B set \-r \fR(+)
5992 .B set \-r
5996 .TP 8
5997 .B set \-r
6018 .Fl r\fR is specified, the value is set read-only.
6032 The sixth form lists only the names of all shell variables that are read-only.
6035 read-only, whether or not it has a value.
6039 read-only at the same time.
6041 .IP "" 8
6042 These arguments can be repeated to set and/or make read-only multiple variables
6058 .TP 8
6074 .TP 8
6080 (1).
6082 .TP 8
6091 .TP 8
6103 .Sq settc xn no
6106 .TP 8
6138 .IP "" 8
6142 which are fixed on (`+mode') or off (`\-mode').
6168 .TP 8
6179 .TP 8
6185 [1] and shifts the members of
6197 .TP 8
6223 .Sq history \-L
6224 .TP 8
6239 .Sq \-
6243 There is no default
6249 .TP 8
6257 (1).
6275 .TP 8
6304 If no label matches and
6305 there is no default, execution continues after the
6308 .TP 8
6313 .TP 8
6321 if no
6325 if an entry is present otherwise returns 1.
6326 .TP 8
6343 .TP 8
6356 .TP 8
6366 .TP 8
6376 .TP 8
6380 .TP 8
6387 .TP 8
6394 or, if no
6402 Only the super-user may do this.
6411 .TP 8
6415 , unless they are read-only.
6416 `unset *' thus removes all variables unless they are read-only;
6420 .TP 8
6429 .TP 8
6457 .TP 8
6463 .TP 8
6470 .TP 8
6474 builtin command (q.v.).
6479 .TP 8
6488 .TP 8
6497 (1), but it correctly reports
6501 .Va which-command
6509 .TP 8
6520 evaluates non-zero.
6537 .TP 8
6540 .TP 8
6546 (1) and a re-parenting window
6549 (1) and does
6550 .RS +8
6552 > alias cwdcmd 'echo \-n "^[]2;${HOST}:$cwd ^G"'
6556 (1)
6560 > alias cwdcmd 'echo \-n "^[]2;${HOST}:$cwd^G^[]1;${HOST}^G"'
6577 .TP 8
6583 .RS +8
6585 > alias jobcmd 'echo \-n "^[]2\e;\e!#:q^G"'
6591 .TP 8
6594 .Va run-help
6599 .RS +8
6601 > alias helpcommand '\e!:1 --help'
6605 Currently there is no easy way to account for various calling conventions (e.g.,
6607 .Sq -h
6610 .TP 8
6619 .RS +8
6627 (1) program runs every 30 minutes.
6637 .TP 8
6641 .RS +8
6647 (1) runs just before the shell prompts for each command.
6648 There are no limits on what
6653 .TP 8
6656 .RS +8
6658 > alias postcmd 'echo \-n "^[]2\e;\e!#:q^G"'
6664 .TP 8
6725 shell variable to match (unless the shell variable is read-only) and vice
6737 .TP 8
6744 .TP 8
6750 .TP 8
6752 If set, all times are shown in 12-hour AM/PM format.
6753 .TP 8
6760 .TP 8
6767 .Sq $1
6769 .Sq $argv[1]
6772 .TP 8
6775 .Va spell-word
6778 .TP 8
6781 .Va expand-history
6787 .TP 8
6792 , possibilities are listed only when no new
6794 .TP 8
6801 .Sq auto-logout
6813 (automatic logout after 60 minutes, and no locking) by default
6818 the tty is a pseudo-tty (pty) or the shell was not so compiled (see the
6830 .TP 8
6844 .TP 8
6855 .Xr csh 1
6857 .TP 8
6865 .TP 8
6871 .TP 8
6881 .TP 8
6883 If set, it enables color display for the builtin \fBls\-F\fR and it passes
6884 .Fl \-color=auto\fR to
6887 \fBls\-F\fR or only
6891 it to nothing is equivalent to setting it to \fB(ls\-F ls)\fR.
6892 .TP 8
6896 .TP 8
6899 .Va -c
6900 flag (q.v.).
6901 .TP 8
6904 .Xr csh 1
6905 .TP 8
6915 .Sq \-
6924 case-insensitive manner; it will treat periods, hyphens and underscores
6926 .TP 8
6930 .TP 8
6933 .RS +8
6937 .TP 8
6941 , commands are automatically spelling-corrected.
6948 .TP 8
6953 .TP 8
6961 .TP 8
6970 .TP 8
6973 .Sq dirs \-S
6975 .Sq dirs \-L
6991 .TP 8
6994 `$dirstack[1]' is the current working directory,
6998 .Sq $dirstack[1]
7012 .TP 8
7019 , it enables display and editing EUC-kanji(Japanese) code.
7022 , it enables display and editing Shift-JIS(Japanese) code.
7030 multi-byte code format:
7031 .RS +8
7043 is set to number 0,1,2 and 3.
7046 0 ... not used for multi-byte characters.
7048 1 ... used for the first byte of a multi-byte character.
7050 2 ... used for the second byte of a multi-byte character.
7052 3 ... used for both the first byte and second byte of a multi-byte character.
7058 What's going on here? It this 3-byte code
7073 used for multi-byte characters.
7074 The 3rd character (0x02) is set to '1',
7075 indicating that it is used for the first byte of a multi-byte character.
7078 the second byte of a multi-byte character.
7081 byte of a multi-byte character.
7083 The GNU fileutils version of ls cannot display multi-byte
7084 filenames without the -N ( --literal ) option.
7088 example, "ls-F -l" cannot display multi-byte filenames.
7095 .TP 8
7102 .TP 8
7106 For non-builtin commands all expansions occur before
7112 .TP 8
7119 .RS +8
7121 .TP 8
7124 .Sq \-n ;
7126 .Xr csh 1
7127 .TP 8
7130 .TP 8
7133 .Sq \-n
7137 .TP 8
7143 The BSD and System V
7146 (1) man pages on the appropriate
7149 .TP 8
7151 If set, the command-line editor is used.
7154 .TP 8
7157 .Va run-fg-editor
7165 .TP 8
7176 .TP 8
7179 .TP 8
7182 .TP 8
7185 .TP 8
7193 .Xr csh 1
7196 .Xr csh 1
7198 .TP 8
7201 .TP 8
7203 If set, wild-card glob patterns will match files and directories beginning
7210 .TP 8
7219 traversing any existing sub-directories.
7222 If used by itself, it will match zero or more sub-directories
7234 glob-pattern will not
7239 .TP 8
7242 .TP 8
7245 .Va i-search-back
7247 .Va i-search-fwd
7250 .IP "" 8
7254 .TP 8
7257 substitution\fR (q.v.).
7265 .TP 8
7283 options renumber history events so there are no gaps.
7284 .TP 8
7287 .Sq history \-S
7289 .Sq history \-L
7309 .TP 8
7317 .Va toggle-literal-history
7319 .TP 8
7335 .TP 8
7343 .TP 8
7349 .Va end-of-file
7361 .Va n - 1
7363 .Va end-of-file
7368 .Sq 1
7372 .TP 8
7381 is inhibited in non-interactive shell scripts, or for command strings
7384 executing a like-named command, but it is done after alias
7387 .TP 8
7395 .TP 8
7408 .TP 8
7420 .Va backward-delete-word
7422 .Va kill-line
7424 .Va copy-region-as-kill
7429 into the command-line, while
7430 .Va yank-pop
7435 .TP 8
7446 are used as flags to \fIls\-F\fR, making it act like
7447 .Sq ls \-xF
7449 \-Fa',
7450 .Sq ls \-FA
7452 .Sq ls \-FxA
7469 .Sq ls(1)
7470 .TP 8
7477 .TP 8
7479 If set, the \fIls\-F\fR builtin command shows the type of file to which
7481 .TP 8
7484 .Va list-choices
7487 .TP 8
7490 .Va list-choices
7493 .TP 8
7497 within a shell has no effect.
7500 .TP 8
7516 .TP 8
7530 .RS +8
7533 If you are in a login shell, then no mail file is reported unless it has
7564 .TP 8
7571 , it beeps only when there is no match.
7581 .TP 8
7586 .TP 8
7595 .TP 8
7603 .TP 8
7609 (q.v.) are inhibited.
7613 .TP 8
7619 .TP 8
7625 (q.v.) which does not match any
7631 .TP 8
7633 A list of directories (or glob-patterns which match directories; see
7644 .TP 8
7648 .TP 8
7652 .TP 8
7655 .Sq \-
7665 .TP 8
7670 .TP 8
7675 .TP 8
7679 If there is no
7688 does not exist, to a system-dependent default
7716 .TP 8
7718 If set and an interactive program exits with a non-zero status, the shell
7722 .TP 8
7729 .RS +8
7805 The time of day in 12-hour AM/PM format.
7810 , but in 24-hour format (but see the
7817 time of day in 12-hour AM/PM format, with seconds.
7822 , but in 24-hour format (but see the
7938 eight-bit-clean shells; see the
7976 .TP 8
7987 (q.v.);
7993 .TP 8
7998 (q.v.);
8004 .TP 8
8006 If set (to a two-character string), the
8012 .TP 8
8020 .TP 8
8027 .TP 8
8031 .TP 8
8036 .TP 8
8041 .TP 8
8043 The string to print on the right-hand side of the screen (after
8056 .TP 8
8059 .Sq dirs \-S
8063 .TP 8
8066 .Sq history \-S
8089 .TP 8
8102 .TP 8
8110 .Va Builtin and non-builtin command execution
8112 (system-dependent) home of the shell.
8113 .TP 8
8116 Reset to 1 in login shells.
8119 .TP 8
8126 .Xr csh 1
8132 .RS +8
8145 .Sq 1
8150 .TP 8
8154 .RS +8
8183 Unfortunately, this does not work for hard-to-recognize filenames,
8194 .Va normalize-path
8195 (bound by default to ^X-n) when necessary.
8204 > ln \-s from/src to/dst
8277 expansion 1) works just like
8283 filenames are passed to non-builtin commands.
8285 .TP 8
8298 .TP 8
8305 .TP 8
8309 builtin (q.v.) executes automatically
8318 .RS +8
8395 The number of pages which are zero-filled on demand.
8418 Note that the CPU percentage can be higher than 100% on multi-processors.
8420 .TP 8
8425 .TP 8
8428 .TP 8
8431 .TP 8
8434 .TP 8
8439 .Fl v\fR command line option.
8440 .TP 8
8452 ) and a comma-separated
8456 .RS +8
8466 The shell is multibyte encoding clean (like UTF-8)
8495 (1)\-style editing is the default rather than
8497 (1)\-style
8554 .TP 8
8556 .RS +8
8559 (1)\-style:
8566 (1)\-style:
8576 .Va -e
8581 .Va -v
8587 .TP 8
8592 .TP 8
8605 .RS +8
8620 set watch = (1 any any)
8641 .TP 8
8649 .RS +8
8689 .TP 8
8691 A list of non-alphanumeric characters to be considered part of a word by the
8692 .Va forward-word
8694 .Va backward-word
8702 .Sq *?_\-.[]~=
8710 .TP 8
8715 .TP 8
8720 .TP 8
8724 (1)).
8727 (q.v.).
8728 .TP 8
8732 .Va run-fg-editor
8740 .TP 8
8745 .TP 8
8750 .TP 8
8756 .TP 8
8762 .TP 8
8764 A colon-separated list of directories in which the
8765 .Va run-help
8768 .TP 8
8773 .TP 8
8778 .TP 8
8783 .TP 8
8787 file format; a colon-separated list of expressions of the form
8792 " is a two-character variable name.
8796 .RS +8
8801 Normal (non-filename) text
8843 End code (replaces lc+no+rc)
8856 all C\-language source files blue you would specify
8862 Control characters can be written either in C\-style\-escaped
8863 notation, or in stty\-like ^\-notation.
8864 The C\-style notation
8886 .Va <color-code>
8896 \fB<no>
8919 .RS +8
8925 1
8990 .Va no
8994 numerical codes for your standard fore- and background colors.
8996 .TP 8
8999 .TP 8
9002 .Va self-insert-command
9005 .TP 8
9008 .TP 8
9010 A colon-separated list of directories in which to look for executables.
9014 .TP 8
9020 .TP 8
9028 .TP 8
9033 .TP 8
9037 .TP 8
9042 .TP 8
9047 .TP 8
9052 .TP 8
9055 .TP 8
9057 The pathname to a default full-screen editor.
9059 .Va run-fg-editor
9077 A/UX, AMIX, Cray and IRIX have no equivalent in
9078 .Xr csh 1
9165 A/UX, AMIX, Cray and IRIX have no equivalent in
9166 .Xr csh 1
9207 .Xr csh 1
9212 A command-line editor, which supports
9214 (1)\-style
9217 (1)\-style key bindings.
9219 .Va The command-line editor
9233 (q.v.) of filenames, commands and variables.
9236 (q.v.) which perform other useful functions in the middle of
9238 .Va ( run-help ),
9240 .Va ( run-fg-editor )
9243 .Va ( which-command ).
9246 Events in the history list are time-stamped.
9257 .Va *-history
9259 .Va history-search-*
9261 .Va i-search-*
9263 .Va vi-search-*
9265 .Va toggle-literal-history
9292 .Va normalize-command
9294 .Va normalize-path
9297 Negation in glob-patterns.
9303 (q.v.) and a
9309 (q.v.) including
9323 and system-dependent file locations (see
9327 Extensive terminal-management capabilities.
9335 , \fIls\-F\fR,
9343 (q.v.).
9386 Read-only variables.
9420 built-in commands.
9449 Glob-patterns which do not use
9461 The single-command form of
9466 \fIls\-F\fR includes file identification characters when sorting filenames
9483 In 1964, DEC produced the PDP-6.
9484 The PDP-10 was a later re-implementation.
9486 was re-christened the DECsystem-10 in 1970 or so when DEC brought out the
9491 1972 as an experiment in demand-paged virtual memory operating systems.
9493 built a new pager for the DEC PDP-10 and created the OS to go with it.
9497 In 1975, DEC brought out a new model of the PDP-10, the KL10; they intended to
9500 They called their version TOPS-20 (their capitalization is trademarked).
9501 A lot of TOPS-10 users (`The OPerating System for PDP-10') objected; thus DEC
9502 found themselves supporting two incompatible systems on the same hardware--but
9503 then there were 6 on the PDP-11!
9505 TENEX, and TOPS-20 to version 3, had command completion
9506 via a user-code-level subroutine library called ULTCMD.
9513 and TOPS-20, and created a version of csh which mimicked them.
9518 limited to 1/6th the number of characters allowed in an argument list.
9520 Command substitutions may substitute no more characters than are allowed in
9527 csh(1), emacs(1), ls(1), newgrp(1), sh(1), setpath(1), stty(1), su(1),
9528 tset(1), vi(1), x(1), access(2), execve(2), fork(2), killpg(2),
9533 This manual documents tcsh 6.22.03 (Astron) 2020-11-18.
9539 .Xr csh 1
9550 Paul Placeway, Ohio State CIS Dept., 1983-1993
9554 Karl Kleinpaste, CCI 1983-4
9559 \fIls\-F\fR and
9569 .Xr csh 1
9573 Christos S. Zoulas, Cornell U. EE Dept., 1987-94
9607 Per Hedeland, Ellemtel, Sweden, 1990-
9625 .Xr csh 1
9638 .Va correct-line
9639 , 8-bit printing
9644 Jaap Vermeulen, Sequent, 1990-91
9645 Vi mode fixes, expand-line, window change fixes, Symmetry port
9647 Martin Boyer, Institut de recherche d'Hydro-Quebec, 1991
9669 Bruce Sterling Woodcock, sterling@netcom.com, 1991-1995
9676 .Va complete-word-fwd
9678 .Va complete-word-back
9684 VMS-POSIX port
9688 .Xr csh 1
9706 Read-only variables
9708 Dave Schweisguth, Yale University, 1993-4
9714 Luke Mewburn, RMIT University, 1994-6