cvs commit: hugs98/src hugs.c

Sigbjorn Finne sof@glass.cse.ogi.edu
Mon, 5 Nov 2001 10:26:15 -0800


sof         2001/11/05 10:26:15 PST

  Modified files:
    src                  hugs.c 
  Log:
  - added new command :regsave, which persists the current settings
    to the Registry (only for Win32 builds which uses that mound).
  - tackle the usability problem where a module search path that
    doesn't contain the Prelude causes the interpreter to just
    quit.
  
    This is unfriendly to Win32 users which may have :set an erroneous
    search path (=> stored in the Registry) in a previous session,
    causing Hugs now to just mysteriously fail to start up (cf. misc
    bug reports / feedback on this over the past couple of years).
  
    So, for Win32 builds, we now fall back to attempt using the
    default HUGSPATH should the user-specified one not contain
    Prelude. The interpreter emits a message about this & suggests
    the user uses :regsave to persist this search path change.
  
  Now, if only I could side-effect the documentation to reflect these
  changes..
  
  Revision  Changes    Path
  1.49      +51 -5     hugs98/src/hugs.c