home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!torn!utgpu!attcan!ncrcan!becker!bdb
- From: bdb@becker.GTS.ORG (Bruce Becker)
- Newsgroups: comp.mail.uucp
- Subject: Re: modem results codes messing up login
- Message-ID: <1992Aug31.143951.26400@becker.GTS.ORG>
- Date: 31 Aug 92 14:39:51 GMT
- References: <96@jassys.UUCP> <Krzysztof.06so@netxsys.guild.org> <3758@ecicrl.ocunix.on.ca>
- Organization: G. T. S., Toronto, Ontario
- Lines: 43
-
- In article <3758@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
- |In article <Krzysztof.06so@netxsys.guild.org> Krzysztof@netxsys.guild.org (Krzysztof Adamski) writes:
- |>From article <96@jassys.UUCP>, by tony@jassys.UUCP (Tony Holden):
- |>> The tty ports are configured as dial in/out ports with a modem
- |>> attached. The dialer program looks for result codes so the modem is
- |>> configured to echo the results. But when the modem answers a call the
- |>> results codes (CONNECT xxx ... ...) are echoed to the login program.
- |
- |>Make the modem return numeric return codes, this way Unix will not see upper
- |>case.
- |
- |Upper case isn't the issue. Having getty/login see *anything* come in the
- |port during receiving a call is the problem. It can get particularly nasty
- |if echo is on, and the modem and getty will get into echo fights.
- |
- |Many modems support Q3 (don't issue result codes on incoming call). This
- |is a better solution.
-
-
- Most hayes-type modems I know of use Q2
- for this function; many Telebits use Q8
- or Q9.
-
-
- For almost any hayes-type (and Telebits
- too) you can save Q1 as the default, then
- in the dialer script, do
-
-
- ATQ0 "" etc.
-
-
- BTW it's also better to save E0 and never
- rely on the modem echoing what's sent in
- the dialer script. That way the modem &
- login won't ever get into a screaming match.
-
-
- --
- ,u, Bruce Becker Toronto, Ontario
- a /i/ Internet: bdb@becker.gts.org Uucp: ...!web!becker!bdb
- `\o\-e "We want the worm, and we want a cow!"
- _< /_ - More Jimison, ordering drinks for his table
-