Re: C90 fpeek

Liste des GroupesRevenir à cl c 
Sujet : Re: C90 fpeek
De : mutazilah (at) *nospam* gmail.com (Paul Edwards)
Groupes : comp.lang.c
Date : 25. Jan 2025, 00:58:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vn19ff$2fd1i$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Microsoft Outlook Express 6.00.2800.1106
"Scott Lurndal" <scott@slp53.sl.home> wrote in message
news:fbUkP.928259$2xE6.372374@fx18.iad...

I don't recall ever using stdio streams myself for any real world
problem - for terminal input I generally use libreadline or libedit;
for serial port input/output, open + tcsetattr + fcntl (usually with
O_NOCTTY) + read or write.

And this is the difference I guess.

I am not trying to solve a particular real world problem that
an employer is paying for.

I am trying to DEFINE a world based on nothing but C90.
You could possibly call it a "limited world" rather than a
"real world". I'm not expecting commercial success with
this position.

However, I do recognize that the C90 committee (plus
existing practice) were not perfect in the late 1980s. So
with the benefit of hindsight, and without time pressure,
I'm willing to revisit C90.

In order to get a fullscreen editor I didn't see any good
option but to add ANSI X3.64 and an EBCDIC equivalent.

You could argue that if I'm willing to add ANSI X3.64,
why not also add C23 and POSIX and ...

I don't have a good answer to that, other than I'm trying
to keep movement away from C90 to a minimum.

I've mentioned before I need an ESC_STR and likely
other control characters to extend C90 (on top of
ANSI X3.64) to avoid having to hardcode hex values
in my applications.

I'm happy to remove sin() etc.

And now I'm looking at an fpeek().

And that "looks neat" to me. I realize I can't mathematically
prove that it is neat (and that irks me), but that's the world
that I want to create (not particularly expecting anyone to
join me in that world - not expecting to get any money from
it - but I want it to exist anyway - a "roughly C90" world).

Note that z/PDOS-generic is a great start (in my opinion) -
if the mainframe can operate in a C90 world, most other
environments should be able to as well.

BFN. Paul.



Date Sujet#  Auteur
24 Jan 25 * C90 fpeek18Paul Edwards
24 Jan 25 +* Re: C90 fpeek16Keith Thompson
24 Jan 25 i+* Re: C90 fpeek3Paul Edwards
24 Jan 25 ii`* Re: C90 fpeek2Kaz Kylheku
24 Jan 25 ii `- Re: C90 fpeek1Paul Edwards
24 Jan 25 i+* Re: C90 fpeek3James Kuyper
24 Jan 25 ii`* Re: C90 fpeek2Michael S
26 Jan 25 ii `- Re: C90 fpeek1Lawrence D'Oliveiro
24 Jan 25 i`* Re: C90 fpeek9Kaz Kylheku
24 Jan 25 i +* Re: C90 fpeek4Chris M. Thomasson
25 Jan 25 i i+* Re: C90 fpeek2Kaz Kylheku
25 Jan 25 i ii`- Re: C90 fpeek1Chris M. Thomasson
26 Jan 25 i i`- Re: C90 fpeek1Lawrence D'Oliveiro
25 Jan 25 i +* Re: C90 fpeek3Paul Edwards
26 Jan 25 i i`* Re: C90 fpeek2Lawrence D'Oliveiro
27 Jan 25 i i `- Re: C90 fpeek1Paul Edwards
25 Jan 25 i `- Re: C90 fpeek1Kaz Kylheku
24 Jan 25 `- Re: C90 fpeek1Kaz Kylheku

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal