Re: displaying Japanese in the virtual consoles/terminals in squeeze

2011-12-26 Thread Joel Rees
Ouch.
 [...]
 For example, Debian console installer runs on virtual console with
 japanese display or any fancy characters.  This is because they run
 special terminal program.

 Should be the same set of issues, except for the specific parameters,
 for any large-character-set language.

   jfbterm
   fbterm-ucimf
   fbterm
   bogl-bterm

 apt-get show fbterm tells me fbterm is installed, but I don't see any
 .fbtermrc files in the user directories when I login to the virtual
 consoles.

user@deb:~$ dmesg
...
[   38.475382] [drm] Initialized via 2.11.1 20070202 for :01:00.0 on minor 0
[   38.584875] agpgart-via :00:00.0: AGP 3.5 bridge
[   38.584902] agpgart-via :00:00.0: bridge is in legacy mode,
falling back to 2.x
[   38.584910] agpgart-via :00:00.0: putting AGP V2 device into 4x mode
[   38.584965] pci :01:00.0: putting AGP V2 device into 4x mode
[ 2380.669109] fbterm[2816]: segfault at 18 ip 08050653 sp bfefa670
error 4 in fbterm[8048000+13000]
[ 4485.968858] mtrr: no MTRR for e800,400 found
[ 4486.381984] agpgart-via :00:00.0: AGP 3.5 bridge
[ 4486.382012] agpgart-via :00:00.0: bridge is in legacy mode,
falling back to 2.x
[ 4486.382019] agpgart-via :00:00.0: putting AGP V2 device into 4x mode
[ 4486.382075] pci :01:00.0: putting AGP V2 device into 4x mode
...

Possibly relevant lines:
-
...
[0.00] NR_IRQS:1280
[0.00] Console: colour VGA+ 80x25
[0.00] console [tty0] enabled
[0.00] Fast TSC calibration using PIT
[0.00] Detected 1833.246 MHz processor.
...
[0.082677] CPU0: AMD Sempron(tm)   2600+ stepping 01
[0.084001] Brought up 1 CPUs
[0.084001] Total of 1 processors activated (3666.49 BogoMIPS).
[0.084001] CPU0 attaching NULL sched-domain.
[0.084001] devtmpfs: initialized
[0.084001] regulator: core version 0.5
[0.084001] NET: Registered protocol family 16
...
[0.142147] vgaarb: device added:
PCI::01:00.0,decodes=io+mem,owns=io+mem,locks=none
[0.142151] vgaarb: loaded
...
[0.879403] Linux agpgart interface v0.103
[0.879550] agpgart: Detected VIA KM400/KM400A chipset
[0.887935] agpgart-via :00:00.0: AGP aperture is 128M @ 0xe000
...
-

Checking in /dev , I do not have any /dev/fb-whatever device.

Should that have been built by the installer when I installed squeeze?

So:

-
user@deb:~$ echo $LANG
ja_JP.UTF-8
-

And,

-
user@deb:~$ ls /lib/modules/`uname -r`/kernel/drivers/video
arcfb.ko console geodemacmodes.ko neofb.ko
s1d13xxxfb.ko  sstfb.kotdfxfb.ko vga16fb.ko
arkfb.ko cyber2000fb.ko  hecubafb.ko  matrox  nvidia
s3fb.kosvgalib.ko  tridentfb.ko  vgastate.ko
aty  display hgafb.ko mb862xx output.ko
savage syscopyarea.ko  uvesafb.kovia
backlightfb_ddc.ko   i810 metronomefb.ko  pm2fb.ko
sissysfillrect.ko  vermilion vt8623fb.ko
cirrusfb.ko  fb_sys_fops.ko  kyro n411.ko pm3fb.ko
sm501fb.ko sysimgblt.kovfb.ko
user@deb:~$ ls -la /lib/modules/`uname -r`/kernel/drivers/video/via
合計 112
drwxr-xr-x  2 root root  4096 2011-11-29 21:04 .
drwxr-xr-x 16 root root  4096 2011-11-29 21:04 ..
-rw-r--r--  1 root root 98560 2011-11-03 18:17 viafb.ko
user@deb:~$ ls -l /lib/modules/`uname -r`/kernel/drivers/video/display
合計 8
-rw-r--r-- 1 root root 7496 2011-11-03 18:17 display.ko
user@deb:~$ ls -l /lib/modules/`uname -r`/kernel/drivers/video/console
合計 12
-rw-r--r-- 1 root root 8900 2011-11-03 18:17 mdacon.ko
-

And,

-
user@deb:~$ cat /etc/default/console-setup
# Change to yes and setupcon will explain what is being doing
VERBOSE_OUTPUT=no

# Setup these consoles.  Most people do not need to change this.
ACTIVE_CONSOLES=/dev/tty[1-6]

# Put here your encoding.  Valid charmaps are: UTF-8 ARMSCII-8 CP1251
# CP1255 CP1256 GEORGIAN-ACADEMY GEORGIAN-PS IBM1133 ISIRI-3342
# ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6
# ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13
# ISO-8859-14 ISO-8859-15 ISO-8859-16 KOI8-R KOI8-U TIS-620 VISCII
CHARMAP=UTF-8

# The codeset determines which symbols are supported by the font.
# Valid codesets are: Arabic Armenian CyrAsia CyrKoi CyrSlav Ethiopian
# Georgian Greek Hebrew Lao Lat15 Lat2 Lat38 Lat7 Thai Uni1 Uni2 Uni3
# Vietnamese.  Read README.fonts for explanation.
CODESET=Uni2

# Valid font faces are: VGA (sizes 8, 14 and 16), Terminus (sizes
# 12x6, 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBold (sizes
# 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBoldVGA (sizes 14
# and 16) and Fixed (sizes 13, 14, 15, 16 and 

displaying Japanese in the virtual consoles/terminals in squeeze

2011-12-25 Thread Joel Rees
For reasons I don't care to debate, I have set my system's default
language to Japanese. When I go to work in the virtual console windows
(for instance, apt-get), I tend to get messages that should be in
Japanese, but the Japanese is replaced by the Unicode replacement
characters (?), which is no problem unless I hit some errors. Which,
of course is a problem..

Trying to search the web for this, and all I can see is old stuff,
stuff about game consoles, and stuff about setting up X11. I know I
should be able to get better results, but I'm not very imaginative.

Should be the same set of issues, except for the specific parameters,
for any large-character-set language.

Anyone with a clue for me?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAAr43iMccsTazfBXmL_mzbGrLWc=vn3bzmf0ux5q1bl5yeq...@mail.gmail.com



Re: displaying Japanese in the virtual consoles/terminals in squeeze

2011-12-25 Thread Roger Leigh
On Sun, Dec 25, 2011 at 09:10:48PM +0900, Joel Rees wrote:
 For reasons I don't care to debate, I have set my system's default
 language to Japanese. When I go to work in the virtual console windows
 (for instance, apt-get), I tend to get messages that should be in
 Japanese, but the Japanese is replaced by the Unicode replacement
 characters (?), which is no problem unless I hit some errors. Which,
 of course is a problem..
 
 Trying to search the web for this, and all I can see is old stuff,
 stuff about game consoles, and stuff about setting up X11. I know I
 should be able to get better results, but I'm not very imaginative.

See /etc/default/console-setup.  Note that the virtual console has
historically been limited to only 512 characters, which may mean
that the full repertoire of Chinese and Japanese glyphs are not
available using the built-in terminal emulator.

