Most of the run-time options can also be controlled by
environment variables. If an option is specified by both
an environment variable and a command-line option, the
command-line option is honored.
- UQ_DO_MAIL
-
Determines whether or not to process mail. Should be set to
"1" (do mail) or "0" (don't do mail).
- UQ_DO_NEWS
-
Determines whether or not to process news. Should be set to
"1" (do news) or "0" (don't do news).
- UQ_INC_HDRS
-
Determines whether or not to include headers in messages.
Should be set to "1" (include headers) or "0" (don't include
headers).
- UQ_EVERY_MODE
-
Determines whether or not to include an entry in CONTROL.DAT for
empty newsgroups. Should be set to "1" (include empty groups)
or "0" (don't include empty groups).
- UQ_PRT_OPTS
-
Determines whether or not to just print the values of run-time
options and stop. Should be set to "1" (print options) or
"0" (don't print options).
- UQ_READ_ONLY
-
Determines whether or not to run in read-only mode. Should be
set to "1" (read-only) or "0" (not read-only).
- UQ_WAF_MODE
-
Determines whether the .newsrc file should be interpreted as
a Waffle "join" file. Should be set to "0" (normal) or "1"
(Waffle mode).
- UQ_SOUP_MODE
-
Determines whether or not to run in SOUP mode. Should be set
to "0" (don't run in SOUP mode) or "1" (run in SOUP mode).
- UQ_ZIP_MODE
-
Determines whether or not to run in ZipNews mode. Should be set
to "0" (don't run in ZipNews mode) or "1" (run in ZipNews mode).
- UQ_XRF_MODE
-
Determines whether or not to honor Xref lines. Should be set to
"0" (do not honor Xref lines) or "1" (honor Xref lines).
- UQ_BW_KLUDGE
-
Determines whether or not to activate the Blue Wave kludge. Should be
set to "0" (do not activate the Blue Wave kludge) or "1" (activate
the Blue Wave kludge).
- UQ_XPRT_MODE
-
Determines whether or not to operate in QWK expert mode. Should be
set to "0" (do not run in expert mode) or "1" (run in expert mode).
- UQ_MAIL_DIR
-
Specifies the directory where the mail spool file resides.
- UQ_MAIL_FILE
-
Specifies the mail spool file.
- UQ_USER_NAME
-
Specifies the username of the person running
uqwk.
- UQ_HOME_DIR
-
Specifies the home directory, where the packet files will be
created, and where
uqwk
expects to find the .newsrc file.
- UQ_BBS_NAME
-
Specifies the BBS name to be entered into the QWK packet.
- UQ_BBS_CITY
-
Specifies the BBS city to be entered into the QWK packet.
- UQ_BBS_PHONE
-
Specifies the BBS phone number to be entered into the QWK packet.
- UQ_BBS_SYSOP
-
Specifies the BBS sysop name to be entered into the QWK packet.
- UQ_BBS_ID
-
Specifies the BBS ID to be entered into the QWK packet.
- UQ_ACT_FILE
-
Specifies the name of the news system's active file.
- UQ_NRC_FILE
-
Specifies the name of the user's .newsrc file.
- UQ_NG_FILE
-
Specifies the name of the desired newsgroups file.
- UQ_MAX_BLKS
-
Specifies the maximum size of the offline packet in 128-byte blocks.
- UQ_TRN_FILE
-
Specifies the name of the newsgroup name translation table.
- UQ_GRP_LEN
-
Specifies the maximum length of newsgroup names.
- UQ_REP_FILE
-
Specifies the name of the reply packet, if any.
- UQ_HOST_NAME
-
Specifies the host name for ZipNews replies.
- UQ_SUM_FILE
-
Specifies the name of the summary file, if any. Also causes
uqwk
to execute in summary mode.
- UQ_SEL_FILE
-
Specifies the name of the selection file, if any. Also causes
uqwk
to execute in selection mode.
COMMAND LANGUAGE
If, while processing a reply packet,
uqwk
encounters a message to the username "UQWK", the body of the
message will be interpreted as a small command language, used
to display newsgroup names and subscribe or unsubscribe to
newsgroups. The results of the execution of the commands will
be mailed back to the originating user.
This is what the command language looks like:
- HELP
-
List all the available commands.
- SUBSCRIBE newsgroup
-
Subscribe to the named newsgroup.
- UNSUBSCRIBE newsgroup
-
Unsubscribe from the named newsgroup. UNSUBSCRIBE ALL may be used to
unsubscribe from all newsgroups. UNSUBSCRIBE ALL is also the only way
to create a new .newsrc if it does not already exist.
- CATCHUP newsgroup
-
Mark all articles in the named newsgroup as read.
- GROUPS
-
List all newsgroups to which the user is currently subscribed.
- ALLGROUPS
-
List all the available newsgroups and the number of articles in
each one.
- SHELL command
-
Execute the specified shell command. Anything written to standard
output will be mailed back to the originating user.
NOTES
In QWK mode, it is possible to send mail to long email addresses by
including, as the first thing in the body of the message, a line of
the form:
To: user@site.com
(The space after the colon is important.)
BUGS
The handling of MMDF mail files is kludgy and should be fixed.
In QWK mode, if the .newsrc file is modified significantly between
the time a packet
is created and the time replies to that packet are processed, it is
possible that articles may be posted to the wrong newsgroup. If you
use
uqwk
along with a conventional online newsreader, it may be wise
to maintain a separate .newsrc file strictly for
uqwk.
uqwk
does not do mail locking. If new mail arrives while
uqwk
is packing mail, the new message may be lost. If you're worried about
this, either make a copy of your mail spool before running
uqwk,
or run
uqwk
in read-only mode and erase your mail spool manually when
you think it is safe.
uqwk
does not support the ZipNews offline commands. To perform
offline configuration using
uqwk,
send mail to the username "UQWK" in
the format described in the COMMAND LANGUAGE section above.
SEE ALSO
mail(1),
inews(8)
ACKNOWLEDGEMENTS
uqwk
was inspired by a conversation with Harry Lockwood
(lockwood@world.std.com).
QWK format was designed by Mark "Sparky" Herring (mark.herring@nashville.com).
The creator of SOUP is Rhys Weatherley (rhys@cs.uq.oz.au).
The creator of ZipNews is Jack Kilday (jkilday@nlbbs.com).
Thanks to Patrick Y. Lee (patlee@panix.com) for the QWK documentation.
Many thanks also to the beta-testers: Karl J. Vesterling
(kjv@exucom.com) and Brian J. Coan (brian@igc.apc.org).
Many thanks to Ken Whedbee (kcw@grumpy.ksc.nasa.gov) for the NNTP
modifications.
Many other people, too numerous to list here, contributed bug
fixes and suggestions for improvement.
AUTHOR
steve belczyk, steve1@genesis.nred.ma.us, seb3@gte.com.
Copyright (C) 1993-1994 by steve belczyk.
Permission to use, copy, modify and distribute this software and its
documentation for any purpose and without fee is hereby granted, provided
that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation. This software is provided "as is" without expressed or
implied warranty.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- ENVIRONMENT VARIABLES
-
- COMMAND LANGUAGE
-
- NOTES
-
- BUGS
-
- SEE ALSO
-
- ACKNOWLEDGEMENTS
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 21:32:04 GMT, December 30, 2022