[Gllug] [OT] A Solaris question someone might be able to answer.

Philip Davies pdavies1 at bitbucket.plus.com
Fri May 20 22:58:51 UTC 2005


On Thu, May 19, 2005 at 01:49:01PM +0100, Wiehe, Simon wrote:
> 
> I am connecting to a Solaris 2.8 box and using ksh. On one 
> machine I can do file completion with Esc+\ but on another
> none of the escape sequences work. In this case I am connected
> using hummingbird exceed, but I don't think it is a keyboard issue
> as it does work with one machine but not the other.
> 
> Is there something I need to put in my .profile to turn on file 
> completion in ksh, like 'set filec' in csh ? Also would this
> allow me to do both the Esc+\ and the Esc+k and get the usual
> ksh response?

If I remember correctly, by default ksh uses emacs mode (which means 
ESC+ESC does auto completion). To switch it to vi mode I think you 
need the following in your .profile 

VISUAL=$(whence vi)
export VISUAL

Phil
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list