Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-13-2005, 08:27 AM   #1
LQ Newbie
Registered: Dec 2004
Location: Osaka, Japan
Distribution: RedHat 8.0
Posts: 20

Rep: Reputation: 1
GNU screen and bash settings

I have started using 'screen' on my RH8.0 server to manage multiple screens, but when I run it, all of the customizations that are part of my bash session are lost (alias settings, for example).

The reason I think is that when RedHat boots, a lot of the user preferences are created programmatically, rather than pulled from a file in $HOME. For example, the following alias (which I find quite useful) is not to be found in any home directory file that I can see:
alias ll='ls -l --color=tty'
Meanwhile, when I run screen (with "shell -$SHELL" in /etc/screenrc) the new bash shell is created (I assume) solely from the info from my $HOME files, rather than inheriting them from the shell that spawned it. I may be wrong about this, but it is the only thing I can think of that could be causing this problem.

Is there anything I can do to get my screen's shell and default shell synchronized without copying by hand my settings?

Osaka, Japan


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Placing status line of GNU Screen on top glvgfz Linux - General 0 11-03-2005 05:21 AM
GNU screen for X xowl Linux - Software 1 10-04-2005 06:49 AM
GNU screen ? bouadie Linux - Software 3 06-04-2004 02:46 AM
GNU screen question? bouadie Linux - Networking 1 06-03-2004 09:20 AM
Where can I get all those cool GNU screen savers for Free/OpenBSD? dkaplowitz *BSD 3 10-18-2003 11:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration