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

Alain Williams addw at phcomp.co.uk
Fri May 20 23:15:03 UTC 2005


On Fri, May 20, 2005 at 11:58:51PM +0100, Philip Davies wrote:
> 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

Try:

	set -o emacs
or
	set -o vi

depending on taste.

In emacs mode you should get file completion with EscEsc.

-- 
Alain Williams
Parliament Hill Computers Ltd.
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256

#include <std_disclaimer.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20050521/6e7625d5/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list