Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: server connection broken - issue reconsidered, new info
       [not found]     ` <vaffzx0o5sa.fsf@lucy.cs.uni-dortmund.de>
@ 2002-08-28  6:20       ` Ronald Fischer
       [not found]         ` <vafadn7fg8k.fsf@lucy.cs.uni-dortmund.de>
  0 siblings, 1 reply; 2+ messages in thread
From: Ronald Fischer @ 2002-08-28  6:20 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai   =?iso-8859-15?q?Gro=DFjohann?=) writes:

> Ronald Fischer <rovf@feriasonline.pt.invalid> writes:
> > Gnus talks to the news server via nntp protocol on my internet connection,
> > while ssh would just open a secure remote shell to some target system,
> > right?
> 
> You can tell ssh to redirect a port.  So connecting to port X on
> localhost actually makes a connection to port Y on a different host,
> thanks to ssh port forwarding.

Are there any circumstances where Gnus is magically using ssh, without
me telling this *explicitly* in .gnus?

Ronald
-- 
To reduce spam in my inbox, the address given in the Reply-To: header is
not guaranteed to live longer than 1 month after the article was
posted. My permanent address is (after deleting the XXX): 
Ronald Otto Valentin Fischer <rovfXXX@operamail.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: server connection broken - issue reconsidered, new info
       [not found]         ` <vafadn7fg8k.fsf@lucy.cs.uni-dortmund.de>
@ 2002-09-03 10:00           ` Ronald Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Ronald Fischer @ 2002-09-03 10:00 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann wrote in message news:<vafadn7fg8k.fsf@lucy.cs.uni-dortmund.de>...
> But I think it's pretty safe to say that if you haven't tried to set
> up this ssh thing, then Gnus will not do the ssh thing.

Well, this leaves as most likely explanation, that the News server itself
closes the connection after a period of inactivity.

I have now, thanks to the previous posts, the following near perfect solution,
that, if I see that Gnus "hangs", I hit a key which reopens the server. But
Netscape Messenger obviously does this automatically, so I would be interested
to know if I can teach this to Gnus too. In other words, is there a hook
which is executed before *every* access of the News server (but not for
gnus-close-server and gnus-check-server)? I could then call there my
function for re-opening the server, which currently looks like this
(simply copied over from the friendly soul who posted it in this ng):

(defun retry-news ()
        "Close news server then try to reopen every 30 seconds until connection 
        (interactive)
        (gnus-close-server gnus-current-select-method)
        (while (not (gnus-check-server)) (sleep-for 30) ))

Or is there a better way to achieve my goal?

Ronald


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-03 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m2ptw9ykp2.fsf@karfiol.glp.de>
     [not found] ` <vafvg5x3lbq.fsf@lucy.cs.uni-dortmund.de>
     [not found]   ` <m2lm6shas5.fsf@karfiol.glp.de>
     [not found]     ` <vaffzx0o5sa.fsf@lucy.cs.uni-dortmund.de>
2002-08-28  6:20       ` server connection broken - issue reconsidered, new info Ronald Fischer
     [not found]         ` <vafadn7fg8k.fsf@lucy.cs.uni-dortmund.de>
2002-09-03 10:00           ` Ronald Fischer

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).