 |
 |
Creating my own Terminal app...
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Apr 2004
Status:
Offline
|
|
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?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Dec 2000
Location: sj ca
Status:
Offline
|
|
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
|
|
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
|
|
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'."
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|