tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* 4.0B - _bizarre_ ksh problem
@ 1997-08-24  0:57 bchill
  0 siblings, 0 replies; only message in thread
From: bchill @ 1997-08-24  0:57 UTC (permalink / raw)
  To: tru64-unix-managers

	I have run into the strangest problem with ksh. I export
MAILCHECK in /etc/profile. If I export MAILCHECK in /etc/profile and
then again in a local user's .profile, ksh starts doing weird things.
For example, I get this message when I type "jobs -l":

	ksh: invalid multibyte character
	ksh: invalid multibyte character
	ksh: invalid multibyte character
	ksh: invalid multibyte character

I literally boiled down the example to /etc/profile and .profile having
JUST "export MAILCHECK" and not one other line (not even a comment) in
either, and ksh just went bananas with the above messages and finally
this message:

	Stack overflow: pid 1749, proc ksh, addr 0x11fdffff8, pc 0x120020740
	Memory fault(coredump)

	This strikes me as pretty clearly a bug in ksh somewhere.  Has
anyone else seen this? Can someone from DEC take a look at the code fpr
ksh and see what's up? 

	I am aware of obvious answers here - don't export MAILCHECK
2ce, use pdksh or tcsh or some other shell - but I want DEC to explain
this problem.

	Thanks.

   ____________________________________________________________________
  / Brian C. Hill                   bchill@ucdavis.edu  (916) 753-0358 \ 
  | Systems Programmer              University of California, Davis    |
  | Graduate School of Management & GIS Research Lab                   |

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-08-24  0:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-24  0:57 4.0B - _bizarre_ ksh problem bchill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox