From 81ab06bd533ae45298f0aecec83cafc63aa2670c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 12 Dec 2004 06:53:14 +0000 Subject: csh-style ! history completion, which can be activated by using set -o csh-history (off by default) this is not feature complete, and likely never will be. no ^ and ! has some oddities ... ksh's internal history stuff has got some very odd behaviours that are rather nasty ok various developers --- bin/ksh/misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/ksh/misc.c') diff --git a/bin/ksh/misc.c b/bin/ksh/misc.c index 045f2867e9c..157b81bede2 100644 --- a/bin/ksh/misc.c +++ b/bin/ksh/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.20 2003/10/22 07:40:38 jmc Exp $ */ +/* $OpenBSD: misc.c,v 1.21 2004/12/12 06:53:13 deraadt Exp $ */ /* * Miscellaneous functions @@ -139,6 +139,7 @@ const struct option options[] = { #endif { "bgnice", 0, OF_ANY }, { (char *) 0, 'c', OF_CMDLINE }, + { "csh-history", 0, OF_ANY }, /* non-standard */ #ifdef EMACS { "emacs", 0, OF_ANY }, { "emacs-usemeta", 0, OF_ANY }, /* non-standard */ -- cgit v1.2.3