*BSD News Article 24769


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!news.clark.edu!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!cosy.sbg.ac.at!speedy
From: speedy@bsd.cosy.sbg.ac.at (Burgstaller Peter)
Subject: serial textterminal setup problems
Message-ID: <CHnpIB.xv@cosy.sbg.ac.at>
Sender: news@cosy.sbg.ac.at
Nntp-Posting-Host: kroete
Organization: University of Salzburg / Austria
X-Newsreader: TIN [version 1.2 PL1]
Date: Tue, 7 Dec 1993 08:42:10 GMT
Lines: 42


Hi folks!

I try to set up a siemens terminal on my sio1.
This thing needs a LOT of configuration in order to work properly so
I hacked around /etc/gettytab a bit.
What I learned from the manpage the format of the f0, f1 and f2 entries
should be octal? 
I looked up the values of my stuff in /usr/include/termios.h BUT there are 
overlapping values which can't work if I summarize them. Also there are 
values like 800 8000 8 *in octal system ? they look like hex to me*.

The setup for this terminal on the sun looks like:
 
siem.term|38400-baud:\
        :cb:ce:ck:cl=\E[H\E[2J:im=\E[0u\E[20u\08 \08\E(B\E[6u:\
        :lm=\r\n%h login\72 :nl:op:sp#38400:\
        :m0=parenb,parodd,cs7,-hupcl,-cstopb,cread,clocal,brkint,inpck,inlcr,icr
nl,ixon,ixany,ixoff,imaxbel,-iexten,isig,opost,onlcr:\
        :m1=parenb,parodd,cs7,-hupcl,-cstopb,cread,clocal,brkint,inpck,inlcr,icr
nl,ixon,ixany,ixoff,imaxbel,-iexten,isig,opost,onlcr:\
        :m2=parenb,parodd,cs7,-hupcl,-cstopb,cread,clocal,brkint,inpck,inlcr,icr
nl,ixon,ixany,ixoff,imaxbel,-iexten,isig,opost,onlcr:

Does anybody know how I get those m0, m1 and m2 converted to f0, f1 and f2 ?

- Peter

/-------------------------------------------------------------------\
| Peter Burgstaller| Student of Computerscience in Salzburg, Austria|
| (peter@cosy.sbg.ac.at) | (speedy@bsd.cosy.sbg.ac.at)              |
| "If a Trainstation is a place where a train stops,                |
|               what is a Workstation ?"                            |
\-------------------------------------------------------------------/

--
/-------------------------------------------------------------------\
| Peter Burgstaller| Student of Computerscience			    |
| (peter@cosy.sbg.ac.at)| in Salzburg, Austria (Europe)		    |
| "If a Trainstation is a place where a train stops,                |
|               what is a Workstation ?"                 	    |
\-------------------------------------------------------------------/