AWHITTON@BNR.CA (Alan Whitton, A.V.N.) (07/20/90)
Now that it is possible to live in an X only world under SR10.3 an interesting question that begs to be asked is what do you do with all those nifty keys on the left key pad? Has anyone devised an XMODMAP script to make good use of these keys? A few suggestions might be: Shell/CMD: Pop an XTERM Next Wndw: Cycle up etc., Cheers, Alan ------------------------------------------------------- OS Group Workstation Systems Member Scientific Staff Bell Northern Research BITNET: awhitton@bnr.ca UUCP: uunet!bnrgate!forum!awhitton Phone: (613) 763-8871 FAX: (613) 763-3283
valante_g@apollo.HP.COM (Glen E Valante) (07/24/90)
Alan, I have been working without the dm for some time now since about 10.2. So the things that i needed to get over was a mailer and an editor. So, i picked up az for mail and vi, yup, vi as an editor. It is much more tolerable with the translations that are on the bottom. There is also a way to fudge the paste buffer into bringing up a dmread(hpvue client) pad(from the old dm days) or more/vi the file. It kind of feels like that old m3 trick.. If you look into client translations, there is really a lot that you can do with this. You mentioned using xmodmap, and while that is fine for somethings, you get locked down into having the key defined to a key. When mapping in something like pfkeys xmodmap is fine, but it can't put in strings. With using the translations you define the keys for only that client and you can togle them as i do with the "keymap" defined to the f1 key. So there can be multiple key trans for one client. Do you have hpvue?? The mterm is much better than xterm. Just the ability to scroll up in the window with the box arrow keys. Maybe i should post my dm2x cut and paste tools. thanks, --glen ---some mods have to be made for use in xterm--- MTerm*VT100.Translations: #override \ <KeyPress>UpBox : scroll-back(1,halfpage) \n \ <KeyPress>DownBox : scroll-forw(1,halfpage) \n \ Shift<KeyPress>Up : scroll-back(1,line) \n \ Shift<KeyPress>Down : scroll-forw(1,line) \n \ <Btn3Down> : ignore() \n \ <Btn3Up> : string("vi ") insert-selection(CLIPBOARD, CUT_BUFFER0) string( 0x0d) \n \ Shift<Btn3Down> : post-menu() \n \ <KeyPress>F1 : keymap(vi) \n MTerm*VT100.viKeymap.translations: \ <Key>F1: keymap(None) \n\ <KeyPress>UpBox : string("") \n \ <KeyPress>DownBox : string("") \n \ <KeyPress>LineDel : string("dd") \n \ <KeyPress>CharDel : string("x") \n \ <KeyPress>RightBar : string("$") \n \ <KeyPress>LeftBar : string("^") \n \ <KeyPress>Exit : string("ZZ") \n \ Shift<KeyPress>Save : string(":w") string(0x0d) \n \ <KeyPress>Undo : string("u") \n \ <KeyPress>Insert : string("i") \n \ <KeyPress>RightBox : string("w") \n \ <KeyPress>LeftBox : string("b") \n \ <KeyPress>Grow : string("/") \n \ ^<KeyPress>t : string(":1") string(0x0d) \n \ ^<KeyPress>b : string(":$") string(0x0d) \n ------------------------------------------------------------------------------- Glen Valante | These are my opinions... Hewlett-Packard | Pleas excuse the typos. North American Customer Support | ________________________________________________________________________ ________
nazgul@alphalpha.com (Kee Hinckley) (07/24/90)
In article <4bc49464.20b6d@apollo.HP.COM> valante_g@APOLLO.COM writes: > Do you have hpvue?? The mterm is much better than xterm. Just I tried mterm once and then dumped it. At least the version I was using did you have the ability to use the meta keys when in emacs mode in the Korn Shell. (More clearly. Run a kornshell, set (and export) VISUAL=emacs, type something, press ALT (or META) "B". Does the cursor move back a word? If not, throw away mterm.). Has this been fixed? -kee -- Alphalpha Software, Inc. | motif-request@alphalpha.com nazgul@alphalpha.com |----------------------------------- 617/646-7703 (voice/fax) | Proline BBS: 617/641-3722 I'm not sure which upsets me more; that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.