[Info-vax] Getting state of Control-T from a C program.
Paul Raulerson
paul at raulersons.com
Sat Sep 26 16:57:28 EDT 2009
Do a man on "stty" - you can view and set all the terminal line
control information from there. Some terminal capabilities are
defined in the terminfo/termcap
database for those terminals, but the line controls are by session,
and controlled with stty. There is also a programatic interface to
these settings.
-Paul
On Sep 26, 2009, at 3:35 PM, John E. Malmberg wrote:
> In order to get a termios library implemented on VMS, I need to be
> able to determine a few things.
>
> 1. BSD Unix and apparently LINUX has an option to do what VMS does
> with ^T, and there is a terminal attribute that corresponds to this
> being active.
>
> I have not been able to find a SYS$GETJPI or terminal sense mode to
> obtain if the DCL SET CONTROL=T is active to accurately report this.
>
> 2. BSD Unix can return a status to tell if Control-O is actively
> causing output to be discarded. I have not found a way to find
> this yet.
>
> For at least the Control-T state, the termios library should also be
> able to turn it on.
>
> Any suggestions?
>
> -John
> wb8tyw at qsl.network
> Personal Opinion Only
> _______________________________________________
> Info-vax mailing list
> Info-vax at rbnsn.com
> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>
More information about the Info-vax
mailing list