d**r 发帖数: 315 | 1 Sorry, I cannot enter English right now.
I include such sentence in my .cshrc file:
alias font 'xset fp+ /tools/xfonts'
alias cxt 'CXterm -fh gb24st -fn 12x24 -fg white -bg black&'
And I have gb24st.pcf in my /tools/xfonts/ directory, as well
as the fonts.dir. But when I type in "cxt", the system always
tells me that
Specified font doesn't exist in the X Window system.
Then exits.
Can someone tell me why? I am really looking to solving this problem.
Thank you very much! | n*o 发帖数: 442 | 2 Use absolute path for font, don't use relative path.
【在 d**r 的大作中提到】 : Sorry, I cannot enter English right now. : I include such sentence in my .cshrc file: : alias font 'xset fp+ /tools/xfonts' : alias cxt 'CXterm -fh gb24st -fn 12x24 -fg white -bg black&' : And I have gb24st.pcf in my /tools/xfonts/ directory, as well : as the fonts.dir. But when I type in "cxt", the system always : tells me that : Specified font doesn't exist in the X Window system. : Then exits. : Can someone tell me why? I am really looking to solving this problem.
| j***y 发帖数: 87 | 3 Did you type 'font' first before you type 'cxt'?
【在 d**r 的大作中提到】 : Sorry, I cannot enter English right now. : I include such sentence in my .cshrc file: : alias font 'xset fp+ /tools/xfonts' : alias cxt 'CXterm -fh gb24st -fn 12x24 -fg white -bg black&' : And I have gb24st.pcf in my /tools/xfonts/ directory, as well : as the fonts.dir. But when I type in "cxt", the system always : tells me that : Specified font doesn't exist in the X Window system. : Then exits. : Can someone tell me why? I am really looking to solving this problem.
| d**r 发帖数: 315 | 4 Thank you, jerry and neo.
Yeah, I have used the absolute path instead of relative path, also I typed
font before I type in cxt. But I still got the error message. I am confused.
I wonder whether there are some other configurations I should do in the UNIX
system.
Thanks a lot! Waiting the help!
【在 j***y 的大作中提到】 : Did you type 'font' first before you type 'cxt'?
|
|