147 The shell is a login shell. Applicable only if \fB\-l\fR is the only |
147 The shell is a login shell. Applicable only if \fB\-l\fR is the only |
148 flag specified. |
148 flag specified. |
149 .TP 4 |
149 .TP 4 |
150 .B \-m |
150 .B \-m |
151 The shell loads \fI~/.tcshrc\fR even if it does not belong to the effective |
151 The shell loads \fI~/.tcshrc\fR even if it does not belong to the effective |
152 user. Newer versions of \fIsu\fR(1M) can pass \fB\-m\fR to the shell. (+) |
152 user. Newer versions of \fIsu\fR(8) can pass \fB\-m\fR to the shell. (+) |
153 .TP 4 |
153 .TP 4 |
154 .B \-n |
154 .B \-n |
155 The shell parses commands but does not execute them. |
155 The shell parses commands but does not execute them. |
156 This aids in debugging shell scripts. |
156 This aids in debugging shell scripts. |
157 .TP 4 |
157 .TP 4 |
2673 output, separated by spaces and terminated with a newline. |
2673 output, separated by spaces and terminated with a newline. |
2674 The \fBecho_style\fR shell variable may be set to emulate (or not) the flags and escape |
2674 The \fBecho_style\fR shell variable may be set to emulate (or not) the flags and escape |
2675 sequences of the BSD and/or System V versions of \fIecho\fR; see \fIecho\fR(1). |
2675 sequences of the BSD and/or System V versions of \fIecho\fR; see \fIecho\fR(1). |
2676 .TP 8 |
2676 .TP 8 |
2677 .B echotc \fR[\fB\-sv\fR] \fIarg\fR ... (+) |
2677 .B echotc \fR[\fB\-sv\fR] \fIarg\fR ... (+) |
2678 Exercises the terminal capabilities (see \fIterminfo\fR(4)) in \fIargs\fR. |
2678 Exercises the terminal capabilities (see \fIterminfo\fR(5)) in \fIargs\fR. |
2679 For example, 'echotc home' sends the cursor to the home position, |
2679 For example, 'echotc home' sends the cursor to the home position, |
2680 \&'echotc cm 3 10' sends it to column 3 and row 10, and |
2680 \&'echotc cm 3 10' sends it to column 3 and row 10, and |
2681 \&'echotc ts 0; echo "This is a test."; echotc fs' prints "This is a test." |
2681 \&'echotc ts 0; echo "This is a test."; echotc fs' prints "This is a test." |
2682 in the status line. |
2682 in the status line. |
2683 .RS +8 |
2683 .RS +8 |
3313 .B setspath\fR LOCAL|\fIsite\fR|\fIcpu\fR ... (+) |
3313 .B setspath\fR LOCAL|\fIsite\fR|\fIcpu\fR ... (+) |
3314 Sets the system execution path. (TCF only) |
3314 Sets the system execution path. (TCF only) |
3315 .TP 8 |
3315 .TP 8 |
3316 .B settc \fIcap value \fR(+) |
3316 .B settc \fIcap value \fR(+) |
3317 Tells the shell to believe that the terminal capability \fIcap\fR |
3317 Tells the shell to believe that the terminal capability \fIcap\fR |
3318 (as defined in \fIterminfo\fR(4)) has the value \fIvalue\fR. |
3318 (as defined in \fIterminfo\fR(5)) has the value \fIvalue\fR. |
3319 No sanity checking is done. |
3319 No sanity checking is done. |
3320 Concept terminal users may have to `settc xn no' to get proper |
3320 Concept terminal users may have to `settc xn no' to get proper |
3321 wrapping at the rightmost column. |
3321 wrapping at the rightmost column. |
3322 .TP 8 |
3322 .TP 8 |
3323 .B setty \fR[\fB\-d\fR|\fB\-q\fR|\fB\-x\fR] [\fB\-a\fR] [[\fB+\fR|\fB\-\fR]\fImode\fR] (+) |
3323 .B setty \fR[\fB\-d\fR|\fB\-q\fR|\fB\-x\fR] [\fB\-a\fR] [[\fB+\fR|\fB\-\fR]\fImode\fR] (+) |
3400 labels and default labels as in C. If no label matches and |
3400 labels and default labels as in C. If no label matches and |
3401 there is no default, execution continues after the \fIendsw\fR. |
3401 there is no default, execution continues after the \fIendsw\fR. |
3402 .PD |
3402 .PD |
3403 .TP 8 |
3403 .TP 8 |
3404 .B telltc \fR(+) |
3404 .B telltc \fR(+) |
3405 Lists the values of all terminal capabilities (see \fIterminfo\fR(4)). |
3405 Lists the values of all terminal capabilities (see \fIterminfo\fR(5)). |
3406 .TP 8 |
3406 .TP 8 |
3407 .B termname \fR[\fIterminal type\fR] \fR(+) |
3407 .B termname \fR[\fIterminal type\fR] \fR(+) |
3408 Tests if \fIterminal type\fR (or the current value of \fBTERM\fR if no |
3408 Tests if \fIterminal type\fR (or the current value of \fBTERM\fR if no |
3409 \fIterminal type\fR is given) has an entry in the hosts |
3409 \fIterminal type\fR is given) has an entry in the hosts |
3410 terminfo(4) database. Prints the terminal type to stdout and returns 0 |
3410 terminfo(5) database. Prints the terminal type to stdout and returns 0 |
3411 if an entry is present otherwise returns 1. |
3411 if an entry is present otherwise returns 1. |
3412 .TP 8 |
3412 .TP 8 |
3413 .B time \fR[\fIcommand\fR] |
3413 .B time \fR[\fIcommand\fR] |
3414 Executes \fIcommand\fR (which must be a simple command, not an alias, |
3414 Executes \fIcommand\fR (which must be a simple command, not an alias, |
3415 a pipeline, a command list or a parenthesized command list) |
3415 a pipeline, a command list or a parenthesized command list) |
4739 .TP 8 |
4739 .TP 8 |
4740 .B COLUMNS |
4740 .B COLUMNS |
4741 The number of columns in the terminal. See \fBTerminal management\fR. |
4741 The number of columns in the terminal. See \fBTerminal management\fR. |
4742 .TP 8 |
4742 .TP 8 |
4743 .B DISPLAY |
4743 .B DISPLAY |
4744 Used by X Window System (see \fIX\fR(5)). |
4744 Used by X Window System (see \fIX\fR(7)). |
4745 If set, the shell does not set \fBautologout\fR (q.v.). |
4745 If set, the shell does not set \fBautologout\fR (q.v.). |
4746 .TP 8 |
4746 .TP 8 |
4747 .B EDITOR |
4747 .B EDITOR |
4748 The pathname to a default editor. |
4748 The pathname to a default editor. |
4749 See also the \fBVISUAL\fR environment variable |
4749 See also the \fBVISUAL\fR environment variable |
5198 an argument list. |
5198 an argument list. |
5199 .PP |
5199 .PP |
5200 To detect looping, the shell restricts the number of \fIalias\fR |
5200 To detect looping, the shell restricts the number of \fIalias\fR |
5201 substitutions on a single line to 20. |
5201 substitutions on a single line to 20. |
5202 .SH "SEE ALSO" |
5202 .SH "SEE ALSO" |
5203 csh(1), emacs(1), ls(1), newgrp(1), sh(1), stty(1), su(1M), |
5203 csh(1), emacs(1), ls(1), newgrp(1), sh(1), stty(1), su(8), |
5204 tset(1B), vi(1), X(5), access(2), execve(2), fork(2), killpg(3C), |
5204 tset(1B), vi(1), X(7), access(2), execve(2), fork(2), killpg(3C), |
5205 pipe(2), setrlimit(2), sigvec(3UCB), stat(2), umask(2), vfork(2), wait(2), |
5205 pipe(2), setrlimit(2), sigvec(3UCB), stat(2), umask(2), vfork(2), wait(2), |
5206 malloc(3C), setlocale(3C), tty(7D), a.out(4), terminfo(4), environ(5), |
5206 malloc(3C), setlocale(3C), tty(7D), a.out(5), terminfo(5), environ(7), |
5207 termio(7I), Introduction to the C Shell |
5207 termio(7I), Introduction to the C Shell |
5208 .SH VERSION |
5208 .SH VERSION |
5209 This manual documents tcsh 6.18.01 (Astron) 2012-02-14. |
5209 This manual documents tcsh 6.18.01 (Astron) 2012-02-14. |
5210 .SH AUTHORS |
5210 .SH AUTHORS |
5211 .PD 0 |
5211 .PD 0 |