home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-02-08 | 44.9 KB | 1,612 lines |
- Newsgroups: comp.sources.misc
- From: jnweiger@immd4.informatik.uni-erlangen.de (Juergen Weigert)
- Subject: v28i028: screen-3.2 - multiple windows on an ASCII terminal, v3.2, Part11/11
- Message-ID: <1992Feb9.224028.7271@sparky.imd.sterling.com>
- X-Md4-Signature: 3d16c95d5894fd7b557979f754f93c7c
- Date: Sun, 9 Feb 1992 22:40:28 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: jnweiger@immd4.informatik.uni-erlangen.de (Juergen Weigert)
- Posting-number: Volume 28, Issue 28
- Archive-name: screen-3.2/part11
- Environment: UNIX
-
- #!/bin/sh
- # do not concatenate these parts, unpack them in order with /bin/sh
- # file screen3.2/config/config.sco32 continued
- #
- if test ! -r _shar_seq_.tmp; then
- echo 'Please unpack part 1 first!'
- exit 1
- fi
- (read Scheck
- if test "$Scheck" != 11; then
- echo Please unpack part "$Scheck" next!
- exit 1
- else
- exit 0
- fi
- ) < _shar_seq_.tmp || exit 1
- if test ! -f _shar_wnt_.tmp; then
- echo 'x - still skipping screen3.2/config/config.sco32'
- else
- echo 'x - continuing file screen3.2/config/config.sco32'
- sed 's/^X//' << 'SHAR_EOF' >> 'screen3.2/config/config.sco32' &&
- #undef GETTTYENT
- #undef NFS_HACK
- #undef LOCALSOCKDIR
- X
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/local/screens"
- # else
- # define SOCKDIR "/tmp/screens"
- # endif
- #endif
- #undef USEBCOPY
- #undef TOPSTAT
- #define USEVARARGS
- #define NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #define ETCSCREENRC "/usr/local/screen/etc/screenrc"
- #undef NEEDSETENV
- SHAR_EOF
- echo 'File screen3.2/config/config.sco32 is complete' &&
- chmod 0444 screen3.2/config/config.sco32 ||
- echo 'restore of screen3.2/config/config.sco32 failed'
- Wc_c="`wc -c < 'screen3.2/config/config.sco32'`"
- test 1314 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.sco32: original size 1314, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.sequent_ptx ==============
- if test -f 'screen3.2/config/config.sequent_ptx' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.sequent_ptx (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.sequent_ptx (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.sequent_ptx' &&
- /* Copyright (c) 1991
- X * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
- X * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
- X ****************************************************************
- X * $Id: config.sequent_ptx,v 1.2 92/02/03 02:31:08 jnweiger Exp $ FAU
- X */
- X
- X
- #define POSIX
- #define BSDJOBS
- #define TERMIO
- #define TERMINFO
- #define SYSV
- #define SIGVOID
- #define DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #define GETUTENT
- #define UTHOST
- #undef USRLIMIT
- #undef LOCKPTY
- #define NOREUID
- #undef LOADAV_3DOUBLES
- #define LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #undef GETTTYENT
- #undef NFS_HACK
- #define LOCALSOCKDIR
- X
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/local/screens"
- # else
- # define SOCKDIR "/tmp/screens"
- # endif
- #endif
- #undef USEBCOPY
- #undef TOPSTAT
- #undef USEVARARGS
- #undef NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #undef NETHACK
- #define ETCSCREENRC "/local/etc/screenrc"
- SHAR_EOF
- chmod 0444 screen3.2/config/config.sequent_ptx ||
- echo 'restore of screen3.2/config/config.sequent_ptx failed'
- Wc_c="`wc -c < 'screen3.2/config/config.sequent_ptx'`"
- test 1007 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.sequent_ptx: original size 1007, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.sgi ==============
- if test -f 'screen3.2/config/config.sgi' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.sgi (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.sgi (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.sgi' &&
- /****************************************************************
- X * This file is by Andrea Malagoli (alagoli@mhd4.uchicago.edu).
- X * It was done for a SGI MIPS Iris4D/20 running Irix 3.3.2.
- X * Enhanced by Marc Boucher (marc@CAM.ORG)
- X **********************************************************
- X * $Id: config.sgi,v 1.2 92/02/03 02:31:11 jnweiger Exp $ FAU
- X */
- X
- #define POSIX
- #define BSDJOBS
- #define TERMIO
- #define TERMINFO
- #define SYSV
- #define SIGVOID
- #define DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #define GETUTENT
- #undef UTHOST
- #undef USRLIMIT
- #undef LOCKPTY
- #undef NOREUID
- #undef LOADAV_3DOUBLES
- #define LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #undef GETTTYENT
- #undef NFS_HACK
- #define LOCALSOCKDIR
- X
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/tmp/screens"
- # else
- # define SOCKDIR "/tmp/testscreens"
- # endif
- #endif
- #undef USEBCOPY
- #undef TOPSTAT
- #define USEVARARGS
- #define NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #define ETCSCREENRC "/etc/screenrc"
- SHAR_EOF
- chmod 0444 screen3.2/config/config.sgi ||
- echo 'restore of screen3.2/config/config.sgi failed'
- Wc_c="`wc -c < 'screen3.2/config/config.sgi'`"
- test 1071 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.sgi: original size 1071, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.sunos41 ==============
- if test -f 'screen3.2/config/config.sunos41' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.sunos41 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.sunos41 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.sunos41' &&
- /* Copyright (c) 1991
- X * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
- X * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
- X ****************************************************************
- X * $Id: config.sunos41,v 1.2 92/02/03 02:31:21 jnweiger Exp $ FAU
- X */
- #define POSIX
- #define BSDJOBS
- #define TERMIO
- #undef TERMINFO
- #undef SYSV
- #define SIGVOID
- #define DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #undef GETUTENT
- #define UTHOST
- #undef USRLIMIT
- #undef LOCKPTY
- #undef NOREUID
- #undef LOADAV_3DOUBLES
- #define LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #undef GETTTYENT
- #undef NFS_HACK
- #define LOCALSOCKDIR
- X
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/tmp/screens"
- # else
- # define SOCKDIR "/tmp/testscreens"
- # endif
- #endif
- #undef USEBCOPY
- #undef TOPSTAT
- #undef USEVARARGS
- #define NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #define ETCSCREENRC "/local/etc/screenrc"
- SHAR_EOF
- chmod 0444 screen3.2/config/config.sunos41 ||
- echo 'restore of screen3.2/config/config.sunos41 failed'
- Wc_c="`wc -c < 'screen3.2/config/config.sunos41'`"
- test 1000 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.sunos41: original size 1000, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.svr4 ==============
- if test -f 'screen3.2/config/config.svr4' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.svr4 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.svr4 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.svr4' &&
- /****************************************************************
- X * this config file was contributed by Marc Boucher <marc@CAM.ORG>
- X * it supports System V Release 4.0
- X **********************************************************
- X * $Id: config.svr4,v 1.2 92/02/03 02:31:24 jnweiger Exp $ FAU
- X */
- X
- #define SVR4 /* special SVR4 entry */
- X
- #define POSIX
- #define BSDJOBS
- #define TERMIO
- #define TERMINFO
- #define SYSV
- #define SIGVOID
- #define DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #define GETUTENT
- #define UTHOST
- #undef USRLIMIT
- #define BUGGYGETLOGIN /* special SVR4 entry */
- #define SHADOWPW
- #undef LOCKPTY
- #define NOREUID
- #undef LOADAV_3DOUBLES
- #define LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #undef GETTTYENT
- #undef NFS_HACK
- #define LOCALSOCKDIR
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/tmp/screens"
- # else
- # define SOCKDIR "/tmp/testscreens"
- # endif
- #endif
- #define USEBCOPY
- #define bcopy(s, d, l) memmove(d, s, l) /* special SVR4 entry */
- #undef TOPSTAT
- #define USEVARARGS
- #define NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #define ETCSCREENRC "/local/etc/screenrc"
- X
- /* These get seen in screen.h, extern.h and other places to avoid conflicts
- X * with the definitions and declarations in /usr/include/...
- X */
- X
- #define SETPGID_DECLARED
- #define GETHOSTNAME_DECLARED
- #define NLIST_DECLARED
- #define VPRNT_DECLARED
- X
- SHAR_EOF
- chmod 0444 screen3.2/config/config.svr4 ||
- echo 'restore of screen3.2/config/config.svr4 failed'
- Wc_c="`wc -c < 'screen3.2/config/config.svr4'`"
- test 1422 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.svr4: original size 1422, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.symmetry ==============
- if test -f 'screen3.2/config/config.symmetry' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.symmetry (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.symmetry (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.symmetry' &&
- /* Copyright (c) 1991
- X * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
- X * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
- X ****************************************************************
- X * $Id: config.symmetry,v 1.2 92/02/03 02:31:30 jnweiger Exp $ FAU
- X */
- #undef POSIX
- #define BSDJOBS
- #undef TERMIO
- #undef TERMINFO
- #undef SYSV
- #undef SIGVOID
- #undef DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #undef GETUTENT
- #define UTHOST
- #undef USRLIMIT
- #undef LOCKPTY
- #undef NOREUID
- #undef LOADAV_3DOUBLES
- #define LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #undef GETTTYENT
- #undef NFS_HACK
- #define LOCALSOCKDIR
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/local/screens"
- # else
- # define SOCKDIR "/tmp/screens"
- # endif
- #endif
- #undef USEBCOPY
- #undef TOPSTAT
- #undef USEVARARGS
- #undef NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #define ETCSCREENRC "/local/etc/screenrc"
- SHAR_EOF
- chmod 0444 screen3.2/config/config.symmetry ||
- echo 'restore of screen3.2/config/config.symmetry failed'
- Wc_c="`wc -c < 'screen3.2/config/config.symmetry'`"
- test 993 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.symmetry: original size 993, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.sysv68 ==============
- if test -f 'screen3.2/config/config.sysv68' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.sysv68 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.sysv68 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.sysv68' &&
- /* Copyright (c) 1991
- X * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
- X * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
- X ****************************************************************
- X * $Id: config.sysv68,v 1.2 92/02/03 02:31:34 jnweiger Exp $ FAU
- X */
- X
- #ifndef NAME_MAX
- # define NAME_MAX 14
- #endif /* NAME_MAX */
- X
- #undef POSIX
- #undef BSDJOBS
- #define TERMIO
- #define TERMINFO
- #define SYSV
- #define SIGVOID
- #define DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #define GETUTENT
- #define UTHOST
- #undef USRLIMIT
- #undef LOCKPTY
- #define NOREUID
- #undef LOADAV_3DOUBLES
- #undef LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #undef GETTTYENT
- #undef NFS_HACK
- #define LOCALSOCKDIR
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/local/screens"
- # else
- # define SOCKDIR "/tmp/screens"
- # endif
- #endif
- #undef USEBCOPY
- #undef TOPSTAT
- #undef USEVARARGS
- #define NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #define ETCSCREENRC "/local/etc/screenrc"
- SHAR_EOF
- chmod 0444 screen3.2/config/config.sysv68 ||
- echo 'restore of screen3.2/config/config.sysv68 failed'
- Wc_c="`wc -c < 'screen3.2/config/config.sysv68'`"
- test 1061 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.sysv68: original size 1061, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.ultrix4 ==============
- if test -f 'screen3.2/config/config.ultrix4' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.ultrix4 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.ultrix4 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.ultrix4' &&
- /*
- X * this config.ultrix41 was submitted by John D Fa'atuai (frotz@dri.com)
- X * changed for build under BSD environment by Marc Boucher (marc@CAM.ORG)
- X ****************************************************************
- X * $Id: config.ultrix4,v 1.2 92/02/03 02:31:36 jnweiger Exp $ FAU
- X */
- #undef POSIX
- #define BSDJOBS
- #undef TERMIO
- #undef TERMINFO
- #undef SYSV
- #define SIGVOID
- #define DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #undef GETUTENT
- #define UTHOST
- #undef USRLIMIT
- #undef LOCKPTY
- #undef NOREUID
- #define LOADAV_3DOUBLES
- #undef LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #define GETTTYENT
- #undef NFS_HACK
- #undef LOCALSOCKDIR
- #undef TMPTEST
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/tmp/screens"
- # else
- # define SOCKDIR "/tmp/testscreens"
- # endif
- #endif
- #define USEBCOPY
- #undef TOPSTAT
- #define USEVARARGS
- #define NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #undef ETCSCREENRC "/usr/local/etc/screenrc"
- X
- /* These get seen in screen.h, extern.h and other places to avoid conflicts
- X * with the definitions and declarations in /usr/include/...
- X */
- X
- #define PID_T_DEFINED
- SHAR_EOF
- chmod 0444 screen3.2/config/config.ultrix4 ||
- echo 'restore of screen3.2/config/config.ultrix4 failed'
- Wc_c="`wc -c < 'screen3.2/config/config.ultrix4'`"
- test 1174 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.ultrix4: original size 1174, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.xelos ==============
- if test -f 'screen3.2/config/config.xelos' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.xelos (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.xelos (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.xelos' &&
- /* Copyright (c) 1991
- X * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
- X * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
- X ****************************************************************
- X * $Id: config.xelos,v 1.2 92/02/03 02:31:41 jnweiger Exp $ FAU
- X */
- #undef POSIX
- #define BSDJOBS
- #undef TERMIO
- #define TERMINFO
- #undef SYSV
- #undef SIGVOID
- #undef DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #define GETUTENT
- #define UTHOST
- #undef USRLIMIT
- #undef LOCKPTY
- #undef NOREUID
- #undef LOADAV_3DOUBLES
- #define LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #undef GETTTYENT
- #undef NFS_HACK
- #define LOCALSOCKDIR
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/local/screens"
- # else
- # define SOCKDIR "/tmp/screens"
- # endif
- #endif
- #undef USEBCOPY
- #undef TOPSTAT
- #undef USEVARARGS
- #undef NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #define ETCSCREENRC "/local/etc/screenrc"
- SHAR_EOF
- chmod 0444 screen3.2/config/config.xelos ||
- echo 'restore of screen3.2/config/config.xelos failed'
- Wc_c="`wc -c < 'screen3.2/config/config.xelos'`"
- test 992 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.xelos: original size 992, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/config.xenix ==============
- if test -f 'screen3.2/config/config.xenix' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/config.xenix (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/config.xenix (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.xenix' &&
- /*
- X * minimal config for SCO XENIX 386 2.3.[34]. avenrun could be
- X * configured in, but a) I can't be bothered and b) I want the binaries
- X * to work unchanged on SCO UNIX too
- X * Ronald Khoo <ronald@robobar.co.uk>
- X ****************************************************************
- X * $Id: config.xenix,v 1.2 92/02/03 02:31:45 jnweiger Exp $ FAU
- X */
- #undef POSIX
- #undef BSDJOBS
- #define TERMIO
- #undef TERMINFO
- #define SYSV
- #define SIGVOID
- #define DIRENT
- #define SUIDROOT
- #define UTMPOK
- #define LOGINDEFAULT 1
- #define GETUTENT
- #undef UTHOST
- #undef USRLIMIT
- #undef LOCKPTY
- #define NOREUID
- #undef LOADAV_3DOUBLES
- #undef LOADAV_3LONGS
- #undef LOADAV_4LONGS
- #undef GETTTYENT
- #undef NFS_HACK
- #undef LOCALSOCKDIR
- #ifdef LOCALSOCKDIR
- # ifndef TMPTEST
- # define SOCKDIR "/local/screens"
- # else
- # define SOCKDIR "/tmp/screens"
- # endif
- #endif
- #undef USEBCOPY
- #undef TOPSTAT
- #undef USEVARARGS
- #define NAMEDPIPE
- #define LOCK
- #define PASSWORD
- #define COPY_PASTE
- #define REMOTE_DETACH
- #define POW_DETACH
- #define NETHACK
- #define ETCSCREENRC "/usr/local/lib/screenrc"
- SHAR_EOF
- chmod 0444 screen3.2/config/config.xenix ||
- echo 'restore of screen3.2/config/config.xenix failed'
- Wc_c="`wc -c < 'screen3.2/config/config.xenix'`"
- test 1056 -eq "$Wc_c" ||
- echo 'screen3.2/config/config.xenix: original size 1056, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.bsd386 ==============
- if test -f 'screen3.2/config/Makefile.bsd386' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.bsd386 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.bsd386 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.bsd386' &&
- #
- # libove@libove.det.dec.com (Jay Vassos-Libove)
- #
- # Makefile for screen
- #
- # See config.h for configuration options.
- #
- X
- # If you choose to compile with the tried and true:
- #CC= cc
- #CFLAGS= -O
- #CFLAGS= -g -DTMPTEST -DDEBUG
- #CFLAGS= -g
- #LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -traditional -O
- #CFLAGS= -g -traditional -DTMPTEST
- #CFLAGS= -g -traditional -DTMPTEST -DDEBUG
- CFLAGS= -g -O -fstrength-reduce -fcombine-regs -finline-functions -Wall \
- X -DBSDI # -DDEBUG
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- LIBS= -ltermcap
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.bsd386 ||
- echo 'restore of screen3.2/config/Makefile.bsd386 failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.bsd386'`"
- test 1508 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.bsd386: original size 1508, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.gould_np1 ==============
- if test -f 'screen3.2/config/Makefile.gould_np1' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.gould_np1 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.gould_np1 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.gould_np1' &&
- #
- # Makefile for screen
- #
- # See config.h for configuration options.
- #
- X
- # If you choose to compile with the tried and true:
- CC= cc
- #CFLAGS= -O
- #CFLAGS= -g -DTMPTEST -DDEBUG -DNEEDSETENV
- CFLAGS= -g -DNEEDSETENV
- LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- #CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -traditional -O
- #CFLAGS= -g -traditional -DTMPTEST
- #CFLAGS= -g -traditional -DTMPTEST -DDEBUG
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- LIBS= -ltermcap
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c putenv.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o putenv.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- putenv.o: putenv.c config.h
- X $(CC) $(CFLAGS) -c putenv.c
- X
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.gould_np1 ||
- echo 'restore of screen3.2/config/Makefile.gould_np1 failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.gould_np1'`"
- test 1479 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.gould_np1: original size 1479, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.isc ==============
- if test -f 'screen3.2/config/Makefile.isc' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.isc (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.isc (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.isc' &&
- #
- # Makefile for screen
- #
- # See config.h for configuration options.
- #
- X
- # If you choose to compile with the tried and true:
- CC= gcc
- CFLAGS= -g -O -DISC -D_POSIX_SOURCE
- LDFLAGS=
- X
- LIBS= -ltermlib -linet -lcposix
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.isc ||
- echo 'restore of screen3.2/config/Makefile.isc failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.isc'`"
- test 1073 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.isc: original size 1073, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.mips ==============
- if test -f 'screen3.2/config/Makefile.mips' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.mips (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.mips (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.mips' &&
- #
- # Makefile for screen
- #
- # See config.h for configuration options.
- #
- X
- # If you choose to compile with the tried and true:
- CC= cc
- #CFLAGS= -O
- #CFLAGS= -g -DTMPTEST -DDEBUG
- # Compiled on MIPS RC6280 running RiscOS 4.52, compiler doesn't define us
- # any specific id so we define it here, maybe it should be defined in config.h
- CFLAGS= -g -systype bsd43 -DMIPS
- LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- #CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -traditional -O
- #CFLAGS= -g -traditional -DTMPTEST
- #CFLAGS= -g -traditional -DTMPTEST -DDEBUG
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- #LIBS= -ltermcap
- # mld needed on MIPS to have nlist for loadaverage
- LIBS= -ltermcap -lmld
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.mips ||
- echo 'restore of screen3.2/config/Makefile.mips failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.mips'`"
- test 1626 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.mips: original size 1626, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.putenv ==============
- if test -f 'screen3.2/config/Makefile.putenv' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.putenv (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.putenv (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.putenv' &&
- #
- # Makefile for screen
- #
- # See config.h for configuration options.
- #
- X
- # If you choose to compile with the tried and true:
- CC= cc
- #CFLAGS= -O -DNEEDSETENV
- #CFLAGS= -g -DTMPTEST -DDEBUG -DNEEDSETENV
- CFLAGS= -g -DNEEDSETENV
- LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- #CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions -DNEEDSETENV #-Wall
- #CFLAGS= -traditional -O -DNEEDSETENV
- #CFLAGS= -g -traditional -DTMPTEST -DNEEDSETENV
- #CFLAGS= -g -traditional -DTMPTEST -DDEBUG -DNEEDSETENV
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- LIBS= -ltermcap
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c putenv.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o putenv.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- putenv.o: putenv.c config.h
- X $(CC) $(CFLAGS) -c putenv.c
- X
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.putenv ||
- echo 'restore of screen3.2/config/Makefile.putenv failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.putenv'`"
- test 1545 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.putenv: original size 1545, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.rs6000 ==============
- if test -f 'screen3.2/config/Makefile.rs6000' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.rs6000 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.rs6000 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.rs6000' &&
- #
- # Makefile for screen under RS6000
- #
- # See config.h for configuration options.
- #
- # Marc Boucher <marc@CAM.ORG>
- # nothing special about this makefile, except it links with -lcurses
- X
- # If you choose to compile with the tried and true:
- CC= cc
- CFLAGS= -O
- #CFLAGS= -g -DTMPTEST -DDEBUG
- #CFLAGS= -g
- LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- #CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -traditional -O -DM_TERMCAP -DNO_PROTOTYPE
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- #LIBS= -ltermcap
- LIBS= -lcurses
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.rs6000 ||
- echo 'restore of screen3.2/config/Makefile.rs6000 failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.rs6000'`"
- test 1455 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.rs6000: original size 1455, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.sco32 ==============
- if test -f 'screen3.2/config/Makefile.sco32' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.sco32 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.sco32 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.sco32' &&
- #
- # Makefile for screen
- #
- # See config.h for configuration options.
- #
- X
- # If you choose to compile with the tried and true:
- #CC= cc
- #CFLAGS= -O
- #CFLAGS= -g -DTMPTEST -DDEBUG
- #CFLAGS= -g
- #LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- CC= gcc
- CFLAGS = -traditional -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -g -traditional -DTMPTEST
- #CFLAGS= -g -traditional -DTMPTEST -DDEBUG
- LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- LIBS= -lcrypt_d -ltinfo
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.sco32 ||
- echo 'restore of screen3.2/config/Makefile.sco32 failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.sco32'`"
- test 1372 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.sco32: original size 1372, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.sgi ==============
- if test -f 'screen3.2/config/Makefile.sgi' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.sgi (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.sgi (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.sgi' &&
- #
- # Makefile for screen
- #
- # See config.h for configuration options.
- #
- X
- # If you choose to compile with the tried and true:
- CC= cc
- CFLAGS= -O
- #CFLAGS= -g -DTMPTEST -DDEBUG
- #CFLAGS= -g
- LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- #CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -traditional -O
- #CFLAGS= -g -traditional -DTMPTEST
- #CFLAGS= -g -traditional -DTMPTEST -DDEBUG
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- #LIBS= -ltermcap
- # mld needed on MIPS to have nlist for loadaverage
- LIBS= -ltermlib -lsun -lmld #-lc_s
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.sgi ||
- echo 'restore of screen3.2/config/Makefile.sgi failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.sgi'`"
- test 1466 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.sgi: original size 1466, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.svr4 ==============
- if test -f 'screen3.2/config/Makefile.svr4' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.svr4 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.svr4 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.svr4' &&
- #
- # Makefile for screen
- #
- # See config.h for configuration options.
- #
- X
- # If you choose to compile with the tried and true:
- CC= cc
- CFLAGS= -O
- #CFLAGS= -g -DTMPTEST -DDEBUG
- #CFLAGS= -g
- LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- #CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -traditional -O
- #CFLAGS= -g -traditional -DTMPTEST
- #CFLAGS= -g -traditional -DTMPTEST -DDEBUG
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- #LIBS= -ltermcap
- X
- # Use the following line on SVR4
- LIBS= -ltermlib -lelf
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.svr4 ||
- echo 'restore of screen3.2/config/Makefile.svr4 failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.svr4'`"
- test 1435 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.svr4: original size 1435, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.ultrix4 ==============
- if test -f 'screen3.2/config/Makefile.ultrix4' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.ultrix4 (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.ultrix4 (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.ultrix4' &&
- #
- # Makefile for screen under Ultrix 4.x
- #
- # See config.h for configuration options.
- #
- # Marc Boucher <marc@CAM.ORG>
- # nothing special about this makefile, except it ensures that BSD environment
- # is selected.
- X
- # If you choose to compile with the tried and true:
- CC= cc
- CFLAGS= -YBSD -O
- #CFLAGS= -YBSD -g -DTMPTEST -DDEBUG
- #CFLAGS= -YBSD -g
- LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- #CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -traditional -O -DM_TERMCAP -DNO_PROTOTYPE
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- LIBS= -ltermcap
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.ultrix4 ||
- echo 'restore of screen3.2/config/Makefile.ultrix4 failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.ultrix4'`"
- test 1485 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.ultrix4: original size 1485, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/config/Makefile.xenix ==============
- if test -f 'screen3.2/config/Makefile.xenix' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/config/Makefile.xenix (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/config/Makefile.xenix (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/Makefile.xenix' &&
- #
- # Makefile for screen under SCO XENIX 2.3.[01]
- #
- # See config.h for configuration options.
- #
- # Ronald Khoo <ronald@robobar.co.uk>:
- # The -l2.3 load library is needed for compiling with the SCO UNIX
- # XENIX cross development libraries. You will probably have to remove
- # it for use with SCO XENIX 2.3.[01] development systems. If you have a 2.2
- # development system, you will need select.o from Keith Gabryelski's news
- # posting of a couple of years back -- I doubt that any of you are in
- # that situation.
- #
- # Mark Buda (hermit%dastari.UUCP@hobbes.cert.sei.cmu.edu)
- # modified this for SCO Xenix 2.3.4.
- X
- # If you choose to compile with the tried and true:
- #CC= cc
- CFLAGS= -O
- #CFLAGS= -g -DTMPTEST -DDEBUG
- #CFLAGS= -g
- LDFLAGS=
- X
- # If you're using GNU C, be sure to use the -traditional flag:
- #CC= gcc
- #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
- #CFLAGS= -traditional -O -DM_TERMCAP -DNO_PROTOTYPE
- #LDFLAGS= -s
- X
- #LIBS= nmalloc.o -ltermcap
- #LIBS= -ltermcap /u/kent/custom/crypt.o -ldir -lx
- LIBS= -ltermcap -lcrypt -ldir -l2.3 -lx
- X
- CFILES= screen.c ansi.c help.c fileio.c mark.c window.c socket.c
- OFILES= screen.o ansi.o help.o fileio.o mark.o window.o socket.o
- X
- screen: $(OFILES)
- X $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
- X
- screen.o: screen.c screen.h config.h patchlevel.h extern.h
- X $(CC) $(CFLAGS) -c screen.c
- X
- help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
- X $(CC) $(CFLAGS) -c help.c
- X
- fileio.o: fileio.c screen.h config.h extern.h
- X $(CC) $(CFLAGS) -c fileio.c
- X
- ansi.o: ansi.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c ansi.c
- X
- mark.o: mark.c screen.h config.h ansi.h extern.h
- X $(CC) $(CFLAGS) -c mark.c
- X
- window.o: window.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c window.c
- X
- socket.o: socket.c config.h screen.h extern.h
- X $(CC) $(CFLAGS) -c socket.c
- X
- clean:
- X rm -f $(OFILES) screen
- X
- lint:
- X lint -I. $(CFILES)
- X
- saber:
- X #load $(CFLAGS) screen.c ansi.c $(LIBS)
- SHAR_EOF
- chmod 0444 screen3.2/config/Makefile.xenix ||
- echo 'restore of screen3.2/config/Makefile.xenix failed'
- Wc_c="`wc -c < 'screen3.2/config/Makefile.xenix'`"
- test 1936 -eq "$Wc_c" ||
- echo 'screen3.2/config/Makefile.xenix: original size 1936, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- # ============= screen3.2/etcscreenrc ==============
- if test -f 'screen3.2/etcscreenrc' -a X"$1" != X"-c"; then
- echo 'x - skipping screen3.2/etcscreenrc (File already exists)'
- rm -f _shar_wnt_.tmp
- else
- > _shar_wnt_.tmp
- echo 'x - extracting screen3.2/etcscreenrc (Text)'
- sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/etcscreenrc' &&
- # This is a global screenrc file
- # Install this file as /usr/local/etc/screenrc. See config.h
- #
- # Flaws of termcap and standard settings are done here.
- # Note: This file should not be shared between different hosts.
- # The 'termcap' lines are written in termcap syntax.
- # The syntax for a terminfo based host is slightly different.
- #
- echo "-----------------------------------------------------------------------"
- echo ""
- echo " This is iScreen version 3.2 -- Enjoy"
- echo ""
- echo " Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)"
- echo "-----------------------------------------------------------------------"
- sleep 2
- X
- # startup_message off
- X
- #flow on # will force iScreen to process ^S/^Q
- X
- set vbell on
- set login on
- set autodetach off
- X
- # 'vbell on' without the prepended 'set' keyword will change the default for
- # subsequently opened windows. With the 'set' keyword we would change
- # the setting of the currently active window.
- vbell on
- set vbell_msg " Wuff, ---- Wuff!! "
- X
- # all termcap entries are now duplicated as terminfo entries.
- # only difference should be the slightly modified syntax, and check for
- # terminfo entries, that are already corected in the database.
- #
- # G0 we have a SEMI-GRAPHICS-CHARACTER-MODE
- # WS this sequence resizes our window.
- # cs this sequence changes the scrollregion
- # hs@ we have no hardware statusline. iScreen will only believe that
- # there is a hardware status line if hs,ts,fs,ds are all set.
- # ts to statusline
- # fs from statusline
- # ds delete statusline
- # al add one line
- # AL add multiple lines
- # dl delete one line
- # DL delete multiple lines
- # ic insert one char (space)
- # IC insert multiple chars
- X
- termcap facit|vt100|xterm LP:G0
- terminfo facit|vt100|xterm LP:G0
- X
- #the vt100 description does not mention "dl". *sigh*
- termcap vt100 dl=5\E[M
- terminfo vt100 dl=5\E[M
- X
- #facit's "al" / "dl" are buggy if the current / last line
- #contain attributes...
- termcap facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%d;%dr:ic@
- terminfo facit al=\E[L\E[K:AL@:dl@:DL@:cs=\E[%i%p1%d;%p2%dr:ic@
- X
- #make sun termcap/info better
- termcap sun up=^K:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:IC=\E[%d@:WS=1000\E[8;%d;%dt
- terminfo sun up=^K:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC:IC=\E[%p1%d@:WS=\E[8;%p1%d;%p2%dt$<1000>
- X
- #xterm understands both im/ic and doesn't have a status line.
- #Note: Do not specify im and ic in the real termcap/info file as
- #some programs (e.g. vi) will not work anymore.
- termcap xterm|fptwist hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l
- terminfo xterm|fptwist hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l
- X
- #xterms is xterm with status line in title bar
- termcap xterms hs:ts=\E]0;:fs=\007:ds=\E]0;iScreen\007:cs=\E[%i%d;%dr:LP:G0:im=\E[4h:ei=\E[4l
- terminfo xterms hs:ts=\E]0;:fs=\007:ds=\E]0;iScreen\007:cs=\E[%i%p1%d;%p2%dr:LP:G0:im=\E[4h:ei=\E[4l
- X
- #make hp700 termcap/info better
- termcap hp700 Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@
- terminfo hp700 Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@
- X
- #wyse-75-42 must have flow control (xo = "terminal uses xon/xoff")
- #essential to have it here, as this is a slow terminal.
- termcap wy75-42 xo
- terminfo wy75-42 xo
- X
- #remove some stupid / dangerous key bindings
- bind '^k'
- #bind 'L'
- bind '^\'
- #make them better
- bind '\\' quit
- bind 'K' kill
- bind 'I' set login on
- bind 'O' set login off
- bind '}' history
- SHAR_EOF
- chmod 0664 screen3.2/etcscreenrc ||
- echo 'restore of screen3.2/etcscreenrc failed'
- Wc_c="`wc -c < 'screen3.2/etcscreenrc'`"
- test 3523 -eq "$Wc_c" ||
- echo 'screen3.2/etcscreenrc: original size 3523, current size' "$Wc_c"
- rm -f _shar_wnt_.tmp
- fi
- rm -f _shar_seq_.tmp
- echo You have unpacked the last part
- exit 0
- exit 0 # Just in case...
-