🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #887

^Z problem in curses

#887
From: Adrian Mariano
Date: Fri, 21 Sep 1990 08:42
11 lines
970 bytes
I have a program that uses the curses I/O interface.  When it is
run from another program
     sh -c "myprogram..."
for example, ^Z doesn't always work properly.  Sometimes it works ok, 
moving the cursor to the bottom of the screen and saying 'Stopped' but
sometimes, it doesn't relocate the cursor, and prints "Stopped" on
top of the text on the screen.  A subsequent 'fg' does not resume.  Rather,
"Stopped" is printed at the bottom of the screen.  A SECOND 'fg' resumes
normally.

Can anybody tell me how to fix this?
Technical Details
Message-ID: <7916@milton.u.washington.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!snorkelwacker!mintaka!ogicse!milton!blake.u.washington.edu!theorem

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!snorkelwacker!mintaka!ogicse!milton!blake.u.washington.edu!theorem
From: theorem@blake.u.washington.edu (Adrian Mariano)
Newsgroups: comp.unix.programmer
Subject: ^Z problem in curses
Message-ID: <7916@milton.u.washington.edu>
Date: 21 Sep 90 08:42:11 GMT
Sender: news@milton.u.washington.edu
Organization: University of Washington, Seattle
Lines: 11