Skip site navigation (1)Skip section navigation (2)
Date:      4 May 1997 13:30:14 -0000
From:      kenji@reseau.toyonaka.osaka.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/3492: tcsh on 2.2.1-RELEASE terminates by setting env variable LANG to C using source builtin
Message-ID:  <19970504133014.1194.qmail@fernseher.reseau.toyonaka.osaka.jp>
Resent-Message-ID: <199705041340.GAA23072@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3492
>Category:       ports
>Synopsis:       tcsh on 2.2.1-RELEASE terminates by setting env variable LANG to C using source builtin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May  4 06:40:01 PDT 1997
>Last-Modified:
>Originator:     Kenji Rikitake
>Organization:
TDI RCAC Project
>Release:        FreeBSD 2.2.1-RELEASE i386
>Environment:

	a machine using FreeBSD 2.2.1-RELEASE
	using the ports' tcsh as is

>Description:

	executing a script which includes "setenv LANG C"
	using the 'source' builtin command generates
	the error as follows:

	^E^x@^Z^ALoad: Command not found.
	^A^FLA^HERROR:: Too many arguments.

>How-To-Repeat:

	1. invoking the tcsh with no env variable inherited
	e.g., (unsetenv *; tcsh)

	2. executing a script which includes "setenv LANG C"
	such as:

	> ( unsetenv * ; tcsh )
	%echo 'setenv LANG C' > foo
	%source foo
	^E^x@^Z^ALoad: Command not found.
	^A^FLA^HERROR:: Too many arguments.
	%

>Fix:
	
	Using a vanilla tcsh 6.06.00 compiled in the same environment
	WITHOUT the 'nls' option did not have this problem.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970504133014.1194.qmail>