🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Heiby Wed, 13 Nov 1985 23:22
Unix Technical Digest V2 #21
#2
Author: Heiby
Date: Wed, 13 Nov 1985 23:22
41 lines
2454 bytes
Unix Technical Digest       Wed, 13 Dec 85       Volume  2 : Issue  21

Today's Topics:
                           dbx and signals
----------------------------------------------------------------------

Date: Wed, 6 Nov 85 16:51:48 mst
From: seismo!hao!woods (Greg Woods)
Subject: dbx and signals

   I need some help with using dbx on a VAX 11/750 under 4.2BSD. I am having
trouble getting it to work on programs that use signals. The documentation
on exactly what the "catch" and "ignore" commands do is sketchy to say
the least. 
  I have a program that does graphics, and it works by forking off the 
metacode translator, which is a process that translates the more-or-less
device-independent output of the higher-level graphics routines for the 
particular graphics device. It has an option that lets you type 'y' after
the frame is plotted on your screen and have that frame saved in a file. It
works using signals. A 14 is sent if you don't type 'y' and a 15 is sent
if you do. Obviously, the translator catches these signals appropriately.
It  calls pause after each frame and waits for the signal from the parent.
The problem is, when running my program under dbx, I cannot get it to
continue execution after the end of the frame, no matter how much I play
with the catch and ignore commands first. If I run the translator in
a mode which simply puts the metacode into a file instead of displaying
it on the screen (and hence, does not play around with signals) then it
works fine.
  Does anyone know how to use dbx on programs which fork off child processes
and play around with signals?

--Greg

------------------------------

End of Unix Technical Digest
******************************
-- 
Ronald W. Heiby / netnews@wnuxb.UUCP
AT&T Information Systems, Inc., Lisle, IL  (CU-D21)
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