[SATLUG] vi editor and insert mode as regular user

Enrique Sanchez Vela esanchezvela at yahoo.com
Fri Jul 24 07:05:11 CDT 2009


> 
> Oh yeah. My user did the following, for instance.
> 
> touch test.rc
> vi test.rc
> 
> I can type stuff, but cannot backspace or delete as is
> possible in insert mode. I also cannot move the cursor with
> the arrow keys. I can do ZZ or :wq to exit and the changes
> to the file are saved.
> If I do the same process as root, I can press 'i' or
> 'insert' and have -- INSERT -- appear at the bottom of 'vi'
> and all arrows and backspace/delete function normally in
> insert mode.


make sure root and the user have the same terminal settings.


      


More information about the SATLUG mailing list