Article View: news.software.readers
Article #192528Re: slrn and accented characters
From: SINNER
Date: Sat, 11 Nov 2006 23:29
Date: Sat, 11 Nov 2006 23:29
85 lines
4107 bytes
4107 bytes
* 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... -- David Likewise, the national appetizer, brine-cured herring with raw onions, wins few friends, Germans excepted. -- Darwin Porter "Scandinavia On $50 A Day"
Technical Details
Message-ID:
<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!news-in-01.newsfeed.easynews.com!easynews.com!easynews!easynews-local!fe04.news.easynews.com.POSTED!news.gates-of-hell.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>Show Full Headers
Complete Article Headers
Message-ID: <c03i24x6o5.ln2@news.gates-of-hell.com> Subject: Re: slrn and accented characters Date: Sat, 11 Nov 2006 23:29:52 GMT From: SINNER <99nesorjd@gates_of_hell.invalid> 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> 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!news-in-01.newsfeed.easynews.com!easynews.com!easynews!easynews-local!fe04.news.easynews.com.POSTED!news.gates-of-hell.com!not-for-mail Newsgroups: news.software.readers Organization: Hell.org X-Face: #sn6gF@jD*I3X; _)M5ymNQ1wG39y^'rxXRA5y-oi7.T/>P.P-40N\&-q'Mu+DWRSTF[}`Vtd85KnX\fe1~p-<(9U<zenv]u["swbx<^u; %a:ro>w=r"qdVdsY_@\.mDg9"ruPsYjX.Bi9M#gF-fG5=obWVG'>0W*w3RC X-Newsreader: leafnode-2.0.0.alpha20060831a User-Agent: slrn/0.9.8.1pl1 (Debian) Lines: 85 X-Complaints-To: abuse@easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.