[comp.databases] Unix/Ingres Equel and stty changes

marcusen@oodis01.ARPA (Marcusen) (09/26/88)

INGRES OSx Release 5.0/04 (pyr.u42/02) login Mon Sep 26 10:16:29 1988
Copyright (c) 1986, Relational Technology Inc.
INGRES/UNIX Version 5.0 (PRODUCTION)
Mon Sep 26 10:16:30 1988

I am using Ingres Equel/c to develop an application that interfaces
several tables as well as interfacing many shell scripts that control PC
printing and file transfers over async lan/modem etc.  When control is
turned over to the shell script with a system(unixcom); messages are not
visible to the user because the stty nl option has been turned on.

The obvious solution was to preface any system call with a "stty -nl"
and end with "stty nl".  This to me is not a clean way of escaping.

QUESTION:
	Is there a way in Ingres to return it to its original stty
	settings from equel.

	Endforms doesn't work because it terminates other logic loops.

	Redisplay doesn't reset anything.

In anticipation of your help ... THANK YOU.
Please send comments to marcusen@oodis01.arpa.

stty before invoking ingres

>	stty everything
>	new tty, speed 9600 baud
>	even odd -raw -nl echo -lcase -tandem tabs -cbreak 
>	crt: (crtbs crterase crtkill ctlecho) -tostop 
>	-tilde -flusho -mdmbuf -litout -nohang 
>	-pendin -decctlq -noflsh 
>	erase  kill   werase rprnt  flush  lnext  susp   intr   quit   stop   eof
>	^H     ^U     ^W     ^R     ^O     ^V     ^Z/^Y  ^C     ^\     ^S/^Q  ^D/^[  

stty during ingres session

>	stty everything
>	new tty, speed 9600 baud
>	even odd -raw nl echo -lcase -tandem tabs -cbreak 
>	crt: (crtbs crterase crtkill ctlecho) -tostop 
>	-tilde -flusho -mdmbuf -litout -nohang 
>	-pendin -decctlq -noflsh 
>	erase  kill   werase rprnt  flush  lnext  susp   intr   quit   stop   eof
>	^H     ^U     ^W     ^R     ^O     ^V     ^Z/^Y  ^C     ^\     ^S/^Q  ^D/^[