Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Show current tty #107

Open
ghost opened this issue Mar 7, 2014 · 4 comments
Open

Feature: Show current tty #107

ghost opened this issue Mar 7, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 7, 2014

Show current tty number before asking for login information

@dvdhrm
Copy link
Owner

dvdhrm commented Mar 8, 2014

Why?

@ghost
Copy link
Author

ghost commented Mar 8, 2014

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

@dvdhrm
Copy link
Owner

dvdhrm commented Mar 11, 2014

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)

@microcai
Copy link

print before execing login ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants