Date: Fri, 29 May 2009 09:12:02 +0200 From: bsd <bsd@todoo.biz> To: Graham Bentley <admin@cpcnw.co.uk> Cc: Liste FreeBSD <freebsd-questions@freebsd.org> Subject: Re: UK Currency Symbol in 7.2 Console - A Question actually about FreeBSD Message-ID: <3E8E0044-5AFF-44AE-87B5-8A16FA87F442@todoo.biz> In-Reply-To: <024FF181E9F1495DB6B3C4AC45B4CFC0@main> References: <20090527221613.98D351065845@hub.freebsd.org> <024FF181E9F1495DB6B3C4AC45B4CFC0@main>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, I use a Macintosh as client host, but this could be any computer as =20 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 =20 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 =20 usefull): In .bashrc: case "$TERM" in xterm*|rxvt*) PS1=3D"\[\033[01;33;33m\]\h \w --> \[\033[00m\]" PS2=3D'\u:\w >' ;; screen) #PS1=3D'\e[1;31m\u@\h:\e[1;37m\w\e[1;31m\$\e[0;37m ' PS1=3D"\[\033[01;36;36m\]\h \t \w screen $ \[\033[00m\]" ;; *) PS1=3D'\h:\w\$ ' ;; esac And the history search, still in .bashrc: bind '"\e[A"':history-search-backward bind '"\e[B"':history-search-forward Le 29 mai 09 =E0 08:54, Graham Bentley a =E9crit : > 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 =A3 symbol. Can anyone suggest > ways to track this down. At 'Login:' I can actually get =A3 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! =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF P "Please consider your environmental responsibility before printing =20 this e-mail"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8E0044-5AFF-44AE-87B5-8A16FA87F442>