View previous topic :: View next topic |
Author |
Message |
breakerfall Guru
Joined: 02 Aug 2003 Posts: 509 Location: Manchester, UK
|
Posted: Thu Aug 19, 2004 1:00 am Post subject: Delete key now prints ~ in Bash prompt |
|
|
Hi
I'm not sure exactly what I've done to cause this, but I just noticed that my delete key prints the tilde symbol ~ in Aterm. It's not cause by aterm though - it's something to do with Bash. Any ideas on how it happened or how I can rectify the problem?
Thanks |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Thu Aug 19, 2004 7:05 am Post subject: |
|
|
Do you have .inputrc in your home dir? If yes, delete it and everything will be OK. Also, you can do a search (I've seen some posts about the same problem). _________________ 60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
|
Back to top |
|
|
breakerfall Guru
Joined: 02 Aug 2003 Posts: 509 Location: Manchester, UK
|
Posted: Thu Aug 19, 2004 11:04 am Post subject: |
|
|
Thanks for the reply, however, I don't have .inputrc in my home directory. I also did a search of this forums, linuxquestions and google and didn't see anything useful (although I may have been a little impatient)
Any other ideas? |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
|
Back to top |
|
|
Illissius Guru
Joined: 31 Jul 2004 Posts: 395 Location: Hungary
|
Posted: Thu Aug 19, 2004 1:26 pm Post subject: |
|
|
I had this problem, and I set my .inputrc to <see below>, and it works fine now. (If the file doesn't exist, just create it.)
Code: | $include /etc/inputrc
set completion-ignore-case on |
|
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Thu Aug 19, 2004 3:13 pm Post subject: |
|
|
Double-check if the line Code: | "\e[3~": delete-char | is present in /etc/inputrc. _________________ 60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
|
Back to top |
|
|
breakerfall Guru
Joined: 02 Aug 2003 Posts: 509 Location: Manchester, UK
|
Posted: Thu Aug 19, 2004 5:14 pm Post subject: |
|
|
blaster999 wrote: | Double-check if the line Code: | "\e[3~": delete-char | is present in /etc/inputrc. |
Yes, that line is indeed in the /etc/inputrc file.
Illissius - thanks for the suggestion, unfortunately it didn't work though. |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Thu Aug 19, 2004 5:31 pm Post subject: |
|
|
Strange. The problem usually arises when ~/.inputrc overrides /etc/inputrc. _________________ 60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Fri Aug 20, 2004 9:36 pm Post subject: |
|
|
i have the same problem. don't know why. any help would be nice.
cheers
SteveB |
|
Back to top |
|
|
breakerfall Guru
Joined: 02 Aug 2003 Posts: 509 Location: Manchester, UK
|
Posted: Sat Aug 21, 2004 12:26 am Post subject: |
|
|
I no longer have this problem - most likely due to the upgrade of Bash to 3.0.0
See if that helps. |
|
Back to top |
|
|
chaseguard Tux's lil' helper
Joined: 25 Jun 2004 Posts: 140
|
Posted: Sat Aug 21, 2004 1:52 am Post subject: Me too. |
|
|
I emerged Bash 3.0r-4 and it does not fix the delete tilde. Besides Metacity, this is another annoyance. Can't figure how any PS1 config culd even do this. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Sep 12, 2004 2:12 pm Post subject: |
|
|
Code: | [ebuild R ] app-shells/bash-2.05b-r9 |
Come on, no bash-bashing here please .
I'm on bash 2.05 and have had exactly the same thing since a week or two. Portage as obviously shat on something.
It's minor but annoying.
Let me guess that we're all non-US system users
Could we tackle this with a keymap like xmodmap?
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Sun Sep 12, 2004 2:59 pm Post subject: |
|
|
I have the same problem.
I have an /etc/inputrc with the "\e[3~": delete-char line but no ~/.inputrc file.
This started happening after the upgrade to xorg 6.8 so maybe something with that. |
|
Back to top |
|
|
Roptaty Apprentice
Joined: 12 May 2002 Posts: 184 Location: Norway
|
Posted: Sun Sep 12, 2004 3:07 pm Post subject: |
|
|
Does the delete key work properly in X/Gtk/QT programs? _________________ This signature will selfdestruct in ten seconds...
ten - nine - eight - seven - six - five - four - three - two - one - BSOD (System crashed, please restart the self-destruct sequence) |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Sep 12, 2004 3:09 pm Post subject: |
|
|
yes , in this post from Opera
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Sep 12, 2004 5:41 pm Post subject: |
|
|
Yeah, this is getting on my tits.
the whole num. pad has gone tits-up in all terminals. Ok with numlock but arrow keys do silly stuff.
Any ideas?
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
breakerfall Guru
Joined: 02 Aug 2003 Posts: 509 Location: Manchester, UK
|
Posted: Sun Sep 12, 2004 5:52 pm Post subject: |
|
|
I really wish I could remember how I resolved the issue... I now I've since upgraded to Bash version 3, but I don't think that's what fixed it. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Sep 12, 2004 6:59 pm Post subject: |
|
|
No, like I say I dont think the issue is with bash. zsh is doing just the same in xterm.
Interestingly aterm is just ignoring the numpad whereas xterm bleeps and prints something useless.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
brettlpb Apprentice
Joined: 27 May 2003 Posts: 197
|
Posted: Sun Sep 12, 2004 11:37 pm Post subject: |
|
|
So, nobody has any resolutions? Same problem here, Bash 3.0 |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Mon Sep 13, 2004 6:21 am Post subject: |
|
|
i did a diff of /etc/inputrc from one system where the del key works and from one where the del key prints a ~ and both inputrc files are the same. so it can't be the inputrc file.
cheers
SteveB |
|
Back to top |
|
|
Inte Veteran
Joined: 15 Jul 2003 Posts: 1387 Location: Mannheim, GER
|
Posted: Tue Sep 14, 2004 4:38 pm Post subject: |
|
|
I've recognized this problem some weeks ago and still haven't found a solution. Console:
- No umlauts "ä", "ö", or "ü"
- No Euro symbol ""
- Pressing Del, Ins, PgUp & PgDn generates "~" Tilde
- Appearance:
Executing 'bash' enables umlauts, but euro and function-keys still broken
Appearance after executing 'bash':Xterm
- Umlauts are OK because of XTerm*faceName: Bitstream Vera Sans Mono:style=Roman in ~/.Xdefaults
- Otherwise same behaviour as console except it's not necessary to execute 'bash'
/etc/rc.conf Code: | KEYMAP="de-latin1-nodeadkeys"
SET_WINDOWKEYS="no"
CONSOLEFONT="lat9w-16" |
/etc/env.d/02locale Code: | LC_ALL="de_DE@euro"
LANG="de_DE@euro" |
/etc/X11/xorg.conf Code: | Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys" |
Hopefully, Inte. _________________ Gentoo Linux - Die Metadistribution |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Tue Sep 14, 2004 5:19 pm Post subject: |
|
|
What about /etc/profile? And /etc/bashrc or /etc/bash/bashrc? _________________ 60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
|
Back to top |
|
|
Inte Veteran
Joined: 15 Jul 2003 Posts: 1387 Location: Mannheim, GER
|
Posted: Tue Sep 14, 2004 6:28 pm Post subject: |
|
|
What about /etc/profile? Isn't modified.
And /etc/bashrc or /etc/bash/bashrc? Not existent
~/.inputrc Not existent _________________ Gentoo Linux - Die Metadistribution |
|
Back to top |
|
|
borchi n00b
Joined: 05 Dec 2002 Posts: 44
|
Posted: Tue Sep 14, 2004 6:47 pm Post subject: |
|
|
i know i might be way off on this, but have you recently emerged newer version of baselayout package? i had a similar problem when i started to mess with splashutils (which needed newer version of baselayout (which needed sysvinit package)). |
|
Back to top |
|
|
luqas Guru
Joined: 02 Jan 2004 Posts: 588 Location: /US/Texas/Beaumont
|
Posted: Tue Sep 14, 2004 7:24 pm Post subject: |
|
|
borchi wrote: | i know i might be way off on this, but have you recently emerged newer version of baselayout package? i had a similar problem when i started to mess with splashutils (which needed newer version of baselayout (which needed sysvinit package)). |
That is when mine started happening. Anything version > 1.9 I think. I just like gensplash too much, but I haven't found a resolution yet. |
|
Back to top |
|
|
|