Informix Terminal Control Keys description
Posted in 2010
A user wanted a list of the control/special keys Informix uses and their meanings, having failed to make sense of /usr/informix/etc/termcap. After clarifying he meant I4GL, he was pointed at the 4GL manual, and Art Kagel listed the trappable special keys (ACCEPT, INTERRUPT, ENTER, INSERT, DELETE, PRINT, arrows, PAGE_UP/DOWN, F1-F12 and shifted variants, plus other control keys), noting function keys must be mapped in termcap/terminfo. For CTRL-R he explained it is the curses refresh key (KEY_REFRESH, termcap code &2, see man 5 termcap). The poster then found the description in the I4GL 7.32 Reference Manual (p. 492), so the question was resolved.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: General Discussion
Hi all, It may be a silly question but.... I would like to have a list of all the Control keys used in Informix and their function descriptions. I have looked at /usr/informix/etc/Termcap but still cannot interprete its contents. Regards, Long N
Long Nguyen wrote:
> Hi all,
> It may be a silly question but....
> I would like to have a list of all the Control keys used in Informix and
their
> function descriptions.
> I have looked at /usr/informix/etc/Termcap but still cannot interprete its
> contents.
In what? dbaccess? 4GL? SQL? onmonitor?
--
Cheers,
Obnoxio The Clown
http://obotheclown.blogspot.com
I will now proceed to pleasure myself with this fish.
--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.
Thanks Obnoxio,
It is in 4GL.
Regards,
Long N.
________________________________
From: Obnoxio The Clown <obnoxio@serendipita.com>
To: ids@iiug.org
Sent: Wed, 21 April, 2010 3:57:44 PM
Subject: Re: Informix Terminal Control Keys description [19765]
Long Nguyen wrote:
> Hi all,
> It may be a silly question but....
> I would like to have a list of all the Control keys used in Informix and
their
> function descriptions.
> I have looked at /usr/informix/etc/Termcap but still cannot interprete its
> contents.
In what? dbaccess? 4GL? SQL? onmonitor?
--
Cheers,
Obnoxio The Clown
http://obotheclown.blogspot.com
I will now proceed to pleasure myself with this fish.
--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
Long Nguyen wrote: > Thanks Obnoxio, > It is in 4GL. Well, then, look in the 4GL manual. -- Cheers, Obnoxio The Clown http://obotheclown.blogspot.com I will now proceed to pleasure myself with this fish. -- This message has been scanned for viruses and dangerous content by OpenProtect(http://www.openprotect.com), and is believed to be clean.
I assume from your previous posting that you are asking about which 'special' keys Informix 4GL applications can use to provide users with control keys. Here's what I know: 4GL's Internally "special" keys (these are assignable to any function key or control key you want: <ACCEPT> - Used by INPUT statements to accept the currently entered record - defaults to <ENTER> <INTerrupt> - Used by INPUT and other forms statements to stop processing - defaults to the user's stty int key setting Special, control, and function keys: <ENTER> <INSERT> <DELETE> <PRINT>: On a 'real' VT100 terminal this is F5 and many TERMCAP files still map it that way, so F5 may not be trappable for that TERM setting unless you modify the TERMCAP entry <UP> <DOWN> <LEFT> <RIGHT> <PAGE_UP> <PAGE_DOWN> <F1> through <F12>: Must be mapped properly in the TERMCAP or TERMINFO file <SHIFT_F1> through <SHIFT_F12>: Must be mapped properly in the TERMCAP or TERMINFO file All defined control keys not mapped to a special key (so the user's stty int key is not trappable as a control key> Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art@iiug.org) See you at the 2010 IIUG Informix Conference April 25-28, 2010 Overland Park (Kansas City), KS www.iiug.org/conf Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Wed, Apr 21, 2010 at 1:55 AM, Long Nguyen <longhuynguyen51@yahoo.com.au>wrote: > Hi all, > It may be a silly question but.... > I would like to have a list of all the Control keys used in Informix and > their > function descriptions. > I have looked at /usr/informix/etc/Termcap but still cannot interprete its > contents. > Regards, > Long N > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --000e0cd32c7ceafbac0484bd112e
Hi Art, Thanks for the input. Where can I find the definition of CTRL-R (redisplay screen?). Is it in Termcap? Thanks, Long N. ________________________________ From: Art Kagel <art.kagel@gmail.com> To: ids@iiug.org Sent: Wed, 21 April, 2010 8:58:19 PM Subject: Re: Informix Terminal Control Keys description [19769] I assume from your previous posting that you are asking about which 'special' keys Informix 4GL applications can use to provide users with control keys. Here's what I know: 4GL's Internally "special" keys (these are assignable to any function key or control key you want: <ACCEPT> - Used by INPUT statements to accept the currently entered record - defaults to <ENTER> <INTerrupt> - Used by INPUT and other forms statements to stop processing - defaults to the user's stty int key setting Special, control, and function keys: <ENTER> <INSERT> <DELETE> <PRINT>: On a 'real' VT100 terminal this is F5 and many TERMCAP files still map it that way, so F5 may not be trappable for that TERM setting unless you modify the TERMCAP entry <UP> <DOWN> <LEFT> <RIGHT> <PAGE_UP> <PAGE_DOWN> <F1> through <F12>: Must be mapped properly in the TERMCAP or TERMINFO file <SHIFT_F1> through <SHIFT_F12>: Must be mapped properly in the TERMCAP or TERMINFO file All defined control keys not mapped to a special key (so the user's stty int key is not trappable as a control key> Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art@iiug.org) See you at the 2010 IIUG Informix Conference April 25-28, 2010 Overland Park (Kansas City), KS www.iiug.org/conf Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Wed, Apr 21, 2010 at 1:55 AM, Long Nguyen <longhuynguyen51@yahoo.com.au>wrote: > Hi all, > It may be a silly question but.... > I would like to have a list of all the Control keys used in Informix and > their > function descriptions. > I have looked at /usr/informix/etc/Termcap but still cannot interprete its > contents. > Regards, > Long N > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --000e0cd32c7ceafbac0484bd112e ******************************************************************************* Forum Note: Use "Reply" to post a response in the discussion forum.
IB control-R is a Curses built-in. Yes, it is called the refresh key and is represented in curses by the constant KEY_REFRESH. In the TERMCAP file it is mapped by the code &2 (see "man 5 termcap" on most UNIX and Linux systems - if you don't have the man pages, install the pdcurses package it will install the man pages). Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art@iiug.org) See you at the 2010 IIUG Informix Conference April 25-28, 2010 Overland Park (Kansas City), KS www.iiug.org/conf Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Wed, Apr 21, 2010 at 10:56 PM, Long Nguyen <longhuynguyen51@yahoo.com.au>wrote: > Hi Art, > Thanks for the input. > Where can I find the definition of CTRL-R (redisplay screen?). Is it in > Termcap? > Thanks, > Long N. > > ________________________________ > From: Art Kagel <art.kagel@gmail.com> > To: ids@iiug.org > Sent: Wed, 21 April, 2010 8:58:19 PM > Subject: Re: Informix Terminal Control Keys description [19769] > > I assume from your previous posting that you are asking about which > 'special' keys Informix 4GL applications can use to provide users with > control keys. Here's what I know: > > 4GL's Internally "special" keys (these are assignable to any function key > or > control key you want: > <ACCEPT> - Used by INPUT statements to accept the currently entered record > - > defaults to <ENTER> > <INTerrupt> - Used by INPUT and other forms statements to stop processing - > defaults to the user's stty int key setting > > Special, control, and function keys: > <ENTER> > <INSERT> > <DELETE> > <PRINT>: On a 'real' VT100 terminal this is F5 and many TERMCAP files still > map it that way, so F5 may not be trappable for that TERM setting unless > you > modify the TERMCAP entry > <UP> > <DOWN> > <LEFT> > <RIGHT> > <PAGE_UP> > <PAGE_DOWN> > <F1> through <F12>: Must be mapped properly in the TERMCAP or TERMINFO file > <SHIFT_F1> through <SHIFT_F12>: Must be mapped properly in the TERMCAP or > TERMINFO file > All defined control keys not mapped to a special key (so the user's stty > int > key is not trappable as a control key> > > Art > > Art S. Kagel > Advanced DataTools (www.advancedatatools.com) > IIUG Board of Directors (art@iiug.org) > > See you at the 2010 IIUG Informix Conference > April 25-28, 2010 > Overland Park (Kansas City), KS > www.iiug.org/conf > > Disclaimer: Please keep in mind that my own opinions are my own opinions > and > do not reflect on my employer, Advanced DataTools, the IIUG, nor any other > organization with which I am associated either explicitly, implicitly, or > by > inference. Neither do those opinions reflect those of other individuals > affiliated with any entity with which I am affiliated nor those of the > entities themselves. > > On Wed, Apr 21, 2010 at 1:55 AM, Long Nguyen > <longhuynguyen51@yahoo.com.au>wrote: > > > Hi all, > > It may be a silly question but.... > > I would like to have a list of all the Control keys used in Informix and > > their > > function descriptions. > > I have looked at /usr/informix/etc/Termcap but still cannot interprete > its > > contents. > > Regards, > > Long N > > > > > > > > > > > ******************************************************************************* > > Forum Note: Use "Reply" to post a response in the discussion forum. > > > > > > --000e0cd32c7ceafbac0484bd112e > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --00c09f8a4fad3322d40484caeb8f
Hi Art, I have found its desc. in page 492 - Informix 4GL Reference Manual 7.32. Thanks for your detailed explanation re. termcap. Regards, Long N. ________________________________ From: Art Kagel <art.kagel@gmail.com> To: ids@iiug.org Sent: Thu, 22 April, 2010 1:29:37 PM Subject: Re: Informix Terminal Control Keys description [19781] IB control-R is a Curses built-in. Yes, it is called the refresh key and is represented in curses by the constant KEY_REFRESH. In the TERMCAP file it is mapped by the code &2 (see "man 5 termcap" on most UNIX and Linux systems - if you don't have the man pages, install the pdcurses package it will install the man pages). Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art@iiug.org) See you at the 2010 IIUG Informix Conference April 25-28, 2010 Overland Park (Kansas City), KS www.iiug.org/conf Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Wed, Apr 21, 2010 at 10:56 PM, Long Nguyen <longhuynguyen51@yahoo.com.au>wrote: > Hi Art, > Thanks for the input. > Where can I find the definition of CTRL-R (redisplay screen?). Is it in > Termcap? > Thanks, > Long N. > > ________________________________ > From: Art Kagel <art.kagel@gmail.com> > To: ids@iiug.org > Sent: Wed, 21 April, 2010 8:58:19 PM > Subject: Re: Informix Terminal Control Keys description [19769] > > I assume from your previous posting that you are asking about which > 'special' keys Informix 4GL applications can use to provide users with > control keys. Here's what I know: > > 4GL's Internally "special" keys (these are assignable to any function key > or > control key you want: > <ACCEPT> - Used by INPUT statements to accept the currently entered record > - > defaults to <ENTER> > <INTerrupt> - Used by INPUT and other forms statements to stop processing - > defaults to the user's stty int key setting > > Special, control, and function keys: > <ENTER> > <INSERT> > <DELETE> > <PRINT>: On a 'real' VT100 terminal this is F5 and many TERMCAP files still > map it that way, so F5 may not be trappable for that TERM setting unless > you > modify the TERMCAP entry > <UP> > <DOWN> > <LEFT> > <RIGHT> > <PAGE_UP> > <PAGE_DOWN> > <F1> through <F12>: Must be mapped properly in the TERMCAP or TERMINFO file > <SHIFT_F1> through <SHIFT_F12>: Must be mapped properly in the TERMCAP or > TERMINFO file > All defined control keys not mapped to a special key (so the user's stty > int > key is not trappable as a control key> > > Art > > Art S. Kagel > Advanced DataTools (www.advancedatatools.com) > IIUG Board of Directors (art@iiug.org) > > See you at the 2010 IIUG Informix Conference > April 25-28, 2010 > Overland Park (Kansas City), KS > www.iiug.org/conf > > Disclaimer: Please keep in mind that my own opinions are my own opinions > and > do not reflect on my employer, Advanced DataTools, the IIUG, nor any other > organization with which I am associated either explicitly, implicitly, or > by > inference. Neither do those opinions reflect those of other individuals > affiliated with any entity with which I am affiliated nor those of the > entities themselves. > > On Wed, Apr 21, 2010 at 1:55 AM, Long Nguyen > <longhuynguyen51@yahoo.com.au>wrote: > > > Hi all, > > It may be a silly question but.... > > I would like to have a list of all the Control keys used in Informix and > > their > > function descriptions. > > I have looked at /usr/informix/etc/Termcap but still cannot interprete > its > > contents. > > Regards, > > Long N > > > > > > > > > > > ******************************************************************************* > > Forum Note: Use "Reply" to post a response in the discussion forum. > > > > > > --000e0cd32c7ceafbac0484bd112e > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --00c09f8a4fad3322d40484caeb8f ******************************************************************************* Forum Note: Use "Reply" to post a response in the discussion forum.