Path: utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!apollo!apollo.hp.com!valante_g From: valante_g@apollo.HP.COM (Glen E Valante) Newsgroups: comp.sys.apollo Subject: Re: DM Keys In X Environ Message-ID: <4bc49464.20b6d@apollo.HP.COM> Date: 23 Jul 90 20:09:00 GMT References: <90Jul20.104232edt.57568@ugw.utcs.utoronto.ca> Sender: root@apollo.HP.COM Reply-To: valante_g@APOLLO.COM Organization: Hewlett-Packard North American Customer Services - Chelmsford, MA Lines: 70 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 \ UpBox : scroll-back(1,halfpage) \n \ DownBox : scroll-forw(1,halfpage) \n \ ShiftUp : scroll-back(1,line) \n \ ShiftDown : scroll-forw(1,line) \n \ : ignore() \n \ : string("vi ") insert-selection(CLIPBOARD, CUT_BUFFER0) string( 0x0d) \n \ Shift : post-menu() \n \ F1 : keymap(vi) \n MTerm*VT100.viKeymap.translations: \ F1: keymap(None) \n\ UpBox : string("") \n \ DownBox : string("") \n \ LineDel : string("dd") \n \ CharDel : string("x") \n \ RightBar : string("$") \n \ LeftBar : string("^") \n \ Exit : string("ZZ") \n \ ShiftSave : string(":w") string(0x0d) \n \ Undo : string("u") \n \ Insert : string("i") \n \ RightBox : string("w") \n \ LeftBox : string("b") \n \ Grow : string("/") \n \ ^t : string(":1") string(0x0d) \n \ ^b : string(":$") string(0x0d) \n ------------------------------------------------------------------------------- Glen Valante | These are my opinions... Hewlett-Packard | Pleas excuse the typos. North American Customer Support | ________________________________________________________________________ ________