🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #3537

emacs + gdb + curses = trouble?

#3537
From: Norman Matloff
Date: Mon, 25 Jan 1993 23:34
15 lines
1003 bytes
Specifically, suppose we are debugging a program which uses curses,
and doing the debugging by invoking gdb (M-x gdb) from within emacs.
Suppose we give gdb a command like `tty /dev/ttyxx', indicating that
the user input/output for the program being debugged will be in
another place separate from the gdb commands (e.g. under X windows,
that I/O will be in another window).  The xx is derived from typing
`who am i' in that other place.

In this setting, curses seems not to work.  I've tried it on three
different machines.  It works fine if I do the same thing but invoke
gdb from the shell instead of from emacs.

Any suggestions?

   Norm
Technical Details
Message-ID: <45102@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!ucbvax!matloff@toto.Berkeley.EDU

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!agate!ucbvax!matloff@toto.Berkeley.EDU
From: matloff@toto.Berkeley.EDU (Norman Matloff)
Newsgroups: comp.emacs
Subject: emacs + gdb + curses = trouble?
Message-ID: <45102@ucbvax.BERKELEY.EDU>
Date: 25 Jan 93 23:34:26 GMT
Sender: nobody@ucbvax.BERKELEY.EDU
Organization: Div. of CS, UC Davis
Lines: 16