From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gebser@speakeasy.net Newsgroups: gmane.emacs.help Subject: Re: emacs cvs over ssh question Date: Fri, 2 Jan 2004 17:43:36 -0500 (EST) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: gebser@speakeasy.net NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1073083660 17749 80.91.224.253 (2 Jan 2004 22:47:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2004 22:47:40 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 02 23:47:34 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AcY4s-0003g4-00 for ; Fri, 02 Jan 2004 23:47:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AcZ1c-0002Yc-1P for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Jan 2004 18:48:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AcZ0t-0002Xi-76 for help-gnu-emacs@gnu.org; Fri, 02 Jan 2004 18:47:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AcYyd-0001sS-CN for help-gnu-emacs@gnu.org; Fri, 02 Jan 2004 18:45:43 -0500 Original-Received: from [216.254.0.202] (helo=mail2.speakeasy.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AcYyb-0001s3-DM for help-gnu-emacs@gnu.org; Fri, 02 Jan 2004 18:45:09 -0500 Original-Received: (qmail 2747 invoked from network); 2 Jan 2004 22:43:37 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO heidegger.mousecar.net) ([66.93.11.17]) (envelope-sender ) by mail2.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 2 Jan 2004 22:43:37 -0000 Original-To: "M. Serkan Apaydin" In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15670 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15670 At 09:56 (UTC-0800) on Wed, 24 Dec 2003 M. Serkan Apaydin said: = gebser@speakeasy.net wrote: = = >At 11:10 (UTC-0700) on Tue, 23 Dec 2003 Kevin Rodgers said: = > = >= M. Serkan Apaydin wrote: = >= = >= > Kai Grossjohann wrote: = >= >> Try to add /usr/local/bin to exec-path, not load-path. (load-path is = >= >> for *.el and *.elc files, that is Lisp files.) = >= >> = >= >> Or make sure that /usr/local/bin is listed in $PATH at the time when = >= >> you start Emacs. (If you start Emacs from a button in the KDE panel, = >= >> then it can be difficult to find out whether the directory is in = >= >> $PATH, and if it isn't, how to put it there. I never could figure = >= >> that out.) = >= > = >= > Thanks, but that does not seem to work. Changing .emacs file does not = >= > change = >= > the propensity of emacs to look for ssh-askpass in /usr/bin, and my path = >= > lists = >= > both /usr/bin and /usr/local/bin before running emacs (although /usr/bin = >= > comes first). = >= = >= That's because the /usr/bin/ssh-askpass path has been hard-coded somewhere, = >= = >= either an executable or an Emacs Lisp file. = > = >This will depend upon the OS and, in the case of Linux, the = >distribution. On my system: = > = ># echo $SSH_ASKPASS = >/usr/libexec/openssh/gnome-ssh-askpass = > = >Seeing this and reading the askpass section of the ssh manpage and the = >doc distributed with the package leads me to believe/guess that = >ssh-askpass is used in an X (or other GUI) environment. If you're = >doing the emacs cvs call in a GUI, this could be the problem. Try doing = >it at the console-- i.e., go to runlevel 3 or, in X/Linux, do a = >Ctrl-Alt-F2 and run it there. = > = >So which OS are you using? = > = > = > = I am running it on an SGI supercomputer. Typing = >uname = IRIX64 = > echo $SSH_ASKPASS = SSH_ASKPASS: Undefined variable. Do you have openssh installed? Doing "whereis openssh" should tell you and may even tell you where ssh-askpass is located. If you haven't updated the database in awhile, do updatedb first. hth, ken