|
lug-bg: [Home] [End] keys
- Subject: lug-bg: [Home] [End] keys
- From: sn@xxxxxxxxx (Svetoslav Nikolov)
- Date: Sun, 19 Dec 1999 12:10:22 +0100
Zdraveite LUG,
Iskam da se izvinia ako tova koeto pisha e vseobshto znanie - to kasae
izpolzvaneto na klavishite [Home] [End] i [Delete].
Predi niakolko dni popitah kak da gi izpolzvam i poluchih ukazanie da
napravia ~/.inputrc fail sas slednoto sadarjanie :
------ Cut here ------
# key bindings
"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line
"\e[H": beginning-of-line
"\e[F": end-of-line
---- Cut here -------
Tova obache pomaga samo za BASH. Az iskah da mi rabotiat tezi
klavishi i kogato naprimer rabotia sas komandia prozorec na Matlab
i kogato polzvam tsch i t.n. Tova uspiah da postigna kato v .Xdefaults
napisah (tova raboti v X-windows) :
------ Cut Here -------
xterm*VT100.Translations: #override <Key>BackSpace: string(0x7F)\n\
<Key>Delete: string(0x04)\n\
<Key>Home: string(0x01)\n\
<Key>End: string(0x05)
------ Cut here -------
Vmesto da predavam kombinaciata "\e[[1" ili neshto ot sorta, az napravo
podavam Ctrl-A, Ctrl-E i Ctrl-D.
Gorniat hack ne sam vidial opisan nikade, zatova i go pisha v tozi E-mail.
Tova raboti za vsichki programi pusnati v XTERM. Za nxterm i t.n.,
tova se postiga kato smenia "xterm*VT100" sas imeto na saotvetnata
terminalna programa. Edinstveno KVT ne go razbira. Imam vapros -
nikoi uspial li e da prekodira klavishi podavani kam KVT, i kak?
Pozdravi
Svetoslav
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|