![]() |
Re: key bar for xterm
Quote:
Or did you need it for something else that this wouldn't work for? |
Re: key bar for xterm
I altered the keybar by adding a bar and greater symbol.
[Tab,Escape,bar,greater,Page_Up,Page_Down] [Tab,Esc,|,>,PgUp,PgDn] But then a strange situation - the marking arrow on right side of keybar has disappered! Just to be sure, I reboot device, but still the same. Only when I make fullscreen and then un-fullscreen does the arrow appear. Anyone can confirm this problem? Or is it only me? filed a bug: https://bugs.maemo.org/show_bug.cgi?id=10058 |
Re: key bar for xterm
I made a few 2-letter scripts to control the xterm keys bar, at:
http://sam.nipl.net/code/n900-x/ fs - fullscreen - hides the keys bar tb - toolbar - shows the keys bar kd - Tab Esc PgUp PgDn - keys default ks - Esc < > | ^ % ~ - keys shell (I use ctrl-i for tab) kc - | { } [ ] < > - keys C (ctrl-c in vim acts like Esc) kb - Esc [ ] < > | % - keys brace (or python) kv - Tab < > | dn up cr - keys virtual - (for shell with virtual kbd) |
Re: key bar for xterm
Thanks for the thanks, and thanks to everyone else who's been working on this! A bit more about my keybar scripts, I made one for each of my major use cases: shell, C, python, virtual kbd. Where I need more symbols than would fit, I got rid of Tab, Esc, PgUp, PgDn, which are less important for me, and can largely be emulated with other key presses (ctrl-I, and ctrl-C, ctrl-U, ctrl-D in vim). I commonly use ctrl-I even on a normal kbd as it seems a bit less of a stretch than Tab. I don't remember that anyone else was removing those Tab, Esc, PgUp, PgDn key bar buttons, so this is a bit different. I was able to fit all the major extra symbols I need for C and shell programming onto the key bars, except % for C's printf. I'm happy enough to press "Sym" a pick that off the symbols popup! I guess I'm keen to get the keyboard working as well as possible because my laptop recently died so I've been coding a lot on the phone :)
|
Re: key bar for xterm
Quote:
|
Re: key bar for xterm
Quote:
|
Re: key bar for xterm
I couple other things, I didn't put backtick ` on my shell keybar because we can use $(foo) in bash, and that's nestable too. Here's the code from my scripts:
Code:
# fs: fullscreen Have fun! :) |
Re: key bar for xterm
hi
for the once facing the problem when beeing in real full screen (no top and bottom bar) here a short cut: get yourselfs xbindkeys and wmctrl for n900 and create a file .xbindkeysrc in your home dir. from .profile start xbindkeys and shortcut shift+enter toggles top bar on/off ---------.xbindkeysrc-------- "wmctrl -r :ACTIVE: -b toggle,fullscreen" shift + KP_Enter ---------------------------------- ps: works for all applications - great for rss reader - anyway did not figure out a place to autstart it. i tried to start from system profile but it does not work. so for now i open xterm once and it works - here it calls xbindkeys via .profile file. have fun |
Re: key bar for xterm
Quote:
Here is the code by kwotski which I used Quote:
|
Re: key bar for xterm
Friends,
Does anyone know how to add "Control C" to the bar? |
All times are GMT. The time now is 02:05. |
vBulletin® Version 3.8.8