*BSD News Article 48682


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Terminals on ttyd1
Date: 15 Aug 1995 11:04:49 +0200
Organization: Private U**x site, Dresden.
Lines: 29
Message-ID: <40pnvh$p37@bonnie.tcd-dresden.de>
References: <40ohn0$6mi@allnews.infi.net>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Ryan Groth <snakec@news.infi.net> wrote:
>I can not get getty to do it's work on ttyd1 (or any other serial terminal)
>it reports no error and tdoes not show up in the process list. Is there
>anything I need to do other then changing he 'no' to a yes' in the /etc/ttys
>file. 

Yes.  Run the command ``man 8 init''. :-)

INIT(8)                 FreeBSD System Manager's Manual                INIT(8)

NAME
     init - process control initialization

SYNOPSIS
     init
...
     Line status (on, off, secure, getty, or window information) may be
     changed in the ttys file without a reboot by sending the signal SIGHUP to
     init with the command ``kill -HUP 1''. On receipt of this signal, init
                             ^^^^^^^^^^^
     re-reads the ttys file. [...]

There are other important hints in that man page, so better read the
appropriate portion.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)