Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Creating my own Terminal app...

Creating my own Terminal app...
Thread Tools
Dedicated MacNNer
Join Date: Apr 2004
Status: Offline
Reply With Quote
May 1, 2004, 08:50 PM
 
I'd like to create an app that is like the terminal, but has some different controls and stuff. obviously, it has to be able to run a shell, etc.

My question is: how should I go about doing this?
     
qyn
Dedicated MacNNer
Join Date: Dec 2000
Location: sj ca
Status: Offline
Reply With Quote
May 1, 2004, 10:23 PM
 
I think that's a rather difficult project. You need to provide an interface for the shell, including handling the correct display of terminal escape sequences (e.g. color and clear and such).

If I was going to approach this problem, I'd start from a open source project, like iTerm.
     
Dedicated MacNNer
Join Date: Apr 2004
Status: Offline
Reply With Quote
May 1, 2004, 11:06 PM
 
Well, I thought that too, but iTerm is the only one I know of offhand, and it seems to only work with 10.3 (at least as far as opening the source), so I couldn't look at it.

Are there any other similar projects that I might be able to use?

Also, I forgot to mention it the first time, but it possible, I'd really like to be using Cocoa for this project.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
May 2, 2004, 12:48 AM
 
Originally posted by arcticmac:
Well, I thought that too, but iTerm is the only one I know of offhand, and it seems to only work with 10.3 (at least as far as opening the source), so I couldn't look at it.
Firstly, source code files (myfile.c, myfile.h, myfile.m, etc.) should be readable in any text editor. The project may be too new for Project Builder, but the source code should still be readable.

Secondly, iTerm has been out for years. Check out one of the older versions and you should be able to find one that was made with the same system you're using.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:28 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2