For some reason I remember a lot of ANSI terminal escape codes. They were used all the time on DOS machines, and work in a similar way on Unix terminals.
I like the bell one. It’s useful to print a few of those at the end of what you expect will be a long program run to get your attention when it’s done.
It’s a good idea, although some terminals will pause output when they play the sound. I always disable any sound from my terminal anyway, because computers should be seen and not heard. 😆
I’m not sure since I haven’t really used Windows for 20 years or so. I don’t think though, since there are separate CURSES libraries for Windows which don’t operate using escape sequences.
For some reason I remember a lot of ANSI terminal escape codes. They were used all the time on DOS machines, and work in a similar way on Unix terminals.
I like the bell one. It’s useful to print a few of those at the end of what you expect will be a long program run to get your attention when it’s done.
It’s a good idea, although some terminals will pause output when they play the sound. I always disable any sound from my terminal anyway, because computers should be seen and not heard. 😆
Oh interesting. I tried turning off sound and now ctl-g flashes the terminal instead. (Fwiw I’m using the built-in terminal on a Mac.)
Alt + 0232 to 0234 for my French fam.
They don’t work on windows terminals?? I only use the color ones but I will be devastated if it turns out they only work in Linux.
I’m not sure since I haven’t really used Windows for 20 years or so. I don’t think though, since there are separate CURSES libraries for Windows which don’t operate using escape sequences.