Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15631
| 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 | IFo Hancroft <lists@ifohancroft.com> |
| Newsgroups | gnu.bash.bug |
| Subject | Feature request: output/send \033]7; file:///the/current/dir\033\\ on directory change |
| Date | Mon, 25 Nov 2019 14:08:04 +0200 |
| Lines | 31 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.2562.1574684475.13325.bug-bash@gnu.org> (permalink) |
| References | <b55874243158a37fb81e196106032054@ifohancroft.com> <ddd4a3e7-e1f5-482b-a122-8acf51204d98@ifohancroft.com> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Trace | usenet.stanford.edu 1574684475 32034 209.51.188.17 (25 Nov 2019 12:21:15 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
| In-Reply-To | <b55874243158a37fb81e196106032054@ifohancroft.com> |
| Content-Language | en-US |
| X-AntiAbuse | This header was added to track abuse, please include it with any abuse report |
| X-AntiAbuse | Primary Hostname - a2plcpnl0394.prod.iad2.secureserver.net |
| X-AntiAbuse | Original Domain - gnu.org |
| X-AntiAbuse | Originator/Caller UID/GID - [47 12] / [47 12] |
| X-AntiAbuse | Sender Address Domain - ifohancroft.com |
| X-Get-Message-Sender-Via | a2plcpnl0394.prod.iad2.secureserver.net: authenticated_id: lists@ifohancroft.com |
| X-Authenticated-Sender | a2plcpnl0394.prod.iad2.secureserver.net: lists@ifohancroft.com |
| X-Source | |
| X-Source-Args | |
| X-Source-Dir | |
| X-CMAE-Envelope | MS4wfJfXkYSm6HhyVdMrdi/LImQossjgzh2CpJpcLGTKArGbIaNmCXJPWhP+5lTeAwIy3fRKlbT0ikv9CC3UnuZztJneGvVi23EYWNEkO5SGCIXOvtZqGjc1 7NME4cWWmn5dyhKyvcGd5k/OMPDNagVqONZC3LjfgKotyyDeCpVCEsvgRCNTElaV+SXvVBmpgM0rUzXEVlz2Rip/7kW6YMrMHYk= |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 3.x [fuzzy] |
| X-Received-From | 198.71.225.36 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <https://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <ddd4a3e7-e1f5-482b-a122-8acf51204d98@ifohancroft.com> |
| X-Mailman-Original-References | <b55874243158a37fb81e196106032054@ifohancroft.com> |
| Xref | csiph.com gnu.bash.bug:15631 |
Show key headers only | View raw
Hi Everyone! I have the following feature request: Output/send \033]7;file:///the/current/dir\033\\ on directory change. This can then be used by terminals for example for the feature to be able to open a new tab/terminal in the same directory. Currently, the way to do it is to use the PROMPT_COMMAND variable to output but I believe this should be left for the user to use and terminals that want to have such feature have to currently ship their own shell script that assigns the variable but also preserves what was set there by distros (usually an ANSI escape sequence to update the terminal title) and there is no place that distros agree on for reading scripts from for non-login shells and it is often put in the wrong place..... It's a shit show. I don't think its the terminal's job to tell itself when the directory changes, also it is the shell that knows when it does change. By having it in the shell it will be a clean and streamlined solution that all terminals that want, can use the feature and the whole shitshow that's currently going can be avoided. TL;DR: It makes sense for the shell to output it on directory change. Everyone can take advantage of that. It will be clean solution. Best Regards, IFo Hancroft
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Feature request: output/send \033]7; file:///the/current/dir\033\\ on directory change IFo Hancroft <lists@ifohancroft.com> - 2019-11-25 14:08 +0200
csiph-web