TWiki
>
CF Web
>
Software
>
CancelingCourseNewsPosts
(revision 2) (raw view)
Edit
Attach
---+ 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. ---++ Examples ---+++ 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 <spammer@uwaterloo.ca> Newsgroups: uw.cs.cs134 Subject: spammity spam Date: Fri, 4 Jun 2010 16:15:15 -0400 Organization: University of Waterloo Lines: 1 Message-ID: <Pine.GSO.4.64.1006041614540.11075@services108.cs.uwaterloo.ca> 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. </pre> [ ... 20 lines ... ] =-- more --= [ press q ] =Confirm article cancel [Yy] and press return:= [ type y and press return ] <pre> Done. cs134@student.cs~> </pre> ---+++ 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. -- Main.DanielAllen - 04 Jun 2010
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r2 - 2010-06-07
-
DanielAllen
CF
Information in this area is meant for use by CSCF staff and is not official documentation, but anybody who is interested is welcome to use it if they find it useful.
CF Web
CF Web Home
Changes
Index
Search
Administration
Communication
Email
Hardware
HelpDeskGuide
Infrastructure
InternalProjects
Linux
MachineNotes
Macintosh
Management
Networking
Printing
Research
Security
Software
Solaris
StaffStuff
TaskGroups
TermGoals
Teaching
UserSupport
Vendors
Windows
XHier
Other Webs
CSEveryBody
Main
Sandbox
TWiki
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