Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard problem - press delete button and get "~"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
CarlUman
Apprentice
Apprentice


Joined: 07 Jul 2004
Posts: 158
Location: SE Iowa

PostPosted: Wed Sep 01, 2004 3:05 pm    Post subject: Keyboard problem - press delete button and get "~" Reply with quote

Not sure what is up but I just finished going to a pure udev system (followed the udev primer) and now a new problem with the keyboard showed up.

When ever I press the delete key a ~ sign shows up on the screen. So if I hold the delete key down to... well delete I get a bunch of ~ like ~~~~~~~~~~~ so I'm wondering if any of you have some ideas on this? I also get a ~ on my command prompt but not real sure what char it is suppose to be.

Thanks
Carl
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5947

PostPosted: Wed Sep 01, 2004 7:50 pm    Post subject: Reply with quote

I've seen this on my smoothwall router machine... If they're is nothing to delete ahead of the cursor when i press delete it will show up.

The one in your prompt is normal, it means you're in you're home directory.
eg: "joe@box ~ $" MEANS "joe@box /home/joe $"

Does this help?

--beugh
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
CarlUman
Apprentice
Apprentice


Joined: 07 Jul 2004
Posts: 158
Location: SE Iowa

PostPosted: Thu Sep 02, 2004 2:30 am    Post subject: Reply with quote

beugh wrote:
I've seen this on my smoothwall router machine... If they're is nothing to delete ahead of the cursor when i press delete it will show up.

The one in your prompt is normal, it means you're in you're home directory.
eg: "joe@box ~ $" MEANS "joe@box /home/joe $"

Does this help?

--beugh


Yes and no. Now I know why it is in the prompt. However, I get ~ even if there is something before and after the cursor. Also it only seems to do it when in konsole (or before going into KDE)
Back to top
View user's profile Send private message
CarlUman
Apprentice
Apprentice


Joined: 07 Jul 2004
Posts: 158
Location: SE Iowa

PostPosted: Sat Sep 04, 2004 10:29 pm    Post subject: Reply with quote

Just checking to see if anyone has some ideas.

Thanks
Back to top
View user's profile Send private message
curious_bob
l33t
l33t


Joined: 05 Dec 2003
Posts: 636
Location: San Francisco, CA

PostPosted: Sun Sep 05, 2004 7:27 am    Post subject: Reply with quote

I have that problem too. but only in my terminal. every where else it works fine.
_________________
Play me online, well ya know that I'll beat you. If I ever meet you, I'll CRTL-ALT-DEL you!!!

The Black Vault The Largest Online Military and Government Research Center
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Sun Sep 05, 2004 7:42 am    Post subject: Reply with quote

which version of baselayout do you have?

last week i updated to the unstable version of baselayout which grabbed the unstable version of sysvinit. with that combination i had the same behavior.

chris
Back to top
View user's profile Send private message
CarlUman
Apprentice
Apprentice


Joined: 07 Jul 2004
Posts: 158
Location: SE Iowa

PostPosted: Thu Sep 09, 2004 2:55 am    Post subject: Reply with quote

Sorry it took so long to get back. I have sys-apps/baselayout-1.10.4

I have that same version on another PC w/o any problem though.

Thanks
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Thu Sep 09, 2004 3:24 am    Post subject: Reply with quote

yea that's exactly the one that i had the problems with. I'm sure you overwrote your config files on both machines right? If not then that could possibly explain why one would work and the other doesn't.

this is definitely a baselayout/sysvinit problem, not sure which though. It makes my system act more like a hp unix machine on the command line.

try comparing the keymap files in /etc/init.d on each of the machines. If they are different then you have your answer.

chris
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Thu Sep 09, 2004 4:00 pm    Post subject: Reply with quote

What you describe is an error in your terminal settings. For whatever reasons. Are your environment variables ok ?
To get around it for the session type "stty erase <yourbackspacekeyhere>", leaving out <> stuff certainly.
Back to top
View user's profile Send private message
CarlUman
Apprentice
Apprentice


Joined: 07 Jul 2004
Posts: 158
Location: SE Iowa

PostPosted: Thu Sep 09, 2004 6:16 pm    Post subject: Reply with quote

Will check tonight.

Thanks
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Thu Sep 09, 2004 6:28 pm    Post subject: Reply with quote

/home/<you>/.inputrc:
Code:

"\M-[3~": delete-char


and the delete-button tilde is gone.
Back to top
View user's profile Send private message
CarlUman
Apprentice
Apprentice


Joined: 07 Jul 2004
Posts: 158
Location: SE Iowa

PostPosted: Fri Sep 10, 2004 2:13 am    Post subject: Reply with quote

AlterEgo wrote:
/home/<you>/.inputrc:
Code:

"\M-[3~": delete-char


and the delete-button tilde is gone.

I guess I don't understand. Sorry, still learning.
The only inputrc file I can find is in /etc/inputrc

Edit:
I'm guessing it has to do with this line
Code:
"\e[3~": delete-char

but I tried to # it out and reboot but no change.
Back to top
View user's profile Send private message
westboy21
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 135
Location: Raleigh, North Carolina

PostPosted: Fri Sep 10, 2004 3:19 am    Post subject: Reply with quote

That's funny. I just read this post tonight because I have the same problem. Why is it that after doing running some updates, things like this change. This is one of those things, that if it was that way when installing the system, it should always be that way. Not like an fstab file or something that always changes.

Anywho, I did the same thing you did. I went into /etc/inputrc and commented the same line out. Alas, I'm in the same boat as you, and have no idea how to get out.
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Fri Sep 10, 2004 6:31 am    Post subject: Reply with quote

CarlUman wrote:

I guess I don't understand. Sorry, still learning.
The only inputrc file I can find is in /etc/inputrc



echo '"\M-[3~": delete-char' > /home/you/.inputrc

and log in again.
Back to top
View user's profile Send private message
CarlUman
Apprentice
Apprentice


Joined: 07 Jul 2004
Posts: 158
Location: SE Iowa

PostPosted: Sat Sep 11, 2004 2:04 am    Post subject: Reply with quote

worked

Thanks
Back to top
View user's profile Send private message
BlinkEye
Veteran
Veteran


Joined: 21 Oct 2003
Posts: 1046
Location: Gentoo Forums

PostPosted: Sat Sep 18, 2004 11:13 am    Post subject: Reply with quote

great, this works for me too. didn't thought i would find an answer. thanks!
_________________
Easily backup up your system? klick
Get rid of SSH Brute Force Attempts / Script Kiddies klick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum