I have started playing with ksh93. I think I can almost convince myself
to make the switch from tcsh to ksh93, given some of its features.
However, there are a couple of behaviors of tcsh that I don't know how
to make ksh93 reproduce.
1) bindkey ' ' magic-space
What this does on tcsh is let me enter a command, say !! (as a
history command), and when I press the space bar, it expands the !! (or
whatever other history reference I have) so that I can then edit the
command. (This is useful when I want the last argument, but need to
make a change, or somesuch.) I rely on this a lot in tcsh, and it saves
me a lot of time.
2) tab tab handling for the situation when there is no completion. with
set -o gmacs, it is almost correct. But if the completion can't be
resolved (no matching file prefix for example), in tcsh it issues a bell
because I'm trying to do something bad. In ksh93, it inserts a tab
character. I prefer the tcsh behavior.
Anyone know how to achieve the above two items with ksh93. I realize
that at this point these are probably minor concerns, but I think I'm
*almost* to the point where I can make the switch comfortably. If I had
those two items, then I could do so almost completely trivially. (I had
a few changes I had to make to my .kshrc of course.) And I could
finally stop having to manually type ksh93 or sh when I need to run a
bit sh syntax. :-)
Thanks.
-- Garrett