Page 1 of 1

terminal/shell hack

Posted: Thu Sep 13, 2007 10:29 am
by eboyd
I don't know if this is possible or not, but i'd like to make a program that runs on top of a shell or terminal window with the following goals:

1. It can input text/commands to the shell/terminal
2. It can display the output of the shell/terminal
3. Allow for extensive graphical customizations (i.e. background images, transparency, font-support, etc.)
4. Allow user-defined macros (separate from the shells/terminals aliases)
5. To be as compatible as possible with all kinds of shells/terminals (at least the widely used ones.)

Any thoughts about how to go about this? I'm thinking one easy solution might be to constantly read/write to an intermediate text file, keeping all the graphical stuff/macros and other goodies separate. Anyone know of any shell/terminal parsing programs? Is it possible for a shell/terminal to read input from a text file? Any ideas, thoughts, comments, questions?

Re: terminal/shell hack

Posted: Thu Sep 13, 2007 10:40 am
by Candy
eboyd wrote:I don't know if this is possible or not, but i'd like to make a program that runs on top of a shell or terminal window with the following goals:

1. It can input text/commands to the shell/terminal
2. It can display the output of the shell/terminal
3. Allow for extensive graphical customizations (i.e. background images, transparency, font-support, etc.)
4. Allow user-defined macros (separate from the shells/terminals aliases)
5. To be as compatible as possible with all kinds of shells/terminals (at least the widely used ones.)

Any thoughts about how to go about this? I'm thinking one easy solution might be to constantly read/write to an intermediate text file, keeping all the graphical stuff/macros and other goodies separate. Anyone know of any shell/terminal parsing programs? Is it possible for a shell/terminal to read input from a text file? Any ideas, thoughts, comments, questions?
Try using pipes as in unix pipes. Then fork() and exec() the shell.

I would recreate the shell though, or plunder an existing one.

Yup ..

Posted: Sun Sep 30, 2007 12:36 am
by DeletedAccount
hack the bash source ..Check out uClibc ..busybox sources ...