From owner-freebsd-hackers Sun Mar 31 17:58:59 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA18182 for hackers-outgoing; Sun, 31 Mar 1996 17:58:59 -0800 (PST) Received: from xi.dorm.umd.edu (xi.dorm.umd.edu [129.2.152.45]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA18173 Sun, 31 Mar 1996 17:58:56 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by xi.dorm.umd.edu (8.7.4/8.6.12) with SMTP id UAA07295; Sun, 31 Mar 1996 20:58:51 -0500 (EST) Date: Sun, 31 Mar 1996 20:58:50 -0500 (EST) From: Sujal Patel X-Sender: smpatel@xi.dorm.umd.edu Reply-To: Sujal Patel To: Gary Palmer cc: hackers@FreeBSD.ORG Subject: Re: Netscape 3.0b2 [Solution & Summary] In-Reply-To: <519.828322667@palmer.demon.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 1 Apr 1996, Gary Palmer wrote: > I have *NO* idea why it runs ``netstat -i'' - I doubt it can parse the > output somehow! This is a good question. You should ask the Netscape programmers :-) > That (apart from /bin/sh initially running > /usr/local/lib/netscape/netscape.bin) is the ONLY fork in the entire > ktrace output... fork was poor word choice on my part. Actually, the Java task that's "spawned" to handle the applet is a thread. If you really want to get down and dirty, you should watch the communications between netscape and the Xserver > 470 netscape.bin CALL write(0x2,0xefbf98c8,0x45) > 470 netscape.bin GIO fd 2 wrote 69 bytes > "Warning: > Cannot allocate colormap entry for default background > Then later on: > > 470 netscape.bin CALL read(0xd,0x42ec94,0x3fe) > 470 netscape.bin GIO fd 13 read 69 bytes > "Warning: > Cannot allocate colormap entry for default background What's happening here is that the netscape thread is getting (or sending?) a diagnostic message from the thread that is handling your Java app (I *think*). Shortly after this, the thread handling the Java applet is going to die (causing no Java app to show up). > P.S. At no time have I gotten this version of netscape to produce a > ``java console''... The Java console is implemented in Java.. It'll work once Java applets start working for you. Sujal