Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-24-2005, 03:10 PM
|
#1
|
LQ Newbie
Registered: Jun 2005
Posts: 5
Rep:
|
font + asterisks password
hey all, glade to know you all :P - this's my first lame questions so, i used the command line interface and i dislike with the big font size in there, so i wanna know how to change the font size, include the font type.
and the default font color in the command line interface is white with the black background, if can, i wanna change the font color from white to another color, so how to do it ?
- the password we type in is not echoed, nor are asterisks displayed. if can, i wanna change it to echo (asterisks displayed) and is possible to change the asterisks symbol to another symbols, ex : # or @ or $ ..etc
|
|
|
06-24-2005, 03:13 PM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
Re: font + asterisks password
Quote:
Originally posted by childish
hey all, glade to know you all :P - this's my first lame questions so, i used the command line interface and i dislike with the big font size in there, so i wanna know how to change the font size, include the font type.
and the default font color in the command line interface is white with the black background, if can, i wanna change the font color from white to another color, so how to do it ?
- the password we type in is not echoed, nor are asterisks displayed. if can, i wanna change it to echo (asterisks displayed) and is possible to change the asterisks symbol to another symbols, ex : # or @ or $ ..etc
|
What distro are you using?
Are you reffering to a X - Windows terminal or the console?
Last edited by perfect_circle; 06-24-2005 at 03:16 PM.
|
|
|
06-24-2005, 03:41 PM
|
#3
|
LQ Newbie
Registered: Jun 2005
Posts: 5
Original Poster
Rep:
|
i used init 3 in the /etc/inittab file to login automatically in command line interface and i used kubuntu linux !
so ?
Last edited by childish; 06-24-2005 at 03:46 PM.
|
|
|
06-24-2005, 03:44 PM
|
#4
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
for the color try those out in the terminal
Code:
echo -e "\033[1;30m"
Code:
echo -e "\033[0;31m"
Code:
echo -e "\033[1;31m"
Code:
echo -e "\033[0;32m"
Code:
echo -e "\033[1;32m"
Code:
echo -e "\033[0;33m"
Code:
echo -e "\033[1;33m"
Code:
echo -e "\033[0;34m"
Code:
echo -e "\033[1;34m"
Code:
echo -e "\033[0;35m"
.......................................................
.......................................................
Code:
echo -e "\033[0;40m"
Code:
echo -e "\033[1;40m"
|
|
|
06-24-2005, 03:49 PM
|
#5
|
LQ Newbie
Registered: Jun 2005
Posts: 5
Original Poster
Rep:
|
i want the font color is green and how about the echo passwd
|
|
|
06-24-2005, 03:55 PM
|
#6
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
I don't know if you can change the font size, but you can change the resolution if your
kernel has frame-buffer support. A higher resolution means smaller fonts.
To change the resolution in the kernel line in grub:
kernel=.......
in the end of the line put vga=XXX
were xxx one of those:
Quote:
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
|
the console font can be changed with the command
Code:
setfont -v <font file>
In slackware the console font files are in
/usr/share/kbd/consolefonts
I don't know about ubuntu
|
|
|
06-24-2005, 03:58 PM
|
#7
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
I don't think you can echo the password,(at least not easily) but I don't know.
FOr green try:
and for light green try
Code:
echo -e "\033[1;32m"
|
|
|
06-24-2005, 04:01 PM
|
#8
|
LQ Newbie
Registered: Jun 2005
Posts: 5
Original Poster
Rep:
|
and how about the echo passwd and the symbols ?
|
|
|
06-24-2005, 04:13 PM
|
#9
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
Quote:
Originally posted by childish
and how about the echo passwd and the symbols ?
|
Sorry, I don't know that. I don't see the login program /sbin/agetty having such an option
Last edited by perfect_circle; 06-24-2005 at 04:28 PM.
|
|
|
06-24-2005, 04:24 PM
|
#10
|
LQ Newbie
Registered: Jun 2005
Posts: 5
Original Poster
Rep:
|
okay no problem and thanks again for your very quick and nice reply
|
|
|
All times are GMT -5. The time now is 12:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|