Xref: utzoo comp.sources.wanted:5591 comp.sources.d:2957 Path: utzoo!attcan!uunet!dasys1!jpr From: jpr@dasys1.UUCP (Jean-Pierre Radley) Newsgroups: comp.sources.wanted,comp.sources.d Subject: Re: using curses from a script? Message-ID: <7782@dasys1.UUCP> Date: 18 Nov 88 17:29:22 GMT References: <7668@well.UUCP> Reply-To: jpr@dasys1.UUCP (Jean-Pierre Radley) Organization: TANGENT Lines: 18 In article <7668@well.UUCP> Jef Poskanzer writes: >Has anyone written a tool to perform curses functions from a shell script? >Something like "curse so" to enter stand-out mode, or "curse cm 14 3" to >do cursor addressing. My practice is to create environment variables for stand-out, clear-screen, etc, upon login. I have a routine in .login (or .profile) that reads termcap or terminfo stuff into these variables. You could also look back about half a year ago into one of Swartz' articles in UnixWorld. He had just such procedures which he used in creating user menus. Lines would be neatly placed at deired positions on the user's screen, some of them highlighted, etc. I don't have my back issues handy, but e-mail me if you can't locate the article. -- Jean-Pierre Radley Honi soit jpr@dasys1.UUCP New York, New York qui mal ...!hombre!jpradley!jpr CIS: 76120,1341 y pense ...!hombre!trigere!jpr