105
you are viewing a single comment's thread
view the rest of the comments
[-] iknowitwheniseeit@lemmynsfw.com 9 points 7 months ago

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.

[-] tunetardis@lemmy.ca 3 points 7 months ago

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.

[-] iknowitwheniseeit@lemmynsfw.com 4 points 7 months ago

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. ๐Ÿ˜†

[-] tunetardis@lemmy.ca 3 points 7 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.)

[-] whoisearth@lemmy.ca 2 points 7 months ago

Alt + 0232 to 0234 for my French fam.

[-] Unbecredible@lemm.ee 1 points 7 months ago

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.

[-] iknowitwheniseeit@lemmynsfw.com 1 points 7 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.

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

Ask Lemmy

28532 readers
1313 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 !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. 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 info@lemmy.world. 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 !politicaldiscussion@lemmy.world or !askusa@discuss.online


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