SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Two simple problems:
First:
In others distros when I work with vi to delete I word I just neet to change to insert or add mode and after this, It's just need use the de backspace or delete keys. But, in slackware, and in the x is runing I can no erase nothing... the backspace and the delete keis don't delete nothing.
How I erase a word in vi?
second:
I used:
/usr/sbin/gdmconfig
to do autologin when I boot. But now, in slackware 10, the options that I select when execute /usr/sbin/gdmconfig don't be saved and in each sesson I must put the username and the password. Where are the file where is saved the passwor and usr name to do autologin (with no need to write username and password)?
How I solve this problem?
To the first question, do you refer to vi or vim? To delete a word just press: dw
If you're using vim, copy the file: /usr/share/vim/vim63/vimrc_example.vim to ~/.vimrc and in case of gvim /usr/share/vim/vim63/vimrc_example.vim to ~/.gvimrc and you'll get better result than default.
Oh, and if you want a vim tutorial just type: vimtutor
I refer to vi.
press dw, works!
but if I wand delete letters? why the backspace and delecte keys don't work? If I'm not run x the keys deletes letters and works like in others distros. but if I run X and work in konsole the delete an backsace keys don't funcion to erase one letter for example.
do the delete and backspace keys work in the console itself?
the issue may not be vi...but your keymap...
i think this is selectable or alterable within the menu options on the konsole. I think i use some version of Xterm's keymapping...can't confirm as i'm sadly not home running my linux machine....
Well, i don't know what causes it, but I use vim and copying that config file solved that kind of problems. It shouldn't bother too much because with the letter x you delete a character so don't worry.
Btw, I'd suggest you to try vimtutor since it's very easy to follow the keyboard shortcuts are almost the same.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.