Power MachTen 4.03 + CU1 + X11R6 Installation (Jan 29,'97)


Hardware Configuration

  1. PowerBook 5300ce
  2. CPU: PowerPC 603e (117MHz) x 1
    RAM: 64 MB
    HDD: 1.2 GB (builtin)

  3. Macintosh OS Version
  4. Kanji Talk 7.5.5

Installation

General Settings

  1. Configurations
  2. User Entry
  3. In order to add a new user
    adduser <username> [ -u <uid> -g <gid> -s <shel> ]
    For instance
    # adduser fujiik -u 20 -g 20 -s /usr/local/bin/tcsh
    ---> /etc/passwd
    ---> /etc/group
    Add jlc for compatibility with jlc clusters.
    ---> The command "su" is allowed only for gid=0 (wheel)
    ---> Edit /etc/group to allow entry to multiple groups
    In order to change /etc/passwd
    # chpass <username>
    which invokes "vi" to edit the user entry. In order to remove a user entry
    # rm -R /home/<username>
    # vi /etc/passwd
    then remove the user entry.

  4. Valid Shells
  5. Add
    /usr/bin/tcsh
    /usr/local/bin/tcsh
    in
    /etc/shells
    to allow "tcsh" as a valid SHELL.

  6. Other Customizations
  7. /etc/man.conf for MANPATH
    /etc/hosts for system aliases

X Window Settings

  1. New Fonts
  2. Copy kanji fonts in
    /usr/X11R6/lib/fonts/misc
    to
    /usr/lib/X11/fonts/misc
    by hand due to X11R6 installers bug.

    Add fonts (a12, rk12, k12) in

    /usr/lib/X11/fonts/misc/
    and do
    # cd /usr/lib/X11/fonts/misc/
    # mkfontdir
    to create fonts.dir. Then do
    # xset fp rehash
    to notify the system the change.

  3. Font Alias
  4. Modify
    /usr/lib/X11/fonts/75dpi/fonts.alias
    to include helvb12, etc. and do
    # xset fp rehash
    to notify the system the change.

  5. New Icons
  6. Add user icons in
    /usr/X11R6/include/X11/pixmap/...

  7. System-wide Defaults
  8. /usr/X11R6/lib/X11/app-defaults/...
    /usr/X11R6/lib/X11/xinit/.Xmodmap
    /usr/X11R6/lib/X11/xinit//xinitrc
    /usr/X11R6/lib/X11/xinit//xserverrc
    /usr/X11R6/lib/X11/xinit//Xparams
    (e.g.)
    .Xmodmap: Setup the ascii-like key environmet on a JIS-keyboard by
    keycode 58 =
    keycode 101 = grave asciitilde
    keycode 102 = underscore
    Xparams: Activate arrow keys by
    /usr/bin/X11/X -cmdkey meta -mo
    which at the same time makes the mouse button simulations with OPT+left/right and allows to use the cmdkey as a unix's meta key.

Starting and Ending MachTen

  1. Start MachTen
  2. Double-click the MachTen icon.
    Cmd-t starts the X window system.

  3. End MachTen
  4. First end the X window session by quitting the window manager in use or by selcting
    "Close Window"
    from "File" menu. Only then "Logout" and then "Quit"

  5. File Repair
  6. In case of hungup, rebuild "Desk Top" and use "Norton Disk Doctor" to check and fix, if necessary, the file system. Never fix the file names starting with periods! Never run "Speed Disk"!

Authentication

Local Settings

  1. Libraries, etc.
  2. First install
    tcsh
    to facilitate further work.
    Create
    /usr/tmp
    and make it writable for everybody.
    Create
    /usr/vue/palettes/CoralReef.vp
    for color setting with tk applications.
    Install
    /proj/phys/lclib

  3. Ported Appications
    1. List of Ported Applications
      for X11R6
    2. Installation Notes
      In general, all one has to do is
      # cd /
      # tar -zxvf <source-dir>/<app name>-bin.tar.gz
      if a binary is available.
      xaw3d: one has to install libXaw3d in System Extensions Folder while MachTen is down. Note that shared libraries must have Type shlb and Creator MUMM.
      tcl_tk: one has to make symbolic links as
      tclsh7.6jp ---> tclsh7.6, tclsh
      wish4.2jp ---> wish4.2, wish
      libtcl7.6jp.a ---> libtcl7.6.a, libtcl.a
      libtk4.2jp.a ---> libtk4.2.a, libtk.a
      tcl7.6jp ---> tcl7.6, tcl
      tk4.2jp ---> tk4.2, tk
      ntt-jlatex: one has to make
      /usr/local/tex/ntt/lib/texmf/fonts/tmp/pk/*
      writable for everybody.

  4. /home/fujiik
    1. /home/fujiik/bin
    2. /home/fujiik/test, memo, work, documents
    3. /home/fujiik/.*
      .canna
      .cshrc
      .fvwmrc
      .login
      .tkman
      .xinitrc
      .Xmodmap
      .Xparams
      .Xresources
      .xsession
      .elm/
      .tkdesk/

Back to Keisuke Fujii's Home Page
fujiik@jlcuxf.kek.jp Jan. 29, 1997