From owner-freebsd-questions Thu Oct 18 12:21:59 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 16BEC37B40B for ; Thu, 18 Oct 2001 12:21:55 -0700 (PDT) Received: (qmail 69555 invoked by uid 100); 18 Oct 2001 19:21:54 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15311.11218.424718.280378@guru.mired.org> Date: Thu, 18 Oct 2001 14:21:54 -0500 To: "Russell D. Murphy Jr." Cc: questions@freebsd.org Subject: Re: application specific key mappings? In-Reply-To: <98455565@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Russell D. Murphy Jr. types: > Is there any way to re-map key combinations on a per application > basis? I use a commercial application for which I don't have source > code. I'd like to map familiar line editing key combinations to its > line editing key combinations (i.e. I prefer emacs/tcsh style). I'd > like to do this under X; I can run this application in "console" mode > under emacs and re-map to my heart's content. Xmodmap seems to re-map > for the whole session (all applications), which is not what I want. > > Any suggestions? You didn't give us enough information to provide an accurate answer, so all we can do is give suggestions. If it's an X application, you might check to see if there are resources that control what you want. That's the easiest method. If you're running it in an xterm, you can remap the keys in the xterm. If that screws up everything else, xterm has an option to change the resource class from XTerm to something else, and you can remap the keys for *that* resource class, then run your application in an xterm started that way. If you're *really* desperate, you could run it on an XNest server (though I get better results with the vnc port), and use modmap on that X session. > ( Please cc me as I'm not currently on Questions-) That's SOP for this forum. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message