Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth,comp.sys.raspberry-pi Subject: Re: Installing gForth on the Raspberry Pi Date: Mon, 27 Oct 2014 13:36:24 -0700 Organization: Nightsong/Fort GNOX Lines: 13 Message-ID: <7xsii9cks7.fsf@ruckus.brouhaha.com> References: <7x38aagx1c.fsf@ruckus.brouhaha.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="8ff39c3b56f8fea9a226ae9d8294e48e"; logging-data="7698"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18oNtqstc+w1eJzR/BSFBfG" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:RaR+IC2N1J3HNA4W1fna3nTH9Ug= sha1:JQYkIoXjqAXlEF92KIT/V17E1us= Xref: csiph.com comp.lang.forth:34222 andrew@cucumber.demon.co.uk (Andrew Gabriel) writes: > xterm has a little known feature built-in to allow it to be used as > a secondary (or multiple) terminal window under control of an application, > without the need to run any command in it - the app simply reads and writes > to specific filedescriptors setup for the purpose. This is the -S (capital- > S for Slave Mode) option. Yes I noticed that in the xterm man page, but does the app then have to deal with the pty interface? I remember wanting to use that for something once, and it looked kind of messy in the docs, and I ended up not pursuing it. I guess if the xterm can just inherit a file descriptor and not have to mess with pty devices, that can be simpler than the named pipe approach.