Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Malcolm McLean Newsgroups: comp.lang.c Subject: Re: Running an editor from ANSI C Date: Fri, 7 Jun 2024 10:13:27 +0100 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: <87o78dzw1a.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 07 Jun 2024 11:13:27 +0200 (CEST) Injection-Info: dont-email.me; posting-host="bbc6ce194fadee025562548db60d9fc6"; logging-data="2117550"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Q5OswKE4tGzc8i9SQMUJm29OcN+yloJM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:OzePe3OKg+E9ulBHEKeXr8Y24KQ= Content-Language: en-GB In-Reply-To: Bytes: 1888 On 07/06/2024 01:36, Lawrence D'Oliveiro wrote: > On Thu, 06 Jun 2024 12:54:57 -0700, Keith Thompson wrote: > >> (mkstemp() is more flexible, but is not defined by ISO C.) > > I’ve said this before: C is essentially crippled without a POSIX layer > underneath. > Yes. It's a disaster. You can't do much without the arrow keys and the ability to read the keyboard as the user preses the keys, with a kbhit(). And that would release ANSI C for games and goodness knows what else. But mainly games. That's the end point of programming, after all. -- Check out Basic Algorithms and my other books: https://www.lulu.com/spotlight/bgy1mm