maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   key bar for xterm (https://talk.maemo.org/showthread.php?t=34926)

TNiga 2010-01-25 20:55

Re: key bar for xterm
 
@les_garten: Page_Up and Page_Down works fine for me on the bar, always has. Have you tested them with some text editor or irssi, for example?

les_garten 2010-01-26 02:31

Re: key bar for xterm
 
Quote:

Originally Posted by blfgomes (Post 494307)
I have Up and Down (along with Carriage Return) mapped so that I don't have to slide the keyboard out.

Modify the lines below according to your needs:
Code:

gconftool-2 --set -t list --list-type string \
    /apps/osso/xterm/key_labels "[Tab,Esc,Dn,Up,CR]"

gconftool-2 --set -t list --list-type string \
    /apps/osso/xterm/keys "[Tab,Escape,Down,Up,KP_Enter]"


Bless you my Son!

qole 2010-01-26 05:14

Re: key bar for xterm
 
What, wait, "Dn" and "Up" are Page Down and Page Up?

les_garten 2010-01-26 05:56

Re: key bar for xterm
 
Quote:

Originally Posted by qole (Post 494947)
What, wait, "Dn" and "Up" are Page Down and Page Up?


Works perfect for me. I was looking for Up arrow and Down arrow and that's what I got! :D

qole 2010-01-26 06:09

Re: key bar for xterm
 
les_garten: You did NOT say you wanted up and down. You said you wanted PAGE up and PAGE down...

ludvig 2010-01-26 06:24

Re: key bar for xterm
 
Would it be possible to get cut and paste on to the bar?

This is functions that I use quite frequently so minimizing the amount of steps would be most helpful.

les_garten 2010-01-26 06:33

Re: key bar for xterm
 
Quote:

Originally Posted by qole (Post 494989)
les_garten: You did NOT say you wanted up and down. You said you wanted PAGE up and PAGE down...

Well on all my Keyboards that say Page Up or Page Down, the command hx is scrolled through.

blfgomes 2010-01-27 21:59

Re: key bar for xterm
 
Quote:

Originally Posted by qole (Post 494989)
les_garten: You did NOT say you wanted up and down. You said you wanted PAGE up and PAGE down...

He did say he wanted Page Up and Page Down, but he also said:

Quote:

Originally Posted by les_garten (Post 493039)
The up arrow and down arrow are what I want to pull commands from the command history.

:)

damion 2010-01-28 13:15

Re: key bar for xterm
 
Quote:

Originally Posted by ludvig (Post 494999)
Would it be possible to get cut and paste on to the bar?

This is functions that I use quite frequently so minimizing the amount of steps would be most helpful.

I would LOVE that, especially if I could have the bar only appear if I do something with the touch display, perhaps have it scroll or fade in. I don't want a WINCH signal generated and a change in tty state for the window.

At the moment, I've just got Ctrl to be sticky (will post about that elsewhere), and mapped Fn Up/Down to do PgUp/PgDn so with Ctrl-I for tab and ESC not being that necessary (^C works in vi/vim). I now sort of no longer need the bottom bar. I tended to hide away the top bar too and should be able to get a useful fullscreen. The problem is that c+p is useful, I also tend to like to get a new terminal from time to time, and maybe pull out the status menu to switch 2G/3G, volume, BT etc.

I'd just about got s2putty on the n97 working perfectly for my needs, with good gesture support to enhance the available keys (I mapped centre button of the directional pad on the left to sticky Ctrl), I got very used to swipe up as Tab in my email client for example.

I've now started to get in to the n900 but I've gone downhill as far as experience for a terminal is concerned.

jmk 2010-01-28 13:30

Re: key bar for xterm
 
Quote:

Originally Posted by nothing (Post 412188)
Could someone help me with how to add Alt key to keybar.

Help me also. I need sticky Alt button added to toolbar (like the control key).

EDIT: I managed to add Alt this way but how to make the Alt button sticky like the Ctrl?


Code:

gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,PgUp,PgDn,Alt]"

gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,Alt]"

Maybe keycode 56 = Alt_Lock or keycode 100 = SAlt works..

EDIT2: doesn't work like the sticky hardcoded? Ctrl


All times are GMT. The time now is 19:12.

vBulletin® Version 3.8.8