* cvs problem
@ 2002-09-20 9:28 Karl Schmid
2002-09-20 12:44 ` Cor Gest
2002-09-20 20:59 ` Stefan Monnier <foo@acm.com>
0 siblings, 2 replies; 3+ messages in thread
From: Karl Schmid @ 2002-09-20 9:28 UTC (permalink / raw)
Hello!
I try to commit an edited file from emacs 21.1.1 under RedHat Linux
When I enter: C-x v v, add a change comment, enter C-c C-c, I get the
following error message:
You have no controlling tty. Cannot read passphrase.
cvs [commit aborted]: end of file from server (consult above messages if
any)
This error obviously has something to do with the CVS and ssh settings.
HOWEVER: When I commit the same file from the commandline, I have no
problems at all commiting it, because the CVS settings are correct.
We have another server with Emacs 21.1.1 installed. From this server, CVS
from within emacs works fine.
My conclusion is that some of the Emacs settings on this machine must be
incorrect. I have browsed through newsgroups and the manuals, but have not
found a solution.
Has anyone an idea where I should start troubleshooting or even a
*solution*?
Thanks!
-- Karl
schmid@ice.mpg.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cvs problem
2002-09-20 9:28 cvs problem Karl Schmid
@ 2002-09-20 12:44 ` Cor Gest
2002-09-20 20:59 ` Stefan Monnier <foo@acm.com>
1 sibling, 0 replies; 3+ messages in thread
From: Cor Gest @ 2002-09-20 12:44 UTC (permalink / raw)
Karl Schmid <schmid@ice.mpg.de> writes:
> You have no controlling tty. Cannot read passphrase.
> cvs [commit aborted]: end of file from server (consult above messages if
> any)
>
> This error obviously has something to do with the CVS and ssh settings.
>
>
> My conclusion is that some of the Emacs settings on this machine must be
> incorrect. I have browsed through newsgroups and the manuals, but have not
> found a solution.
>
> Has anyone an idea where I should start troubleshooting or even a
> *solution*?
these work in my setup for both local and external cvs-servers
(add-hook 'comint-output-filter-function
'comint-watch-for-password-prompt)
(setq vc-default-back-end 'cvs)
the password is read from the .cvspass file
cor
--
Sed quis custodiet ipsos custodes
begin AsciiTextFound.exe Are You Sure ? YES|IGNORE|GO
Operatingsystem is just a name thou giveth to the rest of all idiosyncratic
machine-based features left out of thoueth editor.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cvs problem
2002-09-20 9:28 cvs problem Karl Schmid
2002-09-20 12:44 ` Cor Gest
@ 2002-09-20 20:59 ` Stefan Monnier <foo@acm.com>
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier <foo@acm.com> @ 2002-09-20 20:59 UTC (permalink / raw)
>>>>> "Karl" == Karl Schmid <schmid@ice.mpg.de> writes:
> You have no controlling tty. Cannot read passphrase.
> cvs [commit aborted]: end of file from server (consult above messages if any)
The problem is the first line. I strongly suspect that that line
comes from SSH. The problem is that SSH has no idea what mechanism
to use to ask you for your password.
> HOWEVER: When I commit the same file from the commandline, I have no
> problems at all commiting it, because the CVS settings are correct.
But you're prompted for a password, right ?
You should either try to get SSH to use `ssh-askpass' (which opens up an
Xwindows dialog box) or else try to make sure that SSH does not need to
get your password, for instance by using ssh-agent (you may have to create
an identity with ssh-keygen etc...).
> We have another server with Emacs 21.1.1 installed. From this server, CVS
> from within emacs works fine.
Does it prompt for a password ? If so, how ? If not, why not ?
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-20 20:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-20 9:28 cvs problem Karl Schmid
2002-09-20 12:44 ` Cor Gest
2002-09-20 20:59 ` Stefan Monnier <foo@acm.com>
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 read-only IMAP folder(s) and NNTP newsgroup(s).