Hi,

Arkady V.Belousov escribió:

Hi!

Question: by default, only CON device have bits "stdin" and "stdout"


yes, at boot only the ORIGINAL CON device has these bits (subsequent CONs could make this to change and gain these bits).

(mask 0x3 in attribute word). What happen if I use "CTTY NUL" - is this
equal to plain redirecting to NUL or shell sets stdin+stdout bits in
attribute word (INT 21/4401, as I understand)?


Also remember that in the lists of lists you have:
0Ch DWORD pointer to active CON device's header (most recently loaded driver with STDIN bit set)


This is a pointer to stdin, guess that it has to be changed too.

Aitor


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to