Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi, if i open a text file in vi (and xterm) while in fluxbox, i will be able to add text to the file, but not delete any text in the file. when i try to delete text, it kicks me back into vi's commandmode. by the way, i can edit text files in vi no problem (add and delete text) if i leave fluxbox and X, and return to the black console (not sure of the correct name of this screen).
i know that i was able to fully edit text files with 'the beaver' text editior from within FB on Vector linux, but i would prefer to use vi. is there anyway of correcting this problem so i can edit files with vi and fluxbox?
Tinkster, im using the 'delete' key (which is one of six in the cluster on the keyboard just to the right of the 'enter' key, along with 'home' 'pageup' 'pagedown' etc. this 'delete' key works in vi when in the black console (not in X or fluxbox).
In that case it's a key-mapping problem in xterm, I'd tend to say.
Why don't you use vi's key-bindings instead, which are independent
of the keyboard and/or terminal-emulation you're using?
x to delete a single letter, dw for a word, dd for a line...
Of course, you could read up on xterms man-page and adjust your
~/.Xresources
thanks Tinkster makes sense to use vi's key bindings, seems easier that way too, instead of having to delete each charactor to delete a whole line.
matthewg42, when i press backspace in a termnal the cursor moves to the previous charactor, but doesnt delete it, this also happens in the black console (?the black screen with the logon/pass). i have seen '^?' in the past when ive tried to delete text, but i cant seem to reproduce it now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.