LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-11-2003, 01:13 PM   #1
ericcarlson
Member
 
Registered: Jan 2002
Posts: 162

Rep: Reputation: 30
Console prompt woes


After recently upgrading RH7.3 to RH8.0 I have noticed an annoying problem. At the console, the command prompt has garbage chars and other apps which use screen control chars (especially midnight commander) look crap too, like the terminal doesn't know its capabilities anymore. The odd thing is if I SSH in with Putty using the same account the screens are fine. Anyone seen this before please?

Example prompt:

;root@dollar:~[root@dollar etc]#

Used to be (and still is when logged in remotely) just

[root@dollar etc]#

Cheers!
 
Old 03-11-2003, 07:19 PM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Re: Console prompt woes

Quote:
Originally posted by ericcarlson
After recently upgrading RH7.3 to RH8.0 I have noticed an annoying problem. At the console, the command prompt has garbage chars and other apps which use screen control chars (especially midnight commander) look crap too, like the terminal doesn't know its capabilities anymore. The odd thing is if I SSH in with Putty using the same account the screens are fine. Anyone seen this before please?

Example prompt:

;root@dollar:~[root@dollar etc]#

Used to be (and still is when logged in remotely) just

[root@dollar etc]#

Cheers!
Do a

echo $LANG

If it is set to utf8 of some variety that will, I think, be the problem. Try changing it to en_US or C and see if you like that better.

Cheers--
Charles
 
Old 03-11-2003, 10:05 PM   #3
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Look in your ~/.bashrc try commenting out the line beginning with PROMPT_COMMAND
Then source your bashrc by typing:

. .bashrc

while in your home dir.

What happens?
 
Old 03-12-2003, 03:23 AM   #4
ericcarlson
Member
 
Registered: Jan 2002
Posts: 162

Original Poster
Rep: Reputation: 30
Thanks both!
Well..

$LANG is set to en_US anyway
setting PROMPT_COMMAND fixed the prompt but mc etc still doesn't work

:-(
 
  


Reply


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
No login prompt on console after boot fiservguy Linux - General 5 01-13-2009 04:26 PM
Difference between Console, Shell, and Command Prompt Anupam Pathak Linux - Newbie 3 10-23-2005 04:40 AM
No 'Fancy' prompt in console? BroX Debian 11 11-09-2004 07:26 AM
Cant get console prompt or su in KDE on compiled 2.6.8.1 martinp26 Linux - General 3 09-02-2004 10:04 AM
Bluecurve to console prompt roiboy Linux - Newbie 1 04-28-2004 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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