UserSetupEnvironment
ってコトで /boot/home/config/boot/ にある UserSetupEnvironment の例です。 # から改行まではコメントと看做されるのですが、 CodeWarrior の規約に従って(笑)赤字で表記しました。ちなみに日本語で書いてある説明はいま付け足したものですのでコレをそっくりそのままコピーした場合正常に動作しないかもしれません

#
# This file (when renamed UserSetupEnvironment) is where user 
# startup customizations of environment variables should go.
# It is a standard /bin/sh shell script.  It is sourced very
# early in the Bootscript process (before the app_server is
# run).
#
#
# NOTE: this is not where you should put aliases and such 
#       that you want in the shell.  You should put those
#       sorts of things in your .profile.
# 


#
# The following variable enables the Be debugger to come up directly
# when a program crashes (instead of the normal dialog box).  This is
# intended only for use by programmers.  Uncomment the line if you
# would like the debugger to come up without any intervening dialog boxes.
#
#   export BEDEBUG=true


#
# The following variable enables malloc debugging for programs.  This
# is useful for programmers to help catch errors in their programs
# (such as freeing memory twice, using uninitialized memory, etc).
# If you enable this variable here, it will be on for all Be applications
# which may not be what you want.  You may wish to only do it from the
# Terminal window that you run your app from.  Uncomment the line if
# you would like malloc debugging turned on for all applications (again,
# make sure you know what you're doing if you turn this on).
#
#   export MALLOC_DEBUG=true


#
# You can also override the defaults for the user name, the group name
# and the shell by setting the USER, GROUP, and SHELL variables. Below 
# are examples.  Be careful setting the SHELL variable as if it is wrong
# (i.e. the shell you specify does not exist or crashes), many things
# may fail to work.  Caveat User.
#
#   export USER=rms
#   export GROUP=gnu
#   export SHELL=/home/config/bin/tcsh
#

# コメントを読めばわかると思いますが以下の4つの環境変数は CodeWarrior Java が書き足しました。

PATH="$PATH":/boot/java/bin
# Metrowerks-Java Tag 00-15-07-1997
export PATH
# Metrowerks-Java Tag 00-15-07-1997

LIBRARY_PATH="$LIBRARY_PATH":/boot/java/lib
# Metrowerks-Java Tag 00-15-07-1997
export LIBRARY_PATH
# Metrowerks-Java Tag 00-15-07-1997

ADDON_PATH="$ADDON_PATH":/boot/java/lib
# Metrowerks-Java Tag 00-15-07-1997
export ADDON_PATH
# Metrowerks-Java Tag 00-15-07-1997

JAVA_COMPILER=jit
# Metrowerks-Java Tag 00-15-07-1997
export JAVA_COMPILER
# Metrowerks-Java Tag 00-15-07-1997


 # 次の奴は emacs の為の設定です 
PATH="$PATH":/boot/apps/GeekGadgets/bin
 #for emacs-19.34 @ 97/08/05
export PATH
 #for emacs-19.34 @ 97/08/05

 # 次の奴は X11R6.3 の為の設定です 
PATH="$PATH":/boot/apps/GeekGadgets/X11R6.3/bin
export PATH
LIBRARY_PATH="$LIBRARY_PATH":/boot/apps/GeekGadgets/X11R6.3/lib
export LIBRARY_PATH
 #for X11R6.3 @ 97/11/02


メールはgoro@venus.dti.ne.jpまで〜☆
BeOS Now!
このページは極一部分だけですが(笑)BeOS を使用して作成しています