From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Rlogin patch for global option flags Date: Sun, 18 Sep 2005 08:14:52 -0400 Message-ID: References: <20050429210709.25347.qmail@web60316.mail.yahoo.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1127047401 3275 80.91.229.2 (18 Sep 2005 12:43:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Sep 2005 12:43:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 18 14:43:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EGyVW-0008KP-Rh for ged-emacs-devel@m.gmane.org; Sun, 18 Sep 2005 14:42:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGyVW-0008Aq-C1 for ged-emacs-devel@m.gmane.org; Sun, 18 Sep 2005 08:42:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EGyMN-0004Aw-PX for emacs-devel@gnu.org; Sun, 18 Sep 2005 08:33:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EGyMM-00049x-2y for emacs-devel@gnu.org; Sun, 18 Sep 2005 08:33:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EGyJy-0002oV-9O for emacs-devel@gnu.org; Sun, 18 Sep 2005 08:31:02 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EGy4L-00058l-5U for emacs-devel@gnu.org; Sun, 18 Sep 2005 08:14:53 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EGy4K-0003RB-Kx; Sun, 18 Sep 2005 08:14:52 -0400 Original-To: Michael Mauger In-reply-to: <20050429210709.25347.qmail@web60316.mail.yahoo.com> (message from Michael Mauger on Fri, 29 Apr 2005 14:07:09 -0700 (PDT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43049 Archived-At: (Please forgive the delay--this message got lost for a few months.) The problem is that ssh (cygwin's port) running with the w32 version of CVS Emacs needs the option `-tt' prior to the host name to open the connection correctly. The problem is that the `rlogin' function treats the `-tt' as the remote host name because it is the first argument. The following patch modifies the `rlogin' function command line interpretation by assuming that the second argument is the remote hostname if the first argument starts with a dash. That is a kludgy way to deal with the problem. The user should not need to type -tt every time.