how to set default editor in hugs 98 for win and linux
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 a.p.long@ncl.ac.uk cheers big a
Sun, 4 Feb 2001 20:17:34 -0000, andrew long <ap@long42.freeserve.co.uk> pisze:
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'.
On Linux the standard method works: set EDITOR environment variable, i.e. add export EDITOR=kwrite to ~/.bash_profile (assuming your shell is bash). Many programs use this variable. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK
On Sun, 4 Feb 2001 20:17:34 -0000 "andrew long" <ap@long42.freeserve.co.uk> 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! --Ben -- Benjamin L. Russell russell@brainlink.com benjamin.russell.es.94@aya.yale.edu "Furuike ya! Kawazu tobikomu mizu no oto." --Matsuo Basho
participants (3)
-
andrew long -
Benjamin L. Russell -
qrczak@knm.org.pl