From: sos@prospect.com.ru (Sergey Okhapkin)
Subject: Telnetd and bash
11 Jul 1997 01:01:16 -0700
Sender: mail@cygnus.com
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <01BC8DE1.1386F160.cygnus.gnu-win32@sos>
Original-To: "'gnu-win32'" <gnu-win32@cygnus.com>
Encoding: 25 TEXT
Original-Sender: owner-gnu-win32@cygnus.com

Hi!

I have a troubles with porting telnetd to cygwin. Telnetd starts bash, but bash hangs.
Bash 2.01 sources (file jobs.c, lines starting with 2531) have the following code:

      while ((terminal_pgrp = tcgetpgrp (shell_tty)) != -1)
	{
	  if (shell_pgrp != terminal_pgrp)
	    {
	      SigHandler *old_ttin;

	      old_ttin = set_signal_handler(SIGTTIN, SIG_DFL);
	      kill (0, SIGTTIN);
	      set_signal_handler (SIGTTIN, old_ttin);
	      continue;
	    }
	  break;
	}

What the code does?

-- 
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
