Gnus development mailing list
 help / color / mirror / Atom feed
From: Rod Whitby <list.ding@rwhitby.net>
Subject: nntp telnet connection with remote command echoes
Date: 06 Jul 2000 09:02:19 +0930	[thread overview]
Message-ID: <m3wvj0qhks.fsf@a11375-rw.asc.corp.mot.com> (raw)

I'd like to make some changes to nntp.el to handle remote telnet
programs that echo commands.  I'm looking for advice on whether there
is another way to solve the problem instead of changing nntp.el

Here's the background:

I'm using Gnus to read news from behind a telnet firewall.

The firewall has a very restricted version of telnet.  It does not
understand "mode" commands.  So I modified nntp-open-telnet (well,
actually I copied it and changed the name before modifying it) to look
for the correct login and password prompts (the defaults in
nntp-open-telnet don't match this weird firewall system) and to not
try and send the mode character command (as the firewall telnet won't
accept it - I presume the intent of changing the local escape
character to ^X is to ensure that the "mode character" command goes to
the gateway telnet program instead of the local telnet program).

When I connect to the remote system, all the NNTP commands are echoed
(starting with MODE READER).

So I've created a new defvoo variable "nntp-telnet-remote-echoes", and
modified nntp.el to rip out the echoed commands from the buffer.

Are my assumptions about the "mode character" command going to the
gateway telnet program (not the local telnet program) correct ?

Is there a better way to solve this problem ?

Would the maintainers of nntp.el accept a patch that fixes this
problem (the assumption being that I've written it such that it works
the same as it does currently if the nntp-telnet-remote-echoes
variable is nil) ?

-- 
-- Rod Whitby, Snr Staff Engr, Electronic Design Automation --
-- Motorola Australia Software Centre - Adelaide, Australia --
-- Phone: +61 8 8203 3526, Fax: +61 8 8203 3501, <GMT+9:30> --




             reply	other threads:[~2000-07-05 23:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-05 23:32 Rod Whitby [this message]
2000-07-10  5:22 ` list.ding
2000-07-10 11:49   ` Kai Großjohann
2000-07-11  0:22     ` Rod Whitby
2000-08-14 19:05 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3wvj0qhks.fsf@a11375-rw.asc.corp.mot.com \
    --to=list.ding@rwhitby.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).