Re: [Freedos-kernel] handle 4 defaulting to PRN???

2004-04-06 Thread Luchezar Georgiev
On Mon, 5 Apr 2004 23:13:16 +0100 (BST), Bart Oldeman wrote: Hi, in the FAQ, somebody claims that file handle 4 should default to PRN: http://fd-doc.sourceforge.net/faq/cgi-bin/viewfaq.cgi?faq=incoming/224 Any idea why this would work at all? And why it works in MS but not in FreeDOS? Used

[Freedos-kernel] handle 4 defaulting to PRN???

2004-04-05 Thread Eric Auer
Hi, in the FAQ, somebody claims that file handle 4 should default to PRN: http://fd-doc.sourceforge.net/faq/cgi-bin/viewfaq.cgi?faq=incoming/224 Any idea why this would work at all? And why it works in MS but not in FreeDOS? Used language is C. Eric.

Re: [Freedos-kernel] handle 4 defaulting to PRN???

2004-04-05 Thread Luchezar Georgiev
Hi, in the FAQ, somebody claims that file handle 4 should default to PRN: http://fd-doc.sourceforge.net/faq/cgi-bin/viewfaq.cgi?faq=incoming/224 Any idea why this would work at all? And why it works in MS but not in FreeDOS? Used language is C. Look at the definitions in stdio.h - stdaux is

Re: [Freedos-kernel] handle 4 defaulting to PRN???

2004-04-05 Thread Luchezar Georgiev
MS-DOS: CON, AUX, PRN, CLOCK$, A:-D:, COM1, LPT1, LPT2, LPT3, CONFIG$, COM2, COM3, COM4 FreeDOS: CON, PRN, AUX, LPT1, LPT2, COM1, COM2, COM3, COM4, CLOCK$, A:-D: Fortunately, fixing this is very easy. It's enough to swap the corresponding entries in io.asm. Do I need to provide a patch for

Re: [Freedos-kernel] handle 4 defaulting to PRN???

2004-04-05 Thread Luchezar Georgiev
Fortunately, fixing this is very easy. It's enough to swap the corresponding entries in io.asm. Do I need to provide a patch for this? Here it is, below. Now stdaux and stdprn should work as in MS-DOS. As always, a patched CVS kernel binary (FAT32, 80386, BC 4.52, aPack) is available in my

Re: [Freedos-kernel] handle 4 defaulting to PRN???

2004-04-05 Thread Bernd Blaauw
Erwin Veermans schreef: Forbidden You don't have permission to access /~lig/romdsk/romd-bin.rar on this server. What am I doing wrong, or should I send some cigars first ? ;-) confirmed. do you compile from source or always work with binaries like I did? latest binary from Jeremy took a

Re: [Freedos-kernel] handle 4 defaulting to PRN???

2004-04-05 Thread Erwin Veermans
Forbidden You don't have permission to access /~lig/romdsk/romd-bin.rar on this server. confirmed. do you compile from source or always work with binaries like I did? Usually I work with the official kernel release (binary). But when time goes by and some interesting patches float

Re: [Freedos-kernel] handle 4 defaulting to PRN???

2004-04-05 Thread Aitor Santamaría Merino
Hi Eric, Eric Auer escribió: Hi, in the FAQ, somebody claims that file handle 4 should default to PRN: In my undersanding, handle 4 is stdprn (the other three being stdin, stdout, and stdaux, always using C's notation). So it shoulds sensible that it should point to PRN anyway, isn't it?