Subject: Re: requirements for getty replacement
To: Marcin Jessa <lists@yazzy.org>
From: Quentin Garnier <cube@cubidou.net>
List: current-users
Date: 07/05/2005 12:26:59
--qXPE+6hUsFlDAc0e
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 05, 2005 at 12:02:45PM +0200, Marcin Jessa wrote:
> On Tue, 5 Jul 2005 11:49:52 +0200 (CEST)
> Johnny Billquist <bqt@Update.UU.SE> wrote:
>=20
> > On Tue, 5 Jul 2005, Marcin Jessa wrote:
> >=20
> > > Hi guys.
> > >
> > > What are the requirements for an application to replace /usr/libexec/=
getty in /etc/ttys ?
> > > I would like to run a custom application there, something like /bin/s=
h /sysinst Pc ttyE1 vt220
> > > The problem is , running it gives me some kind of loop:
> >=20
> > Yes. When the program started by init (the program given in /etc/tty)
> > finishes, init starts it again. That's the nature of things. In your ca=
se,
> > sysinst seems to abort because of an error when playing with wsconscfg,
> > and thus it is restarted.
>=20
> So running a daemon would solve that?
> What I need is to be able to fire up console on ttyE1 while in single use=
r mode without having a login: screen (that's what getty runs) and run a cu=
stom application.

You can auto-login a user and have its profile launch something.
(al parameter in gettytab(5))

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--qXPE+6hUsFlDAc0e
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQspgc9goQloHrPnoAQJJ6gf+KVWYdqJi5A2gBJulEVZWxU+dbVP18II7
Rm/oqR0rf703XNKp5iJjT0Z7xI8g57kNyfY8od1Tsk6d+sQybA7C+gYf6KuO8QDW
kIAAkUsrsdULtoebFPFWJdXzNeJoGA7fqRcMYRECOzV8aqij9fwftUYrf9nIgAaS
VcYP2PwZUMPp2QNc9VnOwDCJU4SlQk3n65dFhxzKOMfcJTQt4o6SFiAQ3giLQ+de
YEjXnunNPGxr2XrsVy2NsZIKbnCAkKyKzz/GUKJJewCEP3Yhrnbs/SEfUVHWSdy/
fbC/opgq5FXH5ADbe+GuJ+tgSizQIUks9sWI3Id3piC8L/sbjScm7w==
=pxM5
-----END PGP SIGNATURE-----

--qXPE+6hUsFlDAc0e--