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_at_ucdavis.edu (916) 753-0358 \
| Systems Programmer University of California, Davis |
| Graduate School of Management & GIS Research Lab |
Received on Sun Aug 24 1997 - 03:11:01 NZST