#
#   Copyright 2009 Free Software Foundation, Inc.
#
#  This program is free software: you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#   You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# $Header: /sources/gnuspool/gnuspool/src/helpmsg/spq.help,v 1.3 2009/02/16 21:49:38 toadwarble Exp $
# This file defines the screen headers, prompts, keystrokes, help and
# error messages for 'gspl-pq'.
# You are welcome to change any of the text (within reason) to get the
# customisation you require.
# The numbers give "states" within the internal state machine by which
# 'gspl-pq' operates. These should generally be left alone.

J1:j

D1:===============================================================================
D2:p
D3:

T1:===============================================================================
T2:          GNUspool %P (c) FSF Inc 2008 (? for help)

X1:Job list formats
X2:        Width  Code

Y1:Printer list formats
Y2:        Width  Code

O1:Job number %d0 submitted by %s on 
O2:

=1:Setting Program options for %P
=2:

# Auto-generated beyond this line from master.

# Default user form type if nothing else given

1000P:standard

# Keys global to all states in screen-based progs

K400:?
K401:^L
K402:\e
K403:\s,\t
K404:\r
K405:Q,q
K406:k
K407:j
K408:^B
K409:^F
K410:^U
K411:^D
K416:B
K417:E
K420:\kERASE
K421:\kINTR
K430:=
K490:^Z

# spq keys in job screen where we can switch to printer

H1:?       Help
H1:q       Quit
H1:^L      Redraw screen
H1:o       Printer queue
H1:
H1:j k     down up (or arrows)
H1:^F ^B   Page down up
H1:^D ^U   Half page down up
H1:
H1:A       Abort job
H1:c       Change copies
H1:p       Change priority
H1:P       Change printer
H1:f       Change form type
H1:h       Change header
H1:O       Change other options
H1:I       View file
H1:U C     Unqueue / copy
H1:X       View system error file
1K500:A
1K501:O
1K502:I
1K503:U
1K504:C
1K505:o
1K510:c
1K511:p
1K512:P
1K513:f
1K514:h
1K515:H
1K516:T
1K517:t
1K518:r
1K519:s
1K520:w
1K521:m
1K522:W
1K523:M
1K524:L
1K525:K
1K526:R
1K527::
1K528:#
1K529:u
1K530:F
1K540:^^
1K541:\\
1K550:\,
1K590:X
1K600:@

# spq keys in job screen where we CAN'T switch to printer

H2:?       Help
H2:q       Quit
H2:^L      Redraw screen
H2:
H2:j k     down up
H2:^F ^B   Page down up
H2:^D ^U   Half page down up
H2:
H2:A       Abort job
H2:c       Change copies
H2:p       Change priority
H2:P       Change printer
H2:f       Change form type
H2:h       Change header
H2:O       Change other options
H2:I       View file
H2:X       View system error file
2K500:A
2K501:O
2K502:I
2K503:U
2K504:C
2K510:c
2K511:p
2K512:P
2K513:f
2K514:h
2K515:H
2K516:T
2K517:t
2K518:r
2K519:s
2K520:w
2K521:m
2K522:W
2K523:M
2K524:L
2K525:K
2K526:R
2K527::
2K528:#
2K529:u
2K530:F
2K590:X
2K540:^^
2K541:\\
2K550:\,
2K600:@

# spq keys in printer screen

H3:?       Help
H3:q       Quit
H3:^L      Redraw screen
H3:o       Job queue
H3:
H3:j k     down, up
H3:
H3:A r !   Abort, restart, interrupt job
H3:h       halt at end of job
H3:G H     start, stop printer
H3:f P V   set form, printer device
H3:N D     Add, delete printer
H3:C       Change class code
H3:
H3:y n     Reply to "a/w oper"
H3:        (n to reprint
H3:         setup pages)
H3:X       View system error file
3K500:A
3K501:r
3K502:h
3K503:H
3K504:G
3K505:f
3K506:P
3K507:V
3K508:N
3K509:D
3K510:C
3K511:y
3K512:n
3K513:!
3K514:L
3K515:U
3K516:c
3K517:O
3K518:e
3K540:^^
3K541:\\
3K550:o
3K555:\,
3K590:X
3K600:@

# View jobs

H5:You are looking at job number %d0: `%s'
H5:Please type:
H5:Cursor keys - to move through file
H5:Space - next screenful, L R left or right scroll
H5:B E < > - beginning, end, lh, rh margin of file
H5:s e H - set start, end, reset "halted" at pages
H5:^ \ - forward, reverse search
H5:^L - to refresh screen
H5:q - to quit.
5K530:l,L
5K531:r,R
5K532:<
5K533:>
5K534:s
5K535:e
5K536:H
5K540:^^
5K541:\\

# View system error log

6P:System error log file
H6:You are looking at the system error log file
H6:Please type:
H6:Cursor keys - to move through file
H6:Space - next screenful, L R left or right scroll
H6:B E < > - beginning, end, lh, rh margin of file
H6:^ \ - forward, reverse search
H6:^L - to refresh screen
H6:q - to quit.
6K530:l,L
6K531:r,R
6K532:<
6K533:>
6K540:^^
6K541:\\

# Confirm bypass alignment page

10P:Bypass alignment for printer %s? 
H10:Please confirm (y or n) that you want to bypass the alignment page
H10:for this printer (%s) which is normally printed with form type %t.
E10:Please answer `y' or `n' - do you want to bypass alignment page
E10:for printer %s form type %t
10K450:y,Y,t,T
10K451:n,N,f,F

# Reinstate alignment page

11P:Rerun alignment for printer %s? 
H11:Please confirm (y or n) that you want to reinstate the alignment page
H11:for this printer (%s) for form type %t.
E11:Please answer `y' or `n' - do you want to reinstate alignment page
E11:for printer %s form type %t
11K450:y,Y,t,T
11K451:n,N,f,F

# Confirm delete printer

12P:Sure about deleting printer %s?
H12:Please confirm (Y or N) that you want to delete printer %s.
E12:Unknown command - expecting Y or N
E12:Please confirm whether you want to delete printer %s.
12K450:y,Y,t,T
12K451:n,N,f,F

# Confirm delete job

13P:Job %d has not been printed. Are you sure? 
H13:Please confirm (y or n) whether you want to abort
H13:this job.
E13:Please answer `y' or `n'. Do you want to abort/delete
E13:this job.
13K450:y,Y,t,T
13K451:n,N,f,F
452P:Job %d has not been printed. Are you sure? 
15K450:y,Y,t,T
15K451:n,N,f,F
15K452:~,!
E15:Unknown command. Please enter Y (or T) for yes, N (or F) for no
E15:~ to invert

# Set hold time where currently none

H20:If you do not want the job to be printed before a given
H20:time and date type an "S" and adjust the time and date
H20:displayed.
20K550:S,y,Y

# Set hold time where currently set

H21:Please specify a time to hold the job for 'U' to unset.
21K422:l,L
21K423:r,R
21K551:U,n,N
21K552:+
21K553:-

# Set fields and widths in spq display

29K450:y,Y,t,T
29K451:n,N,f,F
H30:i a         New field before/after
H30:' "         New separator before/after
H30:w           Set width
H30:c           Set code
H30:< >         Toggle left/right flag
H30:D           Delete
H30:S           Set separator string
30K500:'
30K501:"
30K502:D
30K503:i
30K504:a
30K505:w
30K506:c
30K507:<
30K508:S
30K509:>

# Set class code bits

90K422:l,L
90K423:r,R
90K450:y,Y,t,T,+
90K451:n,N,f,F,-
90K452:~,!
90K453:*
90K454:&

# Various on-line helps and errors

