Michal Hlavinka wrote: > We've found that if the $HISTFILE doesn't exist and can't be created for some > reason (e.g., read-only NFS home) ksh may crash with segmentation fault when > trying to insert the last word of the previous command using the M-_ or M-. > keyboard shortcut. > > Also, when the history file is accessible but empty, a garbage string is > printed.
BTW: The OpenSolaris people hit two similar issues with ast-ksh.2008-11-04: 1. If HISTFILE is set to /dev/null a login shell will exit 2. There is an old RFE which requests support for using a FIFO file as HISTFILE. I'm not sure whether it is possible to get it working with ksh93's history file format but it may be usefull (and would solve [1], too (assuming the implementation simply sends the data in "append" mode to all fds which do not support "seek")). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
