From owner-freebsd-multimedia Fri Feb 15 20:15:39 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from Mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id EC6C737B419 for ; Fri, 15 Feb 2002 20:15:31 -0800 (PST) Received: from stealth.cary.dummynet ([66.26.231.240]) by Mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Fri, 15 Feb 2002 22:33:50 -0500 Received: (from rhh@localhost) by stealth.cary.dummynet (8.11.4/8.11.4) id g1G3YRp03562 for multimedia@freebsd.org; Fri, 15 Feb 2002 22:34:27 -0500 (EST) (envelope-from aa8vb@nc.rr.com) X-Authentication-Warning: stealth.cary.dummynet: rhh set sender to aa8vb@nc.rr.com using -f Date: Fri, 15 Feb 2002 22:34:27 -0500 From: Randall Hopper To: multimedia@freebsd.org Subject: Msg for "Teardrop Sky" (Fwd: Re: fxtv remote (shell) controller) Message-ID: <20020215223427.A3488@nc.rr.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hopefully he monitors this list (he mailed me for fxtv help with what seems to be a bogus e-mail address...) Randall -- Randall Hopper aa8vb@nc.rr.com --1yeeQ81UyVL57Vl7 Content-Type: message/rfc822 Content-Disposition: inline Date: Fri, 15 Feb 2002 20:14:43 -0500 From: Randall Hopper To: Teardrop Sky Subject: Re: fxtv remote (shell) controller Message-ID: <20020215201443.A1537@nc.rr.com> References: <200202071639.g17GdqMG001844@c237627-g.moline1.il.home.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200202071639.g17GdqMG001844@c237627-g.moline1.il.home.com>; from sky@c237627-g.moline1.il.home.com on Thu, Feb 07, 2002 at 10:39:52AM -0600 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Teardrop Sky: |im wondering if there's an easy way you know of to adjust the source for fxtv |so that i can change the channel easily from a remote computer |or at least to set up something where i can change the channel via stdin or such | |(i know nothing of xwidgets and not alot of c, but i think if i can | get the program to read stdin i can write something in perl for the rest) |thanks. I have good news for you. Setting the channel is accomplished through a device handle that supports simultaneously being open by multiple processes. So you can set the channel external to fxtv and it'll just work. Fxtv rereads the tuner when you move mouse focus back into its window so at that time it'll update the displayed channel name/number annotation, but the video window will reflect the change back when you sent it to the tuner. Compile the attached program (cc -o setchannel setchannel.c) and then just provide a channel number on the command line (e.g. setchannel 40). Randall -- Randall Hopper aa8vb@nc.rr.com --oyUTqETQ0mS9luUI Content-Type: message/external-body; access-type=x-mutt-deleted; expiration="Fri, 15 Feb 2002 20:14:56 -0500"; length=970 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="setchannel.c" --oyUTqETQ0mS9luUI-- --1yeeQ81UyVL57Vl7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message