delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/08/18/20:28:12

From: jax AT darkstar DOT cygnus DOT com (Jack Woehr)
Subject: MS-DOS ctty
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Wed, 18 Aug 1993 18:13:26 -0600 (MDT)


	I'm trying to use gdb via a serial port using MS-DOS ctty.

	gdb, however, refuses to cooperate, taking its input instead directly
	from the keyboard!

	when I look at readline.c, I see #ifdefs for GO32, but the only one that
	seems it could be causing this behavior tests for isatty() before avoiding
	read() in favor of lower level. Could it be that isatty() doesn't recognize
	MS-DOS ctty as a tty and causes the poll of the keyboard instead of a read
	from stdio?

		=jax=


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019