PDA

View Full Version : Command vi with osso-xterm


edouard57
12-05-2006, 01:38 PM
Hello everyworld,

I have a little problem with command vi under xterminal :

I try a test in taping vi test and i write "hello", but when i want to quit the programm i make :wq and it doesn't work, just :q works.
Could you help me ?

Thanks

BanditRider
12-06-2006, 06:41 AM
Do you have write permission in the directory you're saving the file to?

bsterix
12-06-2006, 07:28 AM
On my N770 (ESC) :wq works.
I think its strange that :q qorks (and not only :q!)

falcn
12-06-2006, 09:03 AM
It's not real vi, it's imitation of vi done via /bin/busybox (deffault n770 shell), so sometimes it behaves not like real vi supposed to.
Situation that you described happens when you have no rights to save file in current folder.

You can install real vi from maemo.org applications list, but there is no reasons to do so unless you are vi hardcore user.