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

Similar Threads
thread Thread Starter Forum Replies Last Post
Shift + Backspace = Delete edhchoe iOS 7 5 Oct 3, 2013 01:19 AM
Backspace and Delete key not working Matteh iMac 1 Jun 3, 2013 01:43 PM
Wouldn't it be great if you could hit shift then backspace to delete whole words? TH55 iPhone 4 Sep 29, 2012 10:16 PM
Safari: Delete(backspace) no longer goes back? psharp Mac Applications and Mac App Store 7 Jul 26, 2012 05:15 PM
.term files in Lion dthomas86 OS X 0 Jul 16, 2012 01:12 PM

Forum Jump

All times are GMT -5. The time now is 04:28 AM.

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

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