Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 18, 2008, 07:45 PM   #1
dpk
macrumors newbie
 
Join Date: Mar 2008
Terminal .term files, backspace delete swap

I am trying to set up a dock application that will run ssh in to a Linux system at work. I've got an AppleScript app that launches a .term file which does the job. However, I cannot figure out what XML to put in the .term file to get it to swap backspace and delete.

I don't want to change the default settings for all Terminals. I just want this one to have the swap (and perhaps other keymappings later, if I am brave enough).

I've found an example .term file which included a key (DeleteKeySendsBackspace) that looks like it would do the job, but it does not work when I try it in my .term file.

I've also tried exporting settings from Terminal and then using the keys it generates, but that doesn't seem to work either.

I am running OS X 10.5.2 with Terminal 2.0.1. I've included what I have in the .term file so far. If this is the wrong forum, can you let me know where I should post the query?

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<!-- created by mkterms -->
<dict>
        <key>WindowSettings</key>
        <array>
                <dict>
                        <key>Shell</key>
                        <string>ssh user@host</string>
                        <key>CustomTitle</key>
                        <string>Title of the window</string>
                        <key>Rows</key>
                        <string>40</string>
                        <key>ShellExitAction</key>
                        <string>0</string>
                        <key>TextColors</key>
                        <string>0.850 0.850 0.850 0.000 0.000 0.000 0.850 0.850 0.850 0.850 0.850 0.850 0.000 0.000 0.000 0.850 0.850 0.850 0.333 0.333 0.333 0.666 0.666 0.666 </string>
                        <key>DeleteKeySendsBackspace</key>
                        <string>YES</string>
                </dict>
        </array>
</dict>
</plist>

Last edited by dpk; Mar 18, 2008 at 07:48 PM. Reason: better title
dpk is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Launch multiple perl files from terminal? Isoparm Mac OS X Server, Xserve, and Networking 1 May 7, 2011 01:31 AM
Terminal, add text to the end of all text files in a directory. Jesse Smith Mac Basics and Help 2 Feb 22, 2011 02:13 PM
How to map backspace / delete keys? boyceuk Windows, Linux & Others on the Mac 3 Dec 30, 2009 04:53 PM
Backspace / delete key has a mind of its own? lavrishevo iPhone 2 Aug 6, 2008 01:44 PM
Terminal.app and the delete key toddburch Mac Applications and Mac App Store 3 Jan 25, 2007 03:14 PM


All times are GMT -5. The time now is 07:31 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC