Notices


Reply
Thread Tools
Posts: 146 | Thanked: 15 times | Joined on Oct 2008
#1
Hi,

I tried to add "Del", "Home", etc to the shortcut toolbar in the xterm (OS2008, N800, bash). I tried KP_Home and things like that, but either they do nothing, or just write a '~' on the screen. Under 'sudo gainroot' some work, though. I tried with and without the .bashrc file with identical results. It seems that the osso_xterm is not catching the key sequence correctly.

What am I missing?

Thanks!!
L.
 
Posts: 120 | Thanked: 69 times | Joined on Nov 2007 @ NL
#2
Did you try uninstalling bash? Maybe that's the culprit...
 
Posts: 146 | Thanked: 15 times | Joined on Oct 2008
#3
Originally Posted by bousch View Post
Did you try uninstalling bash? Maybe that's the culprit...
My .bashrc file has 231 lines. The main reason I bought the N800 is to use all the things and scripts I made over the years. I don't want to begin from scratch with yet another shell...

Thanks,
L.
 
Posts: 120 | Thanked: 69 times | Joined on Nov 2007 @ NL
#4
It seems to have something to do with bash.

I just installed bash and it does write the tilde when I use the shortcuts at the bash prompt. When running vim the shortcuts do seem to do what they should.

Without bash the shortcuts KP_Home and KP_End work fine at the shell prompt.

Last edited by bousch; 2009-04-16 at 20:17. Reason: grammar again
 
Posts: 120 | Thanked: 69 times | Joined on Nov 2007 @ NL
#5
Originally Posted by luis View Post
My .bashrc file has 231 lines. The main reason I bought the N800 is to use all the things and scripts I made over the years. I don't want to begin from scratch with yet another shell...
Ah I see, I hope someone else can clear this up then...
 
Posts: 146 | Thanked: 15 times | Joined on Oct 2008
#6
Originally Posted by bousch View Post
Ah I see, I hope someone else can clear this up then...
There should be a way to link the key sequence to the correct sequence. Like when using loadkeys.

Thanks anyway,
L.
 
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#7
dont know about the solutions. There are some shortcuts here may interest you,

http://www.internettablettalk.com/fo...d.php?p=192189 thread #10


bun
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#8
Originally Posted by luis View Post
Hi,

I tried to add "Del", "Home", etc to the shortcut toolbar in the xterm (OS2008, N800, bash). I tried KP_Home and things like that, but either they do nothing, or just write a '~' on the screen.
Bummer. Home works for user and root and bash is my default shell. I'm using the latest Diablo. These also work for user and root: End KP_Left KP_Right KP_Up KP_Down. There's nothing special about my .bashrc except some added aliases.

Oh, and here's what my root shortcut looks like:

r,o,o,t,KP_Enter
__________________
N9: Go white or go home

Last edited by daperl; 2009-04-17 at 11:48.
 
Posts: 120 | Thanked: 69 times | Joined on Nov 2007 @ NL
#9
Originally Posted by daperl View Post
Bummer. Home works for user and root and bash is my default shell. I'm using the latest Diablo. These also work for user and root: End KP_Left KP_Right KP_Up KP_Down. There's nothing special about my .bashrc except some added aliases.

Oh, and here's what my root shortcut looks like:

r,o,o,t,KP_Enter
Are you using bash 2.05b or bash 3.2? I have the tilde problem with 2.05b.
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#10
Originally Posted by bousch View Post
Are you using bash 2.05b or bash 3.2? I have the tilde problem with 2.05b.
Nokia-N810-43-7:~$ bash -version
bash -version
GNU bash, version 2.05b.0(1)-release (arm-unknown-linux-gnu)
Copyright (C) 2002 Free Software Foundation, Inc.
Nokia-N810-43-7:~$
__________________
N9: Go white or go home
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:13.