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

version graph

Package: screen; Maintainer for screen is Axel Beckert <abe@debian.org>; Source for screen is src:screen.

Reported by: Marcus.Brinkmann@ruhr-uni-bochum.de

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 <cespedes@debian.org>

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 debian-bugs-dist@lists.debian.org, Juan Cespedes <cespedes@debian.org>:
Bug#97343; Package screen. Full text and rfc822 format available.

Acknowledgement sent to Marcus.Brinkmann@ruhr-uni-bochum.de:
New Bug report received and forwarded. Copy sent to Juan Cespedes <cespedes@debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Marcus.Brinkmann@ruhr-uni-bochum.de
To: submit@bugs.debian.org
Subject: screen: [hurd] patch
Date: Sun, 13 May 2001 18:14:41 +0200
Package: screen
Version: 3.9.8-1
Severity: important

Hi,

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

--- tty.sh.orig	Sun May 13 18:10:05 2001
+++ tty.sh	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.

Thanks,
Marcus



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

Notification sent to Marcus.Brinkmann@ruhr-uni-bochum.de:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 97343-close@bugs.debian.org (full text, mbox):

From: Juan Cespedes <cespedes@debian.org>
To: 97343-close@bugs.debian.org
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:

screen_3.9.8-4.diff.gz
  to pool/main/s/screen/screen_3.9.8-4.diff.gz
screen_3.9.8-4.dsc
  to pool/main/s/screen/screen_3.9.8-4.dsc
screen_3.9.8-4_i386.deb
  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
attached.

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

Debian distribution maintenance software
pp.
Juan Cespedes <cespedes@debian.org> (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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

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 <cespedes@debian.org>
Changed-By: Juan Cespedes <cespedes@debian.org>
Description: 
 screen     - A screen manager with VT100/ANSI terminal emulation.
Closes: 58696 97019 97343
Changes: 
 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)
Files: 
 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

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOv8uol2FmLxCq1O1AQEXQwP/RWrf8/BxA+i9O8WLc1PSBbhXruMSbntl
zVTG3u6NMtq7xr/Gldzh7BD7TsP10k8Wox2p9K7OnCi7nSRyB/PAa4a74oT8X/4B
6GR/pSjm+ddVYOpjlvty3yJvCca6XiF6vxCZ0oU+yiFh1ZS6sFRrCJxWD2f1VS4S
kkFXWB8jefY=
=ZsxT
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 01:52:26 2014; Machine Name: beach.debian.org

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