TWiki
>
ISG Web
>
ISGScriptsManPages
>
CancelNews
(2016-01-11,
YiLee
)
(raw view)
E
dit
A
ttach
---++ Name cancel-news — Cancel a particular post made to the course newsgroup <div title="Synopsis"> ---++ Synopsis =cancel-news= [ -f | --force ] [ -d | --dry-run ] [<em><code>article-num</code></em>] </div> <div title="Description"> ---++ Description Course accounts are able to cancel news articles to the course's uw.cs newsgroup with the *cancel-news* script. <ul type="disc"> <li> articles may be canceled from the command-line by specifying the article number. </li> <li> articles may be canceled by piping the offending article (at least the headers) into *cancel-news*. </li> <li> the script will display the entire article in a pager (hit q to only show the first page). </li> <li> the user is normally required to confirm the cancellation with a Y or y followed by carriage-return. <ul type="circle"> <li> a =-f= (or =--force=) parameter will "force" the cancellation with no article display, no confirmation; use with appropriate care. </li> </ul> </li> <li> a =-d= (or =--dry-run=) parameter will do everything up until the actual cancel, to see what the program would do. </li> </ul> Cancellations for articles which have reached external news providers (e.g. Google groups) may not be honoured by the external provider. UW has no control over what happens to news articles after they leave the campus. </div> <div title="Examples"> ---++ Examples <div title="Example 1: article number on command-line"> ---+++ Example 1: article number on command-line <pre> cs134@student.cs~> cancel-news 49152 Path: news.uwaterloo.ca!services108.cs.uwaterloo.ca!spammer From: spammer Newsgroups: uw.cs.cs134 Subject: spammity spam Date: Fri, 4 Jun 2010 16:15:15 -0400 Organization: University of Waterloo Lines: 1 Message-ID: NNTP-Posting-Host: services108.cs.uwaterloo.ca Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: rumours.uwaterloo.ca 1275682516 25772 129.97.152.165 (4 Jun 2010 20:15:16 GMT) X-Complaints-To: abuse@uwaterloo.ca NNTP-Posting-Date: Fri, 4 Jun 2010 20:15:16 +0000 (UTC) Xref: news.uwaterloo.ca uw.cs.cs134:49152 Here are the products we offer. _[ ... 20 lines ... ]_ -- more -- _[ press q ]_ Confirm article cancel [Yy] and press return: _[ type y and press return ]_ Done. cs134@student.cs~> </pre> </div> <div title="Example 2: send article from another program"> ---+++ Example 2: send article from another program <ul type="disc"> <li> User is running *trn* to read news (as course-account user). </li> <li> the currently viewed article should be cancelled. </li> <li> user types *|cancel-news* (first character is vertical bar/pipe symbol) and views the article </li> <li> user types *y* and presses return. </li> </ul> </div> </div>
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2016-01-11
-
YiLee
ISG
ISG Web
ISG Web Home
Changes
Index
Search
Webs
AIMAS
CERAS
CF
CrySP
External
Faqtest
HCI
Himrod
ISG
Main
Multicore
Sandbox
TWiki
TestNewSandbox
TestWebS
UW
My links
People
CERAS
WatForm
Tetherless lab
Ubuntu Main.HowTo
eDocs
RGG NE notes
RGG
CS infrastructure
Grad images
Edit
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback