HP3000-L Archives

November 1995, Week 5

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:
Glenn Cole <[log in to unmask]>
Reply To:
Date:
Tue, 28 Nov 1995 12:14:41 PST
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Mike Farrell ([log in to unmask]) recently asked for "can't live without"
command files.
 
One that I find very useful scans all of my :FILE equations for a string.
It can be used only from within Qedit, but that doesn't matter to me, as
<plug> I stay in Qedit all day </plug>. Here is CHKEQ in its stripped-down
form:
 
   ANYPARM string
   :listeq >eqs
   /list    eqs "!string" (up)
 
One that I rarely use but keep around "just in case" is called ON:
 
   if bound( InsideQEDIT )  and  InsideQEDIT = 1
      :set echo=on
   else
       set echo=on
   endif
 
Escape-colon wasn't too bad if you couldn't see what you were typing, but
"set echo=on" is a little much. <gripe>(BTW, this command file does NOT work
properly in MPEX if InsideQEDIT isn't defined, as MPEX still does NOT do
short-circuit evaluation -- what a pain!)</gripe>
 
Hope the above does not constitute waste-of-bandwidth.
 
--Glenn Cole
  Software al dente, Inc.
  [log in to unmask]

ATOM RSS1 RSS2