From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: OT lunix rants (Was: [9fans] Fork: useless and painful?) In-Reply-To: <011101c34669$78dbffa0$b9844051@insultant.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed, 9 Jul 2003 16:54:50 -0600 Topicbox-Message-UUID: f1ad4722-eacb-11e9-9e20-41e7f4b1d025 On Thu, 10 Jul 2003, boyd, rounin wrote: > i quick test for an idiot european is: > > env | egrep 'LANG|LC_' > since we're ranting, anyways: to read utf-8 in lunix I need to set: LANG=en_US.UTF-8 (no, not bg_BG.UTF-8, because then lpr decides to print in A4 only, and there's no printer here that'd do it, unless I have a dead chicken to wave at it. we have mad cow in calgary, not dead chickens) -u8 to xterm (no chance of using other terminals -- 9term works with utf, but linux doesn't work with 9term) -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1 - my personal favourite. sometimes I need to switch fonts because this one doesn't have a full set of glyphs.. -iconv handy -- for all the stupid bulgarians that still use KOI8-r, Windows-cp1251, KOI8-u, Codepage-866, ISO-8859-5 and god knows what else to write utf-8 in lunix I need to set (in X11): -Option "XkbLayout" "bg" #Option "XkbVariant" "" -- to tell it that it's a bulgarian sitting behind the keyboard (to scare it perhaps and force X into submission?) -Option "XkbVariant" "phonetic_enhanced" -- 'phonetic_bds' is a local to eastern european countries layout for typewriters, where all the vowels are on one side of the keyboard, it's there in case we ought to torture somebody and are out of other options -Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll" -- try to decipher that on your own. There is no conceivable set of documentation that explains how to do it in one go -- one has to be 'enlightened' by somebody who already knows this stuff.