Path: csiph.com!fu-berlin.de!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 12:01:46 -0500 Lines: 16 Approved: bug-bash@gnu.org Message-ID: References: <20200226154817.GD845@eeg.ccf.org> <17434a65-6f23-d323-f21c-8f6dc5e04553@archlinux.org> <20200226170146.GE845@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 1582736518 16158 209.51.188.17 (26 Feb 2020 17:01:58 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org Mail-Followup-To: bug-bash@gnu.org Content-Disposition: inline In-Reply-To: <17434a65-6f23-d323-f21c-8f6dc5e04553@archlinux.org> 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: <20200226170146.GE845@eeg.ccf.org> X-Mailman-Original-References: <20200226154817.GD845@eeg.ccf.org> <17434a65-6f23-d323-f21c-8f6dc5e04553@archlinux.org> Xref: csiph.com gnu.bash.bug:15972 On Wed, Feb 26, 2020 at 11:59:09AM -0500, Eli Schwartz wrote: > On 2/26/20 10:48 AM, Greg Wooledge wrote: > > 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. > > A simpler solution if you (rhet.) just want to run a command > automatically in gnome-terminal and then wait for more commands, is, > instead of starting "bash" (or $SHELL) by default, specify that > gnome-terminal should run the command: > > bash --rcfile <(cat ~/.bashrc; echo "some_commands") It would be *superb* if the OP would tell us what the actual goal is.