From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47602 Path: main.gmane.org!not-for-mail From: Denys Duchier Newsgroups: gmane.emacs.gnus.general Subject: can't get indirect nntp to work Date: Fri, 08 Nov 2002 16:09:01 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036767774 7981 80.91.224.249 (8 Nov 2002 15:02:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 8 Nov 2002 15:02:54 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18AAem-000249-00 for ; Fri, 08 Nov 2002 16:02:48 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18AAfO-00088Y-00; Fri, 08 Nov 2002 09:03:26 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 08 Nov 2002 09:04:09 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA18752 for ; Fri, 8 Nov 2002 09:03:54 -0600 (CST) Original-Received: (qmail 21585 invoked by alias); 8 Nov 2002 15:03:00 -0000 Original-Received: (qmail 21577 invoked from network); 8 Nov 2002 15:02:59 -0000 Original-Received: from uni-sb.de (134.96.252.33) by gnus.org with SMTP; 8 Nov 2002 15:02:59 -0000 Original-Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.12.6/2002101000) with ESMTP id gA8F2uL7029232 for ; Fri, 8 Nov 2002 16:02:56 +0100 (CET) Original-Received: from mail.cs.uni-sb.de (IDENT:+G8o8qFZt0BKpmZEAwkIBeJolGuGkbaD@mail.cs.uni-sb.de [134.96.254.200]) by cs.uni-sb.de (8.12.1/2002101000) with ESMTP id gA8F2tf27999 for ; Fri, 8 Nov 2002 16:02:55 +0100 (CET) Original-Received: from ps.uni-sb.de (grizzly.ps.uni-sb.de [134.96.186.68]) by mail.cs.uni-sb.de (8.12.6/2002101500) with ESMTP id gA8F1eiB005962 for ; Fri, 8 Nov 2002 16:01:40 +0100 (CET) X-Authentication-Warning: email: Host grizzly.ps.uni-sb.de [134.96.186.68] claimed to be ps.uni-sb.de Original-Received: from elk.ps.uni-sb.de.ps.uni-sb.de (elk.ps.uni-sb.de [134.96.186.151]) by ps.uni-sb.de (8.11.6/8.11.0) with ESMTP id gA8F1dG04361 for ; Fri, 8 Nov 2002 16:01:40 +0100 Original-To: ding@gnus.org Original-Lines: 42 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47602 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47602 I have been trying to connect to the news server at my previous place of employment by using ssh to go through my account there, but I can't get it to work. Here is the setting I am using: (setq gnus-select-method '(nntp "news.ps.uni-sb.de" (nntp-address "news.ps.uni-sb.de") (nntp-via-rlogin-command "ssh") (nntp-via-rlogin-command-switches nil) (nntp-via-user-name "duchier") (nntp-via-address "elk.ps.uni-sb.de") (nntp-open-connection-function nntp-open-via-rlogin-and-telnet))) when opening the connection, it seems to block in nntp-wait-for-string when executing accept-process-output. If I execute: ssh -l duchier elk.ps.uni-sb.de telnet -8 interactively at the shell, then I can successfully give it further commands to interact with the nntp server. However: ssh -l duchier elk.ps.uni-sb.de telnet -8 < FOO where FOO contains the same commands, only _seems_ to execute the 1st one, namely the open and then closes the connection. I just don't get it! what am I doing wrong? Cheers, PS: BTW, the nntp-first wait-for-string should probably be: (nntp-wait-for-string "^\r?telnet") instead: (nntp-wait-for-string "^r?telnet") -- Dr. Denys Duchier Denys.Duchier@ps.uni-sb.de Forschungsbereich Programmiersysteme (Programming Systems Lab) Universitaet des Saarlandes, Geb. 45 http://www.ps.uni-sb.de/~duchier Postfach 15 11 50 Phone: +49 681 302 5618 66041 Saarbruecken, Germany Fax: +49 681 302 5615