This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Text editing over ssh
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 17 Nov 2009 13:13:48 -0500
- Subject: Re: Text editing over ssh
- References: <797650580911170746t1c341047q17513a48bb2f5923@mail.gmail.com> <797650580911170758ud20145eyc3ab8877f8738d18@mail.gmail.com>
- Reply-to: cygwin at cygwin dot com
On Tue, Nov 17, 2009 at 10:58:38AM -0500, Ari Army wrote:
>Hey all,
>
>I've had constant problems with editing over ssh (usually just end up
>scp-ing the file over to my machine locally to change files).
>Using any text editor, if i pretend goto line 10 to edit that line and
>use my keyboard arrows to scroll over to word i want to edit, it
>'replaces' the text as i scroll showing what is really on that line
>(which is line 9). Editing/deleting have some side effects as well as
>a result of lines being off by one.
>Not really sure what I can do.
>The TERM env variable was set by another previous developer for this
>user in .bashrc (on the ssh server).
>Should i set this var to cygwin to alleviate problems, since my remote
>terminal will be cygwin... (but i dont want to mess up other people
>using same user but different terminals to ssh in and edit things).
As I told you on irc, the TERM environment variable should be set to
whatever you're using as a terminal. If that's xterm then it should
be xterm. In general, setting it in .bashrc is a bad idea since it
should be set automatically by ssh or cygwin.
cgf
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple