HP3000-L Archives

May 2000, 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:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Fri, 26 May 2000 08:50:31 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Barry Lake wrote:
>
> At 1:24 AM -0400 5/26/00, [log in to unmask] wrote:
> >...Ultimately, I'd like to set up a command that
> >looks roughly like this:
> >
> >   :IF FINFO(<localfilename>,"EOF") <> FINFO(<remotefilename>,"EOF") THEN
> >COMPLAIN
> >
> >The part that is being elusive, of course, is specifying the name of a file
> >on a remote system...
>
> How about something like this...
>
> 1)    :remote file remeof;dev=#disc
> 2)    :remote echo !![finfo('remfile','eof')] > *remeof
>       :input remote_eof < remeof
> 3)    :if finfo('locfile','eof') <> !remote_eof
>       :   xeq complain.cmd
>       :endif

It's been at least 10 years since I've used the 3000<->3000 remote file
capabilities, but couldn't you do something like this?:

:file it=remotefilename:remotenodename
:if finfo("localfilename","EOF") <> finfo("*it","EOF") then

I don't know if that's the correct :file syntax; the key point is that finfo()
can refer to :file equates, which can refer to remote files...

- Mark B.

ATOM RSS1 RSS2