ThinkPad 530CS 偱 Linux

傗傑偩偰偮傗偡

tetsu@cauchy.nslab.ntt.jp

偁傋傂傠偺傇

hironobu@ap.isl.melco.co.jp

v1.01, 1996/02/09

Revision History                                                       
Revision 1.01                        1996擭2寧9擔                      
偙偺暥彂                                                               
Revision 1.00                        1996擭2寧2擔                      
pre Release                                                            

偙偺暥彂偼昅幰傜偑強桳偡傞 ThinkPad 530CS 偵 Linux 傪僀儞僗僩乕儖偟偨帪
偵儊儌偟偨傕偺傪傑偲傔偨傕偺偱偡丅偙傟偐傜 ThinkPad 530CS 偱 Linux 傪僀
儞僗僩乕儖偟偰巊偄偨偄恖偺僸儞僩偵偱傕側傟偽丄偲巚偭偰偲傝偁偊偢岞奐偡
傞偙偲偵偟傑偟偨丅

    Note: 偙偺暥彂偼偐側傝埲慜偵彂偐傟偨傕偺側偺偱丄偄傑偳偒偺 Linux 娐
    嫬偵偼偁偰偼傑傜側偄売強偑偁傝傑偡丅 (JF Project)
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

Table of Contents
偼偠傔偵
1. Slackware-3.0偺僀儞僗僩乕儖 & XFree86偺愝掕
   
    1.1. 崱夞偺幚尡戜
    1.2. 傕偺偺弨旛
    1.3. Linux 偺僀儞僗僩乕儖
    1.4. 嵟掅尷偺娐嫬愝掕
    1.5. X 偺娐嫬愝掕
    1.6. 偦偺懠偺働乕僗
   
2. 僔僗僥儉偺愝掕 & JE-0.9.7j 偺僀儞僗僩乕儖
   
    2.1. kernel 偺嵞峔抸
    2.2. pcmcia-cs 偺嵞愝掕
    2.3. APM 懳墳偺傾僾儕働乕僔儑儞
    2.4. JE-0.9.7j偺僀儞僗僩乕儖丄愝掕
   
3. 愝掕僼傽僀儖偺椺
   
    3.1. /etc/XF86Config偺椺
    3.2. ~/.xinitc偺椺
    3.3. ~/.fvwmrc偺椺
   
List of Examples
1-1. 恾1 DOS僷乕僥傿僔儑儞偺暘妱

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

Chapter . 偼偠傔偵

偙偺暥彂偼昅幰傜偑強桳偡傞 ThinkPad 530CS 偵 Linux 傪僀儞僗僩乕儖偟偨帪
偵儊儌偟偨傕偺傪傑偲傔偨傕偺偱偡丅偙傟偐傜 ThinkPad 530CS 偱 Linux 傪僀
儞僗僩乕儖偟偰巊偄偨偄恖偺僸儞僩偵偱傕側傟偽丄偲巚偭偰偲傝偁偊偢岞奐偡
傞偙偲偵偟傑偟偨丅

傑偨椺偵傛偭偰偺傝偩偗偱巚偄晅偄偰偐傜悢擔偱嶌惉偟偨偺偱娫堘偄傕懡偄偲
偼巚偄傑偡偑丄昅幰傜偺儅僔儞偱挧愴偟偨偙偲偺婰榐偲偟偰丄偙偺暥彂偲堦弿
偵惉挿偟偰峴偔梊掕偵側偭偰偄傑偡偺偱(崱屻晄掕婜偵僶乕僕儑儞傾僢僾偟偰峴
偔梊掕偱偡)丄壗偐忣曬偑偁傞曽偼忋婰 2 恖傑偱儊乕儖傪壓偝偄丅

偙偺暥彂偵弌夛偭偰奆偝傫偺娐嫬偑彮偟偱傕椙偔側傟偽岾偄偱偡丅 (偁傋傂傠
偺傇)

偙偺暥彂偼埲壓偺條側3復峔惉偵側偭偰偄傑偡丅偨偩偟丄彂偒曽偼復偵傛偭偰帺
桼偱偡偟丄撪梕偵堦娧惈偑柍偄晹暘偑偁傞偐傕抦傟傑偣傫偑屼椆彸壓偝偄丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆  戞1復   Slackware-3.0偺僀儞僗僩乕儖 & XFree86偺愝掕 (傗傑偩)      劆
劆  戞2復   僔僗僥儉偺愝掕 & JE-0.9.7j偺僀儞僗僩乕儖    (偁傋)        劆
劆  戞3復   愝掕僼傽僀儖偺椺                            (傗傑偩)      劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

Chapter 1. Slackware-3.0偺僀儞僗僩乕儖 & XFree86偺愝掕

廬棃偼丄乽PCMCIA 偺僗儘僢僩傪帩偭偨僒僽僲乕僩 PC 偵 Linux 傪僀儞僗僩乕
儖偡傞嵺偼丄Ethernet 僇乕僪傪梡偄偰 NFS 偱峴側偆偺偑妝偩乿偲尵傢傟偰偄
傑偟偨丅偲偙傠偑丄PCMCIA 偺 SCSI 僇乕僪懳墳偺 boot/rootdisk 偑嶌傜傟傞
偵帄偭偰丄崱傗 SCSI 偺 CD-ROM 偐傜偺僀儞僗僩乕儖偺曽偑娙扨偵側偭偰偟傑
偄傑偟偨丅

PCMCIA 偺 SCSI 僇乕僪偲 SCSI 偺 CD-ROM 僪儔僀僽偑庤尦偵偁傞(傑偨偼恖偐
傜庁傝偰棃傜傟傞)恖偼丄偤傂 CD-ROM 偐傜偺僀儞僗僩乕儖傪帋偟偰傒偰壓偝偄
丅

杮復偱偼丄ThinkPad530CS (埲壓 530CS )偵丄PCMCIA 偺 SCSI 僇乕僪偲 CD-ROM
僪儔僀僽傪梡偄偰丄Slackware-3.0 偲 XFree86 傪僀儞僗僩乕儖偡傞曽朄傪愢柧
偟傑偡丅

CD-ROM 偲偟偰偼丄LASER5 偐傜弌偝傟偰偄傞丄乽LINUX+JE4(1995/12)乿(埲壓
JE^4 )傪巊偄傑偡丅偙偺 CD-ROM 偵偼丄Slackware-3.0丄JE0.9.7 偑娷傑傟偰偄
傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆  乽LINUX+JE4(1995/12)乿                                            劆
劆  敪攧尦: LASER5弌斉嬊                                              劆
劆  仹101 搶嫗搒愮戙揷嬫奜恄揷3-6-10 S.C.C價儖2F                      劆
劆  TEL 03-5256-1663                                                  劆
劆  FAX 03-5256-5524                                                  劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

Ethernet 僇乕僪傪梡偄偨 NFS 偱偺僀儞僗僩乕儖曽朄丄ThinkPad 230Cs (埲壓
230Cs )傗 Canon INNOVA 傊偺僀儞僗僩乕儖曽朄偵偮偄偰偼丄堘偆揰偩偗暿偵夝
愢偟傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.1. 崱夞偺幚尡戜

 丒 530CS 杮懱
   
    2607-7FK(儊儌儕=20MB,HD=700MB,Windows95僾儗僀儞僗僩乕儖儌僨儖)
   
 丒 PCMCIA 偺 SCSI 僇乕僪
   
    Qlogic Fast!SCSI PCMCIA-10 
    Adaptec SlimSCSI (APA-1460)
   
 丒 CD-ROM 僪儔僀僽
   
    Logitec LCD-M500(SCSI, 2攞懍)
    奜晅偗傾僋僥傿僽僞乕儈僱乕僞 
   
撪憼HD偼丄

 丒 Windows3.1+DOS 偺傒
   
 丒 Windows95 偺傒
   
偺偳偪傜偐偺巊偄曽傪偟偰偄傞偲壖掕偟偰偄傑偡丅暋悢偺 OS 傪擖傟偰偄傞恖
偼丄偦傟側傝偺僗僉儖偑偁傞偲巚偄傑偡偺偱丄杮暥傪揔媂撉傒偐偊偰壓偝偄丅

僨傿僗僋僪儔僀僽偺 DOS 忋偱偺柤徧.

僼儘僢僺乕僨傿僗僋 (FD)     :僪儔僀僽 A
撪憼僴乕僪僨傿僗僋 (HD)     :僪儔僀僽 C
奜晅偗 CD-ROM 僪儔僀僽 (CD) :僪儔僀僽 D

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.2. 傕偺偺弨旛

[梡堄偡傞傕偺]

 a. 530CS
   
    Windows 3.1, Windows 95 儌僨儖偺偳偪傜偱傕壜丅 
    OS/2 儌僨儖偺偙偲偼暘偐傜側偄(帩偭偰側偄偺偱)丅
   
 b. PCMCIA 偺 SCSI 僇乕僪(埲壓偺傕偺偼幚愌偁傝)
   
    Qlogic Fast!SCSI PCMCIA-10 
    Adaptec SlimSCSI (APA-1460)
    New Mesia Bus Toaster SCSI 
   
 c. SCSI 偺奜晅偗 CD-ROM 僪儔僀僽
   
    SCSI 僇乕僪偺働乕僽儖偲僐僱僋僞偺宍忬偑崌偆偐僠僃僢僋丅僞乕儈僱乕僞
    僷儚乕傪嫙媼偱偒傞傕偺偱偁傞偙偲丅
   
 d. FD (2HD 傪 3 枃埲忋)
   
 e. JE^4
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.2.1. FD 偺弨旛

 1. boot/rootdisk
   
    PCMCIA 梡 boot/rootdisk 傪埲壓偐傜帩偭偰棃傑偡丅 ftp://
    ftp.kuis.kyoto-u.ac.jp/Linux/NotePC/pcscsi20i.gz
   
    偙傟傪丄
   
      C:> GZIP.EXE -DV PCSCSI20.GZ                              
   
    偲偟偰夝搥偟丄RAWRITE 偱 FD 偵彂偒崬傒傑偡丅GZIP 偼丄JE^4 偺拞側傜
    偽丄 /install/gzip.exe 偵偁傝傑偡丅
   
    FD 偵彂偒崬傒僾儘僥僋僩傪偟偰乽Slackware-3.0 boot/rootdisk
    (pcscsi20i)乿偲偱傕彂偄偰偍偒傑偡丅
   
 2. FIPS梡FD
   
      C:> FORMAT A: /S                                          
   
    偱丄DOS 偺婲摦梡FD傪嶌惉偟丄偦偺拞偵丄JE^4 偺拞偺 /tools/fips12.zip
    傪夝搥偟偨傕偺傪僐僺乕偟傑偡丅
   
    FD 偵彂偒崬傒僾儘僥僋僩傪偟偰乽FIPS12乿偲偱傕彂偄偰偍偒傑偡丅
   
 3. SVGA_for_230.tar.gz
   
    230Cs 梡僷僢僠僉僢僩偐傜丄LCD夋柺娭學偺僣乕儖傪帩偭偰棃傑偡丅 ftp:/
    /ftp.lab.kdd.co.jp/OS/Linux/TP230CS/230kits/SVGA_for_230.tar.gz
   
    偙傟傪丄僼儘僢僺乕僨傿僗僋偵僐僺乕偟偰偍偒傑偡丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.2.2. HD 偺弨旛

偙傟埲崀偺嶌嬈偼丄搑拞偱僶僢僥儕愗傟偑婲偒側偄傛偆丄AC 傾僟僾僞傪晅偗偰
峴側偭偰壓偝偄丅

 

 丒 [僶僢僋傾僢僾]
   
    530CS 偺 HD 偵擖傟偰偁傞丄帺暘偺嶌惉偟偨僼傽僀儖偵偮偄偰偼丄昁偢僶
    僢僋傾僢僾傪庢偭偰壓偝偄丅
   
    HD 撪偵偼丄DOS,Windows, ThinkPad 愱梡僾儘僌儔儉,偍傑偗僜僼僩偑僾儗
    僀儞僗僩乕儖偝傟偰偄傑偡丅擮偺偨傔僶僢僋傾僢僾傪庢偭偰偍偒傑偟傚偆
    丅 (偙傟傜偼丄嵟埆偺応崌偱傕偍嬥傪暐偊偽庤偵擖傟傜傟傑偡)
   
 丒 [HD偺惍棟]
   
    Linux傪僀儞僗僩乕儖偡傞偨傔偵昁梫側 HD 偺嬻偒梕検偺栚埨偼埲壓偺捠傝
    偱偡(傕偪傠傫丄巊偄曽偵傕傛傝傑偡)丅
   
     仩 X 僂傿儞僪僂僔僗僥儉(埲壓 X 偲棯)傪巊傢側偄側傜
       
        50MB埲忋
       
     仩 X 傪巊偆側傜
       
        140MB埲忋
       
 

僶僢僋傾僢僾傪庢偭偨側傜偽丄晄梫側僼傽僀儖偼巚偄愗偭偰徚偟傑偟傚偆丅巊
傢側偄側傜丄Windows 傪徚偡偺傕庤偱偡丅偙傟偵傛傝偐側傝偺梕検偺嬻偒偑偱
偒傑偡丅

HD 偺惍棟偵偁偨偭偰偼丄偄偔偮偐拲堄帠崁偑偁傝傑偡丅

 丒 (拲1) DOS 偖傜偄偼摦偔傛偆偵偟偰偍偔丅
   
    Linux 偑摦偔傛偆偵側偭偰偐傜傕丄撪憼 DSP 傗崅搙徣揹椡婡擻 (APM) 偺
    愝掕曄峏側偳偺偨傔偵 DOS 忋偺僾儘僌儔儉偑昁梫偱偡丅DOS 偑棫偪忋偑傞
    偨傔偵昁梫側嵟掅尷偺僼傽僀儖偲丄埲壓偺僾儘僌儔儉偼徚偝側偄偱壓偝偄
    丅
   
    徚偟偰偼偄偗側偄傕偺
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  DOS             : 棫偪忋偑傞掱搙偱偄偄偱偡丅                劆
    劆  DEFRAG.EXE      : 屻偱巊偄傑偡丅                            劆
    劆  PS2.EXE         : APM丄僔儕傾儖億乕僩偺愝掕摍               劆
    劆  MWGAMES.EXE     : 撪憼DSP偺僒僂儞僩僽儔僗僞乕儌乕僪愝掕/夝彍劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
 丒 (拲2) 僴僀僶僱乕僔儑儞僼傽僀儖傪嶌惉偟偰偍偔丅
   
    530CS 偱偼丄儊儌儕偺撪梕傪 HD 偵彂偒崬傓偙偲偱丄揹婥傪慡偔徚旓偡傞
    偙偲側偔丄嶌嬈忬懺傪曐懚偟偰偍偔偙偲偑偱偒傑偡丅偙偺婡擻傪僴僀僶僱
    乕僔儑儞偲屇傃傑偡丅
   
    530CS 偺僴僀僶僱乕僔儑儞婡擻偱偼丄儊儌儕撪梕傪 DOS 偺僷乕僥傿僔儑儞
    拞偵偁傞丄僴僀僶僱乕僔儑儞梡偺僼傽僀儖(尒偊側偄僼傽僀儖)偵彂偒崬傒
    傑偡丅偙偺偨傔丄DOS 僷乕僥傿僔儑儞偑側偐偭偨傝丄偁偭偨偲偟偰傕偦偺
    拞偵僴僀僶僱乕僔儑儞僼傽僀儖偑側偐偭偨傝偡傞偲丄僴僀僶僱乕僔儑儞偼
    幐攕偵廔傝傑偡丅
   
    晛捠偼僴僀僶僱乕僔儑儞僼傽僀儖偑偡偱偵偁傞偼偢偱偡偑丄擮偺偨傔丄嶌
    偭偰偍偒傑偡丅
   
    僴僀僶僱乕僔儑儞僼傽僀儖偺嶌惉朄偼丄HD 偑 C 僪儔僀僽偺応崌丄PS2 僐
    儅儞僪傪 HFILE C 僆僾僔儑儞傪晅偗偰屇傃弌偟傑偡丅儊儌儕検+1MB偖傜偄
    偺僒僀僘偺丄尒偊側偄僼傽僀儖(pm_hiber.bin)偑偱偒傑偡丅
   
      C:\> PS2 HFILE C                                          
   
    偡偱偵偁傞応崌偼丄暥嬪傪尵偭偰棃傑偡偑暿偵栤戣偁傝傑偣傫丅
   
側偍丄儊儌儕検偵傛偭偰僴僀僶僱乕僔儑儞梡僼傽僀儖偺戝偒偝傕堘偆偺偱丄屻
偱儊儌儕傪憹愝偟偨応崌偵偼丄偙偺僐儅儞僪傪嵞幚峴偡傞昁梫偑偁傝傑偡丅儊
儌儕憹愝偺梊掕偺偁傞応崌丄DOS 僷乕僥傿僔儑儞偺梕検偑懌傝側偔側傜側偄傛
偆偵拲堄偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.2.3. DOS僷乕僥傿僔儑儞偺嵟揔壔(DEFRAG)

DOS僷乕僥傿僔儑儞偺屻傠傪愗偭偰嬻偒偺DOS僷乕僥傿僔儑儞偲偟丄偙傟傪
Linux梡偵偟傑偡丅

Example 1-1. 恾1 DOS僷乕僥傿僔儑儞偺暘妱

 ===================      ===================                          
                           DOS僷乕僥傿僔儑儞(巊梡)                     
                     FIPS      (400MB)                                 
  DOS僷乕僥傿僔儑儞   仺  -------------------                          
      (720MB)              DOS僷乕僥傿僔儑儞(嬻偒)                     
                               (300MB)                                 
 ===================      ===================                          

HD 忋偺 DOS 偺僼傽僀儖傪偒傟偄偵忋偐傜媗傔偰偍偐側偄偲丄嬻偒梕検偺妱偵
偼 Linux 僷乕僥傿僔儑儞偑彫偝偔側偭偰偟傑偄傑偡丅

DEFRAG 偲偄偆僾儘僌儔儉偑晅偄偰棃傞偺偱丄偙傟傪幚峴偟傑偡丅DEFRAG 偼丄

Windows95 側傜偽丄
劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆  僗僞乕僩/傾僋僙僒儕/僔僗僥儉僣乕儖/僨僼儔僌                       劆
劆  (応強偼丄C:\WINDOWS\DEFRAG)                                       劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

Windows3.1側傜偽丄Windows傪廔椆偟偰丄DOS偱

  C:> C:\DOS\DEFRAG                                                    

偁偲偼巜帵偵偟偨偑偭偰丄僴乕僪僨傿僗僋傪嵟揔壔偟偰偔偩偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.2.4. DOS 僷乕僥傿僔儑儞傪愗傝媗傔傞(FIPS)

DOS 僷乕僥傿僔儑儞傪愗傝媗傔傞偵偼丄FIPS 傪巊偄傑偡丅巹偑壗搙偐巊偭偨尷
傝偵偼僩儔僽儖偼偁傝傑偣傫偱偟偨偑丄僼傽僀儖傪攋夡偡傞嫲傟偑側偄偲偼尵
偊側偄偺偱丄廳梫側僼傽僀儖偺僶僢僋傾僢僾偼昁偢庢偭偰偍偄偰壓偝偄丅

妎屽偑偱偒偨傜丄FIPS 梡 FD 偱婲摦偟丄FIPS 傪婲摦偟傑偡丅

  A:\> FIPS                                                            

偁偲偼昞帵(塸岅)偵廬偭偰嶌嬈傪峴側偭偰壓偝偄丅巊梡拞 DOS 僷乕僥傿僔儑儞
偺僒僀僘傪偄偔偮偵媗傔傞偐傪暦偐傟傞偩偗側偺偱丄僇乕僜儖僉乕偱悢抣傪曄
偊偰丄儕僞乕儞傪墴偣偽廔傝偱偡丅

    拲: FIPS 偼僷乕僥傿僔儑儞偺暘妱偼偱偒傑偡偑丄寢崌偼偱偒傑偣傫丅DOS
    梡偺僄儕傾傪愗傝媗傔夁偓側偄傛偆拲堄偟偰壓偝偄丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.3. Linux 偺僀儞僗僩乕儖

1.3.1. 僽乕僩乣 root 偱偺儘僌僀儞

boot/rootdisk 傪擖傟偰婲摦偟傑偡丅boot: 偑弌偨傜偦偺傑傑 ENTER 傪墴偟偰
壓偝偄丅(埲慜偺僶乕僕儑儞偱偼丄ramdisk=2000 偑昁梫偱偟偨偑丄崱夞偼僨僼
僅儖僩 2000 偵側偭偨傒偨偄偱偡丅)

    拲: 偙偺帪揰偱偼丄僉乕儅僢僾偑塸岅偺 101 僉乕儃乕僪梡偵側偭偰偄傞偺
    偱偛拲堄壓偝偄丅
   
rootdisk 偺撪梕傕 ramdisk 偵帺摦揑偵撉傒崬傫偱嵟廔揑偵 login 僾儘儞僾僩
偑弌傞偺偱丄root 偱儘僌僀儞偟傑偡丅

  slackware login: root                                                

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.3.2. Linux 僷乕僥傿僔儑儞嶌惉 (fdisk)

柍帠偵 root 偱儘僌僀儞偱偒偨傜丄fdisk 偱 Linux 僷乕僥傿僔儑儞傪嶌惉偟傑
偡丅娙扨偵丄swap 偲 / 偵暘偗傞偙偲偲偟傑偡丅

 ===================       ===================                         
  DOS僷乕僥傿僔儑儞          DOS僷乕僥傿僔儑儞 /dev/hda1               
      (400MB)        fdisk      (400MB)                                
 -------------------  仺   -------------------                         
  DOS僷乕僥傿僔儑儞(嬻偒)    Linux-swap (20MB) /dev/hda2               
      (300MB)                Linux-/    (280MB)/dev/hda3               
 ===================       ===================                         
                                                                       
           恾2 Linux僷乕僥傿僔儑儞偺暘妱                               

奺僷乕僥傿僔儑儞偺梕検偲偟偰偼丄

 丒 swap
   
    堦斒揑偵埲壓偺傛偆偵尵傢傟偰偄傑偡丅
   
     仩 儊儌儕検偑16MB埲壓偺応崌=16MB
       
     仩 儊儌儕検偑16MB挻偺応崌 =儊儌儕検偲摨偠
       
    偙偙偱偼丄儊儌儕僼儖搵嵹(20MB)偲壖掕偟偰丄20MB偺swap傪嶌傞偙偲偵偟
    傑偡丅
   
 丒 /
   
    巆傝慡偰傪摉偰傑偡丅
   
fdisk偺巊偄曽偵偮偄偰偼丄JE^4偺儅僯儏傾儖傪嶲徠偟偰壓偝偄丅

  # reboot                                                             

偱嵞婲摦偟傑偡丅boot/rootdisk 偱棫偪忋偘丄root 偱儘僌僀儞偡傞偲偙傠傑偱
恑傫偱壓偝偄丅

fdisk 偱妋擣偟偰埲壓偺傛偆偵側偭偰偄傟偽惉岟偱偡丅

  Disk /dev/hda: 32 heads, 63 sectors, 700 cylinders                   
  Units = cylindres of 2016 * 512 bytes                                
                                                                       
     Device Boot  Begin   Start    End  Blocks   Id  System            
  /dev/hda1   *       1       1    394  397120+   6  DOS 16-bit >=32M  
  /dev/hda2         395     395    415   21168   82  Linux swap        
  /dev/hda3         437     437    700  266112   83  Linux native      

偍偐偟偄応崌偼丄fdisk 傪傗傝捈偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.3.3. CD-ROM僪儔僀僽偺擣幆

CD-ROM 僪儔僀僽偺 SCSI-ID 偼 0乣6 偺撪偺偳傟偐偵偟偰偍偒傑偡丅CD-ROM 僪
儔僀僽傪偮側偖嵺偼丄埲壓偺傛偆偵峴側偄傑偡丅

 1. CD-ROM僪儔僀僽偺揹尮傪愗傞丅
   
 2. SCSI 僇乕僪偲 CD-ROM 僪儔僀僽傪働乕僽儖偱愙懕偡傞丅
   
 3. CD-ROM 僪儔僀僽偺揹尮傪擖傟傞丅
   
 4. SCSI 僇乕僪傪 530CS 偵嵎偟崬傓丅
   
奜偡帪偼偙偺媡偱偡丅

嵎偟崬傓偲夋柺偵偄傠偄傠弌偰棃傑偡丅

Qlogic 偺 Fast!SCSI 偺応崌偼丄

  # Jan 28 15:23:38 cardmgr[25] initializing socket 0                                          
  Jan 28 15:23:38 cardmgr[25]: socket 0: Qlogic FastSCSI                                       
  Jan 28 15:23:38 cardmgr[25]: executing: '/sbin/insmod/lib/modules/1.2.13/pcmcia/qlogic_cs.o' 
  Ql: Using present base address of 2e0                                                        
  Ql: Using present IRQ 3                                                                      
  scsi0: Qlogic Driver version 0.43, chip 50 at 2E0, IRQ 3, TPdma:1                            
  scsi : 1 host.                                                                               
    Vendor: SONY     Model: CD-ROM CDU-561    Rev: 1.7X                                        
    Type:   CD-ROM                            ANSI SCSI revision: 02                           
  Detected scsi CD-ROM sr0 at scsi0, id 3, lun 0                                               

Adaptec偺SlimSCSI偺応崌偼丄

  # Jan 28 15:32:05 cardmgr[25] initializing socket 0                                            
  Jan 28 15:32:05 cardmgr[25]: socket 1: Adaptec APA-1460 SlimSCSI                               
  Jan 28 15:32:05 cardmgr[25]: executing: '/sbin/insmod /lib/modules/1.2.13/pcmcia/toaster_cs.o' 
  aha152x: processing commandline: ok                                                            
  detection complete                                                                             
  aha152x: vital data: PORTBASE=0x340, IRQ=3, SCSI ID=7, reconnect=enabled, parity=enabled       
  scsi0 : Adaptec 152x SCSI driver; $Revision: 1.6 $                                             
  scsi : 1 host.                                                                                 
    Vendor: SONY     Model: CD-ROM CDU-561    Rev: 1.7X                                          
    Type:   CD-ROM                            ANSI SCSI revision: 02                             
  Detected scsi CD-ROM sr0 at scsi0, id 3, lun 0                                                 

僠僃僢僋偺億僀儞僩偼丄

 丒 /sbin/insmod ...偲偄偆峴偱丄揔愗側僪儔僀僶偑婲摦偝傟偰偄傞偙偲丅偙
    傟偑弌側偄偲丄僇乕僪偑擣幆偝傟偰偄傑偣傫丅
   
 丒 Detected scsi CD-ROM ...偲偄偆峴偑弌傞偙偲丅弌側偄帪偼丄CD-ROM 僪儔
    僀僽偺揹尮偺擖傟朰傟丄SCSI-ID 偺晄惓丄僞乕儈僱乕僞偑愙懕偝傟偰偄側
    偄丄側偳傪僠僃僢僋偟偰壓偝偄丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.3.4. setup

偙偙偐傜偼僨僗僋僩僢僾婡偺僀儞僗僩乕儖庤弴偲摨條偱偡丅

 1. Slackware 偺僷僢働乕僕偺擖偭偰偄傞 CD-ROM (JE^4 側傜偽 DISK 2) 傪
    CD-ROM 僪儔僀僽偵擖傟傞丅
   
 2. setup 傪婲摦丅
   
      # setup                                                   
   
 3. QUICK 儌乕僪偺慖戰
   
    QUICK 傪慖傃丄QUICK 儌乕僪偵偟傑偡丅
   
 4. KEYMAP 偱 106 僉乕傪慖戰
   
    101 僉乕偺僽儔僀儞僪僞僢僠偺偱偒傞恖偱側偗傟偽丄KEYMAP 傪慖傃丄
    j106-d.map.gz 傪慖戰偟傑偡丅偙偙偱僉乕儅僢僾傪慖戰偟偰偍偔偲丄僀儞
    僗僩乕儖屻傕 106 僉乕儃乕僪偺僉乕儅僢僾偑巊偊傞傛偆偵側傝傑偡丅
   
 5. ADDSWAP 傪慖戰
   
    幙栤偵慡偰 Yes 偲 OK 偱摎偊傑偡丅嵟屻偵 "CONTINUE WITH
    INSTALLATION?" 偲暦偄偰偔傞偺偱丄Yes 傪慖傃傑偡丅
   
 6. root 僷乕僥傿僔儑儞偺巜掕
   
    /dev/hda3 傪慖傃傑偡丅僼僅乕儅僢僩偺帪偼丄Check 傪慖傫偱晄椙僽儘僢
    僋傪僠僃僢僋偡傞偙偲傪偍姪傔偟傑偡丅INODE DENSITY 偼 4096 偱偄偄偱
    偡丅
   
 7. DOS 僷乕僥傿僔儑儞偺儅僂儞僩
   
    /dev/hda1 偑 DOS 僷乕僥傿僔儑儞偩偗偳儅僂儞僩偡傞偐丄偲暦偄偰偔傞偺
    偱丄Yes 偲摎偊丄/dev/hda1 傪巜掕偟傑偡丅偳偙偵儅僂儞僩偡傞偐偼丄/
    dosc 側偳偲摎偊傑偡丅懠偺僷乕僥傿僔儑儞柤傪暦偄偰偒偨傜 q 偱恑傒傑
    偡丅
   
 8. 僜乕僗儊僨傿傾偺慖戰
   
    5 偺 Install from CD-ROM 傪慖傃傑偡丅偳偺 CD-ROM 偐偲暦偄偰偔傞偺偱
    丄scan 傪慖傇偲 /dev/scd0 偑専弌偝傟傑偡丅JE^4 偺応崌偼丄 slakware
    傪慖傃傑偡丅
   
 9. 僨傿僗僋僙僢僩偺慖戰
   
    屻偱 JE 傪擖傟傞偮傕傝偺恖偼丄埲壓偺傕偺-埲奜-傪慖戰偟傑偡丅HD 偺嬻
    偒梕検偑彮側偄側傜偽丄峏偵尭傜偡昁梫偑偁傞偐傕抦傟傑偣傫丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  [CUS](娭學側偄)                                             劆
    劆  [E]  (JE偵偁傞)                                             劆
    劆  [K]  (2復偱怴偟偄僇乕僱儖傪擖傟傞偨傔丄偙偙偱偼擖傟傑偣傫)  劆
    劆  [Q]  (Ethernet愙懕傪偟側偄側傜晄梫)                         劆
    劆  [T]  (JE偵偁傞)                                             劆
    劆  [TCL](JE偵偁傞)                                             劆
    劆  [XD] (HD偺愡栺偺偨傔丅擖傟偰傕偄偄偱偡)                     劆
    劆  [XV] (HD偺愡栺偺偨傔丅擖傟偰傕偄偄偱偡)                     劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
