Subject: bin/7685: Gdb outputs ^M in emacs buffer
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ian.dall@dsto.defence.gov.au>
List: netbsd-bugs
Date: 06/01/1999 07:35:52
>Number:         7685
>Category:       bin
>Synopsis:       GDB 4.17 outputs control M charactes when run in an emacs buffer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun  1 07:35:01 1999
>Last-Modified:
>Originator:     Ian Dall
>Organization:
	
>Release:        <NetBSD-current source date> 1.4
>Environment:
	
System: NetBSD sibyl.chez-dall.org.au 1.4C NetBSD 1.4C (SIBYL) #1: Tue Jun 1 15:34:02 CST 1999 ian@sibyl.chez-dall.org.au:/usr3/netbsd-1.2/lsrc/sys/arch/pc532/compile/SIBYL pc532


>Description:
	
When gdb is run inside emacs, it litters the buffer with control M's which
are displayed as ^M. This seems to be due to the pseudo tty mode being
set to onlcr. If a shell script which does a stty is run in place of gdb
it can be seen that onlcr is *not* on. ie, for some reason, gdb it turning
it on itself.

gdb 4.16.95 build from FSF sources does not have this problem.

>How-To-Repeat:
	
emacs
M-x gdb

help

>Fix:
	
None, but it is driving me nuts!
>Audit-Trail:
>Unformatted: