Bug 1487

Summary: screen-3.7.6-1 doesn't start
Product: [Retired] Red Hat Linux Reporter: Pekka Pietik√§inen <pp>
Component: screenAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-11 23:48:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pekka Pietikäinen 1999-03-11 23:03:34 UTC
Screen fails with a
CANNOT I_PUSH ptem /dev/pts/4 Invalid argument

unless the following patch is applied:

--- screen-3.7.6/window.c-pp    Wed Nov 18 22:19:47 1998
+++ screen-3.7.6/window.c       Fri Mar  5 13:03:21 1999
@@ -622,7 +622,7 @@
       if (newfd >= 0)
        {
          struct mode fakemode, *modep;
-#if defined(SVR4) && !defined(sgi) && !defined(M_UNIX)
+#if defined(SVR4) && !defined(sgi) && !defined(M_UNIX) &&
!defined(linux)
          if (ioctl(newfd, I_PUSH, "ptem"))
            {
              SendErrorMsg("Cannot I_PUSH ptem %s %s", ttyn,
strerror(errno));

Comment 1 Bill Nottingham 1999-03-11 23:48:59 UTC
fixed in screen-3.7.6-2