Subject: install/14797: INSTALL documentation uses sh syntax, but default root shell is csh
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-bugs
Date: 11/30/2001 17:43:54
>Number:         14797
>Category:       install
>Synopsis:       INSTALL documentation uses sh syntax, but default root shell is csh
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 30 15:44:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Huang
>Release:        NetBSD 1.5Y
>Organization:
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 26 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:
	
	
System: NetBSD yerfable.azeotrope.org 1.5Y NetBSD 1.5Y (YERFABLE) #182: Sat Nov 3 03:42:35 CST 2001 khym@yerfable.azeotrope.org:/usr/src.local/sys/arch/alpha/compile/YERFABLE alpha
Architecture: alpha
Machine: alpha
>Description:
	The section of the NetBSD INSTALL documentation about
installing third party packages gives an example of using pkg_add, but
it uses sh-style "export" to set an environment variable. Seeing that
the default root shell on NetBSD is /bin/csh, it should either use csh
syntax, or mention both. Otherwise, users will be confused about why
they get "export: Command not found." when following the example.

          o   Precompiled binaries can be found at
                    ftp://ftp.netbsd.org/pub/NetBSD/packages,
              usually in the 1.5Y/alpha/All subdir.  You can install them with
              the following commands:

              # PKG_PATH=ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5Y/alpha/All
              # export PKG_PATH
              # pkg_add -v tcsh
              # pkg_add -v apache
              # pkg_add -v perl
              ...

>How-To-Repeat:
	Read the install documentation, login to your shiny new NetBSD
install as root (or su to root :), then try the above commands.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: