Hi!
Question: by default, only CON device have bits "stdin" and "stdout" (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)?
input is also set to NUL device. that means it's no longer possible to type any commands. Thus, CTTY NUL is useless from the commandline. don't know if Ctrl-Alt-Del is still accepted then, btw.
in current FreeCom, -a commandline CTTY NUL exits non-permanent shell -a commandline CTTY NUL disables user input on permanent shell -in batchfiles it probably works as expected, and is normally intended to act as "> NUL".
shell=command.com NUL /P might also cause problems.
no idea about internal workings (bits,interrupts etc)
Bernd
------------------------------------------------------- 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
