New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
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
edokid

 
Member Since: Aug 28, 2004
Posts: 231
edokid is on a distinguished road

edokid 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: 7,614
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

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,638
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
edokid

 
Member Since: Aug 28, 2004
Posts: 231
edokid is on a distinguished road

edokid 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
edokid

 
Member Since: Aug 28, 2004
Posts: 231
edokid is on a distinguished road

edokid 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 02:27 AM.

Powered by vBulletin
Copyright ©2000 - 2014, 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?