|
| 以 PDF 格式下载本书 (323 KB)
Appendix A Testing with a Terminal EmulatorYou can use the serial port(s) on the system that you are testing to connect to a second system which will act as a file server. This file server may or may not be the same type of system provided that:
By connecting two systems in this way, you can use the terminal emulator on the file server as a terminal into the system that you are testing. (For UNIX systems, see the on-line tip manpage for detailed information about terminal connection to a remote host. For Windows systems, see the documentation for the Terminal accessory. For Macintosh\256 systems, see the documentation for MacTerminal\256.) This terminal emulation method is recommended (over simply connecting to a dumb terminal), since it lets you use your normal editor and operating system features when working with the boot ROM. Note - In the following pages, system refers to the system that you are testing, and server refers to the file server system that you are connecting to the system being tested. The procedures given in this chapter assume the use of the UNIX tip terminal emulator. Other terminal emulators will use similar procedures.
Common Problems with tipThis section describes solutions for tip problems occurring in pre-Solaris 2.0 operating environments. Problems with tip may occur if:
There should be a directory named /usr/spool/uucp. The owner should be uucp and the mode should be drwxr-sr-x.
The status field for TTYB (or the serial port you are using) must be set to off in /etc/ttytab. Be sure to execute kill -HUP 1 (see init(8)) as root if you have to change this entry.
Sometimes, a program will have changed the protection of /dev/ttyb (or the serial port you are using) so that it is no longer accessible. Make sure that /dev/ttyb has the mode set to crw-rw-rw-.
If the tip connection is in tandem mode, the operating system sometimes sends XON (^S) characters (particularly when programs in other windows are generating lots of output). The XON characters are detected by the Forth word key?, and can cause confusion. The solution is to turn off tandem mode with the ~s !tandem tip command.
tip opens a sub-shell to run cat, thus causing text to be attached to the beginning of your loaded file. If you use dl and see any unexpected output, check your .cshrc file. |