From nobody Sun Nov 02 15:59:02 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4czztC0RZtz6G0Dl for ; Sun, 02 Nov 2025 15:59:15 +0000 (UTC) (envelope-from pj@smo.de) Received: from mail.adebahr.de (mail.adebahr.de [185.66.179.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.adebahr.de", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4czztB5Fngz428C for ; Sun, 02 Nov 2025 15:59:14 +0000 (UTC) (envelope-from pj@smo.de) Authentication-Results: mx1.freebsd.org; none Received: from [192.168.153.212] (p5b239983.dip0.t-ipconnect.de [91.35.153.131]) by mail.adebahr.de (Postfix) with ESMTPSA id C01CF6787A; Sun, 2 Nov 2025 16:59:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smo.de; s=mail; t=1762099142; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=l/oQ+JptQziL0NpSyoBl09dZbhZcMIsbwJfCZSCiRkU=; b=p7YBryCAj71NAJ11dl6P9boXRz8NwGi7FljEtR2YYxywVWjyYOsy5AoOySgRe+EoswSRdM mY0aEj9d2TeKVdduv4JnBYqsKTR1pv7f8MidQPd66O5C/8vzQDXsLjf0h/J6jIGCw+WtEG WRbZ8+48tRDo+1/aG6tN+Wcgesf1N+2L0ur99kotuazkjrVLxMifnA0pRRLn+giFgookS6 W1uRq0jiM+JXae5FD5pHyluzaV1bDfAGqQvuDOZyF9Z4fxHfySpul6MieOEfOKwx+rRQK2 aFUdNL4jwFvO1FdHonMUbDhvfNCsagM8cJqph8QzE5xtq4dS76kBrFMbxRh6Cw== Message-ID: <4c330c49-1c45-46cf-9d1e-afce745e8f88@smo.de> Date: Sun, 2 Nov 2025 16:59:02 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: a really big question : why not "^C" for a CTRL-C with default /bin/sh ? To: cyric@mm.st, freebsd-current@freebsd.org References: <864EE1FC-1533-47D4-A395-C24F25269EE0@freebsd.org> <342c6a91-a8a1-483d-861e-8e8c6d79998f@blastwave.org> <9ea41e44-7160-40eb-9d80-b8bf13a7f396@mm.st> Content-Language: en-US From: Philipp Ost In-Reply-To: <9ea41e44-7160-40eb-9d80-b8bf13a7f396@mm.st> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:212341, ipnet:185.66.176.0/22, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4czztB5Fngz428C On 11/2/25 02:22, cyric@mm.st wrote: > Dennis Clarke wrote: >> On 11/1/25 20:30, Michael Gmelin wrote: >>> >>> >>>> On 2. Nov 2025, at 00:34, Dennis Clarke wrote: >>>> >>>>  >>>> This is about as annoying as a small sharp stone stuck in a shoe : >>>> >> ... >>> Wasn‘t this always the default behavior in /bin/sh? >>> >> >> If it was and if it is then it is broken and always has been. >> >> No UNIX shell *ever* behaves this way in at least the last four decades. > > zsh does, ksh93 (illumos) does. ksh93 from ports (shells/ksh93) does not. > >> Perhaps three decades. As far back as I can recall and that includes >> using paper terminals. It may be the libedit library there has a borked >> way of dealing with a SIGINT. >