Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Can Ultrix 3.1 getty autobaud to 19200?
@ 1991-02-09  4:14 Dan O'Neill
  1991-02-10  8:54 ` Olof Backing
  1991-02-11  0:04 ` George Robbins
  0 siblings, 2 replies; 3+ messages in thread
From: Dan O'Neill @ 1991-02-09  4:14 UTC (permalink / raw)



Problem:    I would like to have getty autobaud to 19200, the getty
	    in ULTRIX 3.0 (VAX) doesn't seem to support this speed.
	    Am I correct, and if so, is there a way to patch getty
	    to support a speed of 19200?

Hardare:    MVAX II, DHV11 serial multiplexer
OS:	    ULTRIX 3.0
Program:    /usr/etc/getty
Modem:      FastComm 9696 (capable of 19200 baud)


In /etc/ttys, the following line is defined:

ttyd0   "/etc/getty sec19200" dialup on  modem shared	# fastcomm  in/out


In /etc/gettytab, the following entries are defined:

sec19200:\
	:im=\r\n\r\n\[text deleted]:\
	:lo=/bin/login:nx=sec9600:tc=std.19200:

sec9600:\
	:im=\r\n\r\n\[text deleted]:\
	:lo=/bin/login:nx=sec2400:tc=std.9600:

sec2400:\
	:im=\r\n\r\n\[text deleted]:\
	:lo=/bin/login:nx=sec1200:tc=std.2400:

sec1200:\
	:im=\r\n\r\n\[text deleted]:\
	:lo=/bin/login:nx=sec19200:tc=std.1200:


Everything works great for speeds of 9600, 2400, 1200.  The problem
seems to be that getty doesn't know how to autobaud to 19200, and then
falls to 9600.  

While 9600 baud is great, it seems that 19200 should be supportable.
FastComm modems are being used at each end, so communications at 19200
are possible.  If I hardwire the answering modem to talk to the local
DTE at 19200, things work well.  However, since I need to support
connections at lower speeds and the buffering capabilities of slower
modems is not perfect, I have set the modems up so that they force the
DTE speed to be equal to that of the incoming call.

My hope is that there is a patch available for getty that will allow
me to replace an unused speed entry (300 baud) with an entry for
19200. 

Thanks everyone.

-- 
Dan O'Neill     Cadence Design Systems, San Diego, CA
UUCP: {uunet|ncr-sd}!asihub!dano     ...cadence!dano
Domain: dano@autosys.com     dano@cadence.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can Ultrix 3.1 getty autobaud to 19200?
  1991-02-09  4:14 Can Ultrix 3.1 getty autobaud to 19200? Dan O'Neill
@ 1991-02-10  8:54 ` Olof Backing
  1991-02-11  0:04 ` George Robbins
  1 sibling, 0 replies; 3+ messages in thread
From: Olof Backing @ 1991-02-10  8:54 UTC (permalink / raw)


From what I've heard, the DEC2100/DEC3100 is not able to use higher
speeds that 9600 due to the fact that these machine have "borrowed"
some parts of the hardware directly from VAX's. The VAX's had the
same problem that they couldn't use higher speeds than 9600.
If you have newer models than 2100/3100, you'll be able to use 19200.
That's what I've been told about the RISC-side with Ultrix. How this
applies on the VAX's, I don't know.

-- 
Olof Backing                              Royal Inst. of Techn., Sweden
Professorsslingan 25/102                  Internet: obg@is-jfa.kth.se
S-104 05 Stockholm, Sweden                Voice: + 046 8 166318


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can Ultrix 3.1 getty autobaud to 19200?
  1991-02-09  4:14 Can Ultrix 3.1 getty autobaud to 19200? Dan O'Neill
  1991-02-10  8:54 ` Olof Backing
@ 1991-02-11  0:04 ` George Robbins
  1 sibling, 0 replies; 3+ messages in thread
From: George Robbins @ 1991-02-11  0:04 UTC (permalink / raw)


In article <303@asihub.autosys.com> dano@asihub.autosys.com (Dan O'Neill) writes:
> 
> Problem:    I would like to have getty autobaud to 19200, the getty
> 	    in ULTRIX 3.0 (VAX) doesn't seem to support this speed.
> 	    Am I correct, and if so, is there a way to patch getty
> 	    to support a speed of 19200?

I played with it a long time ago, and concluded that it didn't
want to work.  The general technique is to set the speed to some
value and see what kind of garbage is detected when a return is
received.  I think the way it's set up, anything 9600 or above
yields the same result.  You'd have to change the initial trial
speed or do a second pass to distinguish faster rates from the
olde 300/1200/2400 junk.

Sequencing via breaks seems to work just fine though, although
there's no guarantee that all DEC interefaces suppport 19200,
although most do, unofficially.

Note that if you were getting autobaud action by the fact that
sending random characters at the wrong speed causing framing errors
which unix seems to treat pretty much like breaks, I guess the
stuff at 19200 just doesn't seem like breaks.

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr@cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1991-02-11  0:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-02-09  4:14 Can Ultrix 3.1 getty autobaud to 19200? Dan O'Neill
1991-02-10  8:54 ` Olof Backing
1991-02-11  0:04 ` George Robbins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox