HOST.LIT 2.0(103) now supports a help display (HOST /?) and two new options.
.HOST {{switches} cmd {modifier}}
Switches
Switch |
Function |
---|---|
/S |
Display exit status of command. |
/O |
Captures the stdout of the command and displays it from within A-Shell. Maximum size of the output text is 256K; if exceeded, a warning message will be displayed at the end of the output. |
/? |
Writes switch listing and usage info to the screen. |
The optional modifiers are same as can be used with HOSTEX.SBR
Also, in the case of ATE, the keyboard is reset to normal.
Note: To resolve potential confusion between switches (which start with slashes) and UNIX commands (which may also contain slashes), HOST 2.0(104) treats anything which does not match one of the defined switches is as a cmd. (Previously it treated it as an invalid switch and displayed the help message.) But to be more explicit, you may enclose the cmd parameter in quotes. For example:
.HOST /s "/s/abcd"
The first /s will be treated as a switch, whereas the entire "/s/abcd" would be treated as a cmd.
Also note: HOST 2.0(105) increases the maximum size of the command output text that can be captured by the /O switch from 64K to 256K. If exceeded, a warning message is displayed at the end of the output.