*BSD News Article 42168


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!caen!usenet.cis.ufl.edu!usenet.eel.ufl.edu!news.mathworks.com!udel!gatech!swrinde!pipex!peernews.demon.co.uk!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: Let me try this...(re: Slattach)
Date: 6 Feb 1995 20:24:17 -0000
Organization: None
Lines: 33
Distribution: world
Message-ID: <3h60hh$17c@awfulhak.demon.co.uk>
References: <3h1q14$2mq@giga.bga.com>
NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Clint Todish (ctodish@levelone.com) wrote:
: This is how my slattach line used to read in my 1.1 rc  (I believe):

: slattach -a -s 38400 -h -r '/usr/bin/kermit /root/.script' /dev/tty01

: am I missing something?

: right now I have to do this:

: kermit /root/.script
: slattach -a -s 38400 -h /dev/tty01

: obviously, problematic.

The problem comes when kermit tries to do a 'set line' (which I assume it
does in /root/.script).  It can't 'cos slattach has it open.  Three
alternatives:

1.  set up a script to do the above two lines (allowing nice things like
    re-dials etc.).

2.  Use 'chat'.  This prog logins on via stdin/stdout which slattach very
    conveniently sets up as the com port before executing.

3.  Screw around with clocal on your tty - not the correct way.

One other point... don't you find kermit hangs ('till you press ^c) on
tty0? ?

--
Brian <brian@awfulhak.demon.co.uk>

Don't _EVER_ lose your sense of humour....