Thank you! openpty() is what I needed.

On Wed, Jan 15, 2014 at 1:41 AM, Bakul Shah <ba...@bitblocks.com> wrote:

> Try the
>
> tty
>
> command. You need to connect the shell to a pseudotty. This should also
> fix the rc echo problem.
>
>
> On Jan 14, 2014, at 4:26 PM, Tom Lieber <all...@gmail.com> wrote:
>
> It seemed like it could be fun and educational, so I started making a
> 9-like terminal for OS X using the native text widget:
>
>   https://github.com/alltom/coolterm
>
> But there are 2 things I’ve had trouble figuring out on my own:
>
> 1) Why do programs like ‘python’ show a prompt in 9term but not in my
> terminal?
>
> 2) Why does bash write your command to stdout? Why doesn’t rc? I use bash,
> so I made it erase the command you typed when you press enter, but that
> appears to be the wrong thing to do with rc.
>
> There’s other stuff in BUGS.md but I feel more confident about those
> things. :)
>
> --
> Tom Lieber
> http://AllTom.com/ <http://alltom.com/>
> http://infinite-sketchpad.com/
>
>
>


-- 
Tom Lieber
http://AllTom.com/
http://infinite-sketchpad.com/

Reply via email to