HP3000-L Archives

January 1996, Week 2

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:
Jon Diercks <[log in to unmask]>
Reply To:
Jon Diercks <[log in to unmask]>
Date:
Wed, 10 Jan 1996 10:28:34 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
At 06:04 PM 1/10/96 +0500, M Gopalakrishnan wrote:
> Based on the customer requests, the new option RAW for the PRINT command
> will be added.  With this new option, the contents of the file will be
> displayed  as it is,  without  assuming  the trailing 8  characters as
> line numbers.
 
Sounds good.
 
> Also RAW causes non-printable characters to appear as '.'.
 
Whoops!  When did this sneak in?  I think that filtering of non-printable
characters would be a good option to have, but I don't think it should be
folded into the ;RAW option.  To me, RAW implies 'unprocessed', but clearly
this character translation would produce 'processed' output.  Suppose I have
a file which may contain digits and/or escape sequences and I want to send
it to a printer.  I might try:
 
  :file mylist;dev=LP
  :print myfile;RAW >*mylist
 
But if ;RAW also translates my escape sequences to dots, I won't get the
desired results.  Come to think of it, this could even apply to files I
print to the terminal if the file contains HP terminal escapes that I want
to be used.  I'd recommend a separate pair of options for the dot-filtering.
How about ;DOT and ;UNDOT(default) or maybe ;FILTER and ;UNFILTER(default)?
 
> It is also consistent to have a option which is the opposite...
...
>   There were 3 names suggested for this option
>
>     . UNRAW [similar to UNN -> UNNumbered]
> /-> . COOKED
> |   . FMT   [for FORMATTED]
  |
  \--- ROTFL!  I forgot about that... :>
 
;UNRAW is fine with me.  ;FMT is a bit ambiguous as it doesn't clearly
identify what kind of formatting is being done.
 
  -----------------------------------------------------------------------
               Jon Diercks -------- mail: [log in to unmask]
        Programmer/Analyst   /||  | chat: powwow:[log in to unmask]
        Computing Services  /_||  | WWW : http://rowlf.csv.anderson.edu/
       Anderson University /  ||__| tel : (317)641-4305
        Anderson, IN 46012 -------- fax : (317)641-3851
    o________________________________________________________  ___
    _\_,                                                     \=`==^==>
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ATOM RSS1 RSS2