home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!caen!nic.umass.edu!umassd.edu!jdoyle
- From: jdoyle@phy.umassd.edu (Jim Doyle)
- Subject: Re: modem at 38400 Baud on DECstation5000/200?
- Message-ID: <C0CynI.J9H@umassd.edu>
- Keywords: serial line modem baudrate
- Sender: usenet@umassd.edu (USENET News System)
- Organization: University of Massachusetts Dartmouth
- References: <rosenth.726186590@batman>
- Date: Tue, 5 Jan 1993 01:54:53 GMT
- Lines: 27
-
- In <rosenth.726186590@batman> rosenth@vision.ethz.ch (Lukas Rosenthaler) writes:
-
- >Hi,
- >I try to get a high speed modem, attached to a DECstation5000/200 running
- >Ultrix 4.2A to work at speeds of 38400 baud. The problem is that neither
- >kermit (C-kermit) nor "tip" seem to work at this baud rate. I understand that
-
- Yes, the fix is rather easy...
-
- Read the man page for tty(4) for more info ;
- basically, find where in kermit the baudrate is set and use this
- blurb as a template:
-
- #include <sgtty.h>
- struct sgttyb *mode;
-
- ioctl(ttydev,TIOCGETN,mode) /* get current mode ; change speed */
-
- mode.sg_ispeed = 15; /* input speed : 15=EXTB (38.4K) */
- mode.sg_ospeed = 15; /* output speed */
-
- ioctl(ttydev,TIOCSETN,mode) /* set speed */
-
- Enjoy,
-
- ...... J.D.
-
-