From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078615810578.tru64-unix-managers.marc@archive.invalid> From: bchill () ucdavis ! edu (Brian C Hill) Date: Sun, 24 Aug 1997 00:57:14 +0000 To: tru64-unix-managers Subject: 4.0B - _bizarre_ ksh problem X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078615810578 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 |