FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-17-2008, 06:20 PM
Martin McCormick
 
Default set -o vi off by one char in bash.

This is an odd problem, but very annoying. set -o vi
when issued to bash lets one use vi-style editing on any
commands that are in your history. I discovered today that it's
not working quite right in that where I think I am appears to
actually be 1 space to the right of where I actually am.
Inserting characters is confusing because one tends to
cause the insertion at the wrong point and fixing it just gets
crazy. If I really got comfortable compensating for this, I
could probably never use vi on another UNIX system again unless
it was exhibiting the same behavior. If one presses Escape to
start an edit the echoed characters on most systems start from
the first one in the command. On this system, I can't backspace
far enough left to get that first character and it all starts
from the second character. Any ideas on why this might be?

I work with several other Debian and FreeBSD systems all
day and some of them exhibit oddities of their own, but this new
installation of ubuntu-server is the only one where the command
editing behaves like this. The actual vi program appears to work
normally.

Thanks for any ideas and a slight apology to be asking
so many weird questions. I am not new to UNIX and have used
Debian for many years but I haven't seem a problem quite like
this. I was working on a command syntax problem and the -o vi
flag would have been as good as gold today had it worked.

I use vt100 emulation and something must be defined
differently, here.

Martin McCormick

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 06:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org