From: obsd@mulh.net Subject: Re: ksh: add OSC7 support To: tech@openbsd.org Date: Fri, 7 Nov 2025 16:58:57 -0500 On 2025-11-07 19:32:37, Ingo Schwarze wrote: > I strongly object to any of our core base system software, and in > particular ksh(1), encouraging use of OSC (OSC in general, not just > OSC7 or OSC8) for any purpose whatsoever. I consider OSC an utterly > terrible idea in the first place. It is a bottomless pit of a > security nightmare. We want software designs that are tailored to > one particular purpose and serve that one purpose in a simple and > reliable manner. Glad to see your response and couldn't agree more. (except maybe \e) My response was just to show how a user who really wanted to do this how it can be done without changing openbsd (and on their own system). As a side note my updated solution is broke, incorrect quoting in PS1. My question: Having PS1 being able to run arbitrary commands is that a security risk needing fixed? (or if the user wants to shoot their own foot, let em!) Low risk unless a suid program can be convinced to show a prompt.