pty is an ast command, functionality similar to expect but no reliance on tcl
(I have not used expect directly)
its in the { ast-base ast-open } packages
man page online
pty is how we implemented the posix "User Portability Utilities Option" tests 
for ksh
see src/cmd/ksh93/tests/pty.sh

On Fri, 10 Feb 2012 11:29:35 +0100 Dr. Werner Fink wrote:
> On Fri, Feb 10, 2012 at 12:51:46AM -0500, Glenn Fowler wrote:
> > 
> > looks like its been on-and-off sinces 2011-03-24
> > we have a pty(1) dialogue for the ksh93/tests/pty.sh regression tests
> > so it won't creep back again

> There is no such tool like pty(1) on Linux.  I'm only aware on
> TCL/Expect and empty(1) or boot logging daemons like bootlogd(8) or
> blogd(8) or startpar(8) using tty/pty for executing tty sessions
> in batch jobs or maybe screen(1) for a terminal manager within a
> terminal.

>   Werner

> -- 
>   "Having a smoking section in a restaurant is like having
>           a peeing section in a swimming pool." -- Edward Burr

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to