Frequently Asked Questions for FreeBSD 2.X : Serial Communications : I want separate entries for various hosts I access through a terminal server, but I don't want to type ``CONNECT <host>'' each time once I'm connected. Can tip do that for me?
Previous: Great---but how can I do that without having to specify the bps rate on the command line?
Next: My university has 42 billion students but only 4 modem lines. Can tip automatically try each line?

11.15. I want separate entries for various hosts I access through a terminal server, but I don't want to type ``CONNECT <host>'' each time once I'm connected. Can tip do that for me?

Yes. Use the cm capability. For example, these entries in /etc/remote:

            pain|pain.deep13.com|Forrester's machine:\
            :cm=CONNECT pain\n:tc=deep13:
            muffin|muffin.deep13.com|Frank's machine:\
            :cm=CONNECT muffin\n:tc=deep13:
            deep13:Gizmonics Institute terminal server:\
            :dv=/dev/cua02:br#38400:at=hayes:du:pa=none:pn=5551234:
          

will let you type ``tip pain'' or ``tip muffin'' to connect to the hosts pain or muffin; and ``tip deep13'' to get to the terminal server.


Frequently Asked Questions for FreeBSD 2.X : Serial Communications : I want separate entries for various hosts I access through a terminal server, but I don't want to type ``CONNECT <host>'' each time once I'm connected. Can tip do that for me?
Previous: Great---but how can I do that without having to specify the bps rate on the command line?
Next: My university has 42 billion students but only 4 modem lines. Can tip automatically try each line?