100P:Copies: 
H100:Please enter the number of copies of this job to be printed.
H100:This can be any number between %d0 and %d1. (If this job is being
H100:printed at the moment, the current copy counts as one).
101P:Priority: 
H101:Please enter the new priority of this job, between %d0 and %d1.
102P:Title:
H102:Please give a new title to this job.
103P:Form type: 
H103:Please give a new form type for this job.
H103:Possible form types may follow....
104P:Printer: 
H104:Please specify the printer for this job, or blank to denote any available
H104:printer with the right formtype.
H104:Possible printer types may follow....
105P:Page range: 
H105:Please specify a range of pages as m-n, m- or -n.
H106:Please specify a new `halted-at' page.
H107:Please specify how you want to handle odd and even pages.
H107:Set skip odd or even pages, and whether you want to swap over the
H107:skip on alternate copies.
108P:Printer name: 
H108:Please specify the printer type. Possibilities follow....
109P:Device: 
H109:Please give a network address/description, in <>s or
H109:a device name, without the initial "/dev", such as:
110P:Form type: 
H110:Please specify the initial form type:
111P:New form type: 
H111:Please specify the new form type:
112P:Description: 
H112:Please give any description for the printer.
H112:This is not taken into account anywhere but it may be helpful.
113P:Class code for %s: 
H113:Please specify a new class code for the printer.
114P:Lower job limit for %s: 
H114:Please specify a new lower limit on job size (exact number of bytes) for
H114:this printer (%s), or 0 for no limit
115P:Upper job limit for %s:
H115:Please specify a new upper limit on job size (exact number of bytes) for
H115:this printer (%s), or 0 for no limit
116P:Unqueuing job `%s' (%d)
117P:Directory to write in
H117:This is the directory into which the job will be
H117:copied. It should be writable by you.
118P:Command file
H118:This file will be made contain a `spr' command
H118:to re-invoke the job at a later time.
119P:Job file
H119:This file will contain the job standard input
120P:Forward search job:
H120:Please give a string to search for in jobs.
H120:Title, user name, printer and form are examined.
H120:'.' matches any character.
121P:Reverse search job:
E121:No search string given, please try again.
E122:No such job found.
123P:Forward search printer:
H123:Please give a string to search for in printers.
H123:Name, form type and device name are examined.
H123:'.' matches any character.
124P:Reverse search printer:
E124:No search string given, please try again.
E125:No such printer found.

# Strings giving printer states

200P:???
201P:offline
202P:error
203P:halted
204P:startup
205P:idle
206P:shutdown
207P:printing
208P:a/w oper

# Misc printer state strings

210P:(heoj)
211P:AB!!
212P:(N/A)
213P:<
214P:>
300P:-- %d more jobs above --
301P:-- %d more jobs below --
302P:-- %d more printers above --
303P:-- %d more printers below --
304P:[localptr]
305P:Skip odd pages: 
306P:  Skip even pages: 
307P:  Reverse skip: 

# Prompts and helps for job parameters in spq

400P:Title             :
H400:Please specify a new job title for the job.
H400:This will appear on the banner page (unless suppressed) and
H400:in any messages.
401P:Suppress header   :
H401:Please specify (Y or N) whether the header is to be suppressed
H401:for this job. The header may be suppressed anyway for certain form
H401:types, or insisted upon for others.
402P:Form type         :
H402:Please specify a new form type for this job. Possible form types
H402:may follow this message...
403P:Copies            :
H403:Please specify the number of copies required for this job.
404P:Printer           :
H404:Please specify the printer required for this job.
405P:Priority          :
H405:Please specify the priority required for this job.
406P:Post to user      :
H406:Please specify a new user for this job to be posted to.
H406:This user will appear in big letters on the banner page.
407P:Mail message      :
H407:Please specify (Y or N) whether you want to have messages about the
H407:completion of this job mailed to the author.
408P:Write message     :
H408:Please specify (Y or N) whether you want to have messages about the
H408:completion of this job written to the author's terminal.
409P:Mail attention message  :
H409:Please specify (Y or N) whether you want to have messages about the
H409:printer on which this job is being printed mailed to the author.
410P:Write attention message :
H410:Please specify (Y or N) whether you want to have messages about the
H410:printer on which this job is being printed written to the author's
H410:terminal.
411P:Class code        :
H411:Please specify the class code for this job.
412P:P/proc flags      :
H412:Please specify a value for the SPOOLFLAGS environment variable to
H412:be passed to any postprocessor invoked when the job is printed
413P:Retain after printing   :
H413:Please specify (Y or N) whether you want this job to be retained on
H413:the queue with zero copies after printing.
414P:Start page        :
H414:Please specify the starting page for this job.
415P:Last print halted at  :
H415:Please specify a new value for the page marker for where the last print
H415:was halted.
416P:End page          :
H416:Please specify the final page for this job.
417P:Skip odd pages    :
H417:Please specify (Y or N) whether you want to skip odd pages on this job
418P:Skip even pages   :
H418:Please specify (Y or N) whether you want to skip even pages on this job
419P:Reverse skip      :
H419:Please specify (Y or N) whether you want to swap the "skip odd pages"
H419:and "skip even pages" markers at the end of each copy of this job
420P:Printed           :
H420:Please specify (Y or N) whether you want to mark the job as printed.
H420:The job will be automatically marked at the end of each copy.
421P:Delete time if not printed (hours)  :
H421:Please specify the time in hours after which this job will be
H421:deleted if it has NOT been printed.
422P:Delete time if printed (hours)      :
H422:Please specify the time in hours after which this job will be
H422:deleted if it has been printed at least once.
423P:Hold job until    :
H423:Please specify a time to hold the job for, 'S' to set 'U' to unset.
424P:Local job only    :
H424:This flag specifies that the job is to be regarded as "local only"
H424:and not to be passed on to other networked machines.

# Define initial prompt to start cursor at.
# Define starting row of display

398N413
399N400

# Define order of rows displayed

400N401
401N402
402N403
403N404
404N405
405N406
406N407
407N408
408N409
409N410
410N411
411N412
412N413
413N414
414N415
415N416
416N417
417N418
418N419
419N420
420N421
421N422
422N423
423N424
424N-1

# Miscellaneous spq queue param errors

E440:Invalid state code number %d9 in job parameters list in
E440:help file %F
E441:Duplicated state code %d9 referred to in %d8N%d9 in
E441:list of job parameters order in help file %F
E442:Job number %d0 has disappeared from the queue!
E442:It has either been printed and has been deleted, or someone else
E442:has removed it. Please type ENTER to continue
E443:Unknown user `%s'. Please type a known user on this system.
E444:Resulting job class, after applying your class of "%s",
E444:would be zero. Please try again.
E445:Unknown command - please type "S" to set a hold time
E446:Unknown command - please type "U" to unset the hold time, digits of
E446:time or + or - to increment or decrement the time specification
E447:The time you have given is not in the future. Please try again.
E448:Off lhs of time specification
E449:I don't believe years less than 1990...
E450:Invalid digit in hours specification
H450:Please specify digits of the hour to hold the job until
H450:or increment/decrement using + and -
E451:Invalid digit in minutes/seconds specification
H451:Please specify digits of the minute to hold the job until
H451:or increment/decrement using + and -
E452:Unknown command please type + or - to adjust day of the week
H452:Please adjust the day of the week with + or -, or move the cursor
H452:using left/right arrow
E453:Unknown command please type + or - to adjust day of the month or
E453:explicit digits.
H453:Please specify new digits of the day of the month
H453:or increment/decrement using + and -
E454:Unknown command please type + or - to adjust month
H454:Please adjust the day of the month with + or -, or move the cursor
H454:using left/right arrow
E455:Unknown command please type + or - to adjust year
H455:Please adjust the year using + and - or move the cursor
E458:You have specified an end page less than the start page.
E458:Please try again.
E459:You have specified an end page less than the "halted at" page.
E459:Please try again.

