Oliver Kiddle <[EMAIL PROTECTED]> writes:

> You wrote:

>> If I hit ArrowUp -key in ksh93, it do not bring the last command from
>> history. If I hit <TAB> or <ESC><ESC> , it do not work as Tab
>> completion at all.

> They work for me.
> Does your terminal simply generate a Ctrl-I for tab?

It moves my cursor about 8 characters. Ctrl-L generates ^L . Ctrl-D exits
from that shell. UpArrow generates ^[[A .

I use terminaltype xterm-16color in my xterms. It does not help, if I
start ksh like this:

TERM=xterm ksh93 

> You're only going to get filename completion in ksh if it is
> unambiguous. No nice zsh like lists of matches. Try <ESC><=> to list
> possible matches.

That does not work.

>> You may also need some good examples. You'll find some of them from
>> dotfiles.com , for example this:
>> 
>> http://www.dotfiles.com/files/5/197_.kshrc

> Does the keyboard trap in that example fix completion for you?

At least it do not work, if I copy-paste from web browser to prompt.

> I plan to add an example .kshrc in /usr/share/doc and I can include a
> keyboard trap there. As ksh doesn't support a system-wise kshrc file it
> is harder to force any fix on users.

Yeah. You may need to add something like this to /etc/profile :

case $SHELL in
*ksh*)
 . /etc/kshrc
;;

(CLIP)

esac

But that file belongs to some other package.


-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"Lenn�n taas. Olen juppihippipunkkari ja vaihdan paikkaa. Lenn�n taas. Turha
meik�l�ist� yritt��k��n kategoriin laittaa. Hei m� lenn�n taas. Olen
juppihippipunkkari ja vaihdan paikkaa. Lenn�n taas."            Nelj� Ruusua

Reply via email to