From owner-freebsd-questions Tue Nov 12 23:32:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C435037B401; Tue, 12 Nov 2002 23:32:11 -0800 (PST) Received: from sage.thought.org (sense-kline-248.oz.net [216.39.168.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id A02CE43E3B; Tue, 12 Nov 2002 23:32:10 -0800 (PST) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (tao [216.39.168.250]) by sage.thought.org (8.11.4/8.11.4) with ESMTP id gAD7WAG56315; Tue, 12 Nov 2002 23:32:10 -0800 (PST) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.12.6/8.11.3) id gAD7YOjv084080; Tue, 12 Nov 2002 23:34:24 -0800 (PST) (envelope-from kline) Date: Tue, 12 Nov 2002 23:34:24 -0800 From: Gary D Kline To: Ken Wills Cc: Adam Weinberger , Gary D Kline , FreeBSD Mailing List Subject: Re: OT: and Java to play "xmms " Message-ID: <20021113073424.GA83883@tao.thought.org> References: <20021113044827.GA82595@tao.thought.org> <20021113065923.GY35297@vectors.cx> <20021113071435.GE1988@zaptillion.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021113071435.GE1988@zaptillion.net> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 16 years of service to the Unix community User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 13, 2002 at 01:14:35AM -0600, Ken Wills wrote: > +++ Adam Weinberger [12/11/02 22:59 -0800]: > > I'm not a Java fan/advocate/sympathizer/whatever, but: > > Not to be too picky, but I think Gary is referring to JavaScript. > JavaScript is most certainly not Java. > I think I do want to use Javascipt; tho maybe with an applet... dunno, > > > Which browser are you using? > > Netscape-4.7. > > > Is there a Java function like: local.exec(") that I > > > could use to point one of my mp3 players at a streaming > > > site? > > > > I really really really really hope not, else the fact that nobody has > > exploited the local.exec("rm -R ~/") bug yet is a miracle ::) In > > general, applets cannot exec or fork, just call other local applets, > > unless I'm wrong. In which case the last sentence should be ignored. :-) That occured to me too.... > > If this were Java, you can't exec locally. JavaScript can't access your > local machine (supposedly), and the client side model doesn't have > any kind of exec, AFAIK. > Okay, then I guess that's that. I was trying to get a drop=down menu (or one-of a series of radio buttons) to launch xmms/zinf at a URL: zinf http://W.X.Y.Z:8000 so with a mouse click I could choose my favorite streaming webcasts. ---Yeah, I realize this is overkill when I could do this with a /bin/shell or perl script; or by going to Shoutcast..... Just wondering if it were possible. thanks, gents, gary -- Gary Kline kline@thought.org www.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message