Article View: news.software.readers
Article #192554Re: slrn and accented characters
From: Top
Date: Sun, 12 Nov 2006 16:21
Date: Sun, 12 Nov 2006 16:21
92 lines
3869 bytes
3869 bytes
SINNER <99nesorjd@gates_of_hell.invalid> wrote in news:c03i24x6o5.ln2@news.gates-of-hell.com: >* Peter J Ross wrote in news.software.readers: >> On Wed, 01 Nov 2006 01:29:59 GMT, SINNER >> <99nesorjd@gates_of_hell.invalid> wrote in >> news.software.readers: > >>> * Peter J Ross wrote in news.software.readers: > >>> [...] > >>>> My suggestions for Gnome-Terminal and Konsole also work >>>> in Debian/Testing. The suggestion for Xterm *should* work >>>> too, but I haven't had a chance to test it yet. > >>> My new mission is to figure out how to make Gnome Terminal >>> default to the appropriate encodeing. It dosent seem to >>> save that attribute with the profile. > >> You can set the default encoding for the whole Gnome >> session when logging in with GDM, but you can't set it for >> Gnome-Terminal only. KDE/Konsole has a similar problem. > >> However, the following ought to work in (K/X)Ubuntu 6.10 >> and might work in 6.06 too. Beware of wrapped text! >> Everything between verbatim marks (#v+ #v-) should be a >> single line. Change each instance of "en_US" and >> "ISO-8859-15" to what you require. > > Sorry to get back so late. I see others have had success. > Mine has varied. > > >> 1. If necessary, generate the required locale, as >> previously suggested. E.g., > >> #v+ >> $ sudo locale-gen en_US.ISO-8859-15 >> #v- > >> 2. Install luit: > >> #v+ >> $ sudo apt-get install luit >> #v- > > Above all worked. > >> 3. Work around a bug that causes luit to look for >> locale.alias in the wrong place, by adding a link: > >> #v+ >> $ sudo ln -sv /usr/share/X11/locale/locale.alias >> /usr/lib/X11/locale/locale.alias #v- > >> (locale.alias may already be in the right place on Ubuntu >> 6.06, so don't worry if you get an error here.) > > My error was that the originating file did not exist. > >> 4. Open a new terminal or tab. Don't alter the encoding >> from the default UTF-8. (In fact, you should be able to >> remove the non-default encoding I suggested in a previous >> post.) > > I was unsuccessful here, could not remove utf-8, which I > don't really want to do, I just want 8559-1 to be my > default. > >> 5. In the terminal, run luit with the appropriate locale >> and encoding, calling slrn after sleeping for 1 second as a >> workaround for YET ANOTHER luit bug: > >> #v+ >> $ LANG=en_US.ISO-8859-15 luit -encoding ISO-8859-15 sh -c >> "sleep 1; slrn" #v- > > If I run like this or alias this I get the desired effect > without having to physically switch the terminal encoding, > which is really all I want anyway per above. > > [...] > > Peter, thank very much man, I owe you more than the six > previously debited. If you're ever in Texas... > Where in Texas? Top
Technical Details
Message-ID:
<Xns987973846CA7ATopneorrcom@66.250.146.128>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!post02.iad01!roadrunner.com!not-for-mailReferences:
<HPx0h.9$Sl5.0@newsfe05.lga> <slrnekct0a.5hh.pjr@nntp.alcatroll.com> <ccgi14xrp5.ln2@news.gates-of-hell.com> <slrnekfmu6.5bd.pjr@nntp.alcatroll.com> <vk9l14xe67.ln2@news.gates-of-hell.com> <slrneks7i3.cjc.pjr@nntp.alcatroll.com> <c03i24x6o5.ln2@news.gates-of-hell.com>Show Full Headers
Complete Article Headers
Message-ID: <Xns987973846CA7ATopneorrcom@66.250.146.128> Subject: Re: slrn and accented characters Date: Sun, 12 Nov 2006 16:21:19 +0000 From: Top <Top@whoknowsneo.rr.com> References: <HPx0h.9$Sl5.0@newsfe05.lga> <slrnekct0a.5hh.pjr@nntp.alcatroll.com> <ccgi14xrp5.ln2@news.gates-of-hell.com> <slrnekfmu6.5bd.pjr@nntp.alcatroll.com> <vk9l14xe67.ln2@news.gates-of-hell.com> <slrneks7i3.cjc.pjr@nntp.alcatroll.com> <c03i24x6o5.ln2@news.gates-of-hell.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!post02.iad01!roadrunner.com!not-for-mail Newsgroups: news.software.readers User-Agent: Xnews/06.08.25 Approved: Ed#ed.com Lines: 92 Organization: Road Runner High Speed Online http://www.rr.com X-Complaints-To: abuse@rr.com