![]() |
![]() |
![]() |
![]() |
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
|
|
||
![]() |
||
![]() |
![]() |
![]() |
![]() |
||
![]() |
||
This article is from the Apple II GNO FAQ, by Devin Reade with numerous contributions by others.
A#5.2: Whatever you find necessary, keeping in mind that the gshrc file
is parsed whenever an instantiation of gsh is started. This implies
that a long gshrc file can slow down your system.
Here is one example of a minimal gshrc file. For formatting reasons
in the FAQ, long lines have been split with a trailing '\' on
the line to be continued. Gsh doesn't understand this syntax, so
be sure to enter them as a single line.
set prefixes for ORCA languages (see also Q6.3)
prefix 13 /lib
prefix 14 /tmp
prefix 15 /lang/orca/shell
prefix 16 /lang/orca/languages
prefix 17 /lang/orca/utilities
# match lower prefixes. gsh should update these
# automatically, but doesn't.
prefix 2 13
prefix 3 14
prefix 4 15
prefix 5 16
prefix 6 17
# set search path -- gsh parses it backwards!
set path="/usr/games /lang/orca/utilities /usr/X/bin /usr/bin\
/bin /usr/local/bin"
export path
rehash
# search path for man pages
setenv MANPATH /man:/usr/man:/usr/local/man:/local/man:\
/usr/X/man:/lang/orca/man
# settings for occ(1):
# create *.o files instead of *.a files
setenv CCEMULATE 1
# set the if and only if you are using ORCA/C 2.0.x.
setenv CCOLD 1
 
Continue to:
pc, hardware, Apple II, Apple ][ or Apple //, apple, gno, unix
![]() |
|
|