[Coco] OS9 Idea
coco at jechar.ca
coco at jechar.ca
Sat Dec 23 14:32:43 EST 2023
Should work in a coco terminal program that is accessing a Linux system
as long as toilet
and figlet are installed on that system as they are available but not
part of the default
I doubt that they are available directly in OS9 but maybe someone has
ported the code figlet is the older version so perhaps would be easier
to port.
On 2023-12-21 01:07, John Mark Mobley via Coco wrote:
> All,
>
> This could be an OS9 idea, or you could connect your CoCo's serial port
> to a
> Linux computer and run this program. The CoCo would need to run a
> terminal
> program.
>
> -------
>
> #!/usr/bin/bash
> # HappyFestivus
> # By......: John Mark Mobley
> # Date....: 12-20-2023
> # See: banner, figlet, toilet, cowsay
>
> # make the text bold red
> # echo -n -e "\033[1;31m"
> # setterm --bold on --foreground red
> echo
> toilet --metal " Happy"
> toilet --metal "Festivus!"
> # reset all attributes to their defaults
> # echo -n -e "\033[0m"
> # setterm --default
>
> -------
>
> #!/usr/bin/bash
> # MerryChristmas
> # By......: John Mark Mobley
> # Date....: 12-20-2023
> # See: banner, figlet, toilet, cowsay
>
> # make the text bold red
> # echo -n -e "\033[1;31m"
> setterm --bold on --foreground red
> echo
> figlet -t -c "Merry"
> figlet -t -c "Christmas!"
> # reset all attributes to their defaults
> # echo -n -e "\033[0m"
> setterm --default
>
> -------
>
> John Mark Mobley
More information about the Coco
mailing list