This is a discussion on VI at the command line and backspace within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Mohun Biswas wrote: > Chris Vidal wrote: > >> SunOS action9 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V240 >> >> How ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Mohun Biswas wrote: > Chris Vidal wrote: > >> SunOS action9 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V240 >> >> How to I enable vi as my default command line editor and keep the back >> space >> from echoing ^H instead of moving the cursor back one Char. > > > I suspect that all the previous responses have misunderstood the > question. I think he wants to use vi *command-line editing mode* within > his shell. And of course the answer to that depends on the shell, but > for ksh and bash it's "set -o vi". > I agree, but if you read the OP's post, the phrase "...and keep the back space from echoing ^H instead of moving the cursor back one Char..." is a double-negative (if not also grammatically incorrect). How do you keep something from happening, instead of doing something else? Maybe the backspace key should print the word "banana" or something :-) Definitely set -o vi and stty erase ^H is prob the OP's answer... |