TIP_Login_issue
| Terminals / Shells • Network • X Window System • Portage • System • Filesystems • Kernel • Other |
This issue file will give you nice Gentoo logo, hostname, OS, Kernel name, Processor type, Memory (you have to adjust it to what you have on your linux box), and terminal number
Here is an example of the /etc/issue or /etc/issue.net
- The symbol ^[ you can get by using vim and type in CTRL+V ESC
- The symbol ^[ you can get by using nano and type in ALT+V ESC (or another 'meta' key)
- Colors for the escape sequences ^[ can be found at http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html
| File: /etc/issue |
^[[2J ^[[H ^[[0;35m __q@@@@m_ ^[[0;35m _q@@@@@@@@@@_ ^[[0;35m _@@@@@@@@@@@@@@m ^[[0;35m q@@@@@@@@@@@@@@@@@_ ^[[0;35m _@@@@@@@@@@##@@@@@@@h ^[[0m Hostname: ^[[1;32m \n ^[[0;35m @@@@@@@@@@@ ##@@@@@@@@_ ^[[0m OS: ^[[1;35m Gentoo^[[1;34m \s ^[[0;35m 7##@@@@@@@___@@@@@@@@@@, ^[[0m Kernel: ^[[1;37m \r ^[[0;35m ####@@@@@@@@@@@@@@@@@@ ^[[0m Processor:^[[1;37m \m ^[[0;35m ####@@@@@@@@@@@@@@@@ ^[[0m Memory: ^[[1;37m 516220 kB ^[[0;35m q@@@@@@@@@@@@@@@@#W ^[[0m Terminal: ^[[1;37m \l ^[[0;35m q@@@@@@@@@@@@@@@@@@/ ^[[0;35m _@@@@@@@@@@@@@@@@#@@ ^[[0;35m q@@@@@@@@@@@@@@@#@##^ ^[[0;35m m#@@@@@@@@@@@@@@#@#W ^[[0;35m _q@@@@@@@@@@@@@#@#*> ^[[0;35m p@@@@@@@@@@@#@##% ^[[0;35m _##@@@@@##@#@#g ^[[0;35m _#@@@@@@#@@ ^[[0;35m _p@@@@q ^[[0m |
Depend of you font settings you will get prompt similar to this (screenshot made in xterm after cat /etc/issue) 
with substitution of \n \s \r \m \l ;
- for more information man agetty
You can also use file /etc/issue.logo. Backup your /etc/issue and link to the new file
mv /etc/issue /etc/issue.orig ln -s /etc/issue.logo /etc/issue
You should get something like this (Gentoo logo will be in the same color as above):
.
.vir. d$b
.d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b.
$$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b.
Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$
"$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$
d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P
$$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P"
`Q$$P" """
This is hostname.domain (Linux i686 2.6.11-gentoo-r9) 22:22:18
hostname login:
By blending the two above examples you can get something like:
| File: /etc/issue |
^[[40m
^[[2J
^[[H
^[[1;32;40m .
.vir. d$b
.d$$$$$$b. .cd$$b. .d$$b. d$$$$$$$$$$$b .d$$b. .d$$b.
$$$$( )$$$b d$$$()$$$. d$$$$$$$b Q$$$$$$$P$$$P.$$$$$$$b. .$$$$$$$b.
Q$$$$$$$$$$B$$$$$$$$P" d$$$PQ$$$$b. $$$$. .$$$P' `$$$ .$$$P' `$$$
"$$$$$$$P Q$$$$$$$b d$$$P Q$$$$b $$$$b $$$$b..d$$$ $$$$b..d$$$
d$$$$$$P" "$$$$$$$$ Q$$$ Q$$$$ $$$$$ `Q$$$$$$$P `Q$$$$$$$P
$$$$$$$P `""""" "" "" Q$$$P "Q$$$P" "Q$$$P"
`Q$$P" """
^[[0;40mHostname: ^[[1;32;40m \n
^[[0;40mOS: ^[[1;35;40m Gentoo^[[1;34m \s
^[[0;40mKernel: ^[[1;37;40m \r \v
^[[0;40mProcessor:^[[1;37;40m \m AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
^[[0;40mMemory: ^[[1;37;40m 1035068 kB
^[[0;40mTerminal: ^[[1;37;40m \l
^[[0;40mLogged On:^[[1;37;40m \U
^[[0;40mDate: ^[[1;37;40m \d @ \t
^[[0m
|
Remember to change the processor and memory to your own settings. (Use uname -a for processor info, free for ram.) The extra returns at the end make the login prompt show up at the bottom of the screen. Also, you can replace 40m everywhere with 44m for a blue background that also looks good.
See the preview below:
If you would like to generate your own ASCII Art welcome text try FIGlet
emerge -p figlet
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and real estate agent tools.

