🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.software
Article #1625

Re: A tip on tip

#1625
From: Brian Willoughby
Date: Sun, 20 Dec 1992 07:21
52 lines
3083 bytes
Bob Peirce #305 writes
| I run a Telebit TrailBlazer and I could never figure out how to automate
| the setup and dialing for different machines.  The other day, reviewing
| the manual for /etc/remote, I found reference to cm which is a command
| to issue a string of instructions to the machine you are logging into. 
| Playing around with this command I discovered I could use it to
| initialize the modem and to dial out.  For example, to call my office
| computer I have the string :cm=at&edn\r:.  For another machine I use
| :cm=ats50=0s66=1dt#######\r:, where ####### is the phone number.  I was
| surprised to find these things work perfectly.
| 
| If you have been having trouble getting tip to set up your modem and
| dial out, give cm a try.  It might solve your problem too.

This is a very good tip, and it mentions a feature of /etc/remote that I could  
never get to work (I'll be trying again soon with your example as a starting  
point), but I wanted to mention what might be an easier way to dial a system.

If an /etc/remote entry has the string :du:, tip will treat that entry as a  
dialup system and will use the :pn=XXXXXXX: string as the number to dial.  I  
just type 'tip systemname' and it will dial the correct phone number.   
Currently, I cheat by setting the EEPROM in the modem with the correct  
parameters for tip (see above, couldn't get :cm= to work) and then force UUCP  
and SLIP to make modem configuration changes from the basic modem setup.

Here is an excerpt from my /etc/remote, set up to build a system entry in  
easily replaceable units:

# Telebit WorldBlazer definition
telebit|wb:\
        :dv=/dev/cufb:br#38400:el=^C^S^Q^U^D:at=hayes:
# CD 2400 definition
cd2400|2400 Baud Hayes attributes:\
        :dv=/dev/cufb:br#2400:el=^C^S^Q^U^D:at=hayes:
# Select Main Unit for other definitions
mainunit:tc=wb:
# mainunit:tc=cd2400:
# System phone numbers
CDCD:pn=14087309015:pa=none:du:tc=mainunit:
Hayes:pn=18008742937:pa=none:du:tc=mainunit:
Seagate:pn=14084388140:pa=none:du:tc=mainunit:

I suppose I could also include :cm= settings to further customize each system,  
provided that I can figure out how to make it work.  Perhaps there is some  
interaction between :du:pn= and :cm= that is giving me trouble, while your  
(Bob's) method of combining the setup and dial command in one is the key.

Oh well, that's enough about that from me...
-- 
Brian Willoughby	Software Design Engineer, BSEE NCSU
BrianW@SoundS.WA.com	Sound Consulting and Signal Processing Software
NeXTmail welcome	- NO EMAIL SOLICITATION without prior permission
Technical Details
Message-ID: <BzJr44.37I@sounds.wa.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!nwnexus!sounds!brianw
References: <1992Dec18.125534.15316@investor.pgh.pa.us>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.software
Path: arc1-ca.pugleaf.net!sparky!uunet!nwnexus!sounds!brianw
From: BrianW@SoundS.WA.com (Brian Willoughby)
Subject: Re: A tip on tip
Message-ID: <BzJr44.37I@sounds.wa.com>
Sender: brianw@sounds.wa.com (Brian Willoughby)
Reply-To: BrianW@SoundS.WA.com
Organization: SoundSoftware, Bellevue, WA, USA
References: <1992Dec18.125534.15316@investor.pgh.pa.us>
Distribution: usa
Date: Sun, 20 Dec 1992 07:21:39 GMT
Lines: 52