Article 141239 of comp.os.vms: Path: nntpd.lkg.dec.com!depot.mro.dec.com!news.jrd.dec.com!tbjnws.tbj.dec.com!tkonws.tko.dec.com!news.dec-j!spin-hsd0-tky!spinnews!wnoc-tyo-news!news.imnet.ad.jp!usenet.seri.re.kr!news.cais.net!news.jsums.edu!gatech!swrinde!elroy.jpl.nasa.gov!lll-winken.llnl.gov!fnnews.fnal.gov!nntp-server.caltech.edu!vance From: vance@alumnae.caltech.edu (Vance R. Haemmerle) Newsgroups: comp.os.vms Subject: Re: High serial communications speeds Date: 27 Feb 1996 04:03:53 GMT Organization: Caltech Alumni Association Lines: 55 Message-ID: <4gtvr9$sqj@gap.cco.caltech.edu> References: <4go3fa$phl@apakabar.cc.columbia.edu> NNTP-Posting-Host: alumnae.caltech.edu In article <4go3fa$phl@apakabar.cc.columbia.edu>, Frank da Cruz wrote: >Working on a new release of C-Kermit for VMS. My development system is >still VMS 5.5-2, which (according to HELP SET TERM /SPEED) only supports >serial speeds up to 19200. Would like to support higher speeds. Question: > >What speeds are supported in new VMS releases in excess of 19200? > >And more to the point, what are the C header-file symbols for them: > > Presumed Symbol Value (if any) > TT$C_BAUD_20000 ??? > TT$C_BAUD_28800 ??? > TT$C_BAUD_38400 0x11 > TT$C_BAUD_57600 ??? > TT$C_BAUD_76800 ??? > TT$C_BAUD_115200 ??? > TT$C_BAUD_230400 ??? > ... > >I need to know the values because if these symbols are not defined in the >header files on the development system, I have to fill them in; e.g.: > >#ifndef TT$C_BAUD_38400 >#define TT$C_BAUD_38400 0x11 >#endif /* TT$C_BAUD_38400 */ > >(That's the only example I have at present.) > >Presumably at runtime if we try to set a speed that is unknown to VMS or >is invalid for the particular device, VMS will return an error indication, >gracefully. I changed C-Kermit locally here to support higher speeds only to learn that a bug in the driver limits the TTA0: port to 19,200 on VMS V6.1-1H2. This is from my modified CKVTIO.C #ifndef TT$C_BAUD_57600 #define TT$C_BAUD_57600 0x12 #endif /* TT$C_BAUD_57600 */ #ifndef TT$C_BAUD_76800 #define TT$C_BAUD_76800 0x13 #endif /* TT$C_BAUD_76800 */ #ifndef TT$C_BAUD_115200 #define TT$C_BAUD_115200 0x14 #endif /* TT$C_BAUD_115200 */ The values can be obtained from the $TTDEF module in SYS$LIBRARY:STARLET.REQ. -- Vance Haemmerle vance@alumni.caltech.edu