# Misc displays in queue param options

460P:%d%% complete
461P:<end>
462P:Yes
463P:No
464P:<N/A>

# Abbreviated days of the week

470P:Sun
471P:Mon
472P:Tue
473P:Wed
474P:Thu
475P:Fri
476P:Sat

# Abbreviated months

490P:Jan
491P:Feb
492P:Mar
493P:Apr
494P:May
495P:Jun
496P:Jul
497P:Aug
498P:Sep
499P:Oct
500P:Nov
501P:Dec

# Displays whilst viewing job in spq

530P:Job number %d: %s on form type %s
531P:Job %s:%d: %s on form type %s
532P: - %d%% of the way through
533P:--- End of file ---
534P:--- End of page %d ---
535P:START
536P:END
537P:HALTED AT
538P:Forward search:
539P:Reverse search:

# Searching in spq view job

H540:Please enter a search string.
H540:Case of letters is ignored. `.' represents any printing
H540:character, except in the first position, where it represents itself.
E540:Please specify a search string, consisting of printing characters
E540:with `.' (apart from the first position) being wild.

# Program options selection for spq

700P:Restrict to printer :
701P:Restrict to user    :
702P:Restrict to title   :
703P:Limit jobs display:
704P:Display only      :
705P:Local jobs/printers only    :
706P:Sort printers     :
707P:Class code        :
708P:Confirm abort/delete jobs   :
709P:Help messages     :
710P:Error messages    :
711P:Clear help message:
712P:Page counts       :
713P:If job moves      :
714P:Printer list size (on entry):
715P:Cursor on entry   :
716P:Refresh interval  :

# Define initial cursor location and starting row
# in program options for spq

698N700
699N700

# Define order in which rows appear

700N701
701N702
702N703
703N704
704N705
705N706
706N707
707N708
708N709
709N710
710N711
711N712
712N713
713N714
714N715
715N716
716N-1

# Helps and alternatives for program options in spq

H7000:If you are only interested in jobs for a given printer
H7000:put the printer name here. Alternatively leave empty
H7000:to display all printers
H7010:To restrict display to jobs for a given user put the
H7010:user name here. To display all user's jobs leave empty.
H7020:To restrict display to jobs with a given title put the
H7020:title pattern here. To display all jobs leave empty.
7030P:Only jobs matching printer
H7030:Please indicate whether you want the printer name
H7030:restriction to apply to jobs. You can just select
H7030:jobs for the given printer, those jobs plus jobs with
H7030:null printer name, or all jobs.
H7030:You are trying to save to a directory or something.
7031P:Jobs matching printer plus null
7032P:All jobs regardless of printer
7040P:All
H7040:Please indicate whether you want to select all jobs,
H7040:or only those not printed, or only those printed.
7041P:Not Printed
7042P:Printed
7050P:No
H7050:Please indicate whether you want to display only
H7050:jobs and printers on the local machine
7051P:Yes
7060P:Unsorted
H7060:Please indicate whether you want the printer list
H7060:sorted or unsorted
7061P:Sorted
H7070:Please set the class code you want to invoke
H7070:to display jobs and printers.
7080P:Never
H7080:Please indicate whether you want to confirm abort delete
H7080:jobs every time, only for jobs not printed, or never.
7081P:Unprinted jobs
7082P:Always
7090P:Inverse video
H7090:Please indicate whether you want to display help messages
H7090:in inverse video (standout mode) or boxes.
7091P:Boxes
7100P:Inverse video
H7100:Please indicate whether you want to display error messages
H7100:in inverse video (standout mode) or boxes.
7101P:Boxes
7110P:Use next command
H7110:Please indicate whether you want the next keystroke afer
H7110:displaying a help message to be kept or lost
7111P:Clear help
7120P:Display page counts
H7120:Please indicate whether page numbers in jobs should be displayed
H7120:on the main screen, or just the size.
7121P:Suppress page counts
7130P:Follow job
H7130:Please indicate whether you want to follow the job if it changes
H7130:position on the screen, or try to retain the display.
7131P:Retain display
H7140:Please indicate the number of printers to display at once.
H7140:This option only applies on entry.
7150P:Job screen
H7150:Please indicate where the cursor should be on entry.
H7150:This can be the job screen, the printer screen or
H7150:`don't care'.
7151P:Printer screen
7152P:Don't care
H7160:Please specify the polling interval between 2 and 90 seconds.
H7160:This is adjusted automatically, so this gives an initial value
H7160:only.

# Ask about saving spq options

750P:Save parameters? 
751P:Save in current directory? 
752P:Save in home directory? 
753P:Save in home (also current) directory? 
E754:Invalid state code number %d9 in options state code list in
E754:help file %F
E755:Duplicated state code %d9 referred to in %d8N%d9 in
E755:list of options order in help file %F
E756:Unknown command - setting screen options
E757:Sorry but class code would give class code of 0 with your existing
E757:class code of %s.

# Save format codes questions

758P:Save format codes?
759P:Overwrite existing file?
760P:Width of field
H760:This is the maximum width of the field
761P:Format code
H761:This is the format code to assemble the display line from.
H761:Possible codes follow:
762P:Separator value
H762:This is the field to generate the separator with. Enter nothing
H762:to just give a single space.
763P:What file:
H763:What file name would you like to save the new message file in.
E764:Unknown command editing format list
E765:Off end of list of formats
E766:Off beginning of list of formats
E767:No formats to edit yet - please create some
E768:Format is separator - invalid command
E769:Format is not separator - invalid command
E770:Undefined format code
780P:<
781P:>

# Error messages whilst saving .gnuspool files

E790:Sorry saveopts crashed with signal 0x%x0
E791:Sorry cannot delete old init file from %s
E792:Sorry cannot create init file in %s
E792:(and I've deleted your old one - sorry!!)
E793:Sorry cannot create init file in %s
E794:Sorry cannot fork to create init file
E796:No memory available creating init file.
E800:Your proposed saved help file is not a regular file
E801:Your proposed saved help file would overwrite the current one.
E802:Cannot open %s for writing.
E803:Cannot create %s

# Default format strings for spq

1990P:%3n %<6N %6u %14h %13f%5Q%5S %3c %3p %14P
1991P:%3n %<6N %6u %14h %13f%5L%5K %3c %3p %14P
1992P: %14p %10d %16f %>8s %3x %7j %7u %6w

# Display Format strings

2010P:Localonly
2011P:wattn
2012P:mattn
2013P:mail
2014P:write
2015P:no-odd
2016P:no-even
2017P:,swap
2018P:local
2019P:retain
2020P:nohdr

# Display title abbreviations for jobs

2064P:Wattn
2066P:Class
2067P:Delim
2069P:Post-proc
2070P:H.at
2071P:Hold
2074P:Size
2075P:Posn
2077P:Jobno
2078P:O/E
2079P:Printer
2080P:AtPg
2081P:Range
2082P:Pgs
2083P:Npdel
2084P:Puser
2086P:Stime
2096P:Mattn
2098P:Cps
2099P:ndel
2101P:Form
2103P:Title
2107P:Lonly
2108P:Mail
2109P:Seq
2110P:Orig
2111P:Pri
2112P:Ret
2114P:Noh
2115P:Pdel
2116P:User
2118P:Wrt

# Display titles in full for jobs

2564P:Write Attention
2566P:Class Code
2567P:Delimiter
2569P:Post-processing flags
2570P:Halted at
2571P:Hold Time
2574P:Size in K
2575P:Position reached (K)
2577P:Job number
2578P:Odd or even pages
2579P:Printer
2580P:Page reached
2581P:Page Range
2582P:Size in Pages
2583P:Delete time if not printed
2584P:Post User
2586P:Submission time
2596P:Mail Attention
2598P:Copies
2599P:Number of delimiters
2601P:Form type
2603P:Job title
2607P:Local only
2608P:Mail result
2609P:Number in queue
2610P:Originating host
2611P:Priority
2612P:Retain on queue
2614P:Suppress header
2615P:Delete time if printed
2616P:User submitting job
2618P:Write result

# Display title abbreviations for jobs

2196P:Abort
2198P:Class
2199P:Device
2200P:Descr
2201P:Form
2203P:Heoj
2204P:Pid
2205P:Jobno
2207P:Local
2208P:Message
2209P:N/a
2211P:Printer
2214P:State:Msg
2215P:State
2216P:User
2218P:Flags
2219P:Limit
2220P:Minsize
2221P:Maxsize

# Display titles in full for printers

2696P:Display message if abort pending
2698P:Class code
2699P:Device or <network address>
2700P:Printer description
2701P:Form type
2703P:Display message if halting at eoj
2704P:Process id
2705P:Job number being printed
2707P:Message if printer local only
2708P:Message in all cases
2709P:Display non-aligned marker
2711P:Printer name
2714P:State and message (offline/error)
2715P:State no message
2716P:User of job being printed
2718P:Combine abort/non-aligned message
2719P:Limit set, display as <>
2720P:Minimum job size
2721P:Maximum job size

# Spq argument syntax

A200:?,help,explain
A201:H,keep-char-help
A202:h,lose-char-help
A203:n,follow-job
A204:s,keep-cursor
A205:l,local-only
A206:r,remotes
A207:d,dont-care
A208:j,jobs-screen
A209:p,printer-screen
A210:e,no-page-counts
A211:E,page-counts
A212:a,confirm-abort
A213:A,no-confirm-abort
A214:q,list-only
A215:P,number-printers
A216:C,classcode
A217:R,refresh-time
A218:b,help-box
A219:B,no-help-box
A220:m,error-box
A221:M,no-error-box
A222:y,unprinted-jobs
A223:Y,all-jobs
A224:u,just-user
A225:t,just-title
A226:D,printed-jobs
A227:z,include-null
A228:Z,no-include-null
A229:I,include-all
A230:U,no-sort-ptrs
A231:S,sort-ptrs

# Spq explain

E2:You may invoke the following options for %P
E2:
E2:     %P -h   ignore char after help screens
E2:     %P -H   do not ignore char after help screens
E2:     %P -s   keep scroll position on job queue change
E2:     %P -n   do not keep scroll position on job queue change
E2:     %P -l   restrict attention to local jobs/printers
E2:     %P -r   remove such restriction (default)
E2:     %P -d   put cursor into job screen on entry unless empty
E2:     %P -j   put cursor into job screen on entry
E2:     %P -p   put cursor into printer screen on entry
E2:     %P -e   do not display page counts
E2:     %P -E   display page counts
E2:     %P -a   require confirmation of aborts or deletion of unprinted jobs
E2:     %P -A   do not require confirmation
E2:     %P -q ptr       only display jobs for and/or printer specified
E2:     %P -u user      only display for user specified
E2:     %P -y -Y -D     only unprinted / all jobs / printed jobs
E2:     %P -Pn  set printer screen size to n lines
E2:     %P -Cnnnn       set class code to nnnn
E2:     %P -Rn  set refresh time to n
E2:     %P -b -B -m -M  boxes/no boxes help/error messages

# More spq errors

E3000:Unknown command - expecting job queue control
E3001:You have gone off the end of job queue
E3002:You have gone off the beginning of job queue
E3003:There are no jobs on the queue!
E3004:This job does not belong to you (%R).
E3005:You are not allowed to change the priority of jobs on the queue.
E3005:Please leave it alone or ask someone who is.
E3006:New form type does not match your limit, which is:
E3006:pattern: %s
E3007:New printer does not match your limit, which is:
E3007:pattern: %s
E3008:Bad range format, should be start-end, -end, start- or null.
E3009:You are not allowed to unqueue jobs
E3010:This job does not belong to you (%R)
E3010:and you can't even look at it - sorry.
E3011:This job is a remote job and you are not permitted
E3011:to access remote jobs - sorry.
E3012:Sorry but you do not have a privilege to access
E3012:other fields in the job from those displayed.
E3013:There is no space on the screen to create a subwindow for job unqueue
E3013:This is probably a bug or you are running a funny terminal.
E3014:Failed to create subwindow for job unqueue - sorry
E3015:Unknown user directory %s
E3016:Undefined environment variables in %s
E3017:Sorry - but an absolute pathname is required for Unqueue options.
E3017:You have supplied %s
E3018:Cannot change to directory %s
E3019:%s is not a valid file name (contains '/')
E3020:%s is not a regular file
E3021:Cannot fork to run unqueue process
E3023:Program fault 0x%x9 in unqueue process
E3024:Misc error %d1 in unqueue process for job `%s' (%d0)
E3025:Unqueue spool file not found for job `%s' (%d0)
E3026:Unqueue directory not found for job `%s' (%d0)
E3027:Cannot create file for job `%s' (%d0)
E3028:Unqueue process reports unknown job `%s' (%d0)??
E3029:Unknown command - expecting printer list control
E3030:You have gone off the end of the printer list
E3031:You have gone off the beginning of the printer list
E3032:There are no printers yet - please set one up first
E3033:Sorry - to obey this command you need permission to stop and start
E3033:printers. Please ask someone who has this permission.
E3034:You (%R) do not have permission to add a printer.
E3034:Please ask someone else.
E3035:This printer is not running.
E3036:The printer should be stopped before you can execute this command.
E3036:Please stop it first.
E3037:The printer is not awaiting confirmation - this command is not
E3037:appropriate.
E3038:Sorry but you cannot delete printers remotely. If you really want to do
E3038:this, you should rlogin to the remote machine and do it from there
E3039:Sorry but you are not permitted to access remote printers.
E3040:Resulting printer class, after applying your class of %s, would be zero.
E3040:Please try again.
E3041:This job, number %d0, has just disappeared as you started
E3041:to look at it! Please type return to continue. If it still appears
E3041:on the job queue when you go back something very strange is happening.
E3041:In that case check the file ownerships, environment variables
E3041:(have you got a funny $SPOOLDIR set?) etc.
E3042:Unknown command - expecting scroll command.
E3042:Type 'q' to quit back to main job queue.
E3043:You are at the beginning of the file
E3044:You are at the end of the file
E3045:You are at the l.h. margin of the file
E3046:You are at the r.h. margin of the file
E3047:This job was NOT aborted in mid-print. This command is not
E3047:appropriate. Can I suggest `s' instead to reset the job
E3047:start page?
E3048:Your start page comes after your end page. Please set the
E3048:end page.
E3049:Your "halted at" page comes after your end page. Please set the
E3049:end page.
E3050:No occurences found.
E3051:No occurences found (searching forwards).
E3052:No occurences found (searching backwards).
E3053:Unable to access job `%s' %d0 on remote machine `%t'
E3054:Unable to allocate enough memory for page breaks in
E3054:job `%s' %d0 size $d1.
E3056:No system error log file (yet!)
E3057:Unknown command whilst looking at system error log.
E3057:Type `q' to get back to the job queue.
E3058:Unknown command whilst looking at system error log.
E3058:Type `q' to get back to the printer list.
E3059:No memory available to scan system error log file -
E3059:sorry! (It must be getting rather big).
E3060:You are asking for too many printers (%d0) to be displayed.
E3060:The maximum supported is %d1.
E3061:Your polling parameter %s is invalid.
E3061:Please give a number between %d0 and %d1.
E3070:Macro command %d0 is not defined.
E3071:Macro command failed to fork - %E
E3072:Macro command failed - signal %d0
E3073:Macro command failed - exit code %d0
E7:Unknown command - please say Y or N do you want to save options

# Strings for wnum etc

E4000:No defaults found with prefix %s
E4001:String too long
E4002:Unknown command (expecting string)
E4003:Invalid character (expecting string)
E4010:Value for %s is too large. (Maximum is %d1) Please try again.
E4011:Value for %s is too small. (Minimum is %d0) Please try again.
E4012:Unknown command (expecting numeric value for %s)
E4013:Invalid character (expecting numeric value for %s)
E4014:Value is too large. (Maximum is %d1) Please try again.
E4015:Value is too small. (Minimum is %d0) Please try again.
E4016:Unknown command (expecting numeric value)
E4017:Invalid character (expecting numeric value)
E4020:Exceeded field size for %s
E4021:Sorry you are not allowed to set a zero class value for %s
E4022:Unknown command (expecting class letter for %s)
E4023:Invalid character (expecting class letter for %s)
E4024:Exceeded field size for class value
E4025:Sorry you are not allowed to set a zero class value
E4026:Unknown command (expecting class value)
E4027:Invalid character (expecting class value)

# System errors

E8000:Cannot open file - check ownership of files in spool directory, and
E8000:this program, %P. All should be owned by `spooler' and %P
E8000:should be suid to `spooler'.
E8002:Trouble creating user file - please check GNUSpool is installed
E8002:correctly.
E8003:The current time on your machine comes before the time on your
E8003:/etc/passwd file. Corrective action has been taken, but I suggest that
E8003:you investigate the situation rapidly!
E8004:Error - %E
E8004:Attempting to lock user control file.
E8005:Error - %E
E8005:Attempting to unlock user control file.
E8006:Error - %E
E8006:Attempting to create temporary file %s.
E8007:User control file GNUSpool version number is %d0.
E8007:GNUSpool Version is %d1.
E8007:Your user control file is either corrupted, or you are attempting
E8007:to a mixture of binaries from different versions of GNUSpool.
E8007:I am continuing, but please shut down GNUSpool as soon as possible
E8007:and investigate. Thanks.
E8100:Cannot change directory to spool directory - %E
E8101:%P - GNUSpool is not running.
E8103:%P: Error "%E" transmitting to message queue.
E8103:Please investigate your system (run "ipcs").
H8103:There seems to be some problem sending data to the message
H8103:queue for GNUSpool. This may be because someone has deleted
H8103:the message queue and/or killed the scheduler process or it
H8103:may be because your system has a problem.
E8104:%P - message queue is full
E8104:This could be because:
E8104:  (a) Your scheduler has crashed - please check for "spshed"
E8104:      in a "ps" listing
E8104:  (b) Some other process unconnected with GNUSpool is sending messages
E8104:      exhausting the maximum limit of messages. Please check
E8104:      the output of "ipcs -o".
H8104:%P - message queue is full
H8104:This could be because:
H8104:  (a) Your scheduler has crashed - please check for "spshed"
H8104:      in a "ps" listing
H8104:  (b) Some other process unconnected with GNUSpool is sending messages
H8104:      exhausting the maximum system-wide limit of messages. Please check
H8104:      the output of "ipcs -o".
E8105:Class code argument %s would give class code of 0 with your existing
E8105:class code of %t.
E8106:Cannot specify zero class code
E8107:Panic! Cannot read job queue.
E8107:This may be due to incorrect installation.
E8107:Please check that the owner of the shared memory segments
E8107:are the same as the set-user id of %P which is '%U'.
E8108:Panic! Cannot read printer list.
E8108:This may be due to incorrect installation.
E8108:Please check that the owner of the shared memory segments
E8108:are the same as the set-user id of %P which is '%U'.
E8109:Panic! Cannot open shared memory for passing job and printer
E8109:buffers.
E8109:Please check that the owner of the shared memory segments
E8109:are the same as the set-user id of %P which is '%U'.
E8110:Panic! I can find, but the kernel won't let me attach
E8110:the shared memory for passing job and printer buffers.
E8111:The transfer shared memory buffer is full up.
H8111:The transfer shared memory buffer is full up.
H8111:This should normally be the same as the number of messages
H8111:on a message queue.
E8121:Help! Cannot allocate semaphore - %E
E8123:Sorry, but your user id %R has not yet been
E8123:registered for GNUSpool. You need to run
E8123:(or have run for you) "gspl-user -i" "gspl-xmuser" or "gspl-xuser".

# Key setup errors

E9000:Global key setup error - clash on character %c0 with previously-given
E9000:value %d2 and new value %d1.
E9000:This means that you have defined one key to do two or more different things,
E9000:possibly because you have specified one as a terminal key (\KKILL etc).
E9000:Please look in the file %F for lines
E9000:of the form "K%d2:...." and "K%d1:....."
E9000:You may be using a different terminal or account than before?
E9001:State %d3 key setup error - clash on character %c0 with previously-given
E9001:value %d2 and new value %d1.
E9001:This means that you have defined one key to do two or more different things,
E9001:possibly because you have specified one as a terminal key (\KKILL etc).
E9001:Please look in the file %F for lines
E9001:of the form "%d3K%d2:...." or "K%d2:..." and "%d3K%d1:....."
E9001:You may be using a different terminal or account than before?
E9002:Key setup error on character number %d3 - %c0 with previously-given
E9002:value %d2 and new value %d1.
E9003:Keys not defined for state %d3... Aborting.
E9004:Key string too long... Aborting.
E9005:Bad syntax global key definitions... Aborting.
E9006:Unknown key name `%s' - ignored.
E9006:This is harmless, but is because you have called for something not defined in
E9006:your "termcap" or "terminfo" file - probably a "HOME" key.
E9006:Please look in the file %F for lines that might refer to %s
E9006:You may be using a different terminal or account than before?
E9007:Bad syntax state key definitions... Aborting.
E9008:Undefined key sequence - ignored
E9009:Aborted due to %d0 key setup errors.
E9010:Error on terminal input - %E
E9500:Bad argument %s to program %P
E9501:Bad string argument %s to program %P
E9502:Option %s to program %P expects an argument
E10000:Missing help message code %d0
E10001:Missing prompt message code %d0
E10002:Missing error message code %d0
E10003:Clash on character %c2 with state %d0 and state %d1
E10003:(i.e. you have 2 meanings for -%c2)
E10004:Clash on option %s with state %d0 and state %d1
E10004:(i.e. you have 2 meanings for +%s)
E10005:Aborted due to %d0 conflict(s) in argument descriptions

# Macro prompts - add to this??

27000P:Run what:
H27000:Please give the command you want to run.
H27000:Details from the current line will be given as a parameter.
27100P:Run what:
H27100:Please give the command you want to run.
H27100:The printer name will be given as a parameter.
E1164:%P - Problems with locking semaphore. This is almost certainly
E1164:due to being unable to allocate sufficient "undo" structures
E1164:(structures which hold adjustments to semaphore values to apply
E1164:on exit) within the kernel. If you have the program "/etc/sysdef"
E1164:available, please run it now and look at the parameter SEMMNU.
E1164:This should be at least as great as the parameter SEMMNS and
E1164:your kernel parameters should be updated to avoid this error.
E1164:The error reported was "%E".
E1164:However this can vary between platforms.
E1165:Error setting lock - %E
E1166:Error unsetting lock - %E
