13 More serial tips

Contents of this section

Here are some serial tips you might find helpful...

13.1 kermit and zmodem

To use zmodem with kermit, add the following to your .kermrc:

define rz !rz < /dev/cua3 > /dev/cua3
define sz !sz \%0 > /dev/cua3 < /dev/cua3

Be sure to put in the device your modem is on. Then, to use it, just type rz or sz <filename> at the kermit prompt.

13.2 Setting terminal types

To set your terminal type automagically when you log in, look at /etc/ttytype. Put in the device, and corresponding terminal type, and your TERM variable will be set when you log in.

Say I have a vt100 terminal on ttyS1, I would put:

vt100 ttyS1

in /etc/ttytype.

You can also get tset from sunsite.unc.edu:/pub/Linux/system/Terminal-management/. See the docs that come with tset to learn how to use it. tset can establish terminal characteristics when you log in.

13.3 Color ls on serial connections

If ls is screwing up your terminal emulation with the color feature, turn it off. ls -o, ls --color, and ls --colour all use the color feature. Some installations have ls set to use color by default.

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter