UK Currency Symbol in 7.2 Console - A Question actually about FreeBSD

bsd bsd at
Fri May 29 07:12:09 UTC 2009


I use a Macintosh as client host, but this could be any computer as  
long as you have a working keyboard configured.

My shell is bash (latest port version).

In my .bashrc I have included the following:

# Display quoted characters
stty cs8 -istrip -parenb
bind 'set convert-meta off'
bind 'set meta-flag on'
bind 'set output-meta on'

Furthermore I have configured emacs (my favorite editor) to also  
handle UTF8 character and encoding

In my .emacs:

(set-terminal-coding-system 'utf-8)
     (set-keyboard-coding-system 'utf-8)
     (prefer-coding-system 'utf-8)

This allows me to have all my characters encoded in UTF-8.

One more interesting thing is the prompt (more fancy than really  

In .bashrc:

case "$TERM" in
PS1="\[\033[01;33;33m\]\h \w --> \[\033[00m\]"
PS2='\u:\w >'
#PS1='\e[1;31m\u@\h:\e[1;37m\w\e[1;31m\$\e[0;37m '
PS1="\[\033[01;36;36m\]\h \t \w screen $ \[\033[00m\]"
PS1='\h:\w\$ '

And the history search, still in .bashrc:

bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward

Le 29 mai 09 à 08:54, Graham Bentley a écrit :

> Hello All,
> Im still struggling with this one and have tried all I could find
> by Googling lists and forums. @ and " keys are fine as are
> every other key apart from £ symbol. Can anyone suggest
> ways to track this down. At 'Login:' I can actually get £ but
> after loging I get a beep? I have tried various fonts and maps
> to no avail.
> Any suggestions / pointers, even an RT[URL]FM or useful
> flame appreciated.
> Thanks!

Gregober ---> PGP ID --> 0x1BA3C2FD
bsd @at@

P "Please consider your environmental responsibility before printing  
this e-mail"

More information about the freebsd-questions mailing list