IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: korn shell question
Don't think so, not in ksh88 anyway. Interactive key binding to ksh was added in ksh93.

www.kornshell.com lists some resources.

From the FAQ:

Q4.\tHow is keybinding done?
A4.\tksh93 provides a KEYBD trap that gets executed whenever a key
\tis entered from the keyboard. Using this trap, and the associate
\tarray feature of ksh93, a keybind function can easily be written
\twhich will map any entered key sequence to another key sequence.
...

Is this what you're trying to accomplish?
Q6.\tDoes ksh support file name completion?
A6.\tYes, it does. The default key binding is <ESC><ESC>
\thowever, starting with the 'g' point release, <TAB> also works
\tfor completion. Note, the vi users need to set -o viraw
\tin order to get <TAB> completion to work.



-----
Steve
New that's the one.
I read that FAQ. Unfortunately, we aren't running the "g" release (whatever that is), and I have to hit ESC-ESC to get filename completion (I use the Emacs editing bindings).

ESC-ESC is godawful. :-P
Regards,

-scott anderson
     korn shell question - (admin) - (16)
         Re: korn shell question - (Steve Lowe) - (1)
             that's the one. - (admin)
         xmodmap / loadkeys question - (kmself) - (12)
             Yes. - (admin) - (11)
                 Re: Yes. - (Steve Lowe) - (10)
                     Sun box. - (admin) - (9)
                         It's not the POSIX shell, is it? - (static) - (8)
                             Nope. ksh - (admin) - (1)
                                 Tru64 ksh - (Meerkat)
                             Ackshully - (pwhysall) - (5)
                                 IIRC... - (kmself)
                                 It's possible to change it. - (static)
                                 Shows up on my manual page - (wharris2) - (2)
                                     It's a strange box - (pwhysall) - (1)
                                         That is very odd. - (static)
         alias what you want with what you need using ascii table? -NT - (boxley)

Anytime I tell a client that "Oh no, those computers just change settings and delete things" instead of "You're a moron, and should be entrusted with nothing more complex than a crayon and an Etch-A-Sketch.", I'm lying.
50 ms