[comp.sys.ibm.pc] Sprint question

benh@pnet01.cts.com (B. Humphreys) (08/23/88)

1.  How can the Sprint status line be customized?  For example, a running
    count of all "{" versus all "}" present on the status line would be
    neat.  It seems the status line format is hard coded in SP.EXE.

2.  How does one tell the Sprint formatter to print a page number on page 1?

UUCP: {cbosgd hplabs!hp-sdd sdcsvax nosc}!crash!pnet01!benh
ARPA: crash!pnet01!benh@nosc.mil
INET: benh@pnet01.cts.com

lupin3@ucscb.UCSC.EDU (-=/ Larry Hastings /=-) (08/24/88)

+-In article <3356@crash.cts.com>, benh@pnet01.cts.com (B. Humphreys) wrote:-
+----------
|
| 1.  How can the Sprint status line be customized?  For example, a running
|     count of all "{" versus all "}" present on the status line would be
|     neat.  It seems the status line format is hard coded in SP.EXE.
| 
+----------
  Sprint has oodles of commands to change the status line; in fact, this was
the largest change in the Editor Macro Language that occured between Final
Word II and Sprint.  (FW II had no reason to change the status line; Sprint
does, so it can "look" like other word processors.)
  However, just because this is _available_ doesn't mean it's _easy_.  You
should learn the editor macro language quite a bit before you start messing
with things such as the status line.  If you are really REALLY interested,
I can give you some pointers (for instance, I have a block of code that
takes the "Col" flag on the status line and substitutes in the month/day).
  If you really do want to have "{" and "}" counting, I would suggest the
following:
  Use the mode line (not the status line) to display the count.  This is a
second status line (the one used for Key Record), which you can write things
on with the command   mode "string" "string" ...  You turn on the mode line
with 2->statusline.
  Redefine the '{' and '}' keys to a) insert the respective character
('{' put, etc.) and also increment and decrement a counter, which you display
on the mode line.
+----------
| 2.  How does one tell the Sprint formatter to print a page number on page 1?
+----------
  There are special page header and page footer commands for the first page.
Unfortunately they are not terribly mneumonic, and I don't remember them.
If they really REALLY aren't documented, mail me at my work address and I'll
get 'em to ya.  My work address is

	!ucbvax!sun!acad!metaware!funkster

+----------
| UUCP: {cbosgd hplabs!hp-sdd sdcsvax nosc}!crash!pnet01!benh
| ARPA: crash!pnet01!benh@nosc.mil
| INET: benh@pnet01.cts.com
|
+----------

--
 /|\ /|\   .. .  .   .    .     .      .       .        .         .          . 
| |\| |\|  .. .  .   .    .     .      .       .        .         .          .
|/|\|/|\|/||   _  _ _   _ |_| _  _ |_ -__  _  _ARPA: lupin3@ucscb.ucsc.EDU      
  | |/| |/|L_ (_\( ( (_/  | |(_\_) (_ || )(_)_)UUCP: *!ucbvax!ucscc!ucscb!lupin3
   \|/ \|/ larry      /   hastings        _/   BITNET: lupin3@ucscb@ucscc.BITNET
MetaWare Inc.  Durable Software, Constructed Automatically     "Not much fun in
Disclaimer:[MetaWare, UCSC]->opinion != lhastings->opinion      Stalingrad, no."