Maybe your problem is different than I'm thinking, but my first reaction is to say you probably want to put "source /etc/profile" in your shell configuration rather than screen, or use "/bin/bash --init-file /etc/profile" as your shell to execute. Which I think would be the following. shell "/bin/bash --init-file /etc/profile"
On Mon, Mar 2, 2009 at 9:35 AM, Simone F <gmeild...@gmail.com> wrote: > Hi list > > I was wondering what could be the best way of applying the global > /etc/profile settings in every new screen instance. > Since a manual `source /etc/profile` every time a new screen is opened is > a little boring. > > I tried to put in screenrc > at root* "/bin/bash --init-file /etc/profile" > or > at root* "source /etc/profile" > but when screens loads, briefly says 'unknown command /bin/bash/ ....' > > I am currently running Screen version 4.00.03jw4 (FAU) 2-May-06 > in Debian > > Am I missing anything? > > _______________________________________________ > screen-users mailing list > screen-users@gnu.org > http://lists.gnu.org/mailman/listinfo/screen-users > > -- -N AKA:Tom Scogland I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Albert Einstein
_______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users