home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
256.lha
/
fonz
/
fonz.doc
< prev
next >
Wrap
Text File
|
1989-06-08
|
2KB
|
58 lines
Fonz -- SetFont for program which opens its own screen.
Version: 1.0
Why:
Because I cannot stand topaz font on my communication
program's screen.
Usage:
fonz [-s font_size] [-w wait_max] font_name screen [window]
With no argument, "fonz" lists all screens each follows by its own
windows.
-s font_size:
Specify the font_size; default value == 8;
/* I have not try anything other than 8 */
-w wait_max:
(just for you Jon ;-) ...)
how long to wait around. One unit of wait_max == 10 secs.
Often used to start "fonz" in advance and force "fonz" to
wait until wait_max is expired or until the target window
is opened.
I use this alias
alias c "runback df0:c/fonz -w 12 clean Handshake; run df2:c/handshake"
to set up the "clean" font for my "Handshake" program.
font_name:
is the font name available in fonts:
screen:
screen name. A list of screen names can be obtained by
using "fonz" with no argument.
window:
window name. A list of window names can also be obtained
using "fonz" with no argument.
If "window" is omitted, the first window with the NULL title is
the target window.
If you are not using the [-w] flag, the target window must
already be opened.
If there are more than one NULL title window on a screen, only the
first one is reachable.
NULL Title Screen? Fix the source code if you want to deal with it.
Sometimes, old font came back. Chances are the program that owns
the target window had decided that it was time to refresh its font.
All you can do is to flip back to the "CLI" and use "fonz" again.
use "SetFont" to set the font for the console window.
I would like very much to hear your bug report, comments ...
Author:
Hung Le (mott@ucscb.ucsc.edu ...!ucbvax!ucscc!ucscb!edu)
Feel free to use the source codes if they are useful to you.