image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old January 23rd, 2004, 03:35 PM
Mac OS X lover
 
Join Date: Jul 2002
Location: Bangalore, India
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
iluvosx is on a distinguished road
Saving Terminal settings

Hello folks,

In Terminal, we can save the Terminal windows that we have opened as a document and make them all open up on next launch.

In the days of OS 9, remember we had this great app called Better Telnet which used to save the windows - and additionally, we could set up a script/command to be executed when the session is opened. For example, I used to have some 5 windows open up on launch and each would telnet and connect to some remote server. So I know that once I launch the app, I am connected to all remote machines of interest and all set.

Can I configure Terminal to do the same thing ? Or is there any alternate OS X app which has this feature ?

Thanks.
Reply With Quote
  #2  
Old January 24th, 2004, 10:12 PM
michaelsanford's Avatar
Psycholinguist
 
Join Date: Oct 2002
Location: Ottawa/Montrιal
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
michaelsanford is on a distinguished road
When I first saw this question I said to myself "Yeah duh, just choose Save All Windows as a .term file and then open it later". Imagine my surprise when doing that only saves the open windows, but not the apps the shell windows had open! How is that at all useful?!

So, I was thinking, you might want to try playing with AppleScript, making something like
tell application Terminal to activate
tell application Terminal to "ssh server.com"

I have no idea if that will work, but you can give it a shot. Have a look at the Terminal scripting dictionary. If you have no idea what I'm talking about, let me know and I'll try to work something out for you...
__________________
michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
• iMac Aluminum 24" |
MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
• iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0
Reply With Quote
Reply

Thread Tools

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 09:18 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.