On 1/12/2024 7:54 AM, db wrote:
I have a program that reads a file of birthdays and prints
out impending ones when I activate my (Linux) console.
It first prints a header
print '(/" Birthdays:")'
Is it possible to get it to print that in bold or a colour?
If yes, how?
Ok, I'll bite. So what is the device that you are printing to ?
If the device is a screen then there are control codes that you must
print also.
If the device is a file then, no way. This is the reason that HTML was invented.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 47:26:15 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,858,284 |