LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-02-2004, 06:28 AM   #1
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Rep: Reputation: 30
delete words in vi & autologin?


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?
 
Old 10-02-2004, 07:13 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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

Last edited by gbonvehi; 10-02-2004 at 07:23 AM.
 
Old 10-02-2004, 07:34 AM   #3
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
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.
 
Old 10-02-2004, 07:48 AM   #4
DoubleOTeC
Member
 
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
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....
 
Old 10-02-2004, 08:04 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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.

Last edited by gbonvehi; 10-02-2004 at 08:13 AM.
 
Old 10-02-2004, 08:12 AM   #6
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Original Poster
Rep: Reputation: 30
you have reason, with letter x we delete a caracter
solved problem!
 
Old 10-02-2004, 10:12 AM   #7
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
if you use gnome-terminal edit the current profile and the last tab compatibility and check those settings.

mine ( these are the defaults ) shows
backspace key generates: ASCII DEL
delete key generates: Escape Sequence
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete text between key words : sed shalomajay Programming 7 05-11-2011 06:22 PM
Backspace & delete key issues stefaandk Linux - Newbie 3 07-29-2005 01:10 AM
Up2Date - How to find & delete source RPMs? ziphem Linux - General 2 05-01-2005 05:23 PM
How to delete public & private keys for SSH? TrulyTessa Linux - Security 2 11-18-2004 12:27 PM
Search and Replace: Asian Words to English Words ieeestd802 Linux - Software 0 10-27-2004 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration