Xref: utzoo comp.windows.x:18123 gnu.emacs:2281 Path: utzoo!utgpu!watserv1!watmath!uunet!shelby!bloom-beacon!snorkelwacker!tut.cis.ohio-state.edu!uc!uf.msc.umn.edu!ken From: ken@uf.msc.umn.edu (Ken Chin-Purcell) Newsgroups: comp.windows.x,gnu.emacs Subject: Re: emacs & X11R4 Message-ID: <1237@uc.msc.umn.edu> Date: 8 Feb 90 16:09:20 GMT References: <10645@june.cs.washington.edu> Sender: news@uc.msc.umn.edu Reply-To: ken@msc.umn.edu Distribution: na Organization: Minnesota Supercomputer Center Lines: 47 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: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