1 058b0118 2005-01-03 devnull .TH LABEL 1
3 058b0118 2005-01-03 devnull label, awd \- set window label
4 058b0118 2005-01-03 devnull .SH SYNOPSIS
10 efe12411 2005-01-30 devnull .I sysname
12 058b0118 2005-01-03 devnull .SH DESCRIPTION
14 058b0118 2005-01-03 devnull sets the label of the current
17 058b0118 2005-01-03 devnull .IR acme (1))
18 058b0118 2005-01-03 devnull or X terminal window
19 058b0118 2005-01-03 devnull .RI ( e.g.,
20 058b0118 2005-01-03 devnull .IR 9term (1)
22 058b0118 2005-01-03 devnull .IR xterm (1))
23 058b0118 2005-01-03 devnull by echoing a special control sequence to standard output.
28 058b0118 2005-01-03 devnull windows assume the label is a directory name.
29 058b0118 2005-01-03 devnull When unrooted file names are plumbed in the window,
30 058b0118 2005-01-03 devnull they are evaluated relative to the directory named in the label.
32 efe12411 2005-01-30 devnull The label may have a suffix
33 efe12411 2005-01-30 devnull BI /- sysname \fR,
34 efe12411 2005-01-30 devnull which is not interpreted as part of the directory during plumbing.
36 efe12411 2005-01-30 devnull sets the window name to the current directory with a
37 efe12411 2005-01-30 devnull .BI /- sysname
38 efe12411 2005-01-30 devnull suffix, using the name of the current system by default.
39 058b0118 2005-01-03 devnull .SH EXAMPLE
40 058b0118 2005-01-03 devnull One can use the following
41 058b0118 2005-01-03 devnull .IR sh (1)
42 058b0118 2005-01-03 devnull function to keep the label up-to-date in response to
44 058b0118 2005-01-03 devnull commands:
48 058b0118 2005-01-03 devnull \ecd "$@" &&
49 058b0118 2005-01-03 devnull case $- in
54 058b0118 2005-01-03 devnull alias cd=_cd
58 058b0118 2005-01-03 devnull .IR Rc (1)
59 058b0118 2005-01-03 devnull installs a similar
62 058b0118 2005-01-03 devnull at startup if there is not already a function named
67 058b0118 2005-01-03 devnull builtin cd $1 && flag i && awd
70 058b0118 2005-01-03 devnull .SH SOURCE
71 c3674de4 2005-01-11 devnull .B \*9/bin/label
73 c3674de4 2005-01-11 devnull .B \*9/bin/awd
76 058b0118 2005-01-03 devnull is also documented in
77 058b0118 2005-01-03 devnull .IR acme (1).