kmscon icon indicating copy to clipboard operation
kmscon copied to clipboard

Feature: Show current tty

Open ghost opened this issue 11 years ago • 4 comments

Show current tty number before asking for login information

ghost avatar Mar 07 '14 16:03 ghost

Why?

dvdhrm avatar Mar 08 '14 13:03 dvdhrm

Well, it would make it easier to identify which tty is which if you have not logged in yet or have recently logged off.

ghost avatar Mar 08 '14 16:03 ghost

Thing is, the screen is controlled by the PTY, so anything written by kmscon will be overwritten by pty content, if not explicitly protected. The right place to do sth like that would be /etc/motd and make /bin/login support a special variable to replace by the VT (or simply print $XDG_VTNR)

dvdhrm avatar Mar 11 '14 12:03 dvdhrm

print before execing login ?

microcai avatar Jul 13 '14 23:07 microcai