Computing.Net > Forums > Unix > set -o emacs interfere w/ set -o vi

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

set -o emacs interfere w/ set -o vi

Reply to Message Icon

Name: Tony Pham
Date: July 17, 2003 at 13:27:28 Pacific
OS: solaris 7
CPU/Ram: unknown
Comment:

1. on HP-UX using K shell, the SA can set some stuff to allow .history to be read, so when the is pressed, it will find the matching file or directory and complete your typing.

2. In Solaris using K shell, you can perform same function by using "set -o emacs"; however, do so will void "set -o vi" and not allow you to recall commands by using " k". set "autowrite" does not work.

3. in Solaris, using C-shell, use can use "set file C" to perform the same function. However, I do not want to use C shell.

All above steps have been tested. How do you get the to fill the string, in K shell, on Solaris?

Thanks much. Tony.



Sponsored Link
Ads by Google

Response Number 1
Name: WilliamRobertson
Date: July 17, 2003 at 16:49:21 Pacific
Reply:

> However, I do not want to use C shell.

Me neither!

In emacs mode, try Ctrl-P to get the previous command line.

Each shell has its own set of commands for command line history, e.g. tcsh and zsh use the up & down arrow keys, and the tab character for autocompletion. Try man ksh, man csh, etc.


0

Response Number 2
Name: WilliamRobertson
Date: July 20, 2003 at 06:20:38 Pacific
Reply:

...or stick with "set -o vi" and Ctrl-K. Are you saying
that doesn't work for you on Solaris? It should work.


0

Response Number 3
Name: Tony Pham
Date: July 22, 2003 at 12:44:37 Pacific
Reply:

William,

It works.

Thanks for your help!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Renaming multiple files creating file of arbitrar...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: set -o emacs interfere w/ set -o vi

editor in unix www.computing.net/answers/unix/editor-in-unix/5578.html

Recall Commands in Sco www.computing.net/answers/unix/recall-commands-in-sco/5839.html

like Doskey utility in unix www.computing.net/answers/unix/like-doskey-utility-in-unix/3439.html