🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
1 messages
1 total messages Started by Adrian Mariano Fri, 21 Sep 1990 08:42
^Z problem in curses
#887
Author: 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?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads