screen and prompt

When using screen-3.7.6-1 (RH6.1) i just get a > prompt. How do i set it up to display a "normal" "[j2@animal ~]$ " prompt?
LVL 12
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try linuxconf or is setup (not sure with Red_Hat. There should be section on accounts. You'll have to scroll up and down, should be fairly self intuiative and put in name details in hostname. Then find users and put in your name or tag details in there
j2Author Commented:
Read the question again please. it WORKS as long as i dont use screen.
Run ut like so:
screen <shell name>
where shell name is the name of your shell.
This forces screen to spawn a new shell and reloads your setup files.
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

j2Author Commented:
Same result.
Do you have next line in your user's .cshrc (in case you are using csh/tcsh)
set prompt=\[`id -nu`@`hostname -s`\]\$\

or in case of BASH
PS1="[\u@\h \W]\\$ "
in your .bashrc

You're probably using bash, and that's what I've found in /etc/bashrc:
# For some unknown reason bash refuses to inherit
# PS1 in some circumstances that I can't figure out.
# Putting PS1 here ensures that it gets loaded every time.
PS1="[\u@\h \W]\\$ "

So, it seems like some known problem. Just put
it in your local .bashrc to be sure. Hope that helps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
j2Author Commented:
Nopw, i was using tcsh, and it was really a  *looks very ashamed* permissions problem on my chsrc. Thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.