Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Greg Wooledge Newsgroups: gnu.bash.bug Subject: Re: bash 5.0.11 =?utf-8?B?4oCTIE91dHB1?= =?utf-8?Q?t?= not redirected Date: Wed, 26 Feb 2020 10:48:17 -0500 Lines: 33 Approved: bug-bash@gnu.org Message-ID: References: <20200226154817.GD845@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 1582732132 14001 209.51.188.17 (26 Feb 2020 15:48:52 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Ricky Tigg Envelope-to: bug-bash@gnu.org Mail-Followup-To: Ricky Tigg , bug-bash@gnu.org Content-Disposition: inline In-Reply-To: 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: <20200226154817.GD845@eeg.ccf.org> X-Mailman-Original-References: Xref: csiph.com gnu.bash.bug:15970 On Wed, Feb 26, 2020 at 05:39:22PM +0200, Ricky Tigg wrote: > Tested on *Gnome*; Component: bash.x86_64 5.0.11 > > Used Shell; > $ echo $SHELL > /bin/bash > > Following command opens the queried graphical terminal emulator; > $ echo q | gnome-terminal > > Result in opened terminal: > [yk@localhost ~]$ > > Redirected output is thus not present as input there. There's no bug here. No terminal emulator reads stdin before creating the new pseudoterminal. wooledg:~$ echo hi | xterm wooledg:~$ echo hi | urxvt None of these gives me anything but a regular terminal of the indicated type. Even if you were to consider this a feature request, it would be a feature request for your terminal emulator, not for bash. If you're trying to pre-populate the input buffer of a shell in a newly launched terminal emulator, you're about to go down some very deep rabbit holes. I suggest you look at tmux or screen. Those may have some of the features you're looking for, if my guess is on target.