Re: What is the CANCEL key?

Mike Aubury <[email protected]> Tue, 2 Feb 2021 16:45:58 +0000
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAGAq4WFVLWO=VToHc5O8W-PN9hroKXa29xY0-PgYY-p2PybBiA@mail.gmail.com>
Its normally the system interrupt key - which on unix is normally
configured to be ctrl-c

$ stty -a
speed 38400 baud; rows 42; columns 202; line = 0;
*intr = ^C; *quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt =
^R; werase = ^W; lnext = ^V; discard = ^O;
min = 1; time = 0;
-parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff -iuclc -ixany -imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke -flusho -extproc




Its possible to map another key to emulate the interrupt key - which is
what the TUICANCELKEY  is for


On Tue, 2 Feb 2021 at 16:33, James B. Byrne via Aubit4gl-discuss <
[email protected]> wrote:

> In Informix4GL by Example the following is written in exercise 5.
>
> DISPLAY
> " Press Accept to search for customer data, Cancel to exit w/out
> searching."
> AT 15,1 ATTRIBUTE (REVERSE, YELLOW).
>
> I gather that the <esc> key is the default for ACCEPT.  What is the CANCEL
> key?
>
>
> In the Aubit4GL Manual I found this:
>
> 7.4.8  Key Constants
> A keylist is a set of the following elements:
>
> F1 to F64
> CONTROL-c (but c not in (A,D,H,I,K,L,M,R,X)
> ACCEPT, DELETE, DOWN, ESC, ESCAPE,
> HELP, INSERT, INTERRUPT, LEFT,
> RIGHT, NEXT, NEXTPAGE, PREVIOUS,
> PREVPAGE, RETURN, TAB, UP
>
> and this:
>
> TUICANCELKEY TUI Allows the assigning of interrupt key. For example in
> aterm’s
> I set it to 263.
>
> From this am I to infer that the CANCEL key is <ctrl>C?
>
>
>
> --
> ***          e-Mail is NOT a SECURE channel          ***
>         Do NOT transmit sensitive data via e-Mail
>    Unencrypted messages have no legal claim to privacy
>  Do NOT open attachments nor follow links sent by e-Mail
>
> James B. Byrne                mailto:[email protected]
> Harte & Lyne Limited          http://www.harte-lyne.ca
> 9 Brockley Drive              vox: +1 905 561 1241
> Hamilton, Ontario             fax: +1 905 561 0757
> Canada  L8E 3C3
>
>
>
> _______________________________________________
> Aubit4gl-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
>

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss