HP3000-L Archives

August 2000, Week 3

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:
Larry Barnes <[log in to unmask]>
Reply To:
Larry Barnes <[log in to unmask]>
Date:
Mon, 21 Aug 2000 15:00:06 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
"COLE,GLENN (Non-HP-SantaClara,ex2)" wrote:

> Jim Phillips writes:
>
> > Command file (called CLS) located in a directory that everyone has access
> to
> > (sort of like PUB.SYS) and that is put in the HPPATH during a system-wide
> > logon udc.  This file contains one line:
> >
> > <esc>h<esc>J
> >
> > Where <esc> is the escape character.
>
> This is actually one of my pet peeves.  I've seen *source code* that
> hard-coded
> such a beast.  And what happens when you innocently list the file to the
> screen
> (because you want to see what's in the file) ??
>
> On occasion, I've also used
>
>    %print @.cmd; end=5; keepamdates
>
> to jog my memory for what the command files do.  (I usually have comments
> in the first line or three.)
>
> PLEASE consider using an alternate technique.
>
> --Glenn

Glenn,
If you are referring to my post about system wide commands (i.e. cls)  I don't
hard code the escape character in the file.  The file use the echo command
ECHO ![CHR(27)]H ![CHR(27)]J


--
Larry Barnes
Director of I.T.
Mitek Corp.
602-438-4545 x1366
Phoenix, AZ 85040

Check Us Out !
http://www.mitekcorp.com

ATOM RSS1 RSS2