W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: New tiny, very rudimentary web browser

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Wed, 10 Feb 1999 09:26:53 -0500
To: www-lib@w3.org
Message-ID: <36C1972C.17594CF7@w3.org>
To: Vladimir Kozlov <Vladimir.Kozlov@idm.ru>
CC: eric@w3.org

Vladimir Kozlov wrote:
> Does anybody had success in compiling the tiny browser under NT?
> The problem is that MSVC has not STDIN_FILENO variable. I've set the
> following:

Eric Prud'hommeaux wrote this for the line mode browser which registers
the equivalent on windows if not in console mode. 

	ConsoleEvent = HTEvent_new(scan_command, lm->console, HT_PRIORITY_MAX,
	if (isatty(STDIN_FILENO)) {
	    HTEventList_register(STDIN_FILENO, HTEvent_READ, ConsoleEvent);
	HTEventList_register(GetStdHandle(STD_INPUT_HANDLE), HTEvent_READ,

I have tried to modify it to fit tiny.c and made this small patch -
could I please get you try it out and see if it works?



Received on Wednesday, 10 February 1999 09:27:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:49 UTC