richk@june.cs.washington.edu (Richard Korry) (02/08/90)
I have emacs18.55 installed on a decstation 3100 w/ ultrix 3.1. I have the following problems: 1) Prev Screen, Next Screen and Remove buttons are ignored when in emacs. Out- side of emacs (e.g. in xterm) they generate the appropriate esc sequences. 2) x-store-cut-buffer only works half way. When I cut in an xterm, I can paste in emacs fine. When I cut in emacs, I get the stuff if I paste in emacs but not (i.e. I get my last non-emacs cut) in xterm. Please e-mail any suggestions to me. thanks rich
ken@uf.msc.umn.edu (Ken Chin-Purcell) (02/09/90)
In article <10645@june.cs.washington.edu>, richk@june.cs.washington.edu (Richard Korry) writes: > I have emacs18.55 installed on a decstation 3100 w/ ultrix 3.1. I have the > following problems: > 1) Prev Screen, Next Screen and Remove buttons are ignored when in emacs. Out- > side of emacs (e.g. in xterm) they generate the appropriate esc sequences. Apply the following patch (made by 'diff -c x11term.c.orig x11term.c') *** x11term.c.orig Fri Sep 15 16:30:33 1989 --- x11term.c Thu Feb 8 09:31:14 1990 *************** *** 1326,1331 **** --- 1326,1339 ---- be able to use XRebindKeysym so XLookupString will have already given us the string we want. */ if (IsFunctionKey(keysym) || + #ifdef ultrix + /* keysyms on the dec station are too low to catch. + * MSC LOCAL MOD + */ + ((unsigned)(keysym) == DXK_Remove) || + ((unsigned)(keysym) == XK_Prior) || + ((unsigned)(keysym) == XK_Next) || + #endif /* ultrix */ IsMiscFunctionKey(keysym)) { strcpy(mapping_buf," strcat(mapping_buf,stringFuncVal(keysym)); > 2) x-store-cut-buffer only works half way. When I cut in an xterm, I can paste > in emacs fine. When I cut in emacs, I get the stuff if I paste in emacs but > not (i.e. I get my last non-emacs cut) in xterm. Add the following to your .Xdefaults (or wherever you store your resources): XTerm*VT100.translations: #override\n\ ~Meta<Btn2Up>:insert-selection(CUT_BUFFER0, PRIMARY) I have some key and mouse bindings you may find handy. Please write if interested. \/ Ken Chin-Purcell <> also known as ken@msc.umn.edu and (612)626-1340 /\ Minnesota Supercomputer Center, University of Minnesota