Canceling Course News Posts

Course accounts are able to cancel news articles to the course's uw.cs newsgroup with the cancel-news script.

  • articles may be canceled from the command-line by specifying the article number.
  • articles may be canceled by piping the offending article (at least the headers) into cancel-news.

  • the script will display the entire article in a pager (hit q to only show the first page).
  • the user is normally required to confirm the cancellation with a Y or y followed by carriage-return.
    • a -f (or --force) parameter will "force" the cancellation with no article display, no confirmation; use with appropriate care.
  • a -d (or --dry-run) parameter will do everything up until the actual cancel, to see what the program would do.

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.


Example 1: article number on command-line

cs134@student.cs~> cancel-news 49152
From: spammer 
Newsgroups: uw.cs.cs134
Subject: spammity spam
Date: Fri, 4 Jun 2010 16:15:15 -0400
Organization: University of Waterloo
Lines: 1
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Trace: 1275682516 25772 (4 Jun 2010 20:15:16 GMT)
NNTP-Posting-Date: Fri, 4 Jun 2010 20:15:16 +0000 (UTC)
Xref: 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 ]


Example 2: send article from another program

  • User is running mutt to read news (as course-account user).
  • the currently viewed article should be cancelled.
  • user types |cancel-news (first character is vertical bar/pipe symbol) and views the article
  • user types y and presses return.

-- DanielAllen - 04 Jun 2010

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2010-06-11 - DawnKeenan
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback