change the font size in bash


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting change the font size in bash
# 1  
Old 01-12-2009
change the font size in bash

Hi,
I would like to change the font size in bash. I know how do it in ksh:

F_VDOBLE="\033#6"
print "${F_VDOBLE}Esto es..."

But in bash I don't know
Could you help me please?
Many thanks!

Last edited by mierdatuti; 01-13-2009 at 03:47 PM..
# 2  
Old 01-12-2009
What are you trying to change the font size of? bash does not have a font size, but your terminal emulator does...
Padow
# 3  
Old 01-12-2009
Quote:
Originally Posted by Padow
What are you trying to change the font size of? bash does not have a font size, but your terminal emulator does...
Well I have Kconsole and kubuntu 8.1

I would lika some like this:
echo "Hi" (this in normal size)
echo "I'm David" (this with wide font)

Thanks
# 4  
Old 01-12-2009
Quote:
Originally Posted by mierdatuti
Hi,
I would like to change the font size in bash. I know how do it in ksh:

F_VDOBLE="\033#6"
print "${F_VDOBLE}Esto es..."

But in bash I don't know

If that works in your terminal, this code will work in bash, ksh or any POSIX shell:

Code:
F_VDOBLE="\033#6"
printf "${F_VDOBLE}Esto es...\n"

If you used standard commands instead of one shell's peculiarities, you wouldn't have to ask.
# 5  
Old 01-13-2009
Quote:
Originally Posted by cfajohnson

If that works in your terminal, this code will work in bash, ksh or any POSIX shell:

Code:
F_VDOBLE="\033#6"
printf "${F_VDOBLE}Esto es...\n"

If you used standard commands instead of one shell's peculiarities, you wouldn't have to ask.

Many thanks, I do with print instead printf.

Thanks a lot! Smilie
# 6  
Old 01-13-2009
Sorry. I try today the command but I've saw that this command only puts the first line with wide font, the next lines have normal font Smilie

Any help?

Many thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Ubuntu

How to change ffmpeg default font size?

Hello, I have a problem with Greek subtitle font size when I map a subtitle file into a video in ffmpeg. I ran below code: ffmpeg -i video.mp4 -sub_charenc CP1253 -i video_sub.srt -c:v copy -c:a copy \ -c:s mov_text -metadata:s:s:0 language=gr mapped_video.mp4 When I play it in VLC,... (2 Replies)
Discussion started by: baris35
2 Replies

2. Shell Programming and Scripting

Font Size in shell!

hi all,, is it possible to change the font size of the first line of text? i search it to internet but i have no luk. Ex. Line 1: HI Line 2: back to normal font size. THanks, (4 Replies)
Discussion started by: nikki1200
4 Replies

3. Shell Programming and Scripting

Font Size

Hi All, Please can someone advise on how to change the font size of the output of a shell script. Best Regards, Shazin (2 Replies)
Discussion started by: Shazin
2 Replies

4. AIX

how to change the font size of shell in $ prompt

Can any help me to change the default font type and its size.. To clear more about my question.. Once i login to my unix domain... the font it displaying is of small size... all my shell commands i am executing in $ prompt also carries the same style(ls, date and echo...) i searched whole... (2 Replies)
Discussion started by: tsjpraveen
2 Replies

5. UNIX for Dummies Questions & Answers

Font size in VIM

Hello, I use VIM version 7.1.56 on Ubuntu OS. Can you tell me pls how can I change the font-size in VIM? Thanks, Iuli (1 Reply)
Discussion started by: ketchera
1 Replies

6. UNIX for Dummies Questions & Answers

set font size

can any one tell me how to set the font size in unix? (14 Replies)
Discussion started by: sachin.gangadha
14 Replies

7. UNIX for Dummies Questions & Answers

How can I enlarged the font size?

How can I enlarged the font size when I opened the pdf files with ghostscript or ghostview in solaris 8 for sparc. The font is so small that I can't see it!] Help me please! (0 Replies)
Discussion started by: new_hand
0 Replies

8. Solaris

font size printing

hi all , i was just wondering if i can specify the font size when i am printing from solaris . i am using solaris 9 and hp laserjet 1230 . i dont want to change the global variable for the printer driver . i just want to print a file with small font and the others with normal fonts . ... (1 Reply)
Discussion started by: ppass
1 Replies

9. UNIX for Dummies Questions & Answers

Font size

Hello all I am a new linux user (Redhat 7) and I am trying to learn how to operate the system. I have a couple problems one the font size for all windows withing the OS are too small and even though I found a couple places to configure font size I can't find where to change the font size for the... (2 Replies)
Discussion started by: elhefe
2 Replies
Login or Register to Ask a Question