summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-11-06 01:07:42 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-11-06 01:07:42 +0000
commit37fa196de107c8a2fcfdc92a2ceeffe2b7eed824 (patch)
treefe5d2c4a5c6fcff8661a0f7158526b2978e028f6
parent41b31173097d8d7b95b870d5dc1f5255faf73318 (diff)
correct my description of \[ and \]
found by (and ok) deraadt@
-rw-r--r--bin/ksh/ksh.17
-rw-r--r--bin/ksh/ksh.1tbl7
2 files changed, 8 insertions, 6 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index f6651ee375b..6fa35afe2a5 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.76 2004/11/05 23:40:51 jmc Exp $
+.\" $OpenBSD: ksh.1,v 1.77 2004/11/06 01:07:41 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1638,9 +1638,10 @@ The octal character
Insert a single backslash character.
Note: this sequence is not yet implemented.
.It Li \e[
-Begin a sequence of non-printing characters.
+Normally the shell keeps track of the number of characters in the prompt.
+Use of this sequence turns off that count.
.It Li \e]
-End a sequence of non-printing characters.
+Use of this sequence turns the count back on.
.El
.Pp
Note that the backslash itself may be interpreted by the shell.
diff --git a/bin/ksh/ksh.1tbl b/bin/ksh/ksh.1tbl
index 71c67f3eec3..151a0def26d 100644
--- a/bin/ksh/ksh.1tbl
+++ b/bin/ksh/ksh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1tbl,v 1.76 2004/11/05 23:40:51 jmc Exp $
+.\" $OpenBSD: ksh.1tbl,v 1.77 2004/11/06 01:07:41 jmc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1638,9 +1638,10 @@ The octal character
Insert a single backslash character.
Note: this sequence is not yet implemented.
.It Li \e[
-Begin a sequence of non-printing characters.
+Normally the shell keeps track of the number of characters in the prompt.
+Use of this sequence turns off that count.
.It Li \e]
-End a sequence of non-printing characters.
+Use of this sequence turns the count back on.
.El
.Pp
Note that the backslash itself may be interpreted by the shell.