Changing Ctrl-C

Jay R. Ashworth jra at baylink.com
Fri Jan 19 10:55:25 PST 2007


On Fri, Jan 19, 2007 at 09:20:38AM -0600, Chris Rendall wrote:
> I'm working on converting our filePro system to run a SUSE LINUX
> Enterprise.  With the Linux version of filePro I have to press Ctrl-C to
> back out of something instead of using the Delete key.  Is there a way
> to make the Delete key work like it does in UNIX?  Or is there a way to
> disable the Delete key so it doesn't put odd characters on the screen
> when it's pressed?

You need to put 

stty intr \^? 

somewhere in your /etc/profile chain (usually /etc/profile.local), and
if you want the console to work properly, there are two files you have
to change for that. 

One of them is in /usr/lib/kbd (unless they've moved it); it's the
mapping file that determined what ascii code the physical keys send
when you hit them, and the other is the similar keymapping file for X;
you need to modify both so the BackSpace key sends ^H instead of DEL.

If that's not enough hint, let me know and I'll go dig up the
specifics; we've only got one or two sites we bothered with.

Cheers,
-- jra
-- 
Jay R. Ashworth                                                jra at baylink.com
Designer                          Baylink                             RFC 2100
Ashworth & Associates        The Things I Think                        '87 e24
St Petersburg FL USA      http://baylink.pitas.com             +1 727 647 1274


More information about the Filepro-list mailing list