public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  mc-4.6.1 not showing graphical characters in terminal
@ 2006-09-09 20:02 Peter
       [not found] ` <45032BAF.8020309@gmx.net>
  2006-09-09 21:55 ` [gentoo-user] " Jerry McBride
  0 siblings, 2 replies; 12+ messages in thread
From: Peter @ 2006-09-09 20:02 UTC (permalink / raw
  To: gentoo-user

After
1) upgrade to gcc 4.1.1
2) upgrade to profile 2006.1
3) revdep-rebuild recompile for libstdc++ and for new profile uses (which
included mc)

Now, issuing mc at a terminal prompt (not inside X) shows no border
characters. Does this have something to do with unicode support? The only
way I can get any useful terminal output is to use the -a output for stick
characters. Inside an xterm or similar, mc shows graphical characters
fine. I re-emerged mc with -unicode, but the results are the same.

Clues?
-----------------------
peter@mars ~ $ mc -V        
GNU Midnight Commander 4.6.1
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, smbfs, undelfs
With builtin Editor
Using system-installed S-Lang library with terminfo database
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support

peter@mars ~ $ emerge --info
Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-beyond4pre1-r1 i686)
=================================================================
System uname: 2.6.17-beyond4pre1-r1 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1   
dev-python/pycrypto: 2.0.1-r5   
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17     
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3  
sys-devel/gcc-config: 1.3.13-r3 
sys-devel/libtool:   1.5.22     
virtual/os-headers:  2.6.17     
ACCEPT_KEYWORDS="x86"           
AUTOCLEAN="yes"                 
CBUILD="i686-pc-linux-gnu"      
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"       
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/mnt/src/distfiles"    
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo ftp://206.75.217.180/"
MAKEOPTS="-j2"                  
PKGDIR="/mnt/src/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/mnt/src/var/tmp"
PORTDIR="/mnt/src/portage"      
PORTDIR_OVERLAY="/mnt/src/local/portage /mnt/src/local/overlays/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa arts artswrappersuid avi berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds emboss encode esd fam firefox flac fortran gdbm gif glut gnome gpm gstreamer gtk hal ipv6 isdnlog java jpeg lcms ldap libg++ mad mikmod mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session slang spell spl ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xine xml xmms xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

-- 
Peter
+++++
Do not reply to this email, it is a spam trap and not monitored.
I can be reached via this list, or via 
jabber: pete4abw at jabber.org
ICQ: 73676357

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
       [not found] ` <45032BAF.8020309@gmx.net>
@ 2006-09-09 21:09   ` Stefan Wimmer
  0 siblings, 0 replies; 12+ messages in thread
From: Stefan Wimmer @ 2006-09-09 21:09 UTC (permalink / raw
  To: gentoo-user

* Jarry <jarry@gmx.net> [2006-09-09 21:01] :
>  Peter wrote:
> > After
> > 1) upgrade to gcc 4.1.1
> > 2) upgrade to profile 2006.1
> > 3) revdep-rebuild recompile for libstdc++ and for new profile uses (which
> > included mc)
>  > Now, issuing mc at a terminal prompt (not inside X) shows no border
>  > characters.
> 
>  Similar problem here, except that I did not upgrade gcc,
>  but freshly instaled 2006.1 on my laptop. If I start mc
>  in console (not X), there are no horizontal/vertical lines
>  surrounding panels. Just some strange characters, or empty
>  space...
> 
>  Maybe some use-flags missing, ncurses or something like that...
>  Jarry

Emerge mc with slang use-flag and you'll be fine ... I put put mine 
globally in /etc/make.conf but you may consider to use 
/etc/portage/package.use as well. 

HTH
swimmer

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user]  mc-4.6.1 not showing graphical characters in terminal
  2006-09-09 20:02 [gentoo-user] mc-4.6.1 not showing graphical characters in terminal Peter
       [not found] ` <45032BAF.8020309@gmx.net>
@ 2006-09-09 21:55 ` Jerry McBride
  2006-09-09 22:55   ` [gentoo-user] " Peter
                     ` (2 more replies)
  1 sibling, 3 replies; 12+ messages in thread
