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
9 058b0118 2005-01-03 devnull .SH DESCRIPTION
11 058b0118 2005-01-03 devnull sets the label of the current
14 058b0118 2005-01-03 devnull .IR acme (1))
15 058b0118 2005-01-03 devnull or X terminal window
16 058b0118 2005-01-03 devnull .RI ( e.g.,
17 058b0118 2005-01-03 devnull .IR 9term (1)
19 058b0118 2005-01-03 devnull .IR xterm (1))
20 058b0118 2005-01-03 devnull by echoing a special control sequence to standard output.
25 058b0118 2005-01-03 devnull windows assume the label is a directory name.
26 058b0118 2005-01-03 devnull When unrooted file names are plumbed in the window,
27 058b0118 2005-01-03 devnull they are evaluated relative to the directory named in the label.
28 058b0118 2005-01-03 devnull .SH EXAMPLE
29 058b0118 2005-01-03 devnull One can use the following
30 058b0118 2005-01-03 devnull .IR sh (1)
31 058b0118 2005-01-03 devnull function to keep the label up-to-date in response to
33 058b0118 2005-01-03 devnull commands:
37 058b0118 2005-01-03 devnull \ecd "$@" &&
38 058b0118 2005-01-03 devnull case $- in
43 058b0118 2005-01-03 devnull alias cd=_cd
47 058b0118 2005-01-03 devnull .IR Rc (1)
48 058b0118 2005-01-03 devnull installs a similar
51 058b0118 2005-01-03 devnull at startup if there is not already a function named
56 058b0118 2005-01-03 devnull builtin cd $1 && flag i && awd
59 058b0118 2005-01-03 devnull .SH SOURCE
60 058b0118 2005-01-03 devnull .B /usr/local/plan9/bin/label
62 058b0118 2005-01-03 devnull .B /usr/local/plan9/bin/awd
65 058b0118 2005-01-03 devnull is also documented in
66 058b0118 2005-01-03 devnull .IR acme (1).
69 058b0118 2005-01-03 devnull does not append the
70 058b0118 2005-01-03 devnull .BI - label
71 058b0118 2005-01-03 devnull suffix that it does on Plan 9.