HP3000-L Archives

December 1996, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ken Sletten B894 C312 x62525 <[log in to unmask]>
Reply To:
Ken Sletten B894 C312 x62525 <[log in to unmask]>
Date:
Sun, 22 Dec 1996 01:04:00 P
Content-Type:
text/plain
Parts/Attachments:
text/plain (62 lines)
Mark asks the question:

>> It seems that HPEDIT and EDITOR refuse to edit Posix-named files under
5.5.
>>
>> It appears I can fool these programs by doing:
>>
>>         rename posix,mpe
>>         hpedit mpe
>>         rename mpe,posix
>>
>> But I was wondering if there was a more clever way.  Does anybody have
>> suggestions?

Stan takes the shot:

>       QEDIT

>(Sorry, I just couldn't resist!)

Freebe.....  And no plug required, per previous....
Give in to temptation;  it may not pass your way again.....  ;-)

>You might be able to do:
>   :file foo = ./my_posix_filename
>   editor
>   t *foo

>But, I'm not sure.

Now here was an easy straw worth reaching for..  While
waiting for the year-end full backup to finish, I did COPY
of one of the small 80-byte record data files we keep in
HFS to MPE file "HPKLUDGE".  Confirmed that both
HPEDIT and EDITOR could text in HPKLUDGE with
no problem.  Then tried Stan's suggestion.  Did:

FILE  FOOLEDIT = ./10-10-KENS

Then tried to text in *FOOLEDIT with both HPEDIT and
EDITOR.....              :-(((

HPEDIT result:
Unable to open file *FOOLEDIT   (HPED 2520,422)

....  At least 'ole EDITOR gives you:

*79*NON-MPE FILENAMES NOT SUPPORTED

....  sigh.....    Well, I guess us HPEDIT customers can
try and do a script that automates Mark's above example,
that takes an HFS file as a parameter;  copies it to an
MPE filename that we know we won't use for anything
else;  runs HPEDIT;  and finally copies the new version
back to the HFS file when done editing...  I like COPY
better than RENAME in this case even though it is less
efficient, because if something goes wrong while in the
script there is less chance of the original HFS file
disappearing....

Ken Sletten

ATOM RSS1 RSS2