This file documents the fbgetty program. This edition documents version 0.1.5.
fbgetty is a new getty that fully support the linux console. It is more configurable, powerful, perhaps more funny. Its most important feature is the ability to display logo.
Mail suggestions and bug reports for fbgetty to [email protected].
fbgetty
is generaly called by init
.
Usage:
fbgetty
[options] [tty] [framebuffer]
see example for comprehensive examples
Options:
-t tty
--tty=tty
-f framebuffer
--fb=framebuffer
--framebuffer=framebuffer
-i issue
--issue=issue
-l login-program
--login-program=login-program
-p prompt
--login-prompt=prompt
-o timeout
--login-timeout=timeout
--version
--help
In the future, there will be some configuration file for fbgetty.
You can put this in /etc/inittab
1:2345:respawn:/sbin/fbgetty /dev/tty1 # basic example 2:2345:respawn:/sbin/fbgetty -t /dev/vc/2 -f /dev/fb0 # use of short options 3:23:respawn:/sbin/fbgetty --tty=/dev/tty3 --login-prompt="%l@%h login -> " # use a customized prompt 4:23:respawn:/sbin/fbgetty --issue=/etc/issue.tty4 /dev/tty4 /dev/fb1 # use a special issue
Example of /etc/issue
Issue: \e[00m\e[01;34m --[ Welcome to %s (kernel `uname -r`) ]-- \e[00m Date .......................: @date Time .......................: %t Hostname ...................: %n Host Architecture ..........: %m Console ....................: %l Number of user connected ...: %u Terminal type ..............: $TERM
This is the global Index