From a8f426cf132b1e8b8e22b1490ea05aa3a3ea1b14 Mon Sep 17 00:00:00 2001 From: tg Date: Wed, 7 Apr 2004 16:48:57 +0000 Subject: [PATCH] whoops. even better. --- ksh.1tbl | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/ksh.1tbl b/ksh.1tbl index 3e539e8..56ad61f 100644 --- a/ksh.1tbl +++ b/ksh.1tbl @@ -1,8 +1,10 @@ -.\" $MirBSD: ksh.1tbl,v 1.17 2004/04/07 16:38:51 tg Exp $ -.\" $OpenBSD: ksh.1tbl,v 1.65 2004/01/23 23:08:45 jmc Exp $ +.\" $MirBSD: ksh.1tbl,v 1.18 2004/04/07 16:48:57 tg Exp $ +.\" $OpenBSD: ksh.1tbl,v 1.65 2004/01/23 23:08:45 jmc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. +.\" Copyright (c) 2003, 2004 +.\" The MirOS Project (http://mirbsd.de/). All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions @@ -16,7 +18,7 @@ .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. .\" -.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE @@ -30,7 +32,7 @@ .\" .\" @(#)ksh.1tbl 8.2 (Berkeley) 8/19/96 .\" -.Dd August 19, 1996 +.Dd April 7, 2004 .Dt KSH 1 .Os .Sh NAME @@ -42,7 +44,7 @@ .Op Fl +o Ar option .Oo [ Fl c Ar command-string [ .Xo Ar command-name ] No \&| Fl s No \&| -.Ar file No ]\ +.Ar file No ]\ \& .Xc .Op Ar argument ... Oc .Sh DESCRIPTION @@ -1718,7 +1720,7 @@ Like .Ic \&[ Ns .. Ns Ic \&] , except it matches any character not inside the brackets. .Sm off -.It Xo Ic \&*( Ar pattern Ic \&| No \ ...\ +.It Xo Ic \&*( Ar pattern Ic \&| No \ ...\ \& .Ic \&| Ar pattern Ic \&) .Xc .Sm on @@ -1733,7 +1735,7 @@ matches the strings .Dq foobarfoo , etc. .Sm off -.It Xo Ic \&+( Ar pattern Ic \&| No \ ...\ +.It Xo Ic \&+( Ar pattern Ic \&| No \ ...\ \& .Ic \&| Ar pattern Ic \&) .Xc .Sm on @@ -1747,7 +1749,7 @@ matches the strings .Dq foobar , etc. .Sm off -.It Xo Ic \&?( Ar pattern Ic \&| No \ ...\ +.It Xo Ic \&?( Ar pattern Ic \&| No \ ...\ \& .Ic \&| Ar pattern Ic \&) .Xc .Sm on @@ -1761,7 +1763,7 @@ only matches the strings and .Dq bar . .Sm off -.It Xo Ic \&@( Ar pattern Ic \&| No \ ...\ +.It Xo Ic \&@( Ar pattern Ic \&| No \ ...\ \& .Ic \&| Ar pattern Ic \&) .Xc .Sm on @@ -1773,7 +1775,7 @@ only matches the strings and .Dq bar . .Sm off -.It Xo Ic \&!( Ar pattern Ic \&| No \ ...\ +.It Xo Ic \&!( Ar pattern Ic \&| No \ ...\ \& .Ic \&| Ar pattern Ic \&) .Xc .Sm on @@ -4460,6 +4462,11 @@ is appended. If there is no command or file name with the current partial word as its prefix, a bell character is output (usually causing a beep to be sounded). +Currently being considered a bug in +.Nm , +if the file name contains \[ or \], it cannot be completed, even if +the character is escaped, in \fBemacs\fR mode. +This surprisingly works in \fBvi\fR mode; please submit a fix. .It Ic complete-command ^X^[ Automatically completes as much as is unique of the command name having the partial word up to the cursor as its prefix, as in the @@ -5207,6 +5214,12 @@ echo hi | read a; echo $a\ \ \ # Does not print hi The .Nm pdksh author is aware of this and there is no need to report it. +For another known bug, refer to the comment above the +.Em complete-command +paragraph in the +.Sx Emacs editing mode +section above. +.br The .Mx team is luckily accepting fixes for known (and unknown) bugs.