Xref: utzoo comp.sources.wanted:5585 comp.sources.d:2949 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!joyce!sri-unix!quintus!ok From: ok@quintus.uucp (Richard A. O'Keefe) Newsgroups: comp.sources.wanted,comp.sources.d Subject: Re: using curses from a script? Message-ID: <700@quintus.UUCP> Date: 18 Nov 88 08:55:30 GMT References: <7668@well.UUCP> Sender: news@quintus.UUCP Reply-To: ok@quintus.UUCP (Richard A. O'Keefe) Organization: Quintus Computer Systems, Inc. Lines: 14 In article <7668@well.UUCP> Jef Poskanzer writes: >Has anyone written a tool to perform curses functions from a shell script? System V has a command "tput [-T] ". This doesn't, strictly speaking, perform _Curses_ functions, but sends strings from the terminfo data-base. (Since Curses relies on keeping copies of window contents in memory, it is not clear that you _can_ do Curses things without having a single process to do it. You could try creating a "curses server" which would create a named pipe and listen for commands on it: curses=`make_pipe_and_fork_curses` ... echo setscrreg 10 20 >$curses Not for the faint of heart.)