this post was submitted on 22 Jul 2024
105 points (98.2% liked)

Ask Lemmy

27392 readers
1772 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try [email protected] or [email protected]


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 5 months ago (3 children)

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.

[–] [email protected] 3 points 5 months ago (1 children)

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.

[–] [email protected] 4 points 5 months ago (1 children)

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. 😆

[–] [email protected] 3 points 5 months ago

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.)

[–] [email protected] 2 points 5 months ago

Alt + 0232 to 0234 for my French fam.

[–] [email protected] 1 points 5 months ago (1 children)

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.

[–] [email protected] 1 points 5 months ago

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.