Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15970
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: bash 5.0.11 – Output not redirected |
| Date | 2020-02-26 10:48 -0500 |
| 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> |
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
Re: bash 5.0.11 – Output not redirected Greg Wooledge <wooledg@eeg.ccf.org> - 2020-02-26 10:48 -0500
csiph-web