home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.dcom.modems
- Path: sparky!uunet!decwrl!csus.edu!netcomsv!mork!gerg
- From: gerg@netcom.com (Greg Andrews)
- Subject: Re: Boom! You're Dead.
- Message-ID: <mcnmamk.gerg@netcom.com>
- Date: Wed, 29 Jul 92 05:00:50 GMT
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <5779.2a65bd35@hayes.com> <1992Jul17.035105.6535@ddsw1.mcs.com> <1992Jul18.142836.4351@qiclab.scn.rain.com>
- Lines: 54
-
-
- 70465.203@compuserve.com writes:
- >
- >karl@ddsw1.mcs.com (Karl Denninger) writes:
- >
- >>Of course, you could set the escape character to something unprintable
- >>(> 127) and use out-of-band control (like a BREAK) to get back to command
- >>mode.
- >
- >>If you do that, you certainly CAN send your modem's own manual over the wire
- >>without problems. That's a damn good idea anyway for unattended
- >>applications; having remote users intentionally take your modems to command
- >>mode isn't considered social.
- >
- >Tell you what. Set the escape sequence on one of these modems to (say)
- >128. Then wait until you get a binary file containing 3 128s in a row.
- >Boom! Instant command mode.
- >
-
- Not with most modems. Most modems mask off the high bit before they
- check the byte against the value in S2. If the data byte were a 128,
- it would be masked off to a 0. Then you would have S2=128, the data
- byte=0, and the compare would fail. The modem didn't see you send
- any 128s, so it wouldn't go into command mode.
-
- In Telebit modems the masking is controlled by S48. With S48=0, the
- modem masks the byte before comparing it to S2. With S48=1, the modem
- doesn't mask the byte. The default value of S48 is 0, for this very
- reason.
-
- The need to set S48=1 is EXTREMELY rare, limited to a very few systems
- that run with their parity fixed to Even or Odd. Even then, it can still
- work. A system fixed to 7E1 can't generate a 128. Try to send a 0 and
- the parity bit will stay off, sending a 0 and not a 128. A system fixed
- to 7O1 can't generate a 129. Try to send a 1 (Ctrl-A), and the parity
- bit will stay off, sending a 1 and not a 129.
-
- All in all, a little brainpower will solve the problem...
-
- >
- >Hayes *does* have it patented. So if you want to have in-band signalling
- >you are stuck with paying the royalties. Or do without the time delay
- >and watch the occasional file transfer crash.
- >
-
- No, you can disable the escape sequence handling. It works fine, and
- has done so for many years...
-
-
- --
- .------------------------------------------------------------------.
- | Greg Andrews | UUCP: {amdahl,claris}!netcom!gerg |
- | | Internet: gerg@netcom.COM |
- `------------------------------------------------------------------'
-