From: Jerry McBride @ 2006-09-09 21:55 UTC (permalink / raw
  To: gentoo-user

On Saturday 09 September 2006 16:02, Peter wrote:
> After
> 1) upgrade to gcc 4.1.1
> 2) upgrade to profile 2006.1
> 3) revdep-rebuild recompile for libstdc++ and for new profile uses (which
> included mc)
>
> Now, issuing mc at a terminal prompt (not inside X) shows no border
> characters. Does this have something to do with unicode support? The only
> way I can get any useful terminal output is to use the -a output for stick
> characters. Inside an xterm or similar, mc shows graphical characters
> fine. I re-emerged mc with -unicode, but the results are the same.
>
> Clues?

Yup...

I had the same MC issue after upgrading to the 2006.1 levels. It's a very 
basic language issue. I'm not sure if it's gcc, glibc or perhaps an xorg 
module...

Prior to this upgrade, I never gave language setting a second thought... but 
once mc began acting up, I started digging around with google and this is 
what I cobbled up.

In "/etc/env.d/02locale " I have set: LC_ALL="en_US.ISO-8859-1"
In "/etc/rc.conf" I set "UNICODE=no"
In "/etc/conf.d/consolefont" I have set: CONSOLETRANSLATION=8859-1_to_UNI"

That last line makes no since to me, but it seems to be required for MC.

Last but least run env-update, source /etc/profile and check /etc/profile.env 
has LC_ALL set to "en_US.ISO-8859-1". It may take a reboot, but once I had 
made the change, midnight commander began drawing lines again.

The only other problems I ever had with MC is, if I leave mc running for any 
length of time, it begins to take more and more cpu resource... Top will show 
like 80% useage. Once I kill off mc, everything is back to normal. Anyone 
have a tip for that one?

Jerry...

P.S. I welcome all comments.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
  2006-09-09 21:55 ` [gentoo-user] " Jerry McBride
@ 2006-09-09 22:55   ` Peter
       [not found]   ` <edvh56$vh0$1@sea.gmane.org>
  2006-09-10 15:16   ` [gentoo-user] " Lukasz Pawelczyk
  2 siblings, 0 replies; 12+ messages in thread
From: Peter @ 2006-09-09 22:55 UTC (permalink / raw
  To: gentoo-user

On Sat, 09 Sep 2006 17:55:35 -0400, Jerry McBride wrote:

> On Saturday 09 September 2006 16:02, Peter wrote:
>> After
>> 1) upgrade to gcc 4.1.1
>> 2) upgrade to profile 2006.1
>> 3) revdep-rebuild recompile for libstdc++ and for new profile uses (which
>> included mc)
>>
>> Now, issuing mc at a terminal prompt (not inside X) shows no border
>> characters. Does this have something to do with unicode support? The only
>> way I can get any useful terminal output is to use the -a output for stick
>> characters. Inside an xterm or similar, mc shows graphical characters
>> fine. I re-emerged mc with -unicode, but the results are the same.
>>
>> Clues?
> 
> Yup...
> 
> I had the same MC issue after upgrading to the 2006.1 levels. It's a very 
> basic language issue. I'm not sure if it's gcc, glibc or perhaps an xorg 
> module...
> 
> Prior to this upgrade, I never gave language setting a second thought... but 
> once mc began acting up, I started digging around with google and this is 
> what I cobbled up.
> 
> In "/etc/env.d/02locale " I have set: LC_ALL="en_US.ISO-8859-1"
> In "/etc/rc.conf" I set "UNICODE=no"
> In "/etc/conf.d/consolefont" I have set: CONSOLETRANSLATION=8859-1_to_UNI"
> 
> That last line makes no since to me, but it seems to be required for MC.
> 
> Last but least run env-update, source /etc/profile and check /etc/profile.env 
> has LC_ALL set to "en_US.ISO-8859-1". It may take a reboot, but once I had 
> made the change, midnight commander began drawing lines again.
> 
> The only other problems I ever had with MC is, if I leave mc running for any 
> length of time, it begins to take more and more cpu resource... Top will show 
> like 80% useage. Once I kill off mc, everything is back to normal. Anyone 
> have a tip for that one?
> 
> Jerry...
> 
> P.S. I welcome all comments.
>

http://bugs.gentoo.org/show_bug.cgi?id=146990
This is tough. I filed a bug. Obviously, with unicode a new can of worms
has been opened. I have slang, ncurses, etc. I did not change the default
console fonts but am afraid I will have to. ITMT, mc -a will have to do.
Thanks for the feedback. Feel free to chime in on the bug. Jakub is in his
worksforme mode.

-- 
Peter
+++++
Do not reply to this email, it is a spam trap and not monitored.
I can be reached via this list, or via 
jabber: pete4abw at jabber.org
ICQ: 73676357

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
       [not found]   ` <edvh56$vh0$1@sea.gmane.org>
@ 2006-09-10  1:31     ` Jerry McBride
  2006-09-10 11:18       ` Peter
  2006-09-10 13:33       ` Peter
  0 siblings, 2 replies; 12+ messages in thread
From: Jerry McBride @ 2006-09-10  1:31 UTC (permalink / raw
  To: gentoo-user

On Saturday 09 September 2006 19:01, Peter wrote:
> On Sat, 09 Sep 2006 17:55:35 -0400, Jerry McBride wrote:
> > On Saturday 09 September 2006 16:02, Peter wrote:
> >> After
> >> 1) upgrade to gcc 4.1.1
> >> 2) upgrade to profile 2006.1
> >> 3) revdep-rebuild recompile for libstdc++ and for new profile uses
> >> (which included mc)
> >>
> >> Now, issuing mc at a terminal prompt (not inside X) shows no border
> >> characters. Does this have something to do with unicode support? The
> >> only way I can get any useful terminal output is to use the -a output
> >> for stick characters. Inside an xterm or similar, mc shows graphical
> >> characters fine. I re-emerged mc with -unicode, but the results are the
> >> same.
> >>
> >> Clues?
> >
> > Yup...
> >
> > I had the same MC issue after upgrading to the 2006.1 levels. It's a very
> > basic language issue. I'm not sure if it's gcc, glibc or perhaps an xorg
> > module...
> >
> > Prior to this upgrade, I never gave language setting a second thought...
> > but once mc began acting up, I started digging around with google and
> > this is what I cobbled up.
> >
> > In "/etc/env.d/02locale " I have set: LC_ALL="en_US.ISO-8859-1"
> > In "/etc/rc.conf" I set "UNICODE=no"
> > In "/etc/conf.d/consolefont" I have set:
> > CONSOLETRANSLATION=8859-1_to_UNI"
> >
> > That last line makes no since to me, but it seems to be required for MC.
> >
> > Last but least run env-update, source /etc/profile and check
> > /etc/profile.env has LC_ALL set to "en_US.ISO-8859-1". It may take a
> > reboot, but once I had made the change, midnight commander began drawing
> > lines again.
> >
> > The only other problems I ever had with MC is, if I leave mc running for
> > any length of time, it begins to take more and more cpu resource... Top
> > will show like 80% useage. Once I kill off mc, everything is back to
> > normal. Anyone have a tip for that one?
> >
> > Jerry...
> >
> > P.S. I welcome all comments.
>
> It required a reboot although I think I could have run console manually.
> Turning off UNICODE and enabling the cache translation setting as you
> suggested worked. This needs to be documented. Jerry, would you like to
> add your comments to the bug? I'd like to see you credited for your help.
>

Hi Peter,

I just had a look at the bug report and comment #5 from Jakub Moc is the 
correct fix. 

I'll chime in and post my thoughts anyway...


Jerry
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
  2006-09-10  1:31     ` Jerry McBride
@ 2006-09-10 11:18       ` Peter
  2006-09-10 14:55         ` Bo Ørsted Andresen
  2006-09-10 16:34         ` Jerry McBride
  2006-09-10 13:33       ` Peter
  1 sibling, 2 replies; 12+ messages in thread
From: Peter @ 2006-09-10 11:18 UTC (permalink / raw
  To: gentoo-user

On Sat, 09 Sep 2006 21:31:50 -0400, Jerry McBride wrote:
snip...
> Hi Peter,
> 
> I just had a look at the bug report and comment #5 from Jakub Moc is the 
> correct fix. 
> 
> I'll chime in and post my thoughts anyway...
> 
> 
> Jerry

For over two years, I took LC_* for granted. Never touched it, never
looked at it (snobbery of being en_US I suppose!). Now, with the 2006.1
profile, I am forced to learn an essential part of Linux. So now, I am set
with en_US and ISO8895-15 although I still don't know where the 02locale
file should have been set from. I manually created it.

Interestingly, there are some problems with the line drawing characters.
In particular
1) the vertical lines don't meet the horizontal ones to make a T or
inverted T. They just stop short and the character for joining the two is
not drawn
2) At the right, just before the corner, there is a v>
3) At the right vertical line, where the horizontal should meet line --|
there is a gap and the vertical is interrupted and the character to make
that join is not drawn.
        |
---------
        |

However, all this is much better than before, and I don't do that much
with mc in a terminal anyway. As I noted, it's fine under any X.

Thanks again for your help.

-- 
Peter
+++++
Do not reply to this email, it is a spam trap and not monitored.
I can be reached via this list, or via 
jabber: pete4abw at jabber.org
ICQ: 73676357

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
  2006-09-10  1:31     ` Jerry McBride
  2006-09-10 11:18       ` Peter
@ 2006-09-10 13:33       ` Peter
  1 sibling, 0 replies; 12+ messages in thread
From: Peter @ 2006-09-10 13:33 UTC (permalink / raw
  To: gentoo-user

On Sat, 09 Sep 2006 21:31:50 -0400, Jerry McBride wrote:

snip...

> Hi Peter,
> 
> I just had a look at the bug report and comment #5 from Jakub Moc is the 
> correct fix. 
> 
> I'll chime in and post my thoughts anyway...
> 
> 
> Jerry

I added a documentation bug, see bug #147062, to request they add a note
somewhere about checking localization. Thanks again for your help!

-- 
Peter
+++++
Do not reply to this email, it is a spam trap and not monitored.
I can be reached via this list, or via 
jabber: pete4abw at jabber.org
ICQ: 73676357

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
  2006-09-10 11:18       ` Peter
@ 2006-09-10 14:55         ` Bo Ørsted Andresen
  2006-09-10 15:46           ` Peter
  2006-09-10 16:34         ` Jerry McBride
  1 sibling, 1 reply; 12+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-10 14:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

On Sunday 10 September 2006 13:18, Peter wrote:
> For over two years, I took LC_* for granted. Never touched it, never
> looked at it (snobbery of being en_US I suppose!). Now, with the 2006.1
> profile, I am forced to learn an essential part of Linux. So now, I am set
> with en_US and ISO8895-15 although I still don't know where the 02locale
> file should have been set from. I manually created it.

This is not connected to your profile or gcc upgrade. It's your glibc upgrade. 
glibc-2.4.x is stricter when it comes to syntax than glibc-2.3.x. Please show 
the output of:

# grep -v '^$\|^#' /etc/locale.gen
# locale -a
# locale

Also utf8 isn't the default in Gentoo (yet). /etc/env.d/03locale should have 
been created manually when you followed [1] given that you wanted utf8.

[1] http://www.gentoo.org/doc/en/utf-8.xml

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user]  mc-4.6.1 not showing graphical characters in terminal
  2006-09-09 21:55 ` [gentoo-user] " Jerry McBride
  2006-09-09 22:55   ` [gentoo-user] " Peter
       [not found]   ` <edvh56$vh0$1@sea.gmane.org>
@ 2006-09-10 15:16   ` Lukasz Pawelczyk
  2 siblings, 0 replies; 12+ messages in thread
From: Lukasz Pawelczyk @ 2006-09-10 15:16 UTC (permalink / raw
  To: gentoo-user

On Sat, Sep 09, 2006 at 05:55:35PM -0400, Jerry McBride wrote:
> Prior to this upgrade, I never gave language setting a second thought... but 
> once mc began acting up, I started digging around with google and this is 
> what I cobbled up.
> 
> In "/etc/env.d/02locale " I have set: LC_ALL="en_US.ISO-8859-1"
> In "/etc/rc.conf" I set "UNICODE=no"
> In "/etc/conf.d/consolefont" I have set: CONSOLETRANSLATION=8859-1_to_UNI"

I think that its enought to turn off UNICODE in /etc/rc.conf to restore
previous behaviour (2006.1 has it turned on by default). With it
terminal is set to unicode and that causes problems I suppose.

Locale (C as default) and translation shouldn't be required. If you want
to have proper frames displaying with unicode do the following:

UNICODE=yes in /etc/rc.conf
CONSOLEFONT="LatArCyrHeb-16" in /etc/conf.d/consolefont
	drdos8x16 migth do the trick as well

for latin1:
LC_[ALL|CTYPE]=en_US.UTF-8 (or any other language) in /etc/env.d/02locale
	you need to add this locale to /etc/locale.gen and regenerate
	locales	with locale-gen
CONSOLETRANSLATION=8859-1_to_UNI in /etc/conf.d/consolefont
DUMPKEYS_CHARSET="iso-8859-1" in /etc/conf.d/keymaps
for latin2:

LC_[ALL|CTYPE]=pl_PL.UTF-8 (same trick as above, and pl_PL is in my case)
CONSOLETRANSLATION=8859-2_to_UNI in /etc/conf.d/consolefont
DUMPKEYS_CHARSET="iso-8859-2" in /etc/conf.d/keymaps

Reboot might be required, dont know if its enough to restart consolefont
and keymaps services.

Make sure you have mc compiled with unicode and slang USE. This way you
should have properly configured unicode console support (as for some
reason 2006.1 tends to set). Beware though that not all applications
work properly with it. Mc and vim f.e. does.

-- 
Regards
Lukasz Pawelczyk
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
  2006-09-10 14:55         ` Bo Ørsted Andresen
@ 2006-09-10 15:46           ` Peter
  2006-09-10 16:44             ` Bo Ørsted Andresen
  0 siblings, 1 reply; 12+ messages in thread
From: Peter @ 2006-09-10 15:46 UTC (permalink / raw
  To: gentoo-user

On Sun, 10 Sep 2006 16:55:18 +0200, Bo Ørsted Andresen wrote:

> On Sunday 10 September 2006 13:18, Peter wrote:
>> For over two years, I took LC_* for granted. Never touched it, never
>> looked at it (snobbery of being en_US I suppose!). Now, with the 2006.1
>> profile, I am forced to learn an essential part of Linux. So now, I am set
>> with en_US and ISO8895-15 although I still don't know where the 02locale
>> file should have been set from. I manually created it.
> 
> This is not connected to your profile or gcc upgrade. It's your glibc upgrade. 
> glibc-2.4.x is stricter when it comes to syntax than glibc-2.3.x. Please show 
> the output of:

I did not upgrade glibc. I recompiled it with the gcc-4.1.1 upgrade.

> 
> # grep -v '^$\|^#' /etc/locale.gen
en_US ISO-8859-15

> # locale -a
C
en_US
en_US.iso885915
POSIX

> # locale
peter@mars ~ $ locale
LANG=en_US.ISO-8859-15
LC_CTYPE="en_US.ISO-8859-15"
LC_NUMERIC="en_US.ISO-8859-15"
LC_TIME="en_US.ISO-8859-15"
LC_COLLATE="en_US.ISO-8859-15"
LC_MONETARY="en_US.ISO-8859-15"
LC_MESSAGES="en_US.ISO-8859-15"
LC_PAPER="en_US.ISO-8859-15"
LC_NAME="en_US.ISO-8859-15"
LC_ADDRESS="en_US.ISO-8859-15"
LC_TELEPHONE="en_US.ISO-8859-15"
LC_MEASUREMENT="en_US.ISO-8859-15"
LC_IDENTIFICATION="en_US.ISO-8859-15"
LC_ALL=en_US.ISO-8859-15

> 
> Also utf8 isn't the default in Gentoo (yet). /etc/env.d/03locale should have 
> been created manually when you followed [1] given that you wanted utf8.

I don't have an 03locale file. I manually created an 02locale file.

> 
> [1] http://www.gentoo.org/doc/en/utf-8.xml
>

I have a lot to learn. As I wrote, I took a lot for granted!

-- 
Peter
+++++
Do not reply to this email, it is a spam trap and not monitored.
I can be reached via this list, or via 
jabber: pete4abw at jabber.org
ICQ: 73676357

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
  2006-09-10 11:18       ` Peter
  2006-09-10 14:55         ` Bo Ørsted Andresen
@ 2006-09-10 16:34         ` Jerry McBride
  1 sibling, 0 replies; 12+ messages in thread
From: Jerry McBride @ 2006-09-10 16:34 UTC (permalink / raw
  To: gentoo-user

On Sunday 10 September 2006 07:18, Peter wrote:
> On Sat, 09 Sep 2006 21:31:50 -0400, Jerry McBride wrote:
> snip...
>
> > Hi Peter,
> >
> > I just had a look at the bug report and comment #5 from Jakub Moc is the
> > correct fix.
> >
> > I'll chime in and post my thoughts anyway...
> >
> >
> > Jerry
>
> For over two years, I took LC_* for granted. Never touched it, never
> looked at it (snobbery of being en_US I suppose!). Now, with the 2006.1
> profile, I am forced to learn an essential part of Linux. So now, I am set
> with en_US and ISO8895-15 although I still don't know where the 02locale
> file should have been set from. I manually created it.
>

Same here.

> Interestingly, there are some problems with the line drawing characters.
> In particular
> 1) the vertical lines don't meet the horizontal ones to make a T or
> inverted T. They just stop short and the character for joining the two is
> not drawn
> 2) At the right, just before the corner, there is a v>
> 3) At the right vertical line, where the horizontal should meet line --|
> there is a gap and the vertical is interrupted and the character to make
> that join is not drawn.
>

Over here they match up perfectly... Which console font do you use? I prefer 
TERMINUS

Jerry
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [gentoo-user]  Re: mc-4.6.1 not showing graphical characters in terminal
  2006-09-10 15:46           ` Peter
@ 2006-09-10 16:44             ` Bo Ørsted Andresen
  0 siblings, 0 replies; 12+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-10 16:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]

On Sunday 10 September 2006 17:46, Peter wrote:
> > This is not connected to your profile or gcc upgrade. It's your glibc
> > upgrade. glibc-2.4.x is stricter when it comes to syntax than
> > glibc-2.3.x. Please show the output of:
>
> I did not upgrade glibc. I recompiled it with the gcc-4.1.1 upgrade.

Your emerge --info shows that you are using glibc-2.4 on an x86 stable system. 
glibc-2.4 and gcc-4.1.1 was stabilized at the exact same time (11 days ago) 
so until I see proof of the opposite I am going to assume that glibc was 
upgraded when you recompiled with gcc-4.1.1.

If you still think glibc wasn't upgraded at the same time then please emerge 
app-portage/genlop and show the output of:

# genlop sys-libs/glibc
# genlop sys-devel/gcc

> > # grep -v '^$\|^#' /etc/locale.gen
>
> en_US ISO-8859-15

So you obviously don't want utf8. Otherwise you should add a utf8 locale to 
locale.gen and follow the utf8 guide. Syntax is correct btw... As long as you 
don't want unicode.

[SNIP]

> > Also utf8 isn't the default in Gentoo (yet). /etc/env.d/03locale should
> > have been created manually when you followed [1] given that you wanted
> > utf8.
>
> I don't have an 03locale file. I manually created an 02locale file.

That was a typo. I meant 02locale. Not that it really matters though...

> > [1] http://www.gentoo.org/doc/en/utf-8.xml
>
> I have a lot to learn. As I wrote, I took a lot for granted!

AFAICT the real issue, however, seems to be the fact that sys-apps/baselayout 
has this code in the ebuild:

src_unpack() {
	[...]
	# Setup unicode defaults for silly unicode users
	if use unicode ; then
		sed -i -e '/^UNICODE=/s:no:yes:' etc/rc.conf
	fi
	[...]
}

If the unicode use flag is enabled (which it is by default in the 2006.1 
profiles) this enables unicode in /etc/rc.conf without taking the locale into 
account. That seems stupid IMO.

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-09-10 16:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-09 20:02 [gentoo-user] mc-4.6.1 not showing graphical characters in terminal Peter
     [not found] ` <45032BAF.8020309@gmx.net>
2006-09-09 21:09   ` [gentoo-user] " Stefan Wimmer
2006-09-09 21:55 ` [gentoo-user] " Jerry McBride
2006-09-09 22:55   ` [gentoo-user] " Peter
     [not found]   ` <edvh56$vh0$1@sea.gmane.org>
2006-09-10  1:31     ` Jerry McBride
2006-09-10 11:18       ` Peter
2006-09-10 14:55         ` Bo Ørsted Andresen
2006-09-10 15:46           ` Peter
2006-09-10 16:44             ` Bo Ørsted Andresen
2006-09-10 16:34         ` Jerry McBride
2006-09-10 13:33       ` Peter
2006-09-10 15:16   ` [gentoo-user] " Lukasz Pawelczyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox