Re: Putting 'banner' into each started screen.........

"David T. Pierson" <dtp-tWP3OOf8k3DqlBn2x/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <1400298706.16571%[email protected]>
On Thu, May 15, 2014 at 11:45:03AM +0100, Another Sillyname wrote:
> I'd like the default bashrc banner to show in a screen session when it
> starts, but can't think of an easy way of doing it......ideas?

Is bash configured to show the banner in a login shell only?

If so, pass --login to bash when creating the window in the .screenrc: 

  screen -t window-title bash --login

But be aware if other things are also configured to happen in login
shells.

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.