tty
The tty
command resets the default program input and output for future
run commands.
Syntax
tty filename
- filename is the file which is to be the default for program input and output.
Usage
The tty
command instructs the debugger to redirect program input and output to
the specified file for future run commands.
The redirection is for your program only; your terminal is still used for debugger input and output.
Example
(fgldb) tty /dev/ttyS0
(fgldb)