Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 1996 11:52:19 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        Brett_Glass@ccgate.infoworld.com (Brett Glass)
Cc:        msmith@atrad.adelaide.edu.au, jbarrm@panix.com, questions@FreeBSD.org
Subject:   Re: Console messages
Message-ID:  <199604170222.LAA05145@genesis.atrad.adelaide.edu.au>
In-Reply-To: <9603168296.AA829677573@ccgate.infoworld.com> from "Brett Glass" at Apr 16, 96 12:51:42 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Brett Glass stands accused of saying:
> 
> > Don't do that - you can't switch to a vty that isn't open 8)  (for
> > obvious reasons...)
> 
> Do you mean to say that one can't disable logins on a vty and use it as a
> status display (as one can do with any other tty)? Why not?

You can use it as a status display as long as you keep it open.  When 
you close it, the storage used by its state is freed, and so you
can't switch to it anymore.

This is the technique used by sysinstall to show debugging information on
the second console.

If you leave a getty running on it, you can still write to it and use it
as a status display, and because the getty keeps it open, you can read
the status even after it's closed.

Note that there's nothing wrong with leaving the getty on - it won't 
redisplay its prompt unless you type at it...

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604170222.LAA05145>