Deutsch English Français Italiano |
<v40u3f$2gehm$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!npeer.as286.net!npeer-ng0.as286.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> Newsgroups: comp.lang.c Subject: Re: Running an editor from ANSI C Date: Fri, 7 Jun 2024 23:35:26 -0700 Organization: A noiseless patient Spider Lines: 22 Message-ID: <v40u3f$2gehm$1@dont-email.me> References: <v3pge7$uf2i$1@dont-email.me> <v3r2pl$16mtl$1@dont-email.me> <v3r7v8$1b57j$1@dont-email.me> <v3rek5$1c4i5$1@dont-email.me> <v3rrtm$1e6g8$1@dont-email.me> <v3ru84$1eafb$1@dont-email.me> <87o78dzw1a.fsf@nosuchdomain.example.com> <v3te2i$1ms1q$1@dont-email.me> <87frtpznoa.fsf@nosuchdomain.example.com> <v3uimm$20jte$3@dont-email.me> <871q59yty1.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 08 Jun 2024 08:35:27 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fcdc85211dd9fa312df49c2bc6e1985d"; logging-data="2636342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+aGsZYbJtvdxkpU+/jFAJTqHgL0cCdwTI=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:V62kAzGRMXd9tiNR2t5KNM5hYz8= In-Reply-To: <871q59yty1.fsf@nosuchdomain.example.com> Content-Language: en-US Bytes: 2182 On 6/7/2024 2:37 AM, Keith Thompson wrote: > Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes: [...] > As for portability, I'm not aware of the $EDITOR convention being used > on non-POSIX systems. I suppose there's no real guarantee that, for > example, system("nano filename") will invoke nano on the named file; > different systems could have different command syntax. > Well, think of a system that has a program called nano, except it's a little different: system("nano filename") NANO = Nuclear Annihilation Non-Returnable Operation Say, NANO does not know the file types, so it goes into default mode. Nuke the system... nano might run a text editor... Or it might run something else... Fair enough?