Commit Graph

14 Commits

Author SHA1 Message Date
provos 0d78fff152 complete file names including a ~ correctly. 2002-09-27 13:23:55 +00:00
provos a94ce5a752 enable emacs mode, add tab key to do completion in emacs and vi mode.
from millert@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:55:03 +00:00
provos f9b44bb190 change complete-list to first complete and then print a list,
also complete after '=' (dd), and ':' (ssh) and ` (backtick)
improvements from camield@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:41:11 +00:00
sjg 84412e9292 Fix some aspects of globbing - in emacs mode at least.
echo ~<ESC><ESC> and $HOME<ESC><ESC> as well as ~/b<ESC><ESC> all
now expand correctly.
2002-01-25 23:40:51 +00:00
jdolecek 83a7edec11 remove debug printf accidentaly left in 1999-11-09 00:01:49 +00:00
jdolecek 3b4b01bddb in emacs mode, escape the contents of completed word appropriately even
in CT_COMPLIST case ("complete and then list (if non-exact)" mode)

Noticed by Soren S. Jorvang <soren@wheel.dk>.
1999-11-08 23:56:41 +00:00
jdolecek 7b61cc94ea Implement (somewhat enhanced) idea stealed from bash:
when completing the filename (either in vi mode with vi-tabcomplete on,
or in emacs mode after double esc), escape any shell special characters
and chars from $IFS with backslash - very handy especially when
dealing with filenames containing spaces

The patch has been sent to maintainer, but I haven't got any reply yet even
after about a month :(
1999-11-02 22:06:45 +00:00
hubertf b556fc7b2a make this build with -Werror 1999-10-20 15:49:15 +00:00
hubertf 48ee8d1290 resolve conflicts 1999-10-20 15:09:58 +00:00
christos 1f3392af64 char->unsigned char casts for is*() 1998-11-04 18:27:20 +00:00
mrg 2d5a1dd04f - change "register" variables into int's
- don't use char as an array index.
1998-03-29 04:39:03 +00:00
christos 90647eb832 Fix compiler warnings
Add WARNS=1
1997-07-20 17:41:56 +00:00
tls 2ab2e20cff RCS ID Police 1997-01-12 19:11:37 +00:00
jtc e1b2664cf1 import pdksh 5.2.8 1996-09-21 23:35:13 +00:00