Welcome to iraf.net Friday, May 17 2024 @ 06:09 AM GMT


 Forum Index > Archives > Sitemail Archives
 mkiraf.com
   
Anonymous: Guest
 02/19/1988 04:56PM (Read 2974 times)  



Hello Lillie,
I have a solution to your mkiraf.com file, but the phone lines are
so noisey I cannot edit the file myself. The fix I would like you to make
is to edit the mkiraf.com file in [iraf.vms.hlib], replacing the line:$ write temp_file "$ EDIT/EDT/NOCOMMAND newlogin.cl" with:$ write temp_file "$ EDITIRAF/EDT/NOCOMMAND newlogin.cl"The problem at your site is that EDIT (actually ED*IT) is defined to
be a global symbol which executes the command file sys$manager:editor.com.
We need to override this in the mkiraf.com file, but leave the definition
in place so that EDIT continues to work as your users expect after running
mkiraf. Substituting EDITIRAF for EDIT will result in the original
definition of EDIT being used, not the redefined symbol. This is a
feature of the DCL interpreter, that if you have a symbol which redefines
an existing DCL symbol you can access the original definition by appending
characters to the command name. When you go to edit mkiraf.com, there will be a spurious '{' as the very
first character in the file, courtesey of the noisey line. Please
delete this! Alternatively, you could just delete the highest
version of mkiraf.com before making the fix above.If this solution doesn't work, I have a few lines of DCL to edit into
mkiraf.com that check to see if EDIT is a defined symbol, save the
existing definition, delete it, run the original EDIT/EDT and then
restore the EDIT symbol. The problem with this is that is restores only
EDIT, not the ED abbreviation as well. This would affect the behavior of
ED only for the login session a user typed mkiraf, but it is likely to cause
confusion. Let me know the results of the editing. Also, you can delete any of those
definitions from the IRAF login.com file, 'ed' especially. Since this
is a redefinition of the global symbol ED*IT, it is ignored at login time,
but the warning message that comes out can be annoying. We'll talk on the phone about this attempted solution, or email if you prefer.Suzanne Jacoby
sjacoby@noao.arizona.edu
5356::sjacoby or draco::sjacoby
602-325-9364

 
   

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login