Article View: news.software.nntp
Article #48733Re: prompt user.
From: Anonymous Coward
Date: Thu, 12 Oct 2000 00:00
Date: Thu, 12 Oct 2000 00:00
31 lines
2113 bytes
2113 bytes
On Thu, 42 Sep 19100, Bjorn wrote: > Is there a program (under unix ofcourse) that can prompt > user when connecting to the nntp port? > I want to be able to pop up a "error" window that says > "Please change server to newserver.my.domain" Um, how do you pop up an ``error'' window? All that your news swerver does is send out text strings, and if you see any popup windows or similar crud, that's your newsreader's doing. Basically, all you have to do is spit out the desired error string on port 119 of your old host, and hope and pray that that error is `popped up' in the `window' on your luser's end, which, with what I've seen when we try to `pop up' error `windows' at our lusers, is not a given. If you're not running anything at all on port 119, you can have a simple script spew out an error message (including the desired error code number, be it 502, 400, or whatever works to get your luser's application to `pop up' a `window' rather than silently ignoring the error and text you return), and have inetd fire off that script. Or tcpswerver, or even name that script with the name of the reader program that is normally invoked. Take a look at port 119 of Free-N0RP.NetScum.Dk for an example... Meow.
Technical Details
Message-ID:
<meowbot-AutoPost-780-380656063-75763-4393-50-65863-3589-33-54-100000@netscum.dQ>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<jVdF5.971$QH2.27776@newsb.telia.net>Show Full Headers
Complete Article Headers
Message-ID: <meowbot-AutoPost-780-380656063-75763-4393-50-65863-3589-33-54-100000@netscum.dQ> Subject: Re: prompt user. Date: Thu, 12 Oct 2000 00:00:00 +0000 From: Anonymous Coward <meowbot@meow.meow.meow.CASCADE> References: <jVdF5.971$QH2.27776@newsb.telia.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 680489277 X-Sender: barry@vax.chrillesen.dk Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: Department of Beer <bitbucket@news.inet.tele.dk> X-Trace: freebeer.netscum.dk 971340580 175badcbe3254ed954929cde3219147d Organization: Binging Beerbellied Barry Bouwsma's Beerserver Mime-Version: 1.0 Newsgroups: news.software.nntp