*BSD News Article 42624


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!agate!news.mindlink.net!giant!a09878
From: a09878@giant.rsoft.bc.ca (Curt Sampson)
Newsgroups: comp.os.386bsd.questions
Subject: Re: setting up gettys
Date: 18 Feb 1995 19:42:38 GMT
Organization: MIND LINK! Communications Corp., Langley, BC, Canada
Lines: 21
Message-ID: <3i5ije$2v2@deep.rsoft.bc.ca>
References: <3hqs1q$see@news.CCIT.Arizona.EDU> <3hu3cb$cpt@awfulhak.demon.co.uk> <3i07lb$mqr@news.CCIT.Arizona.EDU>
NNTP-Posting-Host: giant.mindlink.net

In article <3i07lb$mqr@news.CCIT.Arizona.EDU>,
Michael J Hill <hillm@helium.gas.uug.arizona.edu> wrote:

>>: So the question is , how do you tell the getty to use clocal rather than 
>>: -clocal when talking to the port?
>>
>>stty -f /dev/ttyi01 clocal should do it.
>
>The problem with this is that when the person using the terminal logs 
>out, the getty (I assume) resets the port to the -clocal setting.  So I 
>assume there must  be some way to have the getty set clocal...

There is indeed. 'man ttys' will tell you to put the 'local' option on the
line for the appropriate tty in the /etc/ttys file.

cjs
--
Curt Sampson  a09878@giant.rsoft.bc.ca		Opinions are mine,
Fluor Daniel Wright, Ltd. 604 488 2226		not Fluor Daniel's.
1075 W. Georgia Street
Vancouver, B.C., V6E 4M7	 	De gustibus, aut bene aut nihil.