LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-20-2006, 06:08 AM   #1
frizzly_hair
LQ Newbie
 
Registered: Sep 2004
Location: Hangzhou,China
Distribution: Slackware 10.2
Posts: 9

Rep: Reputation: 0
xterm prompt disappeared


today ,i install the sw10.2,and change the LC_CTYPE to GB2312 ,and then, i found the bash prompt in the xterm disappeared when i use fvwm2. just a test ,i install simsun font from windows and change the LC_CTYPE back to en_US,then ,start fvwm2 again,open xterm,typing "xterm -fa simsun -cjk_width" in it ,still could not see bash prompt,did u anybody meet the problem ever? do me a faver please!
 
Old 07-20-2006, 07:05 AM   #2
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Not 100% sure what you mean, about the fonts and xterm... Is it when in fvwm2 you do not get the bash prompt? Prior to Xwindows do you get a prompt?

If you are using the Korn Shell you should get $ as a normal user and # as root.
if you type 'echo $PS1' you should get what the prompt should be for your current user and shell.

you can change it by PS1='# '
etc...

not sure if this helps
 
Old 07-20-2006, 11:47 AM   #3
frizzly_hair
LQ Newbie
 
Registered: Sep 2004
Location: Hangzhou,China
Distribution: Slackware 10.2
Posts: 9

Original Poster
Rep: Reputation: 0
when i use locale en_US ,i can get the xterm prompt # as root in xwindows,but if i change the locale ,i miss the # or $,nothing in the xterm! did i say it clearly ?
 
Old 07-20-2006, 12:57 PM   #4
jayemef
Member
 
Registered: Aug 2005
Location: Juniata College, PA
Distribution: Ubuntu, Slackware
Posts: 67

Rep: Reputation: 15
It may be an issue with unicode support, which is disabled by default in Slackware. To enable it, see here:
http://wiki.linuxquestions.org/wiki/...8Unicode.29.3F
 
  


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
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 11 01-30-2023 05:45 AM
/etc disappeared Fonk Linux - Software 7 11-18-2008 06:34 PM
Gnome disappeared, only xterm remains dubya Fedora 2 12-01-2005 11:05 AM
xterm not releasing the prompt ekdya Debian 1 10-07-2005 08:44 AM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:10 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