10. 奺僨傿僗僋僙僢僩枅偺僷僢働乕僕慖戰
   
    奺帺偺岲傒偵崌傢偣偰慖戰偟傑偡丅暘偐傜側偄応崌偼丄僀儞僗僩乕儖偡傞
    偙偲偵偟偰偍偗偽栤戣偁傝傑偣傫丅
   
    奺僨傿僗僋僙僢僩枅偺拲堄帠崁偩偗彂偒傑偡丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  [A]   僇乕僱儖偼scsi偐idenet偐偺偳偪傜偐堦曽偩偗傪慖傇丅                劆
    劆        pcmcia偼丄2復偱擖傟姺偊傞偺偱擖傟側偄丅                           劆
    劆        X傪僀儞僗僩乕儖偡傞側傜偽丄gpm傪-擖傟側偄-偙偲丅                  劆
    劆  [AP]  摼偵側偟                                                          劆
    劆  [D]   C僐儞僷僀儔偼丄崱屻偺僾儘僌儔儉偺僀儞僗僩乕儖偺偨傔偵昁恵偱偡丅   劆
    劆  [F]   摼偵側偟                                                          劆
    劆  [N]   摼偵側偟                                                          劆
    劆  [X]   X僒乕僶偼丄x312svga傪慖戰丅                                       劆
    劆        偦偺懠偺僾儘僌儔儉側偳(師偺柺)偼丄偱偒傞偩偗慡晹擖傟傞丅          劆
    劆  [XAP] 摼偵側偟                                                          劆
    劆  [Y]   doom偼丄撪憼DSP偺摦嶌妋擣偵巊偊傞偺偱丄偤傂擖傟傞偙偲:-)丅        劆
    劆        bsdgames傪擖傟傞偲丄fortune偑僀儞僗僩乕儖偝傟丄login偺偨傃偵儊僢  劆
    劆        僙乕僕偑昞帵偝傟傞偑婥偵偟側偄偙偲(/etc/profile, /etc/csh.login   劆
    劆        傪偄偠傟偽巭傔傜傟傑偡)丅                                         劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
11. 僐儞僼傿僌儗乕僔儑儞
   
    惃偄偵忔偭偰愝掕傑偱偟偰偟傑偄傑偟傚偆丅摿偵拲堄偡傞揰偩偗彂偒傑偡
    丅
   
     仩 儅僂僗偺庬椶偼丄PS/2(C&T 82C710 or PS/2)傪慖傇丅
       
     仩 撪憼儌僨儉偼僨僼僅儖僩偱偼 COM2 偱偡丅僗僺乕僪傕 38400 偱偄偄偲
        巚偄傑偡丅撪憼儌僨儉偑巊偊偨偲偄偆曬崘偼傑偩暦偄偰偄傑偣傫丅偤
        傂僩儔僀偟偰壓偝偄丅
       
     仩 僱僢僩儚乕僋偺愝掕偼丄loop back only 傪慖傇丅PCMCIA 偺 Ethernet
        僇乕僪偺愝掕偼偙偙偱偼偱偒傑偣傫偺偱丅
       
     仩 gpm 傪擖傟傞偐偳偆偐暦偄偰偔傞偺偱丄X 傪擖傟傞恖偼 NO 傪慖傇丅
       
     仩 LILO偺僀儞僗僩乕儖偼丄
        劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
        劆  Begin傪慖戰丄<Enter>偩偗擖椡                      劆
        劆  Linux傪慖戰丄/dev/hda3傪巜掕丅                    劆
        劆  DOS傪慖戰丄/dev/hda1傪巜掕丅                      劆
        劆  Install傪慖戰丄MBR傪慖戰丄帪娫偼5昩傪慖戰丅       劆
        劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
       
    偙傟偱僀儞僗僩乕儖偼廔傝偱偡丅SCSI 僇乕僪傪敳偒丄僼儘僢僺乕傪敳偄偰
    丄偄偭偨傫揹尮傪 OFF 偟偰傒傑偟傚偆丅媫偵揹尮僗僀僢僠傪墴偝偢丄師偺
    庤弴偵廬偭偰壓偝偄丅
   
12. 揹尮 OFF 偺嵺偺怱摼
   
    Linux 偼儅儖僠僞僗僋偺 OS 側偺偱丄摿偵嶌嬈傪峴側偭偰偄側偄帪偱傕丄
    棤偱摦偄偰偄傞僾儘僙僗偑 HD 傊偺彂偒崬傒傪峴側偭偰偄傞偙偲傕偁傝傑
    偡丅傑偨丄 HD偵彂偒崬傫偩偮傕傝偺僨乕僞偑丄傑偩僉儍僢僔儏(儊儌儕)忋
    偵偁傝丄HD 傊偼彂偒崬傑傟偰偄側偄偙偲傕偁傝傑偡丅偙偺偨傔丄媫偵揹尮
    傪愗傞偲HD偺撪梕偑攋夡偝傟偨傝丄柕弬傪婲偙偟偨傝偡傞偙偲偑偁傝傑偡
    丅
   
    揹尮傪愗傞帪偼丄root 偱儘僌僀儞偟偰丄
   
      # shutdown -h now                                         
   
    偲懪偪丄偟偽傜偔懸偭偰丄
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  System halted                                         劆
    劆  INIT: No more processes left in runlevel 0            劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
    偺椉曽偑昞帵偝傟偰偐傜丄揹尮僗僀僢僠傪墴偟偰壓偝偄丅
   
13. 惓忢偵婲摦偡傞偐偺妋擣
   
    揹尮傪 ON 偡傞偐丄DOS 傗 Windows 忋偱嵞婲摦傪峴側偆偲丄LILO 偑婲摦
    偝傟傑偡丅
   
    LILO: 偲僾儘儞僾僩偑弌偰丄曻偭偰偍偔偲 Linux 偑棫偪忋偑傝傑偡丅root
    埲奜偺傾僇僂儞僩偼傑偩柍偄偺偱丄root 偱儘僌僀儞偟偰丄reboot 傪幚峴
    偟傑偟傚偆丅
   
    LILO: 偲弌偨偲偙傠偱丄僞僽僉乕傪墴偡偲丄Linux DOS 偲昞帵偝傟傞偺偱
    丄 DOS<Enter> 偲懪偭偰丄DOS 僷乕僥傿僔儑儞偺拞偺 OS 偑棫偪忋偑傞偐
    僠僃僢僋偟傑偟傚偆丅偙偺椺偱偼 Windows95 偑柍帠偵棫偪忋偑傝傑偟偨丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.4. 嵟掅尷偺娐嫬愝掕

1.4.1. root 偺僷僗儚乕僪偺愝掕

root 偼婛偵搊榐偝傟偰偄傑偡偑丄僷僗儚乕僪偑嬻偭傐偱偡丅root 偺僷僗儚乕
僪傪朰傟傞偲偪傚偭偲柺搢偱偡偐傜丄怲廳偵愝掕偟傑偡丅

