4 Nov 2010 15:12
Re: Re: Nano scrolling only refreshes half of the window
Nicholas Shaff <nick <at> shadedreammedia.com>
2010-11-04 14:12:06 GMT
2010-11-04 14:12:06 GMT
Thanks for the replies and sorry about my delayed response. I seem to have it working well now. See below:
On Fri, Oct 29, 2010 at 11:19 AM, Chris Allegretta <chrisa <at> asty.org> wrote:
On 10/29/10, Eitan Adler <lists <at> eitanadler.com> wrote:Thanks for the report Nick. So, you're saying that on OS X 10.6 with
> On Thu, Oct 28, 2010 at 3:54 PM, Nick Shaff <nick <at> shadedreammedia.com>
> wrote:
>> Figures... literally seconds after I throw up my hands and give up I
>> realized it's because I changed my terminal to xterm instead of the
>> default xterm-color. The reason I did this is a server I SSH into commonly
>> for work has a version of nano installed that complains and wont run with
>> xterm-color. Any suggestions as to a work around for this that might let
>> them both play nice (preferably with my local terminal still set to
>> xterm-color)?
nano 2.2.5 when you scroll the screen up or down using the arrow key
the screen does not fully refresh? Can you please confirm the new
version of nano that you used? I assume this is with the defaut
terminal app.
The terminal in OS X defaults to xterm-color and it appears the nano included is compiled in such a way that doesn't work properly if the TERM is set to xterm (produces the scrolling weirdness I've mentioned). I compiled the latest version of nano on the machine (2.2.5, the default was 2.0.6) and that behaved in the same way. The server Im working with is a Solaris box (not sure of the version) and says it doesn't recognize xterm-color when I try to start nano, so this is why I had my OS X Terminal app set to xterm which caused the whole problem on my machine.
I think this should be "TERM=xterm nano"
> Can you set TERMINAL in the remote shell's init files?
>
> alternatively can you do something like:
> alias nano="TERMINAL=xterm nano"
Adding a setenv TERM xterm to my .cshrc file on the server fixed the problems I was having. I appreciate the help!
_______________________________________________ Help-nano mailing list Help-nano <at> gnu.org http://lists.gnu.org/mailman/listinfo/help-nano
On 11/8/10, Jeremy Cowgar <jeremy <at> cowgar.com> wrote:
> I am trying to use nano on Windows but I've tried every place I could
> think of to put my .nanorc and cannot seem to find a place that nano
> reads it.
>
> Any thoughts?
>
> Jeremy Cowgar
>
RSS Feed