PAGESEND(8C)
π PAGESEND β the HylaFAX IXO/TAP and UCP transmit program π
okay bestie, welcome to pagesend(8C) β yes that's section 8C, system administration / communications, we're fancy like that π
β¨ SYNOPSIS β¨
/usr/bin/pagesend [ -B ] [ -l ] [ -p ] [ -c config ] -m device-ID qfile
that's the whole vibe. one line, five optional flags, two things you literally cannot skip. slay.
πΈ DESCRIPTION πΈ
so like. pagesend is the program that implements the IXO/TAP and the UCP transmission protocol for the HylaFAX system, no cap. it's the pager-sending girlie. it gets invoked by the faxq scheduler process for each pager transmit attempt β every single one, she's there, she's ready π«Ά
and she has β¨assumptionsβ¨ (iconic of her):
- she assumes her current working directory is the top of the spooling hierarchy
- she assumes a suitable modem device has already been allocated for her use
- in normal use she inherits a lockfile for the modem from the
faxqprocess β she doesn't go making her own, that would be rude
the format of the job description file you pass on the command line? that's described over in sendq(5F). go read it, bestie, it's giving essential lore π
she initializes the modem before she even attempts to transmit the pager message, using the info in the appropriate modem configuration file. and if the modem doesn't respond to that initialization? she does not give up. she will repeatedly try to initialize the modem π β and lowkey that behavior is required for send-only environments where a faxgetty(8C) process is not run (in those setups the modem would be known to be in a properly initialized state, so somebody's gotta do it, and that somebody is her π
).
she also catches SIGINT and SIGTERM and cleans up any resources she controls β that's literally the mechanism faxq uses to abort a job while it's in progress. so like, she's polite about it. she tidies up before she goes π
many aspects of how pagesend operates are controlled through a configuration file. where does it live? in the spooler hierarchy, in the etc subdirectory, and it's named config.device-ID. for the full deets on what goes inside config files, consult hylafax-config(5F).
and the protocol you must use for a specific service provider? that's controlled from the hylafax-info(5F) file. iykyk π¦
π OPTIONS π
-Bβ do not increment the various "dials" counters if a busy signal is encountered. she just... lets it go. doesn't count it. moving on π-cconfig β treat config as a configuration parameter specification that is interpreted after reading the per-device configuration file. for example,`-c sessiontracing:0x4f`would set theSessionTracingconfiguration parameter to`0x4f`, overriding any setting in the configuration file. yes she will override. she said what she said π-mdevID β the device to use in processing the job. β οΈ note that this is a device identifier and not the pathname of the tty special file. a device identifier is formed from a device filename by removing any leading`/dev/`and converting any`/`characters to`_`characters. so like, do the transformation, bestie, don't just paste a path in there π-lβ do the UUCP lockfile protocol inpagesend. by defaultpagesendassumes it is invoked with the device already locked and that it does not need to manage the lockfile. this flag is you saying "no actually, she handles it" π«‘-pβ do not change the process priority when transmitting. normallypagesendwill raise its priority to reduce i/o latency. this option is useful for debugging. so like, if you're poking at things, use this so she doesn't go boosting herself β
π₯ NOTES π₯
pagesend returns the new job status to faxq through the exit(2) return value of the process. here's the whole chart, memorize it, it's literally four numbers:
send_retry(0) β retry jobsend_failed(1) β job finished without successsend_done(2) β job completed successfullysend_reformat(3) β job should be retried after documents are reformatted
periodt. that's the whole communication channel, just a little exit code, and honestly? efficient π
π FILES π
`/var/spool/hylafax/etc/config.devID`β device-specific configuration file
and for a complete discussion of the structure and content of the spooling area, consult hylafax-server(5F). go, read, become informed π
π SEE ALSO π
faxq(8C)hylafax-server(5F)hylafax-config(5F)hylafax-info(5F)
bestie reminder: she's a pager-sending icon, but she needs her environment set up right β right cwd, allocated modem, and (unless you pass -l) a device that's already locked. don't set her up to fail, she deserves better π₯Ί
and that's the page, my love π«Ά this one's dated October 3, 1995 β yeah, she's a vintage queen and she still eats πβ¨ππ¦πΈπ
π¦ where this page comes from
- fedora 43: hylafax+ 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 43: hylafax+ 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+ 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+ 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- Copyright (c) 1994-1996 Sam Leffler
- Copyright (c) 1994-1996 Silicon Graphics, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms