From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_FONT_LOW_CONTRAST,HTML_IMAGE_ONLY_32,HTML_MESSAGE, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23974 invoked from network); 1 Aug 2023 15:38:26 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 1 Aug 2023 15:38:26 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id 922A441022; Wed, 2 Aug 2023 01:38:22 +1000 (AEST) Received: from mail-vk1-xa29.google.com (mail-vk1-xa29.google.com [IPv6:2607:f8b0:4864:20::a29]) by minnie.tuhs.org (Postfix) with ESMTPS id 399DB4101F for ; Wed, 2 Aug 2023 01:38:18 +1000 (AEST) Received: by mail-vk1-xa29.google.com with SMTP id 71dfb90a1353d-486198c70adso1990690e0c.0 for ; Tue, 01 Aug 2023 08:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; t=1690904297; x=1691509097; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Qx54edBDZXIR1v68HYw4WvnEUvEFVHE7nIrN4zNyKQM=; b=diXWmccLUeOKTA1row9DVwdW5NIBthys3M6PSBOc4cCzA98hRS8GxvtxyZA65rDBuw AiRMJxp8XRuTxmFsKc8Q8E1LfAjDheVo5ZFqiOXcOLGqceIQGQijnSpTMphFhj5XEVFF ZO1mUcP0HhpUtP6QPqRBaSkxbRPYrqTqCoE80= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690904297; x=1691509097; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Qx54edBDZXIR1v68HYw4WvnEUvEFVHE7nIrN4zNyKQM=; b=aZhY3jUBupIG30te7Edr0HH3WuideuNeXt11/iDnqsu57AGhkuT9HDlY7bxhzyt+ew m//Wd4pzhjaoGyfE7BKG+raYDfNMlDqwA/cUcSwKpAJmdCQ2E4DXsDjn0Kdg1MVaXLI5 X6ziuhKD6sWAM7MuYv53uy1YEOsV6XEfVnjt7MByB8o9QII5TRRMns5JXk2Ot3fU2XVh l2fDa/icUPcg565VbXk2VtQdaEmjnUbDSWjRKEO8nfhvSE3mrtMOfFujOybFICkV/3m4 85TxJD+6vfUhofaTikO27H6aNpNAT2SzrGS2RWskjFnat1lAp1UiuEsGwVYbao4utoyj 7Tbw== X-Gm-Message-State: ABy/qLaHQC5+4m7l3UH1mkGEwQUoVryubQBFkcvjsZoOC7KMFIEqOgWq jNi8DneYCxaFIbiLmZBaLlM67Chzhw37rXqlPTn6a6i5qOsD8QW9 X-Google-Smtp-Source: APBJJlHi+IXgrbTFpDq/+tmaaGJ9Au4g/1NMh5IKf1PdIrRPVoN3JjgTfa6F+oTfa3emeKQpArmWaFpjn2DS1RcUsng= X-Received: by 2002:a1f:eb83:0:b0:481:719a:23f6 with SMTP id j125-20020a1feb83000000b00481719a23f6mr2507018vkh.14.1690904297196; Tue, 01 Aug 2023 08:38:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Clem Cole Date: Tue, 1 Aug 2023 11:37:41 -0400 Message-ID: To: ron minnich Content-Type: multipart/alternative; boundary="000000000000fbe4600601de551e" Message-ID-Hash: O6VOGOS7IODDCIQRWOWOA5UMMWVWQNQA X-Message-ID-Hash: O6VOGOS7IODDCIQRWOWOA5UMMWVWQNQA X-MailFrom: clemc@ccc.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: shell escapes in utilities List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --000000000000fbe4600601de551e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ron I never understood why sendmail needed it. [Actually I never really understand sendmail's need but that's another discussion and discussion I've had with Ertc over the years]. But shell escape were pretty typical, until Kulp's ^Z job control stuff and/or real window managers - it would have sucked not to have had them. Off the top of my head: - any editor (text or graphical) - things that controlled the screen like more(1) would have wanted to support something like this - programs that produced graphical output -- from *roff/tex and the like, to many/most of the CAD programs, or even Ghostscript I think. Yo= u might want to dump out and suck back in something processed from another program, and the 'pipeline' was not always the easy/right way to do that= . Classic example of calling on the PS/EPS tools from inside of troff. Th= is is why tools like xdvi and the like supported it. - long-running games where you did not want to lose your session - many things that supported remote job entry/execution - which was really common in the old days [hence UUCP, the PWB RJE tools, rsh and th= e like]. IICR there was a couple of versions of telnet/supdup that could = do it. Clem =E1=90=A7 =E1=90=A7 On Tue, Aug 1, 2023 at 1:48=E2=80=AFAM ron minnich wro= te: > I got to wondering, based on the sendmail discussions, how many shell > escapes have appeared over the years? > > uucp > sendmail > xdvi : "The "allowShell" option enables the shell escape in PostScript > specials" > > There must be a lot of them, however. > --000000000000fbe4600601de551e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ron

I never understood=C2=A0why se= ndmail needed it.=C2=A0 [Actually I never really understand=C2=A0sendmail&#= 39;s=C2=A0need but that's another discussion and=C2=A0discussion I'= ve had with Ertc over the years]. But shell escape were pretty typical, unt= il Kulp's ^Z job control stuff and/or real window=C2=A0managers - it wo= uld have sucked not to have had them.
Off the top of my head:
=
  • any editor (text=C2=A0or graphical)=C2=A0
  • things=C2=A0th= at controlled the screen like more(1) would have wanted to support somethin= g=C2=A0like this
  • programs that produced graphical output -- from *r= off/tex and the like, to many/most of the CAD programs, or even Ghostscript= I think.=C2=A0 You might want to dump out and suck back in something proce= ssed from another program, and the 'pipeline' was not always the ea= sy/right way to do that.=C2=A0 Classic example of calling on the PS/EPS too= ls from inside of troff.=C2=A0 This is why tools like xdvi and the like sup= ported it.
  • long-running games where you did not want to lose your s= ession
  • many things that supported remote job entry/execution - whic= h was really common in the old days [hence UUCP, the PWB RJE tools, rsh and= the like].=C2=A0 IICR there was a couple of versions of telnet/supdup that= could do it.
Clem
3D""=E1=90=A7
=
3D""=E1=90=A7

On Tue, Aug 1, 2023 at 1:48=E2=80=AFAM ron minnich <<= a href=3D"mailto:rminnich@gmail.com" target=3D"_blank">rminnich@gmail.com> wrote:
I = got to wondering, based on the sendmail discussions, how many shell
escapes have appeared over the years?

uucp
sendmail
xdvi : "The "allowShell" option enables the shell escape in = PostScript specials"

There must be a lot of them, however.
--000000000000fbe4600601de551e--