Sujet : Re: encapsulating directory operations
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.lang.c comp.programmingSuivi-à : comp.programmingDate : 26. May 2025, 05:05:25
Autres entêtes
Message-ID : <m9i7k5Fj42gU3@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Pan/0.163 (Hmm5; 89a33f9d; Linux-6.14.8)
On Mon, 26 May 2025 08:40:50 +1000, "Paul Edwards" <
mutazilah@gmail.com>
wrote in <
101069l$1k3nm$1@dont-email.me>:
The idea that you can't do that without a constant defined in your
language standard is just silly.
It may be silly from your perspective, but for me it is crucial.
I've x-posted this to comp.programming, and set followup-to there.
I'm wondering why your control-character-handling wouldn't be better
handled with a curses library. IIRC, back in my DOS days (early 90's),
there was a curses library for DOS.
A quick look around found this:
https://pdcurses.org/ ...which
includes DOS support.
If it doesn't handle EBCDIC terminal escapes, consider extending it.
I don't know anything about microemacs, but if it doesn't use a curses-like
library to handle different terminal types, I'd be surprised. I see that
Linus' uemacs uses curses:
https://github.com/torvalds/uemacs/blob/master/tcap.cAgain, followup-to comp.programming, as this is definitely off-topic
for comp.lang.c.
-- -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti OS: Linux 6.14.8 Release: Mint 22.1 Mem: 258G "Conformity obstructs progress."