Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15970

Re: bash 5.0.11 – Output not redirected

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: bash 5.0.11 – Output not redirected
Date Wed, 26 Feb 2020 10:48:17 -0500
Lines 33
Approved bug-bash@gnu.org
Message-ID <mailman.1589.1582732132.2412.bug-bash@gnu.org> (permalink)
References <CAM_8-Ci8K6ZbYLE=sLicsVpeDod4RP6zhKs+QUKNVqRV8m65cQ@mail.gmail.com> <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 <ricky.tigg@gmail.com>
Envelope-to bug-bash@gnu.org
Mail-Followup-To Ricky Tigg <ricky.tigg@gmail.com>, bug-bash@gnu.org
Content-Disposition inline
In-Reply-To <CAM_8-Ci8K6ZbYLE=sLicsVpeDod4RP6zhKs+QUKNVqRV8m65cQ@mail.gmail.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 <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 <20200226154817.GD845@eeg.ccf.org>
X-Mailman-Original-References <CAM_8-Ci8K6ZbYLE=sLicsVpeDod4RP6zhKs+QUKNVqRV8m65cQ@mail.gmail.com>
Xref csiph.com gnu.bash.bug:15970

Show key headers only | View raw


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.

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: bash 5.0.11 – Output not redirected Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-26 10:48 -0500

csiph-web