2008年10月19日日曜日

Xtermの文字を大きくする

defaultだと小さくて疲れる。

  • font を emerge


    • emerge media-fonts/efont-unicode

  • /etc/X11/xorg.conf に FontPath を追加する。


    • FontPath "/usr/share/fonts/efont-unicode/"


  • $HOME/.Xresources に以下を追加



    • Xterm*cjkWidth: true
      XTerm*utf8: 1
      XTerm*wideChars: true
      XTerm*locale: true
      xterm*fontDoublesize: true
      XTerm*background: black
      XTerm*foreground: white
      XTerm*highlightColor: blue
      XTerm*font: -efont-fixed-medium-r-normal--16-160-75-75-c-80-iso10646-1

      ! Needs for Alt_L=Meta on emacs
      XTerm*metaSendsEscape: true
      XTerm*eightBitInput: false

      ! Scrollbar color
      XTerm*Scrollbar*thickness: 10
      XTerm*Scrollbar*foreground: black
      XTerm*Scrollbar*background: white


  • 256 color


    • export TERM=xterm-256color

    2008年10月14日火曜日

    L4Linux メモ

    起動後
    l4lx | ======> L4Linux 2.6 starting... <========
    l4lx | Linux version 2.6.26-l4 (shin@gentoo) (gcc version 4.1.2 (Gentoo 4.1.
    l4lx : 2 p1.1)) #1 Sun Oct 12 10:41:33 JST 2008
    l4lx | Binary name: vmlinuz
    l4lx | Linux kernel command line (6 args): mem=64M load_ramdisk=1 ramdisk_si
    l4lx : ze=16384 root=/dev/ram l4env_rd=drops.rd video=l4fb:800x600@16,refres
    l4lx : hsleep:100
    l4lx | Image: 00400000 - 007c9000 [3876 KiB].
    l4lx | Areas: Text: 00400000 - 006d3000 [2892kB] (a bit longer)
    l4lx | Data: 006d3000 - 006f46d8 [133kB]
    l4lx | Initdata: 006f8000 - 00737000 [252kB]
    l4lx | BSS: 00738000 - 007c8b50 [578kB]
    l4lx | l4lx_thread_create: Created thread 10.03 (tamer0)
    l4lx | Tamer0 is 10.03
    l4lx | Using tamed mode.
    ROOT: Sending all ports (for cli/sti) to task #0d
    l4lx | Got 65536 out of 65536 I/O ports
    で固まる

    A. Fiascoの menuconfig で
    Kernel options - Assembler IPC shortcut を OFF にすれば OK.

    2008年10月6日月曜日

    Gentoo & qemu その2

    gentoo gcc-3.4.6 で cvs版の qemu をコンパイルしようとするも...

    release_0_9_0/target-i386/ops_sse.h:213: error: this is
    the insn:
    (insn:HI 36 35 37 3 release_0_9_0/target-i386/ops_sse.h
    :207 (parallel [
    (set (reg:DI 63 [
    .q ])
    (lshiftrt:DI (reg:DI 63 [
    .q ])
    (subreg:QI (reg/v:SI 60 [ shift ]) 0)))
    (clobber (scratch:SI))
    (clobber (reg:CC 17 flags))
    ]) 309 {lshrdi3_1} (insn_list 33 (insn_list 35 (nil)))
    (expr_list:REG_DEAD (reg/v:SI 60 [ shift ])
    (expr_list:REG_UNUSED (reg:CC 17 flags)
    (expr_list:REG_UNUSED (scratch:SI)
    (nil)))))
    release_0_9_0/target-i386/ops_sse.h:213: 前のエラーにより混乱していますので、脱出します
    make[1]: *** [op.o] エラー 1


    gentoo の gcc-3.4.6 はダメ?らしい。

    http://docs.openmoko.org/trac/ticket/1093

    しかたなく...

    /etc/portage/package.keywords に sys-devel/gcc:3.3 ~x86 を追加して、
    emerge -av sys-devel/gcc:3.3

    で、gcc-3.3.6 をインストール。

    qemu は ./configure --host-cc=/usr/bin/gcc-3.3.6 --cc=/usr/bin/gcc-3.3.6
    で compile できました♪