OS X - Apps and Games Discussion of applications and games available for Mac OS X.

SSH in Terminal, cursor goes crazy and overwrites text


Post Reply New Thread Subscribe

 
Thread Tools
leemoreau

 
Member Since: Aug 28, 2004
Location: Toronto, ON
Posts: 216
leemoreau is on a distinguished road
Mac Specs: PowerBook G4 12", and iBook G4 12"

leemoreau is offline
I SSH into my hosted PBX all the time and in Windows I use Puddy and have zero problems. On the mac I Just use SSH from the Terminal. For the first maybe 15 minutes it works totally fine, and usually stays fine on the command line etc. However if I'm in an image editor like Nano, if I'm moving the cursor around, it starts erasing things. Or lets say I want to type the word "phone" it will write something like:

p ^3NE

If I press backspace to erase it, then it will erase it all, I press H and it writes the ^3NE again. Usually logging out and back in fixes it. I downloaded a trial of a 3rd party terminal app and it didn't do this either. Is there something wrong with the mac terminal?
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 5,822
Raz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud of
Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi

Raz0rEdge is offline
It's probably an issue with the terminal type. Going through PuTTY (not Puddy ) you're probably using the sane VT100 or something, but the OS X terminal might be using something else that doesn't jive with your remote host..

--
Regards
...Ashwin



Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.
QUOTE Thanks
Dysfunction

 
Dysfunction's Avatar
 
Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,529
Dysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant futureDysfunction has a brilliant future
Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff

Dysfunction is offline
Yep, it's probably an emulation issue. When you connect do something like..

export TERM=vt100

and try that. By default, terminal uses xterm-256color, which may not be the most friendly when it comes to editors. I've seen similar emulation issues as well. (with other product actually)

mike
This machine kills fascists
Got # ? phear the command line!
QUOTE Thanks
leemoreau

 
Member Since: Aug 28, 2004
Location: Toronto, ON
Posts: 216
leemoreau is on a distinguished road
Mac Specs: PowerBook G4 12", and iBook G4 12"

leemoreau is offline
Oops sorry meant Putty haha.

Do you know where I type that?

Right now I do: ssh -p 20022 root@10.10.10.10 for example.

I tried ssh -p 20022 root@10.10.10.10 export TERM=vt100

Which asks for my password like normal but after I enter it, it just goes back to my Mac command prompt. Doesn't say invalid password or anything just does nothing. Tried putting it after the -p 20022 but then gives an error?
QUOTE Thanks
leemoreau

 
Member Since: Aug 28, 2004
Location: Toronto, ON
Posts: 216
leemoreau is on a distinguished road
Mac Specs: PowerBook G4 12", and iBook G4 12"

leemoreau is offline
Actually I just noticed under the settings for Terminal it has emulation type and shows vt100 and it was on the xterm-256 so I'll try changing there too.
QUOTE Thanks

Post Reply New Thread Subscribe


« Bizarro entourage 2004 email issue. Help! | Trouble with Office for Mac 2011 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 11:55 PM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?