Path: ...!weretis.net!feeder8.news.weretis.net!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 19:38:46 +0100 Organization: A noiseless patient Spider Lines: 38 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 20:38:47 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3d5cf5214f2d8b45c65425247320c56d"; logging-data="2299871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196eC8hO/K5FFWk2b5k21wxZKHWpagGzTc=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:jXQQCdrZ3/57zP8JcAcUFrTUbkw= Content-Language: en-GB In-Reply-To: Bytes: 2838 On 07/06/2024 15:48, David Brown wrote: > On 07/06/2024 12:46, Lawrence D'Oliveiro wrote: >> On Fri, 7 Jun 2024 11:31:01 +0200, David Brown wrote: >> >>> But many people have lots of use of programming in C without any kind of >>> POSIX functionality ... >> >> And all those same programs work in the presence of POSIX functionality, >> plus you get access to a whole lot more besides. > > No, they do not. > > And even if POSIX functionality were "present", whatever you mean by > that, it would be of no help to many C programs. > >> >> The fact that cases keep arising where POSIX functionality would solve >> problems that are discussed in this group belies your point. > > There's no doubt that for some C programming, there are POSIX functions > that could help.  And no doubt that this is the case for Malcolm's project. > > That does not in any way demonstrate that POSIX is required for all C > programming, or that C is "essentially crippled" if POSIX is not available. > Any idiot can write a shell using Posix. The whole point is to it in pure C. Without a single call to a function that isn't in the C standard library. And make it fully functional. A real shell, that people will want to really use. That's my hobby project. I'm a free man now. I've got the time. I don't have to write code that makes money any more. -- Check out Basic Algorithms and my other books: https://www.lulu.com/spotlight/bgy1mm