View previous topic :: View next topic |
Author |
Message |
doubled157940 Tux's lil' helper
Joined: 13 Sep 2006 Posts: 85
|
Posted: Wed Aug 19, 2009 5:13 pm Post subject: bash prompt VGA Font |
|
|
I'm trying to get a bash prompt like this one: http://www.gilesorr.com/bashprompt/prompts/red.html
so that I can much easily notice which user I'm logged in as. However, after doing some reading and putting the code into my ~/.bashrc and it not working, I need vga fonts. Where/how can I get vga fonts? _________________ Gentoo は行く方法である!
<Translation>
Gentoo is the way to go! |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA
|
Posted: Wed Aug 19, 2009 10:54 pm Post subject: |
|
|
I believe the pcf/bdf is generated/available in the app-emulation/dosemu package amongst other places...
You may need to USE=X to get it to install. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
doubled157940 Tux's lil' helper
Joined: 13 Sep 2006 Posts: 85
|
Posted: Thu Aug 20, 2009 4:11 pm Post subject: |
|
|
That helped make it so that instead of random characters in the color gradient, it is now question marks with a blue background. I'm still missing a piece somewhere. Any ideas? _________________ Gentoo は行く方法である!
<Translation>
Gentoo is the way to go! |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA
|
Posted: Thu Aug 20, 2009 5:57 pm Post subject: |
|
|
You are starting the terminal emulator with the vga font?
xterm -fn vga
it works for me... though I'm partial to single line prompts... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
doubled157940 Tux's lil' helper
Joined: 13 Sep 2006 Posts: 85
|
Posted: Thu Aug 20, 2009 6:00 pm Post subject: |
|
|
When I put in the command, is outputs:
Code: | Warning: Cannot convert string "nil2" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
xterm: cannot load font vga |
_________________ Gentoo は行く方法である!
<Translation>
Gentoo is the way to go! |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9691 Location: almost Mile High in the USA
|
Posted: Thu Aug 20, 2009 7:58 pm Post subject: |
|
|
You may need to rebuild the font cache.
For some reason I have two copies:
-rw-r--r-- 1 root root 4587 Jun 13 2004 /usr/share/fonts/misc/vga.pcf.gz
-rw-r--r-- 1 root root 4844 Apr 1 2008 /usr/share/dosemu/Xfonts/vga.pcf.gz
make sure you have mkfontdir run on that directory, your font path includes these directories, and xset fp rehash ... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
doubled157940 Tux's lil' helper
Joined: 13 Sep 2006 Posts: 85
|
Posted: Thu Aug 20, 2009 10:18 pm Post subject: |
|
|
I'm missing the vga.pcf.gz in /usr/share/fonts/misc/
It does show in the other directory you listed.
mkfontdir and xset didn't change anything. _________________ Gentoo は行く方法である!
<Translation>
Gentoo is the way to go! |
|
Back to top |
|
|
|