bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Under Linux tset should not make use of getttynam nor /etc/ttys


From: Dr. Werner Fink
Subject: Re: Under Linux tset should not make use of getttynam nor /etc/ttys
Date: Fri, 22 Oct 2021 10:52:22 +0200

On 2021/10/22 04:09:06 -0400, Thomas Dickey wrote:
> On Fri, Oct 22, 2021 at 09:24:06AM +0200, Dr. Werner Fink wrote:
> > Hi,
> > 
> > just to mention as even if the glibc has the function getttynam[1] but
> > the file /etc/ttys[2] was never used with Linux (not with SysV sysvinit
> > with its /etc/inittab[3] nor with systemd) the
> > 
> > #if HAVE_GETTTYNAM
> 
> thanks - that's been there a while, and the "#else" appears to
> be no improvement (I'll investigate to see how to accommodate Linux).

A longer time ago I had done some changes for agetty at
git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git
to get this work for agetty in Linux for various architectures.
Unfortunately it depends on the architectures as well as on the
type of the virtual systems.

Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]