[mercury-users] Debugger question

Ralph Becket rbeck at microsoft.com
Mon Feb 5 21:46:35 AEDT 2001


>From Fergus Henderson on 03/02/2001 05:22:11
> 
> You can achieve that using the `--tty' option to mdb.
> Create a new virtual terminal or xterm window,
> use the `tty' command to figure out the name of the device
> for that terminal, run e.g. `sleep 99999' in that tty,
> and then on another terminal/window run `mdb --tty /dev/whatever
./myprog'.

This being a Monday morning, I can't see how that fixes the problem.
How do I deliver the contents of file `foo' to stdin of a process
running in the tty other than cutting and pasting?  Presumably just
doing `cat foo > /dev/whatever' from elsewhere sends foo to stdout.

--
Ralph Becket      |      MSR Cambridge      |      rbeck at microsoft.com 

--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list