NCARV_SPOOL(5NCARG)
π NCARV_SPOOL π (section 5 of the NCARG manual, bestie)
okay so welcome to the spooled device configuration table page for ictrans, the interactive metafile translator β¨ this whole thing lives in the NCAR Graphics manual and it's literally just a lil file that tells your translator where to send stuff. no cap.
πΈ NAME πΈ
ncarv_spool β the spooled device configuration table for the interactive metafile translator ictrans π
β¨ SYNOPSIS β¨
$NCARG_ROOT/lib/ncarg/ncarv_spool
~/.ncarv_spool
π DESCRIPTION π
so the ncarv_spool file is where all the definitions for spooled devices that ictrans is gonna use live. every single definition describes one rule for sending a set of metafile frames off to a spooled device. it's giving matchmaker but for frames and printers π«Ά
each entry is one line, and it looks exactly like this:
alias_name : translator_args : filter_chain
let's break it down bestie:
alias_nameβ an identifier that's unique to the file. it's the alias you reference the definition by. think of it as the entry's main character name πtranslator_argsβ a list of validctranscommand line arguments that get passed toctrans. the metafile frames get translated byctrans, and then the output of that translation is made available for further processing, exactly as the rest of the spooler definition says. the way that it just hands off the outputβ¦ iconic.filter_chainβ a set of simple commands separated by the UNIX pipe symbol|.filter_chaincan be terminated by the UNIX file redirection symbols>or>>followed by filename. output fromctransis made available to the processes defined infilter_chain. pipeline girlies rise π₯
also! a pound-sign (#) as the first character means it's a comment line, and it gets ignored by the routines that read this file. so go ahead and leave yourself lil notes, you deserve it π
and the ordering?? the order of entries in ncarv_spool is important. if an alias name conflict happens, the last definition encountered wins. any previous definition for that same alias name gets yeeted, discarded, gone π
π EXAMPLES π
here's an example ncarv_spool file, and honestly? she's a slay.
- the first entry describes a device named
postscript. whenpostscriptis named as the spooling device, metafile frames are translated byctransinto the format described by theps.monographcap. the fontfont1is used for CGM text elements. and the result of that translation? piped straight tolprπ¨οΈ - the second entry is named
dicomed. thedicomedentry specifies that metafile frames will be rasterized at a 1857 by 1183 pixel resolution and output in X11xwdformat. the result of that rasterization is piped to a programx11tonrif, which in turn sends its output to a program calledrasttg. - in the third example the final output is directed to a file called
sunfileβοΈ
#
# example ncarv_spool file
#
postscript : -d ps.mono -f font1 : | lpr -Pprinter0
dicomed : -d xwd -geom 1857x1183 : | x11tonrif | rasttg -tc
sunraster : -d xwd -geom 1152x900 : | x11tosun > sunfile
π¦ ENVIRONMENT π¦
NCARG_ROOTβ path to root of NCAR Graphics installation.NCARG_LIBβ if set, this variable contains the path to the installed NCAR Graphics libraries.NCARG_LIBoverridesNCARG_ROOT. she said "i'm the boss now" π
π FILES π
$NCARG_ROOT/lib/ncarg/ncarv_spoolβ System spooler configuration file$HOME/.ncarv_spoolβ User spooler configuration file
β SEE ALSO β
ctrans(1NCARG), ictrans(1NCARG)
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
and that's the whole page bestie, no notes, we ate πβ¨ this lil gem is from the NCARG crew (that's the manual name, iykyk) and it's dated January 1993 β vintage but still slaying fr fr ππ¦πΈ
π¦ where this page comes from
- epel 9: ncl-common 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-common 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-common 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms