View previous topic :: View next topic |
Author |
Message |
Inte Veteran
Joined: 15 Jul 2003 Posts: 1387 Location: Mannheim, GER
|
Posted: Tue Sep 14, 2004 8:54 pm Post subject: |
|
|
Hmmm ... splashutils ...
cat /etc/portage/package.keywords Code: | =media-gfx/splashutils-0.9_pre07 ~x86
=sys-apps/baselayout-1.10.4 ~x86
=sys-apps/sysvinit-2.84 ~x86 |
I totally forgot that I installed the masked versions.
Maybe this behaviour will be fixed soon.
Fortunately my GTK apps do their job
thx, Inte.
EDIT: just4info https://forums.gentoo.org/viewtopic.php?p=1503509#1503509 _________________ Gentoo Linux - Die Metadistribution |
|
Back to top |
|
|
Anarky n00b
Joined: 25 May 2003 Posts: 30 Location: France
|
Posted: Wed Sep 15, 2004 8:29 am Post subject: |
|
|
I may be off the wall, but
I'm using zsh and had the same problem.
I solved it in the shell by typing the command
Code: | bindkey "^[[3~" delete-char | but the problem is still here in login for exemple.
Before zsh is lauched, when I log in, if I use the "del" key, that's not a tilde that appear, but [3~. I don't know the solution. |
|
Back to top |
|
|
jewps n00b
Joined: 29 Mar 2004 Posts: 74
|
Posted: Wed Sep 15, 2004 11:14 am Post subject: |
|
|
I think it's a problem with baselayout. I've had this problem for a while but I just couldn't be f*'d to do anything about it. |
|
Back to top |
|
|
graybeard Tux's lil' helper
Joined: 16 Mar 2003 Posts: 118 Location: a blue state
|
Posted: Wed Sep 15, 2004 11:21 am Post subject: |
|
|
Well, here is a work around until you find the real cause. I opened gnome-terminal, click edit - profiles, select default, click edit. Select the compatibility tab. Change "Backspace key generates" to "Control-H". Change "Delete key generates" to "ASCII Delete". Save and close. Now it works on my machine in gnome at least. Obviously that won't affect other terminal types however.
-dan |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Sep 16, 2004 7:22 am Post subject: |
|
|
steveb wrote: | 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 |
The more I look into this the more I am convinced it is a bug that has come into a package with recent update (last few weeks)
I dont let etc-update change things without looking what it does and so many of us are checking all sorts of config inits and god knows what else. All seems in order.
I think we need to look at package version.
SteveB . Could you compare baselayout and sysvinit for ex. on your two systems.
Thx _________________ 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 |
|
|
onan n00b
Joined: 27 Dec 2003 Posts: 5 Location: Terre.Canada.Quebec.Chicoutimi
|
Posted: Thu Sep 16, 2004 9:10 pm Post subject: solved |
|
|
I just unmerged sysvinit and re-emerged baselayout without any ACCEPT_KEYWORDS and it solved the problem immediately. (I also unmasked these packages to use splashutils but I don't use it anyway)
thanks Gentree for your help :) , but I don't know what is the exact problem, there is a big clue at least. |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Fri Sep 17, 2004 9:38 am Post subject: |
|
|
I found reverting baselayout did the trick as well.
Sorry I didnt post that here , I was following about 3 threads on this pb and missed this one.
baselayout did change a whole bunch of files through etc-update but even looking closely I could not see it revert anything like a keyboard setting.
It must be in the actual coding somewhere.
_________________ 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 |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Wed Sep 22, 2004 11:29 am Post subject: |
|
|
hm. i use bash-3.0-r5 and baselayout-1.10.4
i have the same problem as describes above, but what'sweird is, that this problem does not occur when using the pure bash, it only occurs when i use programs that run in a terminal like lftp or python. then i cannot delete (del) or use page-up/down.
i will give it a try and downgrade baselayout. i cannot remember when the problem appeared. |
|
Back to top |
|
|
blaster999 l33t
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
Posted: Wed Sep 22, 2004 1:19 pm Post subject: |
|
|
hiroki wrote: | it only occurs when i use programs that run in a terminal like lftp or python |
Was python compiled with "readline" USE flag? If not, recompile it and it should be able to understand delete, pgUp and so on. _________________ 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 |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Wed Sep 22, 2004 3:46 pm Post subject: |
|
|
blaster999 wrote: | hiroki wrote: | it only occurs when i use programs that run in a terminal like lftp or python |
Was python compiled with "readline" USE flag? If not, recompile it and it should be able to understand delete, pgUp and so on. |
python is already compiled with readline. and lftp does not have that USE-flag. i also recompiled readline and then python.. did not help.
any other suggestions?
please help!
it's very annoying... |
|
Back to top |
|
|
bennettp Guru
Joined: 22 Feb 2004 Posts: 335 Location: on my back and tumbling
|
Posted: Wed Sep 22, 2004 6:21 pm Post subject: |
|
|
breakerfall wrote: | I no longer have this problem - most likely due to the upgrade of Bash to 3.0.0
See if that helps. | The problem is that baselayout-1.10 (approx) and newer move this sort of config out of /etc/profile and into /etc/bash/bashrc. However, only the bash-3.0.x and higher ebuilds reflect this change, so unless you emerge bash 3, you'll get strange non-coloured bash prompts and squiggly lines all over the place... This change was made so that the coloured PS1 would only be applied on an interactive terminal...
EDIT: bash-3 is still ~x86, so use at own risk! No problems here... _________________ Registered Linux User #363420 |
|
Back to top |
|
|
graybeard Tux's lil' helper
Joined: 16 Mar 2003 Posts: 118 Location: a blue state
|
Posted: Thu Sep 23, 2004 1:59 am Post subject: |
|
|
That makes sense ... but shouldn't there be a dependency between the two packages? Might seem like a minor issue except for the 36 posts in just this one thread on the subject.
-dan |
|
Back to top |
|
|
marvin n00b
Joined: 29 Jan 2003 Posts: 58
|
Posted: Thu Sep 23, 2004 8:33 am Post subject: |
|
|
Just put this in your /etc/bash/bashrc (create the file if it does not exist):
Code: | if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]
then
export INPUTRC="/etc/inputrc"
fi
|
This should make the delete key work again. You can also put the line
Code: |
export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]'
|
in there, if you don't have a coloured prompt anymore. _________________ Join the adopt an unanswered post initiative today! |
|
Back to top |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Thu Sep 23, 2004 8:42 am Post subject: |
|
|
marvin wrote: | Just put this in your /etc/bash/bashrc (create the file if it does not exist):
Code: | if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]
then
export INPUTRC="/etc/inputrc"
fi
|
This should make the delete key work again. You can also put the line
Code: |
export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]'
|
in there, if you don't have a coloured prompt anymore. |
oooh, wow, that works!!!! now i have my favorite page-up/-down back!!!! works in python and lftp.. cool. many thanks!! |
|
Back to top |
|
|
thoughts Apprentice
Joined: 15 Apr 2004 Posts: 153 Location: Pennsylvania
|
Posted: Tue Sep 28, 2004 12:17 am Post subject: |
|
|
marvin wrote: | Just put this in your /etc/bash/bashrc (create the file if it does not exist):
Code: | if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]
then
export INPUTRC="/etc/inputrc"
fi
|
This should make the delete key work again. You can also put the line
Code: |
export PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\w \$ \[\033[00m\]'
|
in there, if you don't have a coloured prompt anymore. |
SWEET, thank you. This bug was driving me crazy. Having your DEL key suddenly start printing tildes instead of deleting is like.... well, it's like having a DEL key that prints tildes. It's insanity.
-Anthony DiSante
http://nodivisions.com/ |
|
Back to top |
|
|
fintux n00b
Joined: 07 Feb 2004 Posts: 17 Location: Oulu, Finland
|
Posted: Mon Oct 18, 2004 1:58 pm Post subject: |
|
|
BTW, seems to require KDE/X11 restart for the changes to take effect (don't know which, because I zapped gdm with Ctrl-Alt-Backspace). Thank you very much for the tip, this was driving me nuts already. |
|
Back to top |
|
|
zaai Apprentice
Joined: 24 Jul 2004 Posts: 175
|
Posted: Wed Oct 20, 2004 6:19 am Post subject: Yes it works :) |
|
|
Heh many thanks for posting this solution Marvin.
|
|
Back to top |
|
|
|