aboutsummaryrefslogtreecommitdiff
path: root/man/man1/label.1
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-30 16:27:45 +0000
committerrsc <devnull@localhost>2005-01-30 16:27:45 +0000
commitefe12411090ddcb45f524d6b0624ec4493d65175 (patch)
treed456ee063f7fe3625c7c5f5fc9a95ec1e931a790 /man/man1/label.1
parent0b22e9bd85861f6a3c8f0635bd4422daa84343eb (diff)
downloadplan9port-efe12411090ddcb45f524d6b0624ec4493d65175.tar.gz
plan9port-efe12411090ddcb45f524d6b0624ec4493d65175.tar.bz2
plan9port-efe12411090ddcb45f524d6b0624ec4493d65175.zip
handle sysnames in labels
Diffstat (limited to 'man/man1/label.1')
-rw-r--r--man/man1/label.116
1 files changed, 11 insertions, 5 deletions
diff --git a/man/man1/label.1 b/man/man1/label.1
index 20fd9007..5866ddbe 100644
--- a/man/man1/label.1
+++ b/man/man1/label.1
@@ -6,6 +6,9 @@ label, awd \- set window label
.I string
.br
.B awd
+[
+.I sysname
+]
.SH DESCRIPTION
.I Label
sets the label of the current
@@ -25,6 +28,14 @@ and
windows assume the label is a directory name.
When unrooted file names are plumbed in the window,
they are evaluated relative to the directory named in the label.
+.PP
+The label may have a suffix
+BI /- sysname \fR,
+which is not interpreted as part of the directory during plumbing.
+.I Awd
+sets the window name to the current directory with a
+.BI /- sysname
+suffix, using the name of the current system by default.
.SH EXAMPLE
One can use the following
.IR sh (1)
@@ -64,8 +75,3 @@ fn cd {
.I Awd
is also documented in
.IR acme (1).
-.PP
-.I Awd
-does not append the
-.BI - label
-suffix that it does on Plan 9.