Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Use partial .term files for quick launch SSH sessions Apps
If you have to daily manage many servers using SSH, you can create bookmark files easily by using "partial" .term files...

I had already created tons of .term file for every server. But when I decided to remove anti-aliasing to gain speed, I found that changing every .term file is quite boring. Instead of that, I removed every "common" attribute from all the .term files, and I keep only the things I want different in each of them. Terminal.app default settings are automatically used for all other settings!

A sample myserver.term file (the DOCTYPE line has been split onto two rows for narrower display):
<?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">
  <dict>
    <key>WindowSettings</key>
    <array>
      <dict>
        <key>CustomTitle</key>
        <string>My server name</string>
        <key>ExecutionString</key>
        <string>ssh myserver.mydomain.com; exit</string>
      </dict>
    </array>
  </dict>
</plist>
Put all your .Term files in a folder. Drag the folder in the Dock... VoilĂ ! Instant access to multiple Terminal files.
    •    
  • Currently 2.67 / 5
  You rated: 4 / 5 (3 votes cast)
 
[6,810 views]  

Use partial .term files for quick launch SSH sessions | 5 comments | Create New Account
Click here to return to the 'Use partial .term files for quick launch SSH sessions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use partial .term files for quick launch SSH sessions
Authored by: gralem on May 27, '03 11:06:12AM

I've been more-or-less doing this since 10.0 days. I include more in my .terms, though--most importantly color preferences to readily identify open Terminal windows by color.

---gralem



[ Reply to This | # ]
Use partial .term files for quick launch SSH sessions
Authored by: iacas on May 27, '03 11:27:21AM
I use Terminal Pal to quickly launch my .term files.

---
--
Erik J. Barzeski
Web Everywhere

[ Reply to This | # ]

Use partial .term files for quick launch SSH sessions
Authored by: domger on May 27, '03 12:58:22PM

Terminal Pal works great with my hint! Thanks



[ Reply to This | # ]
Use partial .term files for quick launch SSH sessions
Authored by: pukku on May 27, '03 03:59:51PM

If you put the program that you want to execute into the "shell" parameter of the .term dictionary, you won't see it start up with the shell. You can also then set it up to automatically close the window when you're dore (I don't remember off the top of my head what the parameter is).

HTH

---
-----
Pukku



[ Reply to This | # ]
Use partial .term files for quick launch SSH sessions
Authored by: kholburn on May 28, '03 12:06:50AM

Open the folder:
/Users/<you>/Library/Application\ Support/Terminal
copy the icon of Terminal.app to the folder (using Get Info) and then drag it into your dock.

This gives you a right-clickable list of terminal files that you can launch directly from the dock.

Simpler than using an application like "terminal pal".



[ Reply to This | # ]