LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 06-24-2005, 03:10 PM   #1
childish
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
font + asterisks password


hey all, glade to know you all :P
  1. 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 ?
  2. 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
 
Old 06-24-2005, 03:13 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
Re: font + asterisks password

Quote:
Originally posted by childish
hey all, glade to know you all :P
  1. 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 ?
  2. 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.
 
Old 06-24-2005, 03:41 PM   #3
childish
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 06-24-2005, 03:44 PM   #4
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
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"
 
Old 06-24-2005, 03:49 PM   #5
childish
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
i want the font color is green and how about the echo passwd
 
Old 06-24-2005, 03:55 PM   #6
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
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
 
Old 06-24-2005, 03:58 PM   #7
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
I don't think you can echo the password,(at least not easily) but I don't know.

FOr green try:
Code:
echo -e "\033[32m"
and for light green try
Code:
echo -e "\033[1;32m"
 
Old 06-24-2005, 04:01 PM   #8
childish
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
and how about the echo passwd and the symbols ?
 
Old 06-24-2005, 04:13 PM   #9
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
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.
 
Old 06-24-2005, 04:24 PM   #10
childish
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Original Poster
Rep: Reputation: 0
okay no problem and thanks again for your very quick and nice reply
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel preemption error installing Zaptel for Asterisks neutrin0 Linux - Software 1 11-13-2005 02:10 AM
converting string to asterisks pantera Programming 2 09-13-2004 02:27 PM
How to search for asterisks using gawk dtheorem Linux - General 1 03-05-2004 03:35 PM
Linux...Modems...Asterisks PBX tadd Linux - Hardware 0 12-02-2003 09:32 AM
TrueType Font Display and long font names jdeka Slackware 0 06-28-2003 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration