Difference between revisions of "DB RUNOPTS"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
Line 1: Line 1:
=DB_RUNOPTS=
 
 
 
==Class==
 
Environment Variables / Symbols
 
 
 
 
==Purpose==
 
==Purpose==
 
Used to issue an stty command after leaving Recital to execute a RUN command.
 
Used to issue an stty command after leaving Recital to execute a RUN command.
Line 15: Line 8:
  
 
==Description==
 
==Description==
The DB_RUNOPTS environment variable is used to issue an stty command after leaving Recital Terminal Developer to execute a RUN command.  It works in conjunction with DB_RUNOPTS2, which can issue an stty command to reset the environment before returning to Recital Terminal Developer.  For example, they can be used to set echo on and back off again for a RUN command:
+
The DB_RUNOPTS environment variable is used to issue an stty command after leaving Recital to execute a RUN command.  It works in conjunction with DB_RUNOPTS2, which can issue an stty command to reset the environment before returning to Recital.  For example, they can be used to set echo on and back off again for a RUN command:
  
 
<code lang="recital">
 
<code lang="recital">
Line 29: Line 22:
  
 
==Products==
 
==Products==
Recital Terminal Developer
+
Recital
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Configuration]]
 
[[Category:Configuration]]
 
[[Category:Environment Variables|RUNOPTS]]
 
[[Category:Environment Variables|RUNOPTS]]

Latest revision as of 10:18, 4 March 2010

Purpose

Used to issue an stty command after leaving Recital to execute a RUN command.


See Also

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


Description

The DB_RUNOPTS environment variable is used to issue an stty command after leaving Recital to execute a RUN command. It works in conjunction with DB_RUNOPTS2, which can issue an stty command to reset the environment before returning to Recital. 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