setup 偺 KEYMAP 偱 106 僉乕儃乕僪傪慖戰偟偨恖偼偄偄偺偱偡偑丄偦偆偱側偄
応崌丄僉乕僩僢僾偺暥帤偲堘偆暥帤偑擖椡偝傟傞偙偲偵側傝傑偡丅彮偟懪偭偰
傒偰丄摿偵婰崋偺僉乕(妵屖傗=+-/*側偳)偱巚偭偨捠傝偺暥帤偑弌傞偐偳偆偐妋
擣偟偰偐傜僷僗儚乕僪偺愝掕偵堏傝傑偡丅

root 偺僷僗儚乕僪傪愝掕偡傞偵偼丄root 偱儘僌僀儞偟偰丄passwd 僐儅儞僪傪
幚峴偟傑偡丅

  # passwd                                                             

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆  Enter new password:       <Enter>                                 劆
劆                      ^^^^^^尒偊傑偣傫                              劆
劆  Re-type new password:     <Enter>                                 劆
劆                      ^^^^^^尒偊傑偣傫                              劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.4.2. 儐乕僓偺搊榐

偄偮傕 root 偱嶌嬈傪偡傞偺偼婋尟側偺偱丄adduser 傪幚峴偟丄堦斒偺儐乕僓
偺搊榐傪偟傑偡丅

  # adduser                                                            

幙栤偵摎偊偰峴偔偲丄/etc/passwd 偵儐乕僓柤偑搊榐偝傟丄 /home 偵僨傿儗僋
僩儕偑嶌傜傟丄婎杮揑側愝掕僼傽僀儖偑僐僺乕偝傟傑偡丅崱屻偼偱偒傞偩偗
root 偱偺嶌嬈偼峴側傢側偄傛偆偵偟傑偟傚偆丅

埲崀丄% 偺僾儘儞僾僩偱堦斒儐乕僓丄# 偺僾儘儞僾僩偱 root 傪帵偟傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.5. X 偺娐嫬愝掕

1.5.1. X 僒乕僶偺慖戰偲 XF86Config 偺嶌惉 (xf86config)

xf86config 傪婲摦偟丄/var/X11R6/bin/X 偺僔儞儃儕僢僋儕儞僋(XF86_SVGA傊)
偲丄/etc/XF86Config 偺嶌惉傪峴側偄傑偡丅

  # xf86config (root偱幚峴)                                            

搑拞偱幐攕偟偨傜丄/etc/XF86Config 傪徚偟偰偐傜 xf86config 傪嵞幚峴偟傑
偡丅

530CS 偱偼丄埲壓偺愝掕偱嶌惉偟偨 XF86Config 偵丄1峴彂偒壛偊丄1峴廋惓偡
傞偩偗偱摦偒傑偡丅

  儅僂僗偺庬椶            : PS/2 Mouse                                 
  Emulate3Buttons         : y                                          
  Mouse device            : <Enter>                                    
  ... for the Alt keys?   : n                                          
  hsync                   : 31.5 (堦斣掅偄偺傪慖戰)                    
  vsync                   : 40-150 (堦斣嫹偄偺傪慖戰)                  
  monitor definition      : <Enter>                                    
  vendor name             : <Enter>                                    
  model name              : <Enter>                                    
  look at... card database: y                                          
  card definition         : Cirrus Logic GD62XX (laptop)               
  X僒乕僶                 : XF86_SVGA                                  
  set the symbolic link?  : y                                          
  set in /var/X11R6/bin?  : y                                          
  video memory            : 512K                                       
  card definition         : <Enter>                                    
  vendor name             : <Enter>                                    
  model (board) name      : clgd6205(屻偱扵偟傗偡偔偡傞偨傔)           
  clock chip              : <Enter>                                    
  X -proveonly now?       : y                                          
  resolution              : 慡偰640x480偵偡傞                          
  write it to /etc/XF86...: y                                          

偱偒偁偑偭偨 /etc/XF86Config 偺拞偐傜 clgd6205 偲偄偆峴傪扵偟丄偦偺屻傠
偵1峴捛壛偟傑偡丅

    Boardname   "clgd6205"                                             
    Chipset     "clgd6205" 仼 捛壛                                     
    #VideoRam   512                                                    

Section "Screen" 拞偱丄Driver "svga" 偲偁傞偲偙傠偺丄
劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆    Virtual     800 600                                             劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偲偄偆峴傪丄
劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆    Virtual     640 480                                             劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
偲捈偟傑偡丅

偙傟偱弨旛偼敿暘 OK 偱偡丅堦搙 X 傪婲摦偟偰傒傑偡丅儘僌傪僼傽僀儖偵棊偟
偰偍偄偨曽偑屻偱妋擣偱偒傑偡丅

  % startx >& startx.log                                               

偲懪偮偲丄攈庤側悈怓偺夋柺偑弌偰棃傑偡丅傑偩僇乕僜儖傪摦偐偡偲僠儔僠儔
偟傑偡偑丄偙傟偼屻偱捈偡偙偲偵偟傑偡丅

弌偰棃側偄応崌偼丄X 僒乕僶偺僔儞儃儕僢僋儕儞僋偑娫堘偭偰偄傞偐丄
XF86Config 偺撪梕偑偍偐偟偄偺偱丄埲壓偺偙偲傪僠僃僢僋偟傑偡丅

 1. startx 傪婲摦偟偨僨傿儗僋僩儕偺拞偵 /etc/XF86Config 偲偼暿偺
    XF86Config 偑偁傝傑偣傫偐丠偁偭偨傜徚偡偐儕僱乕儉偟偰偍偒傑偡丅
   
 2. startx.log 偺拞傪尒偰丄
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  SVGA: server for 8-bit colour SVGA ....               劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
    偲偄偆峴偑偁傝傑偡偐丠柍偗傟偽丄X 僒乕僶偺僔儞儃儕僢僋儕儞僋愭偑
    XF86_SVGA 偵側偭偰偄傑偣傫丅
   
      % ls -l /var/X11R6/bin/X                                  
   
    偱妋擣偟偰壓偝偄丅
   
 3. startx.log 偺拞傪尒偰丄
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  (**) SVGA chipset:  clgd6250                          劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
    偲偄偆峴偑偁傝傑偡偐丠柍偗傟偽丄/etc/XF86Config 偑娫堘偭偰偄傑偡丅
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  Chipset "clgd6205"                                    劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
    偲偄偆峴偑偁傞偐偳偆偐妋擣偟偰壓偝偄丅
   
    偙傟偱傕偩傔側帪偼丄僷乕僩III 偺 XF86Config 偺僒儞僾儖傪 /etc 偵僐
    僺乕偟偰壓偝偄丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.5.2. 價僨僆僠僢僾偺僋儘僢僋偺愝掕(vgaclk0)

夋柺偺偪傜偮偒傪捈偡偨傔偵偼丄X 僒乕僶 (XF86_SVGA) 偺僜乕僗偵僷僢僠傪摉
偰偰 make 偟側偍偡偐丄vgaclk0 偲偄偆僾儘僌儔儉傪 root 偱幚峴偡傞偐偺偳
偪傜偐傪峴側偄傑偡丅

奜晅偗僨傿僗僾儗僀傪偮側偖応崌傕峫偊傞偲丄vgaclk0 傪巊梡偡傞傎偆偑曋棙
偩偲巚偄傑偡丅

僼儘僢僺乕偵擖傟偰偍偄偨丄SVGA_for_230.tar.gz 傪帩偭偰棃偰丄

  % tar zxvf SVGA_for_230.tar.gz                                       
  % cd SVGA_for_230/ktakagi/gdset                                      
  % make                                                               
  % su (root偵側傞)                                                    
  # make install (root偱)                                              

偙傟偱丄

 丒 /usr/local/bin/gdset
   
 丒 /usr/local/bin/vgaclk0
   
偑僀儞僗僩乕儖偝傟傑偡丅setuid 傪偡傞昁梫偑偁傞偨傔丄root 偱僀儞僗僩乕
儖偟側偔偰偼側傝傑偣傫丅

/usr/lib/X11/xinit/xinitrc.fvwm 傪儂乕儉偵 .xinitrc 偲偄偆柤慜偱僐僺乕
偟偰棃傑偡丅

  % cp /usr/lib/X11/xinit/xinitrc.fvwm ~/.xinitrc                      

偦偟偰丄#!/bin/bash 偺峴偺屻傠偵丄埲壓偺傛偆偵3峴傪壛偊傑偡丅

  #!/bin/bash                                                          
  if [ -x /usr/local/bin/vgaclk0 ]; then  仼 捛壛                      
          /usr/local/bin/vgaclk0          仼 捛壛                      
  fi                                      仼 捛壛                      

偙傟偱丄X 傪婲摦偡傞偲丄傕偆偪傜偮偒傑偣傫丅

fvwm 偺愝掕傪曄偊偨偄帪偼丄 /usr/lib/X11/fvwm/sample_configs/
system.fvwmrc 側偳傪丄儂乕儉偵 .fvwmrc 偲偄偆柤慜偱僐僺乕偟偰偐傜廋惓偟
傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.6. 偦偺懠偺働乕僗

1.6.1. NFS 偱偺僀儞僗僩乕儖偺偟偐偨(嵎暘偺傒)

Ethernet 偵愙懕偱偒傞娐嫬偺恖偼丄怴偟偔攦偆側傜偽丄SCSI 僇乕僪偱偼側偔
丄 Ethernet 僇乕僪傪攦偆偙偲傪偍姪傔偟傑偡丅UNIX 儅僔儞偼丄僱僢僩儚乕僋
偱愙懕偝傟偰偙偦杮棃偺枴偑弌傑偡丅

 

 丒 Ethernet 僇乕僪
   
    PCMCIA 偺 Ethenet 僇乕僪偲偟偰偼丄埲壓偺傕偺偑摦嶌妋擣嵪傒偱偡丅
   
    3Com   3c589b                                                
    Accton EN2212(偲偦偺屳姺昳)                                  
    Melco  LPT-T                                                 
    IBM    Ethernet PCMCIA Card II (Credit Card Ethernet Adapter)
   
 丒 NFS 偺偟偐偨
   
     1. 儂僗僩儅僔儞偺 /etc/hosts 偵丄530CS 偺 IP 傪搊榐丅
       
     2. 儂僗僩儅僔儞偺 /etc/exports 偵丄CD-ROM 偺僄儞僩儕傪壛偊傞丅
       
     3. nfsd 傪婲摦 (Sun 偺応崌偼 exports 偺幚峴)丅
       
徻偟偔偼乽僲乕僩 PC 傊偺 network 偐傜偺 LINUX 僀儞僗僩乕儖 HOWTO乿傪撉
傓偲偄偄偱偟傚偆丅

僜乕僗儊僨傿傾偺慖戰偺嵺偵丄Install via NFS 傪慖戰偡傞埲奜偼丄CD-ROM 偐
傜偺僀儞僗僩乕儖偲摨偠偱偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.6.2. 16怓僇儔乕傗丄儊儌儕偺彮側偄婡庬偺応崌

儊儌儕偑 8MB 枹枮(4MB)偺応崌丄pcscsi20i.gz 偼巊偊傑偣傫丅傑偨丄
pcscsi20i.gz 偱偼丄16 怓僇儔乕偺儅僔儞偱昞帵偑尒偵偔偄応崌偑偁傝傑偡丅
儌僲僋儘昞帵偱塸岅斉偺 pcscsi14.gz 偑偁傝傑偡偺偱丄偙偪傜傪巊偭偰壓偝偄
丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆  ftp://ftp.kuis.kyoto-u.ac.jp/Linux/pc-rootdisk-15Nov95/pcscsi14.gz劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

scsinet1 傪 boot 僨傿僗僋偲偟丄boot 僾儘儞僾僩偵懳偟偰丄壗傕擖椡偣偢偵
Enter 傪墴偟傑偡丅

  boot: <Enter>                                                        
  VFS: Insert ramdisk floppy and press ENTER                           

偲弌偨傜丄pcscsi14.gz 偺 FD 偲擖傟姺偊偰丄ENTER 傪墴偟傑偡丅

106 僉乕懳墳傕偁傝傑偣傫偺偱丄setup 偺 KEYMAP 偱 106 僉乕傪慖戰偱偒傑偣
傫丅僀儞僗僩乕儖屻丄2復偺僉乕儅僢僾偺曄峏朄傪尒偰帺暘偱愝掕偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.6.3. 230Cs偺応崌

 

 丒 僨傿僗僋偺僕僆儊僩儕
   
    boot 僾儘儞僾僩偵懳偟偰丄僨傿僗僋偺僕僆儊僩儕傪擖椡偟側偗傟偽側傜側
    偄偙偲偑偁傝傑偡丅晄梫側応崌傕偁傝傑偡(BIOS 僶乕僕儑儞偺堘偄偐?)丅
   
      boot: hd=cyls,hds,secs                                    
   
    Cylinders, Heads, Sectors 偵擖傟傞傋偒悢抣(僨傿僗僋偺僕僆儊僩儕)偼
    丄DOS 偱 QCONFIG 傪幚峴偡傞偙偲偱挷傋傞偙偲偑偱偒傑偡丅
   
      C:> QCONFIG /D | MORE                                     
   
    Windows95 偵 QCONFIG 憡摉偺僾儘僌儔儉偑偁傞偐偳偆偐暘偐傝傑偣傫偑丄
    FIPS 偱悢抣傪挷傋傞偙偲傕偱偒傑偡丅
   
    LILO 偺僀儞僗僩乕儖偱 Begin 偺帪偵丄
   
      hd=Cylinders,Heads,Sectors                                
   
    傪擖椡偟傑偡丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.6.4. Canon INNOVA 偺応崌

 丒 僴僀僶僱乕僔儑儞梡僷乕僥傿僔儑儞
   
    僨傿僗僋偑嵟弶偐傜 2 僷乕僥傿僔儑儞偵暘偗傜傟偰偍傝丄屻傠偺曽偑僴僀
    僶僱乕僔儑儞梡偺僷乕僥傿僔儑儞偲側偭偰偄傑偡丅偙傟偼徚偝側偄傛偆偵
    偟偰丄慜偺曽偺 DOS 僷乕僥傿僔儑儞傪FIPS偱媗傔傑偡丅
   
 丒 XFree86 偺愝掕
   
    X 僒乕僶偼 XF86_VGA16 傪慖戰偟丄僠僢僾僙僢僩偼 Trident 偺 TVGA9000
    傪慖傃傑偡丅
   
    偪傚偭偲僐僣偑偄傞偺偱丄埲壓傪嶲徠偟偰壓偝偄丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  http://www.yy.cs.keio.ac.jp/contrib/sanpei/how2800x600.html         劆
    劆  ftp://ftp.phys.keio.ac.jp/pub/XFree86/800x600/800x600LCD-0.01.tar.gz劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
(傗傑偩偰偮傗偡)

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

Chapter 2. 僔僗僥儉偺愝掕 & JE-0.9.7j 偺僀儞僗僩乕儖

慜復偱 pcmcia 愙懕偟偨奜晅偗 CD-ROM 偐傜 Slackware-3.0 偺僀儞僗僩乕儖傪
峴側偄傑偟偨丅Slackware-3.0 偱僀儞僗僩乕儖偝傟傞 pcmcia 僷僢働乕僕偼
2.6.3 偱 Accton 屳姺偺 NIC 僇乕僪偱偺棙梡偱栤戣偑偁傞偺偱丄偙偺嵺偵怴偟
偄僶乕僕儑儞偡傞曽朄偵偮偄偰愢柧偟傑偡丅

杮復偺嵟屻偱丄JE^4 偺 CD-ROM 偐傜 JE-0.9.7j 傪僀儞僗僩乕儖偡傞曽朄偵偮
偄偰愢柧偟傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.1. kernel 偺嵞峔抸

Slackware-3.0 偱僀儞僗僩乕儖偝傟偨 kernel 偺僶乕僕儑儞偼屆偄偺偱傑偢偼
kernel 偺嵞峔抸傪峴側偆昁梫偑偁傝傑偡丅巹偼斾妑揑埨掕偟偰偄傞偲偄偆偙偲
偱 1.3.57 傪僀儞僗僩乕儖偡傞偙偲偵偟傑偟偨丅

(昅幰拲)嵟怴偺 kernel 偼 1.3.60 偱偡偑丄偙偙偱偼傑偩捛偄晅偄偰偄側偄偺
偱 1.3.57 偱徯夘偟偰偄傑偡丅

巹偼埲壓偺僼傽僀儖 (kernel僜乕僗) 傪弨旛偟傑偟偨丅

 丒 linux-1.3.42.tar.gz (UnixUser 1996.2 LibCD Vol.23)
   
 丒 patch-1.3.43.gz (ftp://ftp.tut.ac.jp/pub/Linux/packages/Kernel/
    v1.3)
   
 丒 patch-1.3.44.gz
   
 丒 patch-1.3.45.gz
   
 丒 patch-1.3.46.gz
   
 丒 patch-1.3.47.gz
   
 丒 patch-1.3.48.gz
   
 丒 patch-1.3.49.gz
   
 丒 patch-1.3.50.gz
   
 丒 patch-1.3.51.gz
   
 丒 patch-1.3.52.gz
   
 丒 patch-1.3.53.gz
   
 丒 patch-1.3.54.gz
   
 丒 patch-1.3.55.gz
   
 丒 patch-1.3.56.gz
   
 丒 patch-1.3.57.gz
   
嵞峔抸偺曽朄偼丄kernel 偺僜乕僗僣儕乕傪 /usr/src/linux 偟傑偡丅梫椞偼丄
亀傞傫傞傫 Linux 亁偺 265 儁乕僕偵弨嫆偟傑偟偨丅

  # cd /usr/src                                                        
  # tar zxvf linux-1.3.42.tar.gz                                       
  # gzip -dc patch-1.3.43.gz | patch -p0                               
                                                                       
                                                                       
  # gzip -dc patch-1.3.57.gz | patch -p0                               

偙傟傪峴側偆偙偲偱 1.3.57 偺 kernel 偺僜乕僗僣儕乕偑 /usr/src/linux 埲
壓偵揥奐偝傟傑偡丅

師偼丄kernel 偺嵞峔抸偱偡丅偙傟傕丄亀傞傫傞傫 Linux 亁偺 264 儁乕僕偵弨
嫆偟傑偟偨丅1.3.57 偱偼 APM (Advanced Power Management) 偑偡偱偵惓幃嵦
梡偝傟偰偄傑偡偺偱摿偵僷僢僠傪偁偰傑偣傫偱偟偨丅

  # cd /usr/src/linux                                                  
  # make config                                                        
  # make dep; make clean                                               
  # make zlilo                                                         
  # rdev -R /vmlinuz 1 (昁梫柍偄偗偳)                                  

師偵丄module(*.o) 傪僀儞僗僩乕儖偟傑偟偨丅

  # make modules                                                       
  # make modules_install                                               

偙偙偱廳梫側偺偼傕偪傠傫 config 偺愝掕偱偡偑丄1.3.57 偼 [y/n/m] 偱慖戰
偡傞傕偺偑偐側傝懡偔愯傔偰偄傑偡丅y 偼 kernel 偵慻傒崬傓僪儔僀僶丄 n 偼
慻傒崬傑側偄傕偺丄m 偼儌僕儏乕儖偲偟偰慻傒崬傓傕偺偱偡丅

1.3.57 偐傜 kerneld 偑昗弨偵側偭偰偄傑偡丅kerneld 偼儌僕儏乕儖壔偝傟偨
僪儔僀僶偺 load/unload 傪帺摦揑偵峴側偆僨乕儌儞偱偡丅偟偨偑偭偰丄傎偲傫
偳偺傕偺偑儌僕儏乕儖壔偱偒傞傛偆側偺偱丄屄恖揑偵偼擔崰梋傝巊傢側偄偑丄
昁梫側僪儔僀僶偼儌僕儏乕儖壔偟偰 kernel 僒僀僘傪彫偝偔偡傞偙偲傪偍姪傔
偟傑偡丅

偦偺懠偺嵶偐偄愝掕偼僨僗僋僩僢僾儅僔儞偺応崌偲曄傢傜側偄偺偱丄徻偟偔偼
Documentation 偺壓偺丄Configure.help 傪偛棗壓偝偄丅

廳梫側偲偙傠偱偼 pcmcia-cs 娭學偱 CONFIG_MODVERSIONS 傪 n 偵偟傑偟偨丅
傑偨丄 kerneld 娭學偱 CONFIG_KERNELD 傪 y 偵偡傞昁梫偑偁傝傑偡丅偙偺嵺
偵丄kerneld 傪慖傫偩応崌丄ext2fs 傑偱儌僕儏乕儖壔偡傞偲丄婲摦帪偵偼傑偩
kerneld 偑忋偑偭偰偄側偄偲偒偵儖乕僩僼傽僀儖僔僗僥儉傪儅僂儞僩偟偵峴偔
偲僄儔乕偵側傝傑偡偺偱丄崱夞偼 extsfs 偲偐 minixfs 偲偐偼 kernel 偵慻傒
崬傫偱偟傑偄傑偟偨丅 (/sbin/kerneld偼/傪儅僂儞僩偟側偄偲幚峴偱偒側偄偺
偱)

mouse 傗 psaux (PS/2儅僂僗) 偵娭偟偰傕 startx 偟偨帪偵帺摦偱 insmod 偟
側偐偭偨偱偡丅側偐側偐怴偟偄傕偺傪巊偆偺偼擄偟偄側丅

偦偺懠偼丄530CS 偱偼廳梫偲巚傢傟傞 APM 偺娭楢偩偗彮偟傆傟傑偡丅

巹偺 530CS 偱偼埲壓偺愝掕偱摦偄偰偄傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆  CONFIG_APM                      yes                               劆
劆  CONFIG_APM_IGNORE_USER_SUSPEND  no                                劆
劆  CONFIG_APM_APM_DO_ENABLE        yes                               劆
劆  CONFIG_APM_CPU_IDLE             yes                               劆
劆  CONFIG_APM_DISPLAY_BLANK        no                                劆
劆  CONFIG_WATCHDOG                 yes                               劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

   
    拲: (CONFIG_WATCHDOG傪yes偵偟偨応崌3偮傎偳幙栤帠崁偑憹偊傑偡丅)
   
偙偺 kernel 傪棙梡偡傞偲丄APM 婡擻偑桳岠偵側傝傑偡丅

傑偨丄kerneld 傪 y 偵偟偰僪儔僀僶傪儌僕儏乕儖壔偟偨応崌丄婲摦帪偵
kerneld 傪摦偐偡昁梫偑偁傝傑偡丅

1.3.57 埲崀偵懳墳偟偨 kerneld 偼埲壓偺僷僢働乕僕偵擖偭偰偄傑偡偺偱丄擖
庤偟偰僀儞僗僩乕儖偟傑偟傚偆丅偙偺僷僢働乕僕偼 pcmcia-cs 偺嵞愝掕傪偡傞
嵺偵傕廳梫偱偡偺偱昁偢僀儞僗僩乕儖偟偰壓偝偄丅

modules-1.3.57.tar.gz (ftp://ftp.tut.ac.jp/Linux/packages/System)

  # cd /usr/src                                                        
  # tar zxvf modules-1.3.57.tar.gz                                     
  # cd modules-1.3.57                                                  
  # make                                                               
  # make install                                                       

嵟屻偼丄kerneld 傪婲摦帪偵偨偪偁偘傞堊偺rc僼傽僀儖偺愝掕偱偡丅崱夞偼 /
etc/rc.d/rc.S 偺愭摢偵埲壓偺峴傪捛壛偟傑偟偨丅

  if [ -x /sbin/kerneld ]                                              
  then                                                                 
        /sbin/kerneld                                                  
  fi                                                                   

偙傟偱愝掕姰椆偱偡丅憗懍儅僔儞傪儕僽乕僩偟偰傒傑偟傚偆丅偪傖傫偲摦偐側
偐偭偨応崌偼丄Slackware-3.0 傪僀儞僗僩乕儖偟偨帪偵嶌惢偟偨僽乕僩僨傿僗
僋偱婲摦偟偰 kernel 偺嵞峔抸傪嵞搙峴側偭偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.2. pcmcia-cs 偺嵞愝掕

APM 娭學偺傾僾儕働乕僔儑儞偺愝掕偼丄偲傝偁偊偢屻夞偟偵偟偰 JE-0.9.7j 偺
僀儞僗僩乕儖偵昁梫側 pcmcia-cs 僷僢働乕僕偺僀儞僗僩乕儖偵偮偄偰愭偵愢柧
偟傑偡丅

崱夞偼埲壓偺僷僢働乕僕偺僀儞僗僩乕儖傪峴側偄傑偟偨丅

 丒 
    pcmcia-cs-2.8.7.tar.gz                                    
    (ftp://ftp.tut.ac.jp/Linux/packages/System/laptops/pcmcia)
   
  # cd /usr/src                                                        
  # tar zxvf pcmcia-cs-2.8.7.tar.gz                                    
  # cd pcmcia-cs-2.8.7                                                 
  # make config                                                        
  # make dep                                                           
  # make all                                                           
  # make install                                                       

pcmcia-cs-2.8.7 偱偼丄ATA 僼儔僢僔儏僨傿僗僋傪巊偆偙偲偑偱偒傞傛偆偵側
偭偨傒偨偄偱偡(偨偩偟兛斉偱 kernel 僷僢僠偑昁梫)丅msdos 僼僅乕儅僢僩偝
傟偨傕偺偵娭偟偰偺 read/write 偑妋擣偝傟偰偄傑偡丅

懡暘丄PCMCIA HDD (TYPE III 偺傕偺) 側偳傕尨棟揑偵偼偙偺僪儔僀僶偱摦偔偲
巚偄傑偡丅 (昅幰偼昻朢側偺偱偦傫側崅壙側傕偺偼攦偊傑偣傫:-))

 丒 
    ide-1.3.57.patch                            
    (ftp://hyper.stanford.edu/pub/pcmcia/extras)
   
kernel 1.3.57 偱偼丄Slackware-3.0 傪僀儞僗僩乕儖偟偨傑傑偩偲丄ps 傗 w
側偳偺 proc 娭學傪巊偆僐儅儞僪偑摦偒傑偣傫丅偦偙偱 procps 僷僢働乕僕傪
僶乕僕儑儞傾僢僾偡傞昁梫偑偁傝傑偡丅

巹偼 procps-0.99.tgz (ftp://ftp.tut.ac.jp/Linux/packages/System) 傪僀儞
僗僩乕儖偟傑偟偨丅Slackware-3.0 偦偺傑傑偩偲 make 偡傞偺偵栤戣偑偁傝傑
偟偨偺偱丄揥奐偟偨偲偒偺僶僀僫儕傪偦偺傑傑僀儞僗僩乕儖偟傑偟偨丅崱搙壣
側帪偵偱傕妋擣偟偰傒傑偟傚偆丅

偙偺忬懺偱儅僔儞傪儕僽乕僩偡傞偲 pcmcia-cs 僷僢働乕僕偑桳岠偵側傝傑偡偺
偱丄CD-ROM 宱桼偱 JE-0.9.7j 偺僀儞僗僩乕儖傪峴側偆偙偲偑弌棃傞傛偆偵側
傝傑偡丅

Slackware-3.0 偱偼 /etc/rc.d/rc.M 偱 pcmcia 偺弶婜壔傪峴側偭偰偄傞偺偱
偡偑丄 rc.M 傪曇廤偟側偄偲 pcmcia 埲崀偺張棟偑峴側傢傟傑偣傫!

  # Initialize PCMCIA devices:                                         
  if [ -x /etc/rc.d/rc.pcmcia ] ; then                                 
    . /etc/rc.d/rc.pcmcia start                                        
  fi                                                                   

忋偺 . 傪奜偡昁梫偑偁傝傑偡丅 (廳梫偱偡)

  # Initialize PCMCIA devices:                                         
  if [ -x /etc/rc.d/rc.pcmcia ] ; then                                 
    /etc/rc.d/rc.pcmcia start                                          
  fi                                                                   

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.3. APM 懳墳偺傾僾儕働乕僔儑儞

2.1 偱 kernel 傪嵞峔抸偡傞嵺偵 APM 婡擻傪桳岠偵偟傑偟偨丅偙傟偱 530CS
偺 APM 婡擻偑桳岠偵側傞偺偱偡偑丄偙傟傪棙梡偟偨傾僾儕働乕僔儑儞傕棙梡偡
傞偙偲偑壜擻偵側傝傑偡丅

傑偢偼 APM 偺妋擣傪偟偰傒傑偟傚偆丅巹偺儅僔儞偱偼埲壓偺傛偆偵昞帵偝傟傑
偟偨丅

  /home/hironobu@popo% cat /proc/apm                                   
  BIOS version: 1.1                                                    
  Flags: 0x03                                                          
  Entry f920:0 cseg16 f000 dseg 9fc0 cseg len 6e00, dseg len 400       
  AC: on line                                                          
  Battery status: high                                                 
  Battery life: unknown                                                
  Battery flag: 0x01                                                   
  Battery life: unknown                                                

Battery life 偺偲偙傠傪彮偟捛偄偐偗偨偄婥暘偵側傝傑偡偑丄偲傝偁偊偢愭傪
媫偓傑偡丅

巹偺儅僔儞偱偼丄埲壓偺傾僾儕働乕僔儑儞傪弨旛偟傑偟偨丅

 1.
    xbatt-1.0.tar.gz, xbatt.linux.diff.gz                              
    (ftp://theta.iis.u-tokyo.ac.jp/pub4/FreeBSD/2.0.5-RELEASE/ports/   
    distfiles)                                                         
   
    FreeBSD 梡偺僶僢僥儕儌僯僞偲偦偺 Linux 梡僷僢僠偱偡丅X 忋偱摦嶌偟傑
    偡丅 Linux 梡偺僷僢僠偵傛偭偰 proc 偐傜僨乕僞傪庢摼偟傑偡丅
   
      # tar zxvf xbatt-1.0.tar.gz                               
      # zcat xbatt.linux.patch.gz | patch -p0                   
      # cd xbatt-1.0                                            
      # xmkmf                                                   
      # make                                                    
      # make install                                            
   
    xbatt.linux.diff.gz 偑擖庤偱偒傞 a-ftp 僒僀僩傪偛懚抦偺曽偼巹傑偱楢
    棈壓偝偄丅
   
 2. batt.el-0.2.1.tar.gz (Linux-ML)
   
    Mule 偐傜巊偆僶僢僥儕儌僯僞偱偡丅X 傪棙梡偟偰偄傞恖偼 xbatt 偑偁傝
    傑偡偑丄 X 傪偁偘偢偵丄kon 忋偱 Mule 側偳傪棫偪忋偘偰巊偭偰偄傞恖偵
    偼曋棙偩偲巚偄傑偡丅
   
      # tar zxvf batt.el-0.2.1.tar.gz                           
      # cd batt.el-0.2.1                                        
      # cd sample                                               
      # make                                                    
      # cp showbatt /usr/local/lib/mule/19.28/i486-JE-linux/    
      # cd ..                                                   
      # cp batt.el /usr/local/lib/mule/site-lisp/               
   
    showbatt 偼 C 偱彂偐傟偨傕偺傪僐儞僷僀儖偟偰巊偄傑偟偨丅傑偨丄僀儞
    僗僩乕儖偡傞僨傿儗僋僩儕偼 JE-0.9.7j (屻弎) 偱僀儞僗僩乕儖偝傟傞
    mule 偵崌傢偣偰偁傝傑偡丅
   
    偁偲丄~/.emacs 傪曇廤偟偰埲壓偺峴傪捛壛壓偝偄丅
   
      (load-library "batt")                                     
      (show-batt)                                               
   
    batt.el 傪僀儞僗僩乕儖偡傞嵺偵丄/dev/apm_bios 偑柍偄応崌偼偙傟傪嶌
    傞昁梫偑偁傞偐傕偟傟傑偣傫丅
   
    "cat /proc/devices" 偱 apm_bios 偺 major number 傪僠僃僢僋偟傑偡丅
    巹偺儅僔儞偩偲壓偺條偵 63 斣偵側偭偰偄傑偟偨丅
   
      Character devices:                                        
       1 mem                                                    
       2 pty                                                    
       3 ttyp                                                   
       4 tty                                                    
       5 cua                                                    
       6 lp                                                     
       7 vcs                                                    
      10 mouse                                                  
      21 sg                                                     
      62 pcmcia                                                 
      63 apm_bios                                               
                                                                
      Block devices:                                            
       1 ramdisk                                                
       2 fd                                                     
       3 ide0                                                   
      11 sr                                                     
   
    # mknod /dev/apm_bios c 62 0                                
   
    偲偟偰僨僶僀僗僼傽僀儖傪嶌惉偟偰壓偝偄丅
   
 3. apmd-2.1.tar.gz (ftp://ftp.tut.ac.jp/Linux/packages/System/laptops/
    apm)
   
    偙偺僷僢働乕僕偼偳偆傕 kernel-1.3.58 埲崀梡偺僷僢働乕僕傜偟偄偱偡偑
    丄 1.3.57 偱摦偐偟傑偟偨丅
   
      # tar zxvf apmd-2.1.tar.gz                                
      # cd apmd-2.1                                             
      # make                                                    
      # make install                                            
   
    僀儞僗僩乕儖偝傟傞僾儘僌儔儉偼埲壓偺傕偺偑偁傝傑偟偨丅
   
    1)    /proc/apm 偺撪梕偺僼僅乕儅僢僞丅偱傕梋傝尒傗偡偔側偭偰側偄偱 
    apm   偡丅                                                         
    2)    APM BIOS 傪儌僯僞儕儞僌偡傞僨乕儌儞丄忬嫷傪syslog偵弌椡偡傞丅
    apmd  偙傫側偺巊偆偺偼梋傝偄偦偆偵側偄偱偡丅                       
    3)    X 忋偺僶僢僥儕儌僯僞丅530CS 偠傖堄枴柍偄丅battery life 偑暘偐
    xapm  傜側偄偺偱丅                                                 
   
    偙傫側傕偺偼傛偭傐偳岲偒側恖偱側偄偲擖傟傫偱偟傚偆丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.4. JE-0.9.7j偺僀儞僗僩乕儖丄愝掕

偙偺復偺嵟戝偺栚揑偱偁傞 JE-0.9.7j 偺僀儞僗僩乕儖 & 愝掕傪峴側偄傑偡丅
PCMCIA SCSI 愙懕偺奜晅偗 CD-ROM 僪儔僀僽偑巊梡偱偒傞傛偆偵側偭偰偄傑偡
偺偱丄僀儞僗僩乕儖偼娙扨偱偡丅

傑偢偼丄奜晹 CD-ROM 偵 JE^4 偺 Disk2 偺 CD-ROM 傪擖傟丄CD-ROM 僪儔僀僽
丄働乕僽儖丄PCMCIA SCSI 僇乕僪(巹偼 adaptec SlimSCSI )傪宷偄偱揹尮傪擖
傟傑偡丅

師偵丄530CS 偺 PC 僇乕僪僗儘僢僩偵僇乕僪傪憓擖偟傑偡丅亀僺僢亁偲壒偑偟
偰僇乕僪偑擣幆偝傟傑偡丅偙傟偱 SCSI CD-ROM 僪儔僀僽偑巊梡壜擻偵側傝傑偡
丅

CD-ROM 僪儔僀僽傪 mount 偟偰傒傑偟傚偆丅

  # mount -rt iso9660 /dev/scd0 /cdrom                                 
  # cd /cdrom                                                          
  # ls                                                                 
  AUTOEXEC.BAT*  Introduction/  JG/          rr_moved/                 
  CONFIG.SYS     JE@            PCAT/        slackware/                
  Doc/           JE-0.9.7j/     TMENU.ITM    slakware@                 
  IO.SYS         JF/            TOWNS/       tools/                    

偲弌偰棃傟偽戝忎晇偱偡丅JE-0.9.7j 偺僨傿儗僋僩儕偵堏傝傑偟傚偆丅

  # cd JE-0.9.7j                                                         
  # ls                                                                   
  00NEED_LIBC_5.0.9  ChangeLog        JE-HOWTO.sjis      packages/       
  00README.eucj      JE-HOWTO.eucj    accessories/       sources/        
  COPYING            JE-HOWTO.jis     install/                           

徻偟偄僀儞僗僩乕儖偺巇曽偼 JE-HOWTO 傪撉傑側偄偲暘偐傜側偄偺偱偡偑丄JE
傪僀儞僗僩乕儖偟側偄尷傝偼 Linux 忋偱 JE-HOWTO 傪撉傓偙偲偑弌棃傑偣傫丅

偲傝偁偊偢偼 install 埲壓傪僀儞僗僩乕儖偟傑偡丅

  # mkdir /install; cd /install                                        
  # cp /cdrom/JE-0.9.7j/install/* .                                    
  # sh jeinst.sh                                                       

偙傟偱 install 埲壓 ( kon, ezinst, jkeytables ) 偑僀儞僗僩乕儖偝傟傑偟
偨丅

偙偙偱 kon 傪婲摦偡傟偽丄JE-HOWTO 傪撉傓偙偲偑弌棃傑偡偺偱丄偙偙偱偼徻
偟偄愢柧偼妱垽偝偣偰捀偒傑偡丅

僉乕儅僢僾偺愝掕偼丄巹偺 530CS 偱偼埲壓偺僐儅儞僪傪 /etc/rc.d/rc.local
偱婲摦偟偰偄傑偡丅婛偵1復偱 j106-d 傪僀儞僗僩乕儖偟偰偄傞恖傕丄keymap
偺曄峏偑昁梫偱偁傞偐偳偆偐傕偆堦搙妋擣偟偨曽偑椙偄偱偟傚偆丅

  /usr/bin/loadkeys defkeymap j106-d cl2c-d k2esc-d                    

埲忋偺庤弴偱 530CS 偱 Slackware-3.0 + JE-0.9.7j 傪巊偭偰偄傑偡丅

(偁傋傂傠偺傇)

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

Chapter 3. 愝掕僼傽僀儖偺椺

3.1. /etc/XF86Config偺椺

-------->8 begin -------->8 begin -------->8 begin -------->8 begin           
# TP530CS梡/etc/XF86Config偺愝掕椺                                            
# @(#)$Id: 530deLinux.sgml,v 1.6 2002/10/03 11:42:44 mdk Exp $                
                                                                              
# File generated by xf86config.                                               
                                                                              
# **********************************************************************      
# Refer to the XF86Config(4/5) man page for details about the format of       
# this file.                                                                  
# **********************************************************************      
                                                                              
# **********************************************************************      
# Files section.  This allows default font and rgb paths to be set            
# **********************************************************************      
                                                                              
Section "Files"                                                               
                                                                              
# The location of the RGB database.  Note, this is the name of the            
# file minus the extension (like ".txt" or ".db").  There is normally         
# no need to change the default.                                              
                                                                              
    RgbPath     "/usr/X11R6/lib/X11/rgb"                                      
                                                                              
# Multiple FontPath entries are allowed (which are concatenated together),    
# as well as specifying multiple comma-separated entries in one FontPath      
# command (or a combination of both methods)                                  
#                                                                             
# If you don't have a floating point coprocessor and emacs, Mosaic or other   
# programs take long to start up, try moving the Type1 and Speedo directory   
# to the end of this list (or comment them out).                              
#                                                                             
                                                                              
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"                              
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"                             
    FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"                            
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"                             
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"                            
                                                                              
EndSection                                                                    
                                                                              
# **********************************************************************      
# Server flags section.                                                       
# **********************************************************************      
                                                                              
Section "ServerFlags"                                                         
                                                                              
# Uncomment this to cause a core dump at the spot where a signal is           
# received.  This may leave the console in an unusable state, but may         
# provide a better stack trace in the core dump to aid in debugging           
                                                                              
#    NoTrapSignals                                                            
                                                                              
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence         
# This allows clients to receive this key event.                              
                                                                              
#    DontZap                                                                  
                                                                              
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching       
# sequences.  This allows clients to receive these key events.                
                                                                              
#    DontZoom                                                                 
                                                                              
EndSection                                                                    
                                                                              
# **********************************************************************      
# Input devices                                                               
# **********************************************************************      
                                                                              
# **********************************************************************      
# Keyboard section                                                            
# **********************************************************************      
                                                                              
Section "Keyboard"                                                            
                                                                              
    Protocol    "Standard"                                                    
                                                                              
# when using XQUEUE, comment out the above line, and uncomment the            
# following line                                                              
                                                                              
#    Protocol   "Xqueue"                                                      
                                                                              
    AutoRepeat  500 5                                                         
# Let the server do the NumLock processing.  This should only be required     
# when using pre-R6 clients                                                   
#    ServerNumLock                                                            
                                                                              
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))       
#    Xleds      1 2 3                                                         
                                                                              
# To set the LeftAlt to Meta, RightAlt key to ModeShift,                      
# RightCtl key to Compose, and ScrollLock key to ModeLock:                    
                                                                              
#    LeftAlt     Meta                                                         
#    RightAlt    ModeShift                                                    
#    RightCtl    Compose                                                      
#    ScrollLock  ModeLock                                                     
                                                                              
EndSection                                                                    
                                                                              
                                                                              
# **********************************************************************      
# Pointer section                                                             
# **********************************************************************      
                                                                              
Section "Pointer"                                                             
    Protocol    "PS/2"                                                        
    Device      "/dev/mouse"                                                  
                                                                              
# When using XQUEUE, comment out the above two lines, and uncomment           
# the following line.                                                         
                                                                              
#    Protocol   "Xqueue"                                                      
                                                                              
# Baudrate and SampleRate are only for some Logitech mice                     
                                                                              
#    BaudRate   9600                                                          
#    SampleRate 150                                                           
                                                                              
# Emulate3Buttons is an option for 2-button Microsoft mice                    
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)            
                                                                              
    Emulate3Buttons                                                           
    Emulate3Timeout    50                                                     
                                                                              
# ChordMiddle is an option for some 3-button Logitech mice                    
                                                                              
#    ChordMiddle                                                              
                                                                              
EndSection                                                                    
                                                                              
                                                                              
# **********************************************************************      
# Monitor section                                                             
# **********************************************************************      
                                                                              
# Any number of monitor sections may be present                               
                                                                              
Section "Monitor"                                                             
                                                                              
    Identifier  "STF passive color LCD"                                       
    VendorName  "Unknown"                                                     
    ModelName   "STF passive color LCD"                                       
                                                                              
# HorizSync is in kHz unless units are specified.                             
# HorizSync may be a comma separated list of discrete values, or a            
# comma separated list of ranges of values.                                   
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S           
# USER MANUAL FOR THE CORRECT NUMBERS.                                        
                                                                              
#    HorizSync   31.5                                                         
#    HorizSync  30-64         # multisync                                     
    HorizSync   15-64         # multisync                                     
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies               
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies           
                                                                              
# VertRefresh is in Hz unless units are specified.                            
# VertRefresh may be a comma separated list of discrete values, or a          
# comma separated list of ranges of values.                                   
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S           
# USER MANUAL FOR THE CORRECT NUMBERS.                                        
                                                                              
#    VertRefresh 50-70                                                        
    VertRefresh 40-100                                                        
                                                                              
# Modes can be specified in two formats.  A compact one-line format, or       
# a multi-line format.                                                        
                                                                              
# 640x480                                                                     
Modeline "640x480"      25.2    640  664  760  800    480  491  493  525      
Modeline "640x480"      25.180  640  664  760  800    480  491  493  525      
Modeline "640x480"      25      640  672  768  800    480  500  502  555      
#*#Modeline "640x480"   25      640  672  768  800    480  490  492  525      
#*#Modeline "640x480"   25      640  664  760  800    480  491  493  525      
#*#Modeline "640x480"   25      640  656  752  800    480  490  492  525      
#*#Modeline "640x480"   25      640  648  768  800    480  487  492  525      
                                                                              
EndSection                                                                    
                                                                              
                                                                              
# **********************************************************************      
# Graphics device section                                                     
# **********************************************************************      
                                                                              
# Any number of graphics device sections may be present                       
                                                                              
Section "Device"                                                              
    Identifier  "clgd6205"                                                    
    VendorName  "Cirrus"                                                      
    BoardName   "CL-GD6205"                                                   
    Chipset     "clgd6205"                                                    
    VideoRam    512                                                           
    Clockchip   "cirrus"                                                      
#*#    Clocks   25.00                                                         
#*#    Option   "noaccel"                                                     
#*#    Option   "no_bitblt"                                                   
#*#    Option   "dac_8_bit"                                                   
    Option      "clgd6225_lcd"                                                
    Option      "linear"                                                      
EndSection                                                                    
                                                                              
# **********************************************************************      
# Screen sections                                                             
# **********************************************************************      
                                                                              
# The Colour SVGA server                                                      
                                                                              
Section "Screen"                                                              
    Driver      "svga"                                                        
    Device      "clgd6205"                                                    
    Monitor     "STF passive color LCD"                                       
    Subsection "Display"                                                      
        Depth       8                                                         
        Modes       "640x480"                                                 
        ViewPort    0 0                                                       
        Virtual     640 480                                                   
    EndSubsection                                                             
EndSection                                                                    
                                                                              
# The 16-color VGA server                                                     
                                                                              
Section "Screen"                                                              
    Driver      "vga16"                                                       
    Device      "clgd6205"                                                    
    Monitor     "STF passive color LCD"                                       
    Subsection "Display"                                                      
        Modes       "640x480"                                                 
        ViewPort    0 0                                                       
        Virtual     640 480                                                   
    EndSubsection                                                             
EndSection                                                                    
-------->8 end -------->8 end -------->8 end -------->8 end -------->8        

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3.2. ~/.xinitc偺椺

-------->8 begin -------->8 begin -------->8 begin -------->8 begin    
#!/bin/bash                                                            
# @(#)$Id: 530deLinux.sgml,v 1.6 2002/10/03 11:42:44 mdk Exp $         
                                                                       
if [ -x /usr/local/bin/vgaclk0 ]; then                                 
        /usr/local/bin/vgaclk0                                         
fi                                                                     
                                                                       
if [ -x $HOME/.Xdefaults ]; then                                       
        /usr/X11/bin/xrdb $HOME/.Xdefaults                             
fi                                                                     
                                                                       
if [ -x $HOME/.xmodmaprc ]; then                                       
        . /usr/X11/bin/xmodmap $HOME/.xmodmaprc                        
fi                                                                     
                                                                       
if [ ! -z $(type -path fvwm) ]; then                                   
        exec fvwm                                                      
else                                                                   
        exec twm                                                       
fi                                                                     
-------->8 end -------->8 end -------->8 end -------->8 end -------->8 

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3.3. ~/.fvwmrc偺椺

-------->8 begin -------->8 begin -------->8 begin -------->8 begin                                                                    
# TP530CS梡~/.fvwmrc偺愝掕椺                                                                                                           
# @(#)$Id: 530deLinux.sgml,v 1.6 2002/10/03 11:42:44 mdk Exp $                                                                         
                                                                                                                                       
# Unfortunately, order does matter in this file                                                                                        
# The correct order for inserting configurations is:                                                                                   
# 1. Colors                                                                                                                            
# 2. Assorted configuration paramters such as ClickToFocus, or MWMBorders                                                              
# 3. Path setup (ModulePath, PixmapPath, IconPath)                                                                                     
# 4. Style settings, including the default style Style "*" ...                                                                         
# 5. InitFunction and ResetFunction definitions.                                                                                       
# 6. Other Functions. Functions cannot be forward referenced from                                                                      
#       other functions, but they can be backward referenced.                                                                          
# 7. Menus definitions. Same caveats about forward referencing                                                                         
# 8. Key and Mouse Bindings.                                                                                                           
# 9. Module options.                                                                                                                   
                                                                                                                                       
# The order of steps 5, 6, and 7 is not critical, as long as there are                                                                 
# no forward references to functions or menus.                                                                                         
                                                                                                                                       
# If you get it wrong, the most common problem is that color or font settings                                                          
# are ignored                                                                                                                          
                                                                                                                                       
###########################################################################                                                            
# set up the colors                                                                                                                    
#                                                                                                                                      
# OK some people like bright clear colors on their window decorations.                                                                 
# These people, I guess would mostly be from nice sunny/good weather places                                                            
# line California.                                                                                                                     
#                                                                                                                                      
# StdForeColor          Black                                                                                                          
# StdBackColor          LightSkyBlue                                                                                                   
# HiForeColor           yellow                                                                                                         
# HiBackColor           PeachPuff1                                                                                                     
# PagerBackColor        BlanchedAlmond                                                                                                 
                                                                                                                                       
# Me, I'm from Upstate New York, and live in New Hampshire, so I prefer                                                                
# these dark muddy colors...                                                                                                           
                                                                                                                                       
StdForeColor            Wheat                                                                                                          
StdBackColor            DimGrey                                                                                                        
                                                                                                                                       
# this is used for the selected window                                                                                                 
HiForeColor             Wheat                                                                                                          
HiBackColor             SlateBlue4                                                                                                     
                                                                                                                                       
#PagerBackColor         #5c54c0                                                                                                        
#PagerForeColor         orchid                                                                                                         
                                                                                                                                       
StickyForeColor         Black                                                                                                          
StickyBackColor         #60c0a0                                                                                                        
                                                                                                                                       
# Menu colors                                                                                                                          
MenuForeColor           Wheat                                                                                                          
MenuBackColor           DimGrey                                                                                                        
MenuStippleColor        SlateGrey                                                                                                      
                                                                                                                                       
############################################################################                                                           
# Now the fonts - one for menus, another for window titles, another for icons                                                          
#Font                   -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*                                                                 
#Font                   -*-times-medium-i-*-*-*-120-*-*-*-*-*-*                                                                        
#WindowFont             -adobe-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*                                                                   
#IconFont               -adobe-helvetica-medium-r-*-*-11-*-*-*-*-*-*-*                                                                 
#IconFont               fixed                                                                                                          
                                                                                                                                       
Font                    lucidasanstypewriter-12                                                                                        
WindowFont              lucidasanstypewriter-12                                                                                        
IconFont                lucidasanstypewriter-12                                                                                        
                                                                                                                                       
###########################################################################                                                            
# Set up the major operating modes                                                                                                     
#                                                                                                                                      
########################      FOCUS STUFF     ##############################                                                           
# Set windows to auto-raise after 750 milliseconds if you like it.                                                                     
# Autoraise can sometimes obscure pop-up windows. Performance is now                                                                   
# similar to olvwm's auto-raise feature.                                                                                               
#AutoRaise 750                                                                                                                         
                                                                                                                                       
# Normally, we'll be in focus-follows mouse mode, but uncomment this                                                                   
# for mwm-style click-to-focus                                                                                                         
#ClickToFocus                                                                                                                          
                                                                                                                                       
########################      ICON STUFF     ##############################                                                            
# Auto Place Icons is a nice feature....                                                                                               
# This creates two icon boxes, one on the left side, then one on the                                                                   
# bottom. Leaves room in the upper left for my clock and xbiff,                                                                        
# room on the bottom for the Pager.                                                                                                    
#IconBox -150 90 -5 -140                                                                                                               
#IconBox 5 -140 -140 -5                                                                                                                
#*#IconBox -70 1 -1 -140                                                                                                               
                                                                                                                                       
# If you uncomment this, and make sure that the WindowList is bound to                                                                 
# something, it works pretty much like an icon manager.                                                                                
#SuppressIcons                                                                                                                         
                                                                                                                                       
# StubbornIcons makes icons de-iconify into their original position on the                                                             
# desktop, instead of on the current page.                                                                                             
#StubbornIcons                                                                                                                         
                                                                                                                                       
# With AutoPlacement, icons will normally place themselves underneath active                                                           
# windows. This option changes that.                                                                                                   
#StubbornIconPlacement                                                                                                                 
                                                                                                                                       
# If you want ALL you icons to follow you around the desktop (Sticky), try                                                             
# this                                                                                                                                 
#StickyIcons                                                                                                                           
                                                                                                                                       
########################      MWM EMULATION     #######################                                                                
#                                                                                                                                      
# My feeling is that everyone should use MWMDecorHints and MWMFunctionHints,                                                           
# since some applications depend on having the window manager respect them                                                             
                                                                                                                                       
# MWMFunction hints parses the function information in the MOTIF_WM_HINTS                                                              
# property, and prohibits use of these functions on the window. Appropriate                                                            
# portions of the window decorations are removed.                                                                                      
MWMFunctionHints                                                                                                                       
                                                                                                                                       
# MWM is kinda picky about what can be done to transients, and it was keeping                                                          
# me from iconifying some windows that I like to iconify, so here's an                                                                 
# over-ride that will allow me to do the operation, even tough the menu                                                                
# item is shaded out.                                                                                                                  
MWMHintOverride                                                                                                                        
                                                                                                                                       
# MWMDecor hints parses the decoration information in the MOTIF_WM_HINTS                                                               
# property, and removes these decoratons from the window. This does not affect                                                         
# the functions that can be performed via the menus.                                                                                   
MWMDecorHints                                                                                                                          
                                                                                                                                       
# These are affect minor aspects for the look-and-feel.                                                                                
# Sub-menus placement mwm-style?                                                                                                       
# MWMMenus                                                                                                                             
# mwm-style border reliefs (less deep than default fvwm) ?                                                                             
# MWMBorders                                                                                                                           
# Maximize button does mwm-inversion thingy                                                                                            
# MWMButtons                                                                                                                           
########################      MISCELLANEOUS STUFF     #######################                                                          
# If you don't like the default 150 msec click delay for the complex functions                                                         
# change this and uncomment it.                                                                                                        
# ClickTime 150                                                                                                                        
                                                                                                                                       
# OpaqueMove has a number (N) attached to it (default 5).                                                                              
# if the window occupies less than N% of the screen,                                                                                   
# then opaque move is used. 0 <= N <= 100                                                                                              
# OpaqueMove 100                                                                                                                       
                                                                                                                                       
# flip by whole pages on the edge of the screen.                                                                                       
EdgeScroll 100 100                                                                                                                     
                                                                                                                                       
# A modest delay before flipping pages seems to be nice...                                                                             
# I thresh in a 50 pixel Move-resistance too, just so people                                                                           
# can try it out.                                                                                                                      
#*#EdgeResistance 250 50                                                                                                               
EdgeResistance 2500 50                                                                                                                 
                                                                                                                                       
                                                                                                                                       
########################      WINDOW PLACEMENT     #######################                                                             
# RandomPlacement prevents user interaction while placing windows:                                                                     
RandomPlacement                                                                                                                        
                                                                                                                                       
# SmartPlacement makes new windows pop-up in blank regions of screen                                                                   
# if possible, or falls back to random or interactive placement.                                                                       
SmartPlacement                                                                                                                         
                                                                                                                                       
# With SmartPlacement, windows will normally place themselves over icons.                                                              
# Uncomment this to change that.                                                                                                       
#StubbornPlacement                                                                                                                     
                                                                                                                                       
# NoPPosition instructs fvwm to ignore the PPosition field in window                                                                   
# geometry hints. Emacs annoyingly sets PPosition to (0,0)!                                                                            
NoPPosition                                                                                                                            
                                                                                                                                       
                                                                                                                                       
########################      DECORATIONS     #######################                                                                  
# If you want decorated transient windows, uncomment this:                                                                             
#DecorateTransients                                                                                                                    
                                                                                                                                       
                                                                                                                                       
###########################################################################                                                            
# Set up the virtual desktop and pager                                                                                                 
                                                                                                                                       
#set the desk top size in units of physical screen size                                                                                
DeskTopSize 2x2                                                                                                                        
                                                                                                                                       
# and the reduction scale used for the panner/pager                                                                                    
DeskTopScale 32                                                                                                                        
                                                                                                                                       
##########################################################################                                                             
# Module path and paths to the icons                                                                                                   
#                                                                                                                                      
# ModulePath is a colon-separated list, just like regular unix PATH                                                                    
ModulePath /usr/lib/X11/fvwm                                                                                                           
PixmapPath /usr/include/X11/pixmaps:/usr/include/X11/bitmaps                                                                           
IconPath   /usr/include/X11/pixmaps:/usr/include/X11/bitmaps                                                                           
                                                                                                                                       
############################################################################                                                           
# Set the decoration styles and window options                                                                                         
# Order is important!!!!                                                                                                               
# If compatible styles are set for a single window in multiple Style                                                                   
# commands, then the styles are ORed together. If conflicting styles                                                                   
# are set, the last one specified is used.                                                                                             
                                                                                                                                       
# These commands should command before any menus or functions are defined,                                                             
# and before the internal pager is started.                                                                                            
                                                                                                                                       
# change the default width.                                                                                                            
Style "xeyes"      NoTitle, NoHandles, Sticky, WindowListSkip                                                                          
Style "*" BorderWidth 5, HandleWidth 5, Icon unknown1.xpm                                                                              
                                                                                                                                       
Style "Fvwm*"      NoTitle, NoHandles, Sticky, WindowListSkip, BorderWidth 0                                                           
Style "Fvwm Pager" StaysOnTop                                                                                                          
Style "FvwmPager"  StaysOnTop                                                                                                          
Style "FvwmBanner" StaysOnTop                                                                                                          
Style "GoodStuff"  NoTitle, NoHandles, Sticky, WindowListSkip, BorderWidth 0, CirculateSkip                                            
Style "*lock"      NoTitle, NoHandles, Sticky, WindowListSkip, BorderWidth 0, CirculateSkip                                            
Style "xbiff"      NoTitle, NoHandles, Sticky, WindowListSkip, BorderWidth 0, CirculateSkip                                            
Style "Maker"      StartsOnDesk 1                                                                                                      
Style "matlab"     StartsOnDesk 3                                                                                                      
Style "signal"     StartsOnDesk 3                                                                                                      
Style "rxvt"       Icon  term.xpm                                                                                                      
Style "xterm"      Icon xterm.xpm                                                                                                      
Style "Console"    Icon xterm.xpm                                                                                                      
Style "xterm_color" Icon xterm.xpm                                                                                                     
Style "kterm"      Icon kterm.xpm                                                                                                      
Style "pxvt"      Icon kterm.xpm                                                                                                       
Style "Appointment" Icon datebook.xpm, NoButton 2, NoButton 4                                                                          
Style "xcalc"      Icon xcalc.xpm, NoButton 2                                                                                          
Style "xbiff"      Icon mail1.xpm, NoButton 2                                                                                          
Style "xmh"        Icon mail1.xpm, StartsOnDesk 2, NoButton 2                                                                          
Style "xman"       Icon xman.xpm                                                                                                       
Style "xvgr"       Icon graphs.xpm                                                                                                     
Style "matlab"     Icon math4.xpm                                                                                                      
Style "xmag"       Icon mag_glass.xpm                                                                                                  
Style "xgraph"     Icon graphs.xpm                                                                                                     
Style "GoodStuff"  Icon toolbox.xpm                                                                                                    
                                                                                                                                       
# Change the Maximize and iconify buttons to up and down triangles.                                                                    
                                                                                                                                       
#ButtonStyle : 2 4 50x35@1 65x65@0 35x65@0 50x35@1                                                                                     
#ButtonStyle : 4 4 50x65@1 35x35@1 65x35@1 50x65@0                                                                                     
                                                                                                                                       
ButtonStyle 2 20x20                                                                                                                    
ButtonStyle 4 50x50                                                                                                                    
                                                                                                                                       
#############################################################################                                                          
                                                                                                                                       
# Stuff to do at start-up                                                                                                              
                                                                                                                                       
Function "InitFunction"                                                                                                                
#       Module  "I"     FvwmBanner                                                                                                     
#       Exec    "I"     xpmroot /usr/include/X11/pixmaps/fvwm.xpm &                                                                    
        Module  "I"     GoodStuff                                                                                                      
        Exec    "I"     exec kterm -fn r14 -fk k14 -geometry 80x32 &                                                                   
        Wait    "I"     kterm                                                                                                          
#       Wait    "I"     xterm                                                                                                          
#       Desk    "I"     0 2                                                                                                            
#       Exec    "I"     exec xterm -geometry +0+0 &                                                                                    
#       Wait    "I"     xterm                                                                                                          
#       Module  "I"     FvwmPager 0 0                                                                                                  
        Desk    "I"     0 0                                                                                                            
EndFunction                                                                                                                            
                                                                                                                                       
Function "RestartFunction"                                                                                                             
#       Exec    "I"     xsetroot -solid "#266294"                                                                                      
        Module  "I"     GoodStuff                                                                                                      
#       Module  "I"     FvwmPager 0 0                                                                                                  
EndFunction                                                                                                                            
                                                                                                                                       
                                                                                                                                       
############################################################################                                                           
# Now define some handy complex functions                                                                                              
                                                                                                                                       
# This one moves and then raises the window if you drag the mouse,                                                                     
# only raises the window if you click,  or does a RaiseLower if you double                                                             
# click                                                                                                                                
Function "Move-or-Raise"                                                                                                               
        Move            "Motion"                                                                                                       
        Raise           "Click"                                                                                                        
EndFunction                                                                                                                            
                                                                                                                                       
# This one maximizes vertically if you click (leaving room for the GoodStuff bar at the                                                
# bottom, or does a full maximization if you double click, or a true full vertical                                                     
# maximization if you just hold the mouse button down.                                                                                 
Function "maximize_func"                                                                                                               
        Maximize        "Motion" 0 100                                                                                                 
        Maximize        "Click" 0 80                                                                                                   
        Maximize        "DoubleClick" 100 100                                                                                          
EndFunction                                                                                                                            
                                                                                                                                       
                                                                                                                                       
# This one moves and then lowers the window if you drag the mouse,                                                                     
# only lowers the window if you click,  or does a RaiseLower if you double                                                             
# click                                                                                                                                
Function "Move-or-Lower"                                                                                                               
        Move            "Motion"                                                                                                       
        Lower           "Motion"                                                                                                       
        Lower           "Click"                                                                                                        
        RaiseLower      "DoubleClick"                                                                                                  
EndFunction                                                                                                                            
                                                                                                                                       
# This one moves or (de)iconifies:                                                                                                     
Function "Move-or-Iconify"                                                                                                             
        Move            "Motion"                                                                                                       
        Iconify         "Click"                                                                                                        
EndFunction                                                                                                                            
                                                                                                                                       
# This one resizes and then raises the window if you drag the mouse,                                                                   
# only raises the window if you click,  or does a RaiseLower if you double                                                             
# click                                                                                                                                
Function "Resize-or-Raise"                                                                                                             
        Resize          "Motion"                                                                                                       
        Raise           "Motion"                                                                                                       
        Raise           "Click"                                                                                                        
        RaiseLower      "DoubleClick"                                                                                                  
EndFunction                                                                                                                            
                                                                                                                                       
                                                                                                                                       
# This is provided as a hint only.                                                                                                     
# Move to a known page on the desktop, then start an application in a                                                                  
# known location. Could also switch to a known desktop, I guess                                                                        
#Function "abs_coord"                                                                                                                  
#       GoToPage "Immediate"    1,1                                                                                                    
#       Exec    "Immediate"     exec xcalc -geometry +100+100&                                                                         
#EndFunction                                                                                                                           
                                                                                                                                       
                                                                                                                                       
##############################################################################                                                         
#now define the menus - defer bindings until later                                                                                     
                                                                                                                                       
# This menu is invoked as a sub-menu - it allows you to quit,                                                                          
# restart, or switch to another WM.                                                                                                    
Popup "Quit-Verify"                                                                                                                    
        Title   "Really Quit Fvwm?"                                                                                                    
        Quit    "Yes, Really Quit"                                                                                                     
        Restart "Restart Fvwm"  fvwm                                                                                                   
        Restart "Start twm"     twm                                                                                                    
        Restart "Start tvtwm"   tvtwm                                                                                                  
        Restart "Start mwm"     mwm                                                                                                    
        Restart "Start olwm"    /usr/openwin/bin/olwm                                                                                  
        Nop     ""                                                                                                                     
        Nop     "No, Don't Quit"                                                                                                       
EndPopup                                                                                                                               
                                                                                                                                       
# Provides a list of modules to fire off                                                                                               
Popup "Module-Popup"                                                                                                                   
        Title   "Modules"                                                                                                              
        Module  "GoodStuff"     GoodStuff                                                                                              
        Module  "Clean-Up"      FvwmClean                                                                                              
        Module  "Identify"      FvwmIdent                                                                                              
        Module  "SaveDesktop"   FvwmSave                                                                                               
        Module  "Debug"         FvwmDebug                                                                                              
        Module  "Pager"         FvwmPager 0 0                                                                                          
        Module  "FvwmWinList"   FvwmWinList                                                                                            
EndPopup                                                                                                                               
                                                                                                                                       
# This menu will fire up some very common utilities                                                                                    
Popup "Utilities"                                                                                                                      
        Title   "Utilities"                                                                                                            
        Exec    "Kterm"         exec kterm -fn r14 -fk k14 -geometry 80x32 &                                                           
        Exec    "pxvt"          exec pxvt -fn rk14 -fk k14 -km eucj &                                                                  
        Exec    "Xterm"         exec xterm -e bash &                                                                                   
        Exec    "Color Xterm"   exec xterm_color &                                                                                     
        Exec    "RHS Control Panel"     exec control-panel &                                                                           
        Exec    "Rxvt"          exec rxvt &                                                                                            
        Exec    "Top"           exec xterm -T Top -n Top -e top &                                                                      
        Exec    "Calculator"    exec xcalc &                                                                                           
        Exec    "Xman"          exec xman &                                                                                            
        Exec    "Xmag"          exec xmag &                                                                                            
        Nop     ""                                                                                                                     
        Popup   "Modules"       Module-Popup                                                                                           
        Nop     ""                                                                                                                     
        Restart "Restart Fvwm"  fvwm                                                                                                   
        Popup   "Exit Fvwm"     Quit-Verify                                                                                            
EndPopup                                                                                                                               
                                                                                                                                       
# This defines the most common window operations                                                                                       
Popup "Window Ops"                                                                                                                     
        Title           "Window Ops"                                                                                                   
        Function        "Move"          Move-or-Raise                                                                                  
        Function        "Resize"        Resize-or-Raise                                                                                
        Raise           "Raise"                                                                                                        
        Lower           "Lower"                                                                                                        
        Iconify         "(De)Iconify"                                                                                                  
        Stick           "(Un)Stick"                                                                                                    
        Function        "(Un)Maximize"  maximize_func                                                                                  
        Nop             ""                                                                                                             
        Destroy         "Destroy"                                                                                                      
        Close           "Close"                                                                                                        
        Nop             ""                                                                                                             
        Refresh         "Refresh Screen"                                                                                               
EndPopup                                                                                                                               
                                                                                                                                       
# A trimmed down version of "Window Ops", good for binding to decorations                                                              
Popup "Window Ops2"                                                                                                                    
        Function        "Move"          Move-or-Raise                                                                                  
        Function        "Resize"        Resize-or-Raise                                                                                
        Raise           "Raise"                                                                                                        
        Lower           "Lower"                                                                                                        
        Iconify         "Iconify"                                                                                                      
        Stick           "(Un)Stick"                                                                                                    
        Nop             ""                                                                                                             
        Destroy         "Destroy"                                                                                                      
        Close           "Close"                                                                                                        
        Nop             ""                                                                                                             
        Module          "ScrollBar"     FvwmScroll 2 2                                                                                 
EndPopup                                                                                                                               
                                                                                                                                       
#############################################################################                                                          
# One more complex function - couldn't be defined earlier because it used                                                              
# pop-up menus                                                                                                                         
#                                                                                                                                      
# This creates a motif-ish sticky menu for the title-bar window-ops                                                                    
# pop-up                                                                                                                               
# Menu acts like normal twm menu if you just hold the button down,                                                                     
# but if you click instead, the menu stays up, motif style                                                                             
Function "window_ops_func"                                                                                                             
        PopUp   "Click"         Window Ops2                                                                                            
        PopUp   "Motion"        Window Ops2                                                                                            
# Motif would add:                                                                                                                     
# I'll add it too, it can be mighty handy.                                                                                             
        Close  "DoubleClick"                                                                                                           
EndFunction                                                                                                                            
                                                                                                                                       
                                                                                                                                       
##############################################################################                                                         
# This defines the mouse bindings                                                                                                      
                                                                                                                                       
# First, for the mouse in the root window                                                                                              
# Button 1 gives the Utilities menu                                                                                                    
# Button 2 gives the Window Ops menu                                                                                                   
# Button 3 gives the WindowList (like TwmWindows)                                                                                      
# I use the AnyModifier (A) option for the modifier field, so you can hold down                                                        
# any shift-control-whatever combination you want!                                                                                     
                                                                                                                                       
#     Button    Context Modifi  Function                                                                                               
Mouse 1         R       A       PopUp "Utilities"                                                                                      
Mouse 2         R       A       PopUp "Window Ops"                                                                                     
Mouse 3         R       A       Module "winlist" FvwmWinList transient                                                                 
                                                                                                                                       
                                                                                                                                       
                                                                                                                                       
# Now the title bar buttons                                                                                                            
# Any button in the left title-bar button gives the window ops menu                                                                    
# Any button in the right title-bar button Iconifies the window                                                                        
# Any button in the rightmost title-bar button maximizes                                                                               
# Note the use of "Mouse 0" for AnyButton.                                                                                             
                                                                                                                                       
#     Button    Context Modifi  Function                                                                                               
#Mouse 0                1       A       Function "window_ops_func"                                                                     
#Mouse 0                2       A       Function "maximize_func"                                                                       
#Mouse 0                4       A       Iconify                                                                                        
Mouse 0         1       A       Function "window_ops_func"                                                                             
Mouse 1         2       A       Iconify                                                                                                
Mouse 3         2       A       Destroy                                                                                                
Mouse 1         4       A       Maximize 0 100                                                                                         
Mouse 3         4       A       Maximize 100 100                                                                                       
                                                                                                                                       
# Now the rest of the frame                                                                                                            
# Here I invoke my complex functions for Move-or-lower, Move-or-raise,                                                                 
# and Resize-or-Raise.                                                                                                                 
# Button 1 in the corner pieces, with any modifiers, gives resize or raise                                                             
#Mouse 1                F       A       Function "Resize-or-Raise"                                                                     
Mouse 1         FS      A       Resize                                                                                                 
# Button 1 in the title, sides, or icon, w/ any modifiers, gives move or raise                                                         
#Mouse 1                TS      A       Function "Move-or-Raise"                                                                       
Mouse 1         T       A       Function "Move-or-Raise"                                                                               
                                                                                                                                       
# Button 1 in an icons gives move for a drag, de-iconify for a double-click,                                                           
# nothing for a single click                                                                                                           
# Button 2 in an icon, w/ any modifiers, gives de-iconify                                                                              
                                                                                                                                       
Mouse 1         I       A       Function "Move-or-Iconify"                                                                             
Mouse 2         I       A       Iconify                                                                                                
                                                                                                                                       
# Button 2 in the corners, sides, or title-bar gives the window ops menu                                                               
Mouse 2         FST     A       Function "window_ops_func"                                                                             
# Button 3 anywhere in the decoration (except the title-bar buttons)                                                                   
# does a raise-lower                                                                                                                   
Mouse 3         TSIF    A       RaiseLower                                                                                             
                                                                                                                                       
# Button 3 in the window, with the Modifier-1 key (usually alt or diamond)                                                             
# gives Raise-Lower. Used to use control here, but that interferes with xterm                                                          
#Mouse 3         W       M       RaiseLower                                                                                            
Mouse 1         W       M       RaiseLower                                                                                             
Mouse 2         W       M       Move                                                                                                   
Mouse 3         W       M       Resize                                                                                                 
                                                                                                                                       
############################################################################                                                           
# Now some keyboard shortcuts.                                                                                                         
                                                                                                                                       
# Arrow Keys                                                                                                                           
# press arrow + control anywhere, and scroll by 1 page                                                                                 
#Key Left       A       C       Scroll -100 0                                                                                          
#Key Right      A       C       Scroll +100 +0                                                                                         
#Key Up         A       C       Scroll +0   -100                                                                                       
#Key Down       A       C       Scroll +0   +100                                                                                       
                                                                                                                                       
# press arrow + meta key, and scroll by 1/10 of a page                                                                                 
#Key Left       A       M       Scroll -10 +0                                                                                          
#Key Right      A       M       Scroll +10 +0                                                                                          
#Key Up         A       M       Scroll +0   -10                                                                                        
#Key Down       A       M       Scroll +0   +10                                                                                        
                                                                                                                                       
# press shift arrow + control anywhere, and move the pointer by 1% of a page                                                           
#Key Left       A       SC      CursorMove -1 0                                                                                        
#Key Right      A       SC      CursorMove +1 +0                                                                                       
#Key Up         A       SC      CursorMove +0   -1                                                                                     
#Key Down       A       SC      CursorMove +0   +1                                                                                     
                                                                                                                                       
# press shift arrow + meta key, and move the pointer by 1/10 of a page                                                                 
#Key Left       A       SM      CursorMove -10 +0                                                                                      
#Key Right      A       SM      CursorMove +10 +0                                                                                      
#Key Up         A       SM      CursorMove +0   -10                                                                                    
#Key Down       A       SM      CursorMove +0   +10                                                                                    
                                                                                                                                       
# Keyboard accelerators                                                                                                                
#Key F1         A       M       CirculateUp                                                                                            
#Key F1         A       M       Popup "Utilities"                                                                                      
#Key F2         A       M       Popup "Window Ops"                                                                                     
#Key F3         A       M       Module "WindowList" FvwmWinList                                                                        
#Key F4         A       M       Iconify                                                                                                
#Key F5         A       M       Move                                                                                                   
#Key F6         A       M       Resize                                                                                                 
#Key F7         A       M       CirculateUp                                                                                            
#Key F8         A       M       CirculateDown                                                                                          
                                                                                                                                       
#Page Up/Dapge Down keys are used to scroll by one desktop page                                                                        
# in any context, press page up/down + control                                                                                         
# in root context, just pressing page up/down is OK                                                                                    
#                                                                                                                                      
# I prefer the non-wrapping scroll. These are for example purposes only                                                                
#Key Next       A       C       Scroll 100000 0                                                                                        
#Key Next       R       N       Scroll 100000 0                                                                                        
#Key Prior      A       C       Scroll -100000 0                                                                                       
#Key Prior      R       N       Scroll -100000 0                                                                                       
                                                                                                                                       
                                                                                                                                       
############################################################################                                                           
############################################################################                                                           
#Definitions used by the modules                                                                                                       
                                                                                                                                       
###################### GoodStuff button-bar ################################                                                           
# Colors                                                                                                                               
*GoodStuffFore Orchid                                                                                                                  
*GoodStuffBack Grey20                                                                                                                  
                                                                                                                                       
# Font                                                                                                                                 
#*#*GoodStuffFont -adobe-helvetica-bold-r-*-*-16-*-*-*-*-*-*-*                                                                         
*GoodStuffFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*                                                                            
# Geometry - really likes to pick its own size, but giving a position is OK                                                            
*GoodStuffGeometry +1-1                                                                                                                
                                                                                                                                       
# Layout: specify rows or columns, not both                                                                                            
*GoodStuffColumns 1                                                                                                                    
                                                                                                                                       
# xterm or rxvts on remote machines can be done like this                                                                              
# Output re-direction is csh style, not sh style                                                                                       
# You will want to substitute your own hosts here!                                                                                     
                                                                                                                                       
# *GoodStuff Dopey   rterm.xpm   Exec "" rsh dopey "exec xterm -T dopey -display $HOSTDISPLAY </dev/null >&/dev/null & "&              
# *GoodStuff Grumpy  rterm.xpm   Exec "" rsh grumpy "exec xterm -T grumpy -display $HOSTDISPLAY </dev/null >&/dev/null & "&            
# *GoodStuff Snoopy  rterm.xpm   Exec "" rsh snoopy "exec xterm -T snoopy -display $HOSTDISPLAY </dev/null >&/dev/null & "&            
# *GoodStuff mail    mail2.xpm   Exec "" xmh &                                                                                         
                                                                                                                                       
#############################################################################                                                          
# 偙偙偵捛壛偡傞                                                                                                                       
#############################################################################                                                          
*GoodStuff kterm   xterm.xpm   Exec "kterm" kterm -fn r14 -fk k14 -geometry 80x32 &                                                    
*GoodStuff netscape xterm.xpm Exec "netscape" netscape &                                                                               
                                                                                                                                       
# Define the buttons to use.....                                                                                                       
*GoodStuff XEyes   -    Swallow "xeyes" xeyes -bg Grey20 -center pink -geometry -1500-1500 &                                           
*GoodStuff Kill    rbomb.xpm    Destroy                                                                                                
#*#*GoodStuff xclock  clock.xpm   Swallow "clock" xclock -bg Grey20 -fg Orchid -hd Orchid -hl Orchid -geometry -1500-1500 -padding 0 & 
*GoodStuff xclock  -   Swallow "xclock" xclock -bg Grey20 -fg Orchid -hd Orchid -hl Orchid -geometry -1500-1500 -padding 0 &           
#*#*GoodStuff xbiff   mail1.xpm   Swallow "xbiff" xbiff -bg Grey20 -fg Orchid -geometry -1500-1500 &                                   
                                                                                                                                       
                                                                                                                                       
# *GoodStuff Paging  clamp.xpm   TogglePage                                                                                            
# *GoodStuff -  clock.xpm   Swallow "xclock" xclock -bg \#908090 -geometry -1500-1500 -padding 0                                       
*GoodStuff(1x1) - whatever SwallowModule "FvwmPager" FvwmPager 0 0 -geomrtry -1500-1500                                                
                                                                                                                                       
                                                                                                                                       
######################### No Clutter ########################################                                                          
# I only wrote NoClutter as a simple test case, but maybe some big sites like                                                          
# universities really have usage problems (too many open windows)....                                                                  
# Time delays are in seconds.                                                                                                          
*FvwmNoClutter 3600 Iconify 1                                                                                                          
*FvwmNoClutter 86400 Delete                                                                                                            
*FvwmNoCLutter 172800 Destroy                                                                                                          
                                                                                                                                       
########################## Window-Identifier ###############################                                                           
# Just choose colors and a fonts                                                                                                       
*FvwmIdentBack MidnightBlue                                                                                                            
*FvwmIdentFore Yellow                                                                                                                  
*FvwmIdentFont -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-*-*                                                                          
                                                                                                                                       
########################### Pager #########################################                                                            
#*#*FvwmPagerBack Black                                                                                                                
*FvwmPagerBack Gray20                                                                                                                  
*FvwmPagerFore Orchid                                                                                                                  
*FvwmPagerFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*                                                                            
*FvwmPagerHilight Black                                                                                                                
#*#*FvwmPagerGeometry +1-1                                                                                                             
*FvwmPagerLabel 0 megu                                                                                                                 
#*FvwmPagerLabel 1 haru                                                                                                                
#*FvwmPagerLabel 2 cauchy                                                                                                              
#*FvwmPagerLabel 3 ss-net                                                                                                              
#*#*FvwmPagerLabel 4 misc                                                                                                              
*FvwmPagerSmallFont 5x8                                                                                                                
                                                                                                                                       
                                                                                                                                       
##########################FvwmWinList##################################                                                                
*FvwmWinListBack #908090                                                                                                               
*FvwmWinListFore Black                                                                                                                 
*FvwmWinListFont -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*                                                                          
*FvwmWinListAction Click1 Iconify -1,Focus                                                                                             
*FvwmWinListAction Click2 Iconify                                                                                                      
*FvwmWinListAction Click3 Module "FvwmIdent" FvwmIdent                                                                                 
*FvwmWinListUseSkipList                                                                                                                
*FvwmWinListGeometry +0-1                                                                                                              
-------->8 end -------->8 end -------->8 end -------->8 end -------->8                                                                 
                                                                                                                                       
                                                        (傗傑偩 偰偮傗偡)                                                              