You might have more success with running [j]fbterm or similar, which
should have better support for more characters.



Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?   http://gutenprint.sourceforge.net/
   `-GPG Public Key: 0x25BFB848   Please GPG sign your mail.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111225134747.gy5...@codelibre.net



Re: displaying Japanese in the virtual consoles/terminals in squeeze

2011-12-25 Thread hvw59601

Joel Rees wrote:

For reasons I don't care to debate, I have set my system's default
language to Japanese. 


snip

Did you install with Japanese as the default language, or did you 
install as some other language and change the default?


Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/jd79op$te$2...@dough.gmane.org



Re: displaying Japanese in the virtual consoles/terminals in squeeze

2011-12-25 Thread Osamu Aoki
Hi,

On Sun, Dec 25, 2011 at 09:10:48PM +0900, Joel Rees wrote:
 For reasons I don't care to debate, I have set my system's default
 language to Japanese. When I go to work in the virtual console windows
 (for instance, apt-get), I tend to get messages that should be in
 Japanese, but the Japanese is replaced by the Unicode replacement
 characters (?), which is no problem unless I hit some errors. Which,
 of course is a problem..

Normal Linux console is only good for UTF-8 within latin-like
characters.
 
 Trying to search the web for this, and all I can see is old stuff,
 stuff about game consoles, and stuff about setting up X11. I know I
 should be able to get better results, but I'm not very imaginative.

For example, Debian console installer runs on virtual console with
japanese display or any fancy characters.  This is because they run
special terminal program.

 Should be the same set of issues, except for the specific parameters,
 for any large-character-set language.

  jfbterm
  fbterm-ucimf
  fbterm
  bogl-bterm

Try one of these with appropriate font packages.  I think you can get
Japanese display.

 Anyone with a clue for me?

But for all practical purpose, Use X or run aptitude on normal Linux
console under any Locale with:

$ sudo LANGUAGE=fr_FR.UTF-8 aptitude
 or 
$ sudo LANGUAGE=en_US.UTF-8 aptitude

Then you can read it :-)

Osamu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111225164741.ga18...@goofy.lan



Fwd: displaying Japanese in the virtual consoles/terminals in squeeze

2011-12-25 Thread Joel Rees
(Forgot to reply to list.)

On 12/25/11, hvw59601 hvw59...@care2.com wrote:
 Joel Rees wrote:
 For reasons I don't care to debate, I have set my system's default
 language to Japanese.

 snip

 Did you install with Japanese as the default language, or did you
 install as some other language and change the default?

Installed with Japanese as the default.

fbterm is installed, but not running.

Joel Rees


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAAr43iMt7qfDsX=w0kq+rzbubkn9xusrr8jk02vgjm0v06b...@mail.gmail.com



Re: displaying Japanese in the virtual consoles/terminals in squeeze

2011-12-25 Thread Joel Rees
(Forgot to reply to list.)
On 12/26/11, Osamu Aoki os...@debian.org wrote:
 Hi,

 On Sun, Dec 25, 2011 at 09:10:48PM +0900, Joel Rees wrote:
 For reasons I don't care to debate, I have set my system's default
 language to Japanese. When I go to work in the virtual console windows
 (for instance, apt-get), I tend to get messages that should be in
 Japanese, but the Japanese is replaced by the Unicode replacement
 characters (?), which is no problem unless I hit some errors. Which,
 of course is a problem..

 Normal Linux console is only good for UTF-8 within latin-like
 characters.

 Trying to search the web for this, and all I can see is old stuff,
 stuff about game consoles, and stuff about setting up X11. I know I
 should be able to get better results, but I'm not very imaginative.

 For example, Debian console installer runs on virtual console with
 japanese display or any fancy characters.  This is because they run
 special terminal program.

 Should be the same set of issues, except for the specific parameters,
 for any large-character-set language.

   jfbterm
   fbterm-ucimf
   fbterm
   bogl-bterm

apt-get show fbterm tells me fbterm is installed, but I don't see any
.fbtermrc files in the user directories when I login to the virtual
consoles.

Do you have a recommendation?

 Try one of these with appropriate font packages.  I think you can get
 Japanese display.

The man page for fbterm doesn't seem to be telling me how to set it
up. I'm going to have to re-read it a few times, I guess.

 Anyone with a clue for me?

 But for all practical purpose, Use X or run aptitude on normal Linux
 console under any Locale with:

 $ sudo LANGUAGE=fr_FR.UTF-8 aptitude
  or
 $ sudo LANGUAGE=en_US.UTF-8 aptitude

 Then you can read it :-)

 Osamu


Well, I've had running X11 sessions fight with upgraded X11 packages
in the past, and had to manually cycle power to bring the system back
up (no ping, even), so I prefer to do the apt-get upgrade in a virtual
console shell, where X11 can stay out of the way.

As for why the system itself is set up in Japanese, well, I have not
been able to bring my children up bi-lingual, and I want them to be
able to get around my computers, I've habitually set them up Japanese.

(Now that my son is in high school, I sometimes question the wisdom of
this plan. But there's no way to teach the guy the reasons why without
letting him do stupid things, so I just put up with it.)

Joel Rees


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAAr43iPKyf=fpznp3hmeqjr39ayy7gezjjaibn-ynybvo+r...@mail.gmail.com