Difference between revisions of "DB RUNOPTS2"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 18: Line 18:
  
 
<code lang="recital">
 
<code lang="recital">
# default settings:
 
 
DB_RUNOPTS="stty echo icrnl" ;export DB_RUNOPTS
 
DB_RUNOPTS="stty echo icrnl" ;export DB_RUNOPTS
 
DB_RUNOPTS2="stty -echo -icrnl"         ;export DB_RUNOPTS2
 
DB_RUNOPTS2="stty -echo -icrnl"         ;export DB_RUNOPTS2
Line 26: Line 25:
 
<code lang="recital">
 
<code lang="recital">
 
DB_RUNOPTS="stty -brkint -ignpar -istrip echo icrnl"    ;export DB_RUNOPTS
 
DB_RUNOPTS="stty -brkint -ignpar -istrip echo icrnl"    ;export DB_RUNOPTS
 
 
DB_RUNOPTS2="stty brkint ignpar istrip -echo -icrnl"    ;export DB_RUNOPTS2
 
DB_RUNOPTS2="stty brkint ignpar istrip -echo -icrnl"    ;export DB_RUNOPTS2
 
</code>
 
</code>
 +
  
 
==Products==
 
==Products==

Revision as of 16:01, 12 March 2009

DB_RUNOPTS2

Class

Environment Variables / Symbols


Purpose

Used to issue an stty command before returning to Recital after executing a RUN command.


See Also

!, !!, RUN, RUN(), SET RUNCLEAR, SET RUNWAIT, DB_RUNLOG, DB_RUNOPTS


Description

The DB_RUNOPTS2 environment variable is used to issue an stty command before returning to Recital Terminal Developer after executing a RUN command. It works in conjunction with DB_RUNOPTS, which can issue an stty command to set the environment after leaving Recital Terminal Developer. For example, they can be used to set echo on and back off again for a RUN command:

DB_RUNOPTS="stty echo icrnl"		;export DB_RUNOPTS
DB_RUNOPTS2="stty -echo -icrnl"	        ;export DB_RUNOPTS2

Another example to configure the shell more fully:

DB_RUNOPTS="stty -brkint -ignpar -istrip echo icrnl"    ;export DB_RUNOPTS
DB_RUNOPTS2="stty brkint ignpar istrip -echo -icrnl"    ;export DB_RUNOPTS2


Products

Recital Terminal Developer