Debian Bug report logs - #97343
screen: [hurd] patch

version graph

Package: screen; Maintainer for screen is Axel Beckert <>; Source for screen is src:screen.

Reported by:

Date: Sun, 13 May 2001 16:18:15 UTC

Severity: important

Found in version 3.9.8-1

Fixed in version screen/3.9.8-4

Done: Juan Cespedes <>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to, Juan Cespedes <>:
Bug#97343; Package screen. Full text and rfc822 format available.

Acknowledgement sent to
New Bug report received and forwarded. Copy sent to Juan Cespedes <>. Full text and rfc822 format available.

Message #5 received at (full text, mbox):

Subject: screen: [hurd] patch
Date: Sun, 13 May 2001 18:14:41 +0200
Package: screen
Version: 3.9.8-1
Severity: important


the following patch is necessary to make screen work on the Hurd.  Otherwise
it won't run at all.

---	Sun May 13 18:10:05 2001
+++	Sun May 13 18:10:23 2001
@@ -788,7 +788,7 @@
 #if defined(POSIX) && !defined(ultrix)
   setsid();		/* will break terminal affiliation */
-# if defined(BSD) && defined(TIOCSCTTY)
+# if defined(BSD) && defined(TIOCSCTTY) && !defined(__GNU__)
   ioctl(fd, TIOCSCTTY, (char *)0);
 # endif /* BSD && TIOCSCTTY */
 #else /* POSIX */

The rationale is given by Mark Kettenis below.  Note that this really is a
bug in the Hurd.  However, it is not easy to fix, and the above patch is
so small, please apply the work around.

This TIOCSTTY should be harmless, since a tty can only be the
controlling terminal for one session, so it fails in the new session
just created by setsid().  However on the Hurd this `one session per
controlling tty'-rule is not implemented.  There actually is an entry
in the TODO file that mentions this.  Unfortunately this is not
something that can easily be fixed, and needs some real thinking first.


Reply sent to Juan Cespedes <>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to
Bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at (full text, mbox):

From: Juan Cespedes <>
Subject: Bug#97343: fixed in screen 3.9.8-4
Date: Mon, 14 May 2001 15:04:07 -0400
We believe that the bug you reported is fixed in the latest version of
screen, which has been installed in the Debian FTP archive:

  to pool/main/s/screen/screen_3.9.8-4.diff.gz
  to pool/main/s/screen/screen_3.9.8-4.dsc
  to pool/main/s/screen/screen_3.9.8-4_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Juan Cespedes <> (supplier of updated screen package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing


Format: 1.7
Date: Mon, 14 May 2001 03:00:34 +0200
Source: screen
Binary: screen
Architecture: source i386
Version: 3.9.8-4
Distribution: unstable
Urgency: low
Maintainer: Juan Cespedes <>
Changed-By: Juan Cespedes <>
 screen     - A screen manager with VT100/ANSI terminal emulation.
Closes: 58696 97019 97343
 screen (3.9.8-4) unstable; urgency=low
   * Make /etc/pam.d/screen be a conffile             (closes: Bug#58696)
   * Remove option "autofixterm" from manual page     (closes: Bug#97019)
   * Applied patch to make screen work OK on Hurd     (closes: Bug#97343)
 3b386382a58de0d1c42fb1e982d8095c 675 misc optional screen_3.9.8-4.dsc
 2b93fec56432f44473bd958f1f7e7d6d 25222 misc optional screen_3.9.8-4.diff.gz
 51e6fc3c4a4854fb91f49c57d8fd6ab4 266952 misc optional screen_3.9.8-4_i386.deb

Version: 2.6.3ia
Charset: noconv


Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Wed Apr 23 21:56:05 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.