LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-20-2014, 11:15 AM   #1
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Rep: Reputation: Disabled
can i increase font size through shell scripts ?


Hi All ;

In shell script , how can i display bigger font size.
This program is working well but i cannot increase bigger font size.


PHP Code:
 # .bash_profile

# Get the aliases and functions
if [ -~/.bashrc ]; then
        
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
while true
do
clear
tput cup 10 8
echo " WELCOME TO LInUX "
sleep 2
clear
tput cup 10 8
echo " THIS IS SAM"
sleep 2
done 

Last edited by thiyagusham; 04-20-2014 at 11:16 AM.
 
Old 04-20-2014, 03:38 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Terminals and console have a fixed font size. You can change the terminal settings or the resolution of the console in some way or another, but this won't give you the desired effect of a single bigger echo output. Instead you can use something like figlet or toilet to display large text using other characters (once upon a time the banner command). Here is a brief explanation. Hope this helps.
 
Old 04-21-2014, 08:17 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
Unless the terminal is an old DEC vt100, with double height/double width capability...

Terminals are limited as they are not "smart" devices.

To get that effect you use a GUI toolkit with X window (or the equivalent) where multiple fonts are supported.
 
Old 04-21-2014, 10:09 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
In X you can set a font and size for the xterm you use. For eterm it would look something like " -F *-fixed-*-*-*-*-18-* " where the name is one that exists and is selectable from xfontsel. There used to be an XVGAsettextmode or similarly named thing that could change the resolution of your console screen on the fly. It was hit or miss, but was one way to increase font size by decreasing screen resolution. These days you'd probably have to configure a video mode in grub which you'd have to reboot to change again.
 
  


Reply



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
how to increase font size in command johnabraham Linux - Hardware 2 12-22-2012 02:33 PM
aterm - how do I increase the font size? dkaplowitz Linux - Newbie 4 09-24-2009 07:03 PM
increase font size? MsDoomshroom DamnSmallLinux 4 04-22-2008 02:15 PM
How to increase font size in EmacsX? kornerr Linux - General 2 06-29-2005 11:50 PM
How to increase the font size in Mozilla ? wlaw Linux - Software 4 09-21-2004 04:03 PM

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

All times are GMT -5. The time now is 03:11 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
Open Source Consulting | Domain Registration