LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-31-2009, 04:45 PM   #1
mrotsliah
LQ Newbie
 
Registered: May 2009
Posts: 25

Rep: Reputation: 15
Pico and nano do not behave over ssh, bug in scrolling


I try to ssh from a mac 10.4.11 to Ubuntu Server 8.04. I open a large file with either pico or nano. The file is displayed. When I hold down the down arrow key, the cursor starts to go down, but it hits the bottom of the window and everything messes up. Instead of all the text moving up and new text appearing at the bottom, the text that would appear at the bottom just appears right over the text that was there. So, the new text mixes with the old text making the file almost impossible to edit. I can reach the bottom of the file and just start typing stuff, and I see that it does save correctly when I less the file: the stuff I typed shows up at the end of the file. Just the editor is miss behaving.

I tried using putty from a windows machine, and pico worked fine (Except just afterwords I got BSOD, and now it won't boot. haha... *sigh*). Also, vi scrolls correctly. This makes me think the problem is on my mac and not on the other end of the server. But, I haven't had this trouble before. I have another Ubuntu Server I run, and the same problem happens. I ssh to a Solaris server, and this problem does not happen.

Any suggestions?

Last edited by mrotsliah; 08-31-2009 at 04:58 PM.
 
Old 08-31-2009, 05:10 PM   #2
djeikyb
Member
 
Registered: Nov 2005
Location: California
Distribution: ubuntu 10
Posts: 162

Rep: Reputation: 33
I'd guess your terminal emulation is set wrong. You may be able to fix it with export TERM=xterm (or some other term setting), or maybe a preference in your osx shell.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nano /pico text editor required for SUSE10 shoaib_m23 Linux - Newbie 3 07-29-2009 06:42 AM
trying to install Nano (Pico clone) juancha Linux - Newbie 3 01-24-2008 02:17 PM
pico or nano editor SlackWare package petcherd Slackware 9 03-28-2007 09:09 AM
Crazy scrolling when tailing remote file over ssh bram2000 Linux - Software 1 02-10-2006 09:06 AM
pico nano shania Linux - Newbie 2 10-30-2003 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration