Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v42gr4$2ql02$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v42gr4$2ql02$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Malcolm McLean <malcolm.arthur.mclean@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Running an editor from ANSI C
Date: Sat, 8 Jun 2024 22:01:23 +0100
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <v42gr4$2ql02$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> <v3tkmb$1o860$3@dont-email.me>
 <v3uk0l$20s0s$2@dont-email.me> <v3uoeo$21g4g$5@dont-email.me>
 <v3v6jt$23q0b$2@dont-email.me> <v3vk3m$265uv$1@dont-email.me>
 <20240607171237.6@kylheku.com> <v41f0a$2j12l$2@dont-email.me>
 <20240608110542.992@kylheku.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 08 Jun 2024 23:01:24 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8b6752f00a378e9a22da030b3b8d942a";
	logging-data="2970626"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX190XxoPnoX0sYautW9+4Qsy2bj4nHCzbns="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:WyHjdk4NVrWhnMoYTrIXJ8HdGso=
Content-Language: en-GB
In-Reply-To: <20240608110542.992@kylheku.com>
Bytes: 2899

On 08/06/2024 19:07, Kaz Kylheku wrote:
> On 2024-06-08, Malcolm McLean <malcolm.arthur.mclean@gmail.com> wrote:
>> On 08/06/2024 01:32, Kaz Kylheku wrote:
>>> Bug I take it that by shell you mean something which is primarily a
>>> command interpreter for driving an operating system, not an adventure
>>> game engine, or sophsticated programming language run-time.
>>>
>> It calls system so that real users can use it for real.
> 
> User wants to run their program in the background, and so using
> their knowledge of the host's actual shell, does this:
> 
>    > system ./simulation --duration 1h &
> 
> Now what?
> 
I don't have a clue. In the Baby X shell, you know you are in the shell 
because you have the BBX$ prompt intead of your regular prompt. But 
typing "system ..." will effectively be the same as typing "..." at the 
prompt when you are out of the BBX$ shell. Except that anything will be 
spawned by a child process instead of your own shell directly. Now if 
that is a problem for the host operating system, Baby X just can't 
accept responsibility. But you might be able to type somthing which will 
destabilise the OS whilst at the BBX$ prompt and typing "system bad" 
instead of "bad" at your regular prompt, which would be unfortunate.

-- 
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm