From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56978 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: How to debug nntp-open-via-rlogin-and-telnet? Date: Sat, 10 Apr 2004 22:24:58 +0200 Organization: Probably a good idea Sender: ding-owner@lists.math.uh.edu Message-ID: <87isg7y411.fsf_-_@dod.no> References: <873c80yllq.fsf@dod.no> <874qsfycfo.fsf@dod.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1081628759 9028 80.91.224.253 (10 Apr 2004 20:25:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 10 Apr 2004 20:25:59 +0000 (UTC) Original-X-From: ding-owner+M5518@lists.math.uh.edu Sat Apr 10 22:25:50 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BCP2z-00014e-00 for ; Sat, 10 Apr 2004 22:25:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BCP2S-0005qc-00; Sat, 10 Apr 2004 15:25:16 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BCP2J-0005qU-00 for ding@lists.math.uh.edu; Sat, 10 Apr 2004 15:25:07 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BCP2I-0005vr-LY for ding@lists.math.uh.edu; Sat, 10 Apr 2004 15:25:06 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 2DA923A0066 for ; Sat, 10 Apr 2004 15:25:04 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BCP2D-0002Eo-00 for ; Sat, 10 Apr 2004 22:25:03 +0200 Original-Received: from 2k37dm1.cm.chello.no ([80.111.85.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Apr 2004 22:25:01 +0200 Original-Received: from sb by 2k37dm1.cm.chello.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Apr 2004 22:25:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 43 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 2k37dm1.cm.chello.no Mail-Copies-To: never User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:ZqZA2QSNBOK5G3xlCznslnDeFE4= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56978 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56978 [Both the current host, and the via host, are intel architecture machines, running debian sarge testing/unstable] I'm trying to make nntp-open-via-rlogin-and-telnet work. Doing the commands manually from a shell works. Gnus is stuck in startup, until I press `C-g'. Is there a a good way to debug this? My default select method looks like this: (setq gnus-select-method '(nntp "news" (nntp-address "news.chello.no") (nntp-end-of-line "\n") (nntp-open-connection-function nntp-open-via-rlogin-and-telnet) (nntp-via-address "somehost.dyndns.org") (nntp-via-rlogin-command "ssh") (nntp-via-rlogin-command-switches ("-x" "-C" "-t" "-e" "none")))) When I start up Gnus (CVS with update done today), on GNU Emacs 21.3.1, Gnus is stuck until I press `C-g'. I see a process like this on the local machine: sb 20474 0.0 0.1 3644 1896 pts/6 S 21:47 0:00 /usr/bin/ssh -x -C -t -e none somehost.dyndns.org telnet -8 On the remote machine (ie. somehost.dyndns.org), I see a process like this: sb 28764 0.2 0.9 2852 1240 pts/5 S 22:16 0:00 telnet -8 The " *nntpd*" buffer contains the text: 211 5904 504 9292 gmane.text.docbook.apps There's also an " *server news.chello.no nntp *nntpd**" buffer, which is empty. Why are there two buffers? Should they be empty? The " *server..." buffers for the other two nntp servers in my Gnus are also empty. Thanx! - Steinar