I hope that I have correctly checked that this is a problem with the hugs distribution we have, rather than with the way that the support staff here installed it. (And I hope I have not just made a fool of myself too...) It appears that - contrary to the specification in the manual page - the binary of the hugs interpreter does not use the HUGSEDIT environment variable. The symptom is that that when EDITOR is set to point at an editor, and HUGSEDIT is set to the command for invoking an editor with the parameters for jumping to a particular position, the editor is invoked without them. This is a Unix implementation on Solaris, and as far as I can see there is no mention of the environment variable HUGSEDIT in the source (certainly not in ...hugs/src/hugs.c) nor is there even a shell script which sets EDITOR to the value of HUGSEDIT were there one. (I do not advocate the latter as a patch, since EDITOR is an environment variable one might want to be set in escaped shells to something other than the HUGSEDIT value. I was just checking for someone having done it that way.)
