The Artima Developer Community
Sponsored Link

Python Buzz Forum
Fixing backspace when ssh'ing to Linux servers in OS X 10.5 Terminal.app

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
Fixing backspace when ssh'ing to Linux servers in OS X 10.5 Terminal.app Posted: Apr 27, 2009 10:51 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: Fixing backspace when ssh'ing to Linux servers in OS X 10.5 Terminal.app
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

For some reason the default OS X terminal program, Terminal.app, sets TERM=xterm-color but doesn't send the correct keycode that a colour xterm would send when you hit backspace. The solution is to set TERM=rxvt.

The instructions at the end of that link are a bit out of date; here's how to do it on OS X 10.5.6:

- Open Terminal.

- Hit Cmd-, or select Terminal > Preferences from the menu, to bring up the Preferences.

- Click Settings (the second icon from the left in the bar along the top).

- Click Advanced (rightmost tab).

- Select 'rxvt' after 'Declare terminal as'.

- Uncheck 'Delete sends Ctrl-H'.

... and you're done. You might also want to click through to the Keyboard pane and select 'Use option as meta key', which is useful (although I wish I could use Command as the meta key).

Comment

Read: Fixing backspace when ssh'ing to Linux servers in OS X 10.5 Terminal.app

Topic: Fixing backspace when ssh'ing to Linux servers in OS X 10.5 Terminal.app Previous Topic   Next Topic Topic: Treating configuration values as templates

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use