Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Greg Wooledge Newsgroups: gnu.bash.bug Subject: Re: Feature request: output/send \033]7; file:///the/current/dir\033\\ on directory change Date: Mon, 25 Nov 2019 09:40:31 -0500 Lines: 18 Approved: bug-bash@gnu.org Message-ID: References: <20191125135353.GK851@eeg.ccf.org> <3a9d5cb6-9488-8f48-bdca-9e86061c605f@ifohancroft.com> <20191125144031.GL851@eeg.ccf.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1574692838 3859 209.51.188.17 (25 Nov 2019 14:40:38 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: IFo Hancroft Envelope-to: bug-bash@gnu.org Mail-Followup-To: IFo Hancroft , bug-bash@gnu.org Content-Disposition: inline In-Reply-To: <3a9d5cb6-9488-8f48-bdca-9e86061c605f@ifohancroft.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 139.137.100.1 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20191125144031.GL851@eeg.ccf.org> X-Mailman-Original-References: <20191125135353.GK851@eeg.ccf.org> <3a9d5cb6-9488-8f48-bdca-9e86061c605f@ifohancroft.com> Xref: csiph.com gnu.bash.bug:15635 On Mon, Nov 25, 2019 at 04:33:13PM +0200, IFo Hancroft wrote: > > You can do it yourself, by putting the functions I just gave you into > > your ~/.bashrc file. This kind of change doesn't belong in the shell > > itself, because it will *not* be a "clean solution" for everybody. > > > I know I can do it myself. The idea is for it to work without having to be > manually added. Hence the feature request for it to be done by the shell. > > In what cases/for whom it may not be a clean solution if done by the shell? The most obvious one would be someone who doesn't want their terminal's title bar (or whatever "7" controls) to be altered. The next most obvious would be someone who's not on an xterm-style terminal, where that escape sequence does something surprising. Not all terminals work like YOUR terminal.