Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    key bar for xterm

    Reply
    Page 2 of 9 | Prev |   1   2   3     4   | Next | Last
    qole | # 11 | 2009-11-24, 00:42 | Report

    Ok, here is my final key bar layout. I think (many of) you'll agree that these are very useful keys to have on the key bar for the N900.



    And just to collect the codes in one place:

    CR = KP_Enter (for hitting enter when the keyboard isn't out)
    | = bar
    ~ = asciitilde
    > = greater
    ` = grave dead_grave (that's my creepy favorite! Note: needs to be hit twice for backquote)

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by qole; 2009-12-04 at 23:13. Reason: changed dead_grave to grave at the request of others
    The Following 13 Users Say Thank You to qole For This Useful Post:
    arkanoid, blfgomes, chritto, gttnnn, iKneaDough, kore, kwotski, lma, mosiomm, mveplus, sixwheeledbeast, snedley, sswam

     
    arkanoid | # 12 | 2009-12-02, 23:23 | Report

    what about f1-f12?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    kwotski | # 13 | 2009-12-03, 03:14 | Report

    Originally Posted by lma View Post
    The following works to add the "|" button on the Fremantle osso-xterm bar:

    Code:
    ~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,PgUp,PgDn,|]"
    ~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,bar]"
    I should probably also mention the open bug for this, you know what to do ;-)
    Edit!
    Originally Posted by kwotski (I am an idiot sometimes)
    I've tried these commands, but to no effect..

    Here is the output from the corresponding gconftool-2 gets:

    Code:
    ~ $ gconftool-2 -g /appa/osso/xterm/key_labels
    [Tab,Esc,PgUp,PgDn,|]
    ~ $ gconftool-2 -g /appa/osso/xterm/keys
    [Tab,Escape,Page_Up,Page_Down,Bar]
    After exiting the terminal and starting up a new one, there's no change visible in the key bar. Did I miss something?
    Yes, you idiot, it's /apps not /appa ffs! Works now. Thanks.

    Also, since you people seem to know what you're talking about... what the heck is that NW-facing arrow at the bottom left of the XTerm about? Doesn't seem to do anything here.. Edit: Ok, nevermind that, I see it enables text selection now

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by kwotski; 2009-12-03 at 17:57.

     
    jjx | # 14 | 2009-12-03, 18:04 | Report

    I agree the extra keys are very useful.

    With so few lines in landscape mode, it would be helpful to put the key bar to one side or the other, instead of underneath. Or indeed, a whole sidebar of running apps/widgets - that would be great for those intensive text-editing Mutt using sessions

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to jjx For This Useful Post:
    pillar, qole, twaelti

     
    kwotski | # 15 | 2009-12-03, 18:28 | Report

    Ok, now it's daytime and my eyes are working better, I've spotted the subtle error in my post above and got this working.

    I decided on ^ (circumflex) rather than <enter> but otherwise the same choices as qole's, but done with the commandline as above:

    Code:
    ~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,bar,greater,asciitilde,dead_grave,asciicircum]"
    ~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,|,>,~,\`,^]"
    giving:

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     
    The Following 8 Users Say Thank You to kwotski For This Useful Post:
    blfgomes, ersanpermana, iKneaDough, mikki-kun, mosiomm, PVince81, qole, vkv.raju

     
    qole | # 16 | 2009-12-03, 18:44 | Report

    kwotski: what do you use the ^ hat for?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    kwotski | # 17 | 2009-12-03, 23:04 | Report

    Originally Posted by qole View Post
    kwotski: what do you use the ^ hat for?
    It has some use in regular expressions (beginning of a string, or "not" inside a character class), also in shell expansion (related to the regexp use) for example 'ls *[^z]' : list all files with name at least one character long, not ending in 'z'. Of course, you need the [ and ] mapped for that to be really useful!

    BTW, I discovered that if you drop the dead_ from dead_grave and just put grave, you don't have to press it twice!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to kwotski For This Useful Post:
    McLightning, qole

     
    insyte | # 18 | 2009-12-04, 15:56 | Report

    How can I find a list of the available key names? Gconf is new to me...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    psmears | # 19 | 2009-12-04, 17:02 | Report

    Originally Posted by qole View Post
    kwotski: what do you use the ^ hat for?
    Another use for the ^ character (at least it most shells e.g. tcsh/bash) is for quick corrections of typos. For example, if you accidentally type:

    Code:
    less thisisaveryloNGfilename.txt
    then, rather than either re-typing the whole line, or using the arrow keys lots of times to get to the right place, you can change the "NG" to "ng" by typing just:

    Code:
    ^NG^ng

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 12 Users Say Thank You to psmears For This Useful Post:
    ArnimS, dvergin, ejasmudar, fnordianslip, gttnnn, iKneaDough, Megaltariak, mosiomm, mveplus, qole, SHARP66, stlpaul

     
    gwax | # 20 | 2009-12-04, 22:37 | Report

    Originally Posted by kwotski View Post
    Code:
    ~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,bar,greater,asciitilde,dead_grave,asciicircum]"
    ~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,|,>,~,\`,^]"
    dead_grave refers to the dead key for the grave accent (aka, backtick).

    If you instead use:

    Code:
    ~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,bar,greater,asciitilde,grave,asciicircum]"
    ~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,|,>,~,\`,^]"
    "dead_grave" > "grave"

    you will only have to press ` once to get a ` symbol.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to gwax For This Useful Post:
    insyte, mikhmv, mosiomm, mveplus, sswam

     
    Page 2 of 9 | Prev |   1   2   3     4   | Next | Last
vBulletin® Version 3.8.8
Normal Logout