Re: [Freedos-devel] CTTY

2004-04-15 Thread FreeCOM
Aitor Santamaría Merino wrote: This is a pointer to stdin, guess that it has to be changed too. There was some talk about this topic in regards to the implementation of CTTY for FreeCOM, I think Bart finally tested this issue in MS kernel and found that this point is not changed after

Re: [Freedos-devel] CTTY

2004-04-15 Thread FreeCOM
Arkady V.Belousov wrote: Why this is important. Imagine, some programs detects redirection and asks prompt for next screen only if it not redirected (it. its output linked to device with stdin/stdout bits set). Now, if we redirect streams by CTTY NUL _and_ CTTY sets stdin/stdout for NUL

Re: [Freedos-devel] CTTY

2004-04-15 Thread Arkady V.Belousov
Hi! 15--2004 22:56 [EMAIL PROTECTED] (FreeCOM) wrote to [EMAIL PROTECTED]: Why this is important. Imagine, some programs detects redirection and asks prompt for next screen only if it not redirected (it. its output F Are you sure that RAR only tests the stdin/out bits?? How about the NUL:

Re: [Freedos-devel] CTTY

2004-04-13 Thread Aitor Santamaría Merino
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 -

[Freedos-devel] CTTY

2004-04-12 Thread Arkady V.Belousov
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)?

Re: [Freedos-devel] CTTY

2004-04-12 Thread Bernd Blaauw
Arkady V.Belousov schreef: 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

Re: [Freedos-devel] CTTY

2004-04-12 Thread Arkady V.Belousov
Hi! 12--2004 22:38 [EMAIL PROTECTED] (Bernd Blaauw) wrote to [EMAIL PROTECTED]: 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

[Freedos-devel] CTTY

2004-04-12 Thread Arkady V.Belousov
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)?