[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problem invoking external editor on remote machine

From: Ian P. McCullough <ipm+_at_andrew.cmu.edu>
Date: 2005-01-10 20:35:45 CET

Perhaps someone could help me. I've searched around the web and not found
anything apropos, but I feel like I've tried everything I can think of.

I have two Win32 svn clients. One is my local development machine and the
other is a staging server. Both are Windows machines (dev machine is XP,
staging server is 2K) running cygwin and sshd. I'm trying to use the text
editor nano (as distributed with cygwin.)

I can invoke nano from the command line (not related to SVN) both in a
cygwin window on the local machine and when SSHed into a remote machine and
its interaction with the terminal is as expected. It recognizes that my
terminal is 132x48 and responds correctly to control-key commands.

I can invoke svn with --editor-cmd nano on a local machine and its
interaction with the terminal is as expected. It recognizes that my
terminal is 132x48 and responds correctly to control-key commands.

If I ssh to a remote machine, and invoke svn with --editor-cmd nano, nano
screws up, prints itself to the terminal as if it were in an 80x25 window,
and instead of responding to ctrl commands, just prints funky ansi
characters. After breaking out of that situation with Ctrl-c, the terminal
is unusably hosed and I have to disconnect and reconnect to do anything.

This situation is also true in reverse if I ssh to my development machine
from the console of the staging server. So it would seem that svn somehow
provides incorrect terminal information to nano when run remotely.

I am utterly baffled by all of this. stty -a reports the correct terminal
information on both the two machines and both local console and and from a
remote ssh session. Any ideas?

Thanks,
Ian

----------------------------------------------------------------
Ian P. McCullough
Sr. Information Systems Specialist
Center for Arts Management and Technology (CAMT)
H. John Heinz III School of Public Policy and Management
Carnegie Mellon University
Pittsburgh, PA 15213-3890
(412) 268-3748
FAX (412) 268-3590
ipm@andrew.cmu.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 11 00:09:38 2005

This is an archived mail posted to the Subversion Users mailing list.