* [9fans] a toy terminal for OS X
@ 2014-01-15 0:26 Tom Lieber
2014-01-15 6:41 ` Bakul Shah
0 siblings, 1 reply; 3+ messages in thread
From: Tom Lieber @ 2014-01-15 0:26 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 680 bytes --]
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://infinite-sketchpad.com/
[-- Attachment #2: Type: text/html, Size: 1659 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] a toy terminal for OS X
2014-01-15 0:26 [9fans] a toy terminal for OS X Tom Lieber
@ 2014-01-15 6:41 ` Bakul Shah
2014-01-19 4:52 ` Tom Lieber
0 siblings, 1 reply; 3+ messages in thread
From: Bakul Shah @ 2014-01-15 6:41 UTC (permalink / raw)
To: alltom, Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 886 bytes --]
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 <alltom@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://infinite-sketchpad.com/
[-- Attachment #2: Type: text/html, Size: 2257 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] a toy terminal for OS X
2014-01-15 6:41 ` Bakul Shah
@ 2014-01-19 4:52 ` Tom Lieber
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lieber @ 2014-01-19 4:52 UTC (permalink / raw)
To: Bakul Shah; +Cc: Fans of the OS Plan 9 from Bell Labs
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
Thank you! openpty() is what I needed.
On Wed, Jan 15, 2014 at 1:41 AM, Bakul Shah <bakul@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 <alltom@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/
[-- Attachment #2: Type: text/html, Size: 2758 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-19 4:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-15 0:26 [9fans] a toy terminal for OS X Tom Lieber
2014-01-15 6:41 ` Bakul Shah
2014-01-19 4:52 ` Tom Lieber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).