termcap

Kenneth Brody kenbrody at spamcop.net
Tue May 31 10:37:36 PDT 2011


On 5/31/2011 1:33 PM, davidrottkamp at echoes.net wrote:
> Hi
>
> Can anyone tell me what the label is in termcap for the break key
>
> I know the label for what break key is  is LY
> I need the one that defines the break key
> could also use to know if I want it to be ctrl-c what to use
> it is currently the DEL key in the termcap file

The label, LY, is in the termcap.  The keystroke is not, as it's part of the 
tty/pty device driver.  To change it, you use the "stty" command to change 
the value of the "intr" keystroke.

For example, to set it to ctrl-C, you would typically use:

     stty intr "^C"

-- 
Kenneth Brody


More information about the Filepro-list mailing list