how to set default editor in hugs 98 for win and linux

Benjamin L. Russell
Mon, 05 Feb 2001 21:47:35 -0500

On Sun, 4 Feb 2001 20:17:34 -0000
 "andrew long" <> wrote:
> I've just started to use hugs in both the windows 98 and
> linux environments
> and wanted to assign notepad and kwrite
> as the default editors to their respective os'. If you
> could enlighten me on
> this setup procedue for both systems ot wuld be greatly
> appreciated

To assign Notepad.exe as the default editor in Windows 98, do the following:

  1. Fire up Hugs98.
  2. Type the following (in Hugs98):

        :set +E<pathname>

      where "<pathname>" is usually "C:\Windows\Notepad.exe" .

To edit a file <Myfile.hs>, just type the following (again, in Hugs98):

  :edit <Myfile>

(please be sure to leave off the ".hs" extension, or you will get an error message).

Happy Haskell Hacking!

Benjamin L. Russell
"Furuike ya! Kawazu tobikomu mizu no oto." --Matsuo Basho