CVSROOT:        /cvs
Module name:    src
Changes by:     an...@cvs.openbsd.org   2017/07/19 14:09:35

Modified files:
        regress/bin/csh: filec.sh 
        regress/bin/ksh/edit: edit.c emacs.sh subr.sh vi.sh 
        regress/usr.bin/mail: send.sh 

Log message:
The first version of the edit program used to test csh, ksh and mail was based
on the following reasoning: once the program to test has written some data it
has entered the main-loop and is by now ready to receive user input. At this
point it should be safe to start writing input and once the program once again
enters a blocking reading state, its done processing the input. This approach
was sensitive to timing and determining when a shell is done processing its
input (if ever) is tricky.

This iteration of the edit program takes a new approach and uses presence of a
prompt for synchronisation of I/O. It doesn't solve all problems but is a step
in the right direction.

Joint work with bluhm@

Reply via email to