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 <vcv5gu$3atig$1@dont-email.me>
Deutsch   English   Français   Italiano  
<vcv5gu$3atig$1@dont-email.me>

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

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.unix.shell
Subject: Re: [ksh] Show command number in shell prompt
Date: Tue, 24 Sep 2024 21:56:13 +0200
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <vcv5gu$3atig$1@dont-email.me>
References: <vcuc9r$373il$1@dont-email.me>
 <slrnvf5dsq.2b4.hymie@nasalinux.net> <vcuehc$37dtm$1@dont-email.me>
 <slrnvf5ubh.3d2.hymie@nasalinux.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 24 Sep 2024 21:56:14 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="2840717624f99e06c1a845f4f7da582e";
	logging-data="3503696"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18UwqLwqkoWihYGdQmlRfLK"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.8.0
Cancel-Lock: sha1:Ivao0SCZ559KM/oewI8tOX1Cb8M=
In-Reply-To: <slrnvf5ubh.3d2.hymie@nasalinux.net>
X-Enigmail-Draft-Status: N1110
Bytes: 2299

On 24.09.2024 19:40, hymie! wrote:
>>
>> I'm still irritated; if I see in one shell session a value of 11059
>> (which is an indication that the numbers created by '!' don't wrap)
>> I'm astonished that the counting in a new window will start at 1000
>> (and not at 1 or at the maximum previous value).
> 
> I don't use this feature, and I don't have ksh, just bash and zsh.
> Bash has separate options for
> 
>               \!     the history number of this command
>               \#     the command number of this command
> 
> I don't know what your goal is, but maybe ksh has these two options, and you
> want the other one?

In ksh I know only of '!', a single unquoted literal exclamation mark.

But never mind. - My goal was just to not constantly see in my shell
instances what appears to me to look like an inconsistency. - Another
(bash-)prompt posting inspired me to post. But I also know only few
folks use ksh nowadays, most use bash, so I didn't really expect any
"solution" (sort of). Functionally there's no apparent drawback, so I
can live with it. Thanks.

Janis