home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume28 / screen32 / part10 < prev    next >
Encoding:
Text File  |  1992-02-08  |  55.0 KB  |  1,750 lines

  1. Newsgroups: comp.sources.misc
  2. From: jnweiger@immd4.informatik.uni-erlangen.de (Juergen Weigert)
  3. Subject:  v28i027:  screen-3.2 - multiple windows on an ASCII terminal, v3.2, Part10/11
  4. Message-ID: <1992Feb9.223957.7200@sparky.imd.sterling.com>
  5. X-Md4-Signature: 9cd863e0f40dec23a0f7fab971ec667d
  6. Date: Sun, 9 Feb 1992 22:39:57 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: jnweiger@immd4.informatik.uni-erlangen.de (Juergen Weigert)
  10. Posting-number: Volume 28, Issue 27
  11. Archive-name: screen-3.2/part10
  12. Environment: UNIX
  13.  
  14. #!/bin/sh
  15. # do not concatenate these parts, unpack them in order with /bin/sh
  16. # file screen3.2/README continued
  17. #
  18. if test ! -r _shar_seq_.tmp; then
  19.     echo 'Please unpack part 1 first!'
  20.     exit 1
  21. fi
  22. (read Scheck
  23.  if test "$Scheck" != 10; then
  24.     echo Please unpack part "$Scheck" next!
  25.     exit 1
  26.  else
  27.     exit 0
  28.  fi
  29. ) < _shar_seq_.tmp || exit 1
  30. if test ! -f _shar_wnt_.tmp; then
  31.     echo 'x - still skipping screen3.2/README'
  32. else
  33. echo 'x - continuing file screen3.2/README'
  34. sed 's/^X//' << 'SHAR_EOF' >> 'screen3.2/README' &&
  35. X  when there you have multiple screens detached. 
  36. X
  37. screen -d [host.tty]
  38. X  Detach a screen session from remote. Has the same effect as typing 'C-A d'
  39. X  on the controlling terminal. '-D' will power-detach.
  40. X
  41. screen -list
  42. screen -ls
  43. X  Show all available sockets. If there are (DEAD???) sockets, you may consider 
  44. X  removing them. If there are sockets missing, you may send a SIGCHLD to its
  45. X  process 'SCREEN' and the process will re-establish the socket. (think of 
  46. X  someone cleaning /tmp thoroughly).
  47. X
  48. screen -h 200
  49. X  Starts a new screen session and sets the number of lines in the scrollback
  50. X  buffer to 200. The default is 50 lines.
  51. SHAR_EOF
  52. echo 'File screen3.2/README is complete' &&
  53. chmod 0444 screen3.2/README ||
  54. echo 'restore of screen3.2/README failed'
  55. Wc_c="`wc -c < 'screen3.2/README'`"
  56. test 3036 -eq "$Wc_c" ||
  57.     echo 'screen3.2/README: original size 3036, current size' "$Wc_c"
  58. rm -f _shar_wnt_.tmp
  59. fi
  60. # ============= screen3.2/Makefile ==============
  61. if test -f 'screen3.2/Makefile' -a X"$1" != X"-c"; then
  62.     echo 'x - skipping screen3.2/Makefile (File already exists)'
  63.     rm -f _shar_wnt_.tmp
  64. else
  65. > _shar_wnt_.tmp
  66. echo 'x - extracting screen3.2/Makefile (Text)'
  67. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/Makefile' &&
  68. #
  69. # Makefile for screen
  70. #
  71. # See config.h for configuration options.
  72. #
  73. X
  74. # If you choose to compile with the tried and true:
  75. CC= cc
  76. #CFLAGS= -O
  77. #CFLAGS= -g -DTMPTEST -DDEBUG
  78. CFLAGS= -g 
  79. LDFLAGS=
  80. X
  81. # If you're using GNU C, be sure to use the -traditional flag:
  82. #CC= gcc
  83. #CFLAGS = -O -fstrength-reduce -fcombine-regs -finline-functions #-Wall
  84. #CFLAGS= -traditional -O
  85. #CFLAGS= -g -traditional -DTMPTEST
  86. #CFLAGS= -g -traditional -DTMPTEST -DDEBUG
  87. #LDFLAGS= -s
  88. X
  89. #LIBS= nmalloc.o -ltermcap 
  90. LIBS= -ltermcap 
  91. X
  92. CFILES=    screen.c ansi.c help.c fileio.c mark.c window.c socket.c
  93. OFILES=    screen.o ansi.o help.o fileio.o mark.o window.o socket.o
  94. X
  95. screen: $(OFILES)
  96. X    $(CC) $(CFLAGS) $(LDFLAGS) -o screen $(OFILES) $(LIBS)
  97. X
  98. screen.o: screen.c screen.h config.h patchlevel.h extern.h
  99. X    $(CC) $(CFLAGS) -c screen.c
  100. X
  101. help.o: help.c screen.h config.h ansi.h extern.h patchlevel.h
  102. X    $(CC) $(CFLAGS) -c help.c
  103. X
  104. fileio.o: fileio.c screen.h config.h extern.h
  105. X    $(CC) $(CFLAGS) -c fileio.c
  106. X
  107. ansi.o: ansi.c screen.h config.h ansi.h extern.h
  108. X    $(CC) $(CFLAGS) -c ansi.c
  109. X
  110. mark.o: mark.c screen.h config.h ansi.h extern.h
  111. X    $(CC) $(CFLAGS) -c mark.c
  112. X
  113. window.o: window.c config.h screen.h  extern.h
  114. X    $(CC) $(CFLAGS) -c window.c
  115. X
  116. socket.o: socket.c config.h screen.h  extern.h
  117. X    $(CC) $(CFLAGS) -c socket.c
  118. X
  119. clean:
  120. X    rm -f $(OFILES) screen
  121. X
  122. lint:
  123. X    lint -I. $(CFILES)
  124. X
  125. saber:
  126. X    #load $(CFLAGS) screen.c ansi.c $(LIBS)
  127. SHAR_EOF
  128. chmod 0444 screen3.2/Makefile ||
  129. echo 'restore of screen3.2/Makefile failed'
  130. Wc_c="`wc -c < 'screen3.2/Makefile'`"
  131. test 1377 -eq "$Wc_c" ||
  132.     echo 'screen3.2/Makefile: original size 1377, current size' "$Wc_c"
  133. rm -f _shar_wnt_.tmp
  134. fi
  135. # ============= screen3.2/INSTALLATION ==============
  136. if test -f 'screen3.2/INSTALLATION' -a X"$1" != X"-c"; then
  137.     echo 'x - skipping screen3.2/INSTALLATION (File already exists)'
  138.     rm -f _shar_wnt_.tmp
  139. else
  140. > _shar_wnt_.tmp
  141. echo 'x - extracting screen3.2/INSTALLATION (Text)'
  142. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/INSTALLATION' &&
  143. Installation of screen3.1
  144. X
  145. 0.)
  146. Unpack. Screen comes as a compressed tar archinve. But... you propably
  147. already managed that step, when you are reading this.
  148. X
  149. 1.)
  150. take a look at the config directory. choose one of the config files there,
  151. or edit one to suit your needs. If necessary cunsult the online manuals
  152. or look into /usr/include/...
  153. X
  154. 2.)
  155. look at the Makefiles. Different systems need different libraries. 
  156. Some need even the putenv code added. Build a Makefile that satisfies
  157. all these requirements. Then decide if you want to do screen debugging
  158. or want a production screen. In the first case you want to add -DDEBUG
  159. to CFLAGS. In the second case you may want to have -O in your CFLAGS
  160. and -s in your LDFLAGS, as you don't want to analyse a core-dump, if
  161. that ever happens. Still the executable may be 250 to 500 kbytes in size.
  162. X
  163. 3.)
  164. compile with the right compiler. If you have gcc, use it. If you have 
  165. a SYSV-ish and a bsd-like compiler, choose the later. E.g. on suns screen
  166. will not run properly when compiled with /usr/5bin/cc.
  167. X
  168. 4.)
  169. You may well run screen from your private binary directory and with a 
  170. private socket directory like $HOME/.screen. But to have a full featured
  171. screen and (from a users point of view) more secure pty's you should
  172. consult a system administrator and discuss installing screen setuid-root
  173. in some globally accessible directory like /usr/local/bin.
  174. X
  175. Juergen Weigert. jnweiger@immd4.informatik.uni-erlangen.de
  176. SHAR_EOF
  177. chmod 0664 screen3.2/INSTALLATION ||
  178. echo 'restore of screen3.2/INSTALLATION failed'
  179. Wc_c="`wc -c < 'screen3.2/INSTALLATION'`"
  180. test 1450 -eq "$Wc_c" ||
  181.     echo 'screen3.2/INSTALLATION: original size 1450, current size' "$Wc_c"
  182. rm -f _shar_wnt_.tmp
  183. fi
  184. # ============= screen3.2/CHANGES ==============
  185. if test -f 'screen3.2/CHANGES' -a X"$1" != X"-c"; then
  186.     echo 'x - skipping screen3.2/CHANGES (File already exists)'
  187.     rm -f _shar_wnt_.tmp
  188. else
  189. > _shar_wnt_.tmp
  190. echo 'x - extracting screen3.2/CHANGES (Text)'
  191. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/CHANGES' &&
  192. 3.1.1
  193. ------
  194. X
  195. iScreen is now under the GNU copyleft license. See file COPYING.
  196. X
  197. command line option -A. $LINES, $COLUMNS improved.
  198. X
  199. C-A : vbell_wait <sec>
  200. X
  201. XXENIX support (Ronald Khoo)
  202. X
  203. SYSV has uname() instead of gethostname().
  204. X
  205. hpux has setresuid.
  206. X
  207. ClearScreen now saves image to scrollback buffer.
  208. X
  209. mips has setenv.
  210. X
  211. numerous bugfixes.
  212. X
  213. 3.1 finally released version.
  214. =============================
  215. X
  216. 3.0.99: last minute changes:
  217. ----------------------------
  218. X
  219. MIPS support (J{rvinen Markku)
  220. X
  221. SVR4 support (Marc Boucher)
  222. X
  223. secopen() secfopen() calls replace stat/access/open.
  224. C-a : echo improved.
  225. 'register int'
  226. X
  227. Changes up to Screen 3.0 Patchlevel 7
  228. =====================================
  229. X
  230. Better terminfo support: Screen now checks if a termcap/info
  231. entry which the name "screen.$TERM" does exist. Look in the
  232. "VIRTUAL TERMINAL" section of the manual for more details.
  233. X
  234. Many security improvements.
  235. X
  236. ScrollRegion() bug fixed which caused slow scrolling if AL
  237. or DL was used.
  238. X
  239. Pyramid and Ultrix support added. (Tim and Larry)
  240. X  
  241. ENVIRONMENT support.
  242. X  /local/etc/screenrc checks for $SYSSCREENRC
  243. X  $HOME/.screenrc checks for $ISCREENRC and $SCREENRC
  244. X  /local/screens checks for $ISCREENDIR and $SCREENDIR
  245. X  .screenrc understands ${VAR} and $VAR .
  246. X
  247. screen 3.0 Patchlevel 6
  248. =======================
  249. X
  250. .screenrc:
  251. X  screen now only opens the windows you explicitly ask for. if you 
  252. X  specify none, you still get one window, of course.
  253. X
  254. screen 3.0. Patchlevel 5
  255. ========================
  256. X
  257. Ansi prototyping by Christos.
  258. X
  259. copy mode: CTRL-U / CTRL-D exchanged. code cleanup.
  260. X
  261. changes to screen 3.0 patchlevel 4
  262. ==================================
  263. X
  264. markkeys "string"
  265. X  allows to rebind the keys used in copy/history mode.
  266. X  string is made up of pairs "<oldchar>=<newchar>" which are separated
  267. X  by a colon. Oldchar and newchar are either single ascii characters, 
  268. X  or the two character sequence ^x, where x is an ascii character, or
  269. X  a 3 digit octal value prepended with '\'. the string "\040=.:^M=q"
  270. X  rebinds '.' to set marks, and the return rey will abort copy mode.
  271. X
  272. set scrollback 100
  273. X  resizes the scrollback history buffer to 100 lines. a default of 50
  274. X  is installed. 
  275. X
  276. A Howard Chu like scrollback history is installed. Many vi-like keys
  277. X  are added to the copy mode. The '?' key reports on cursor position.
  278. X
  279. screen 3.0 Patchlevel 3
  280. =======================
  281. X
  282. WriteString fixed, it did kill the display variable.
  283. X
  284. Yet another LP bugfix.
  285. X
  286. non vt100 semi-graphics character support.
  287. X
  288. waynes patch fixed
  289. X
  290. screen 3.0 Patchlevel 2
  291. =======================
  292. X
  293. wayne patches cursor motion outside scrollregions.
  294. X
  295. .screenrc 
  296. X  monitor on|off
  297. X
  298. changes in Screen 3.0 Patchlevel 1
  299. ==================================
  300. X
  301. screen -wipe
  302. X
  303. ^A : set vbell_msg "Wuff Wuff"
  304. X
  305. Thousand enhancements: help resizible, copy'n'paste in main
  306. X  socket loop, and no more '\0' hackin'. :WS=\E8;%d;%dt:
  307. X
  308. screen can now resize windows under sunview.
  309. X
  310. ^A : set crlf on|off
  311. X  effects markroutine join.
  312. X
  313. screen learned about sized windows under X
  314. X
  315. screen -ls (-d) -q
  316. X  quiet option. We count the number of detached (attached) sessions and set
  317. X  a return value of 10+n. The -q option inhibits all startup
  318. X  warnings/messages. i.e. screen -R -q may return with code 12 or higher
  319. X  or start a new/old session.
  320. X
  321. pow_detach_msg "text string"
  322. X  new command, allows messages, terminal reset, etc. on logout caused
  323. X  by pow_detach.
  324. X
  325. ^A : learned a new keyword "set":
  326. X  commands like "login on" , "vbell off", ... affect the default for
  327. X  windows to be created. But commands like "set login off" affect
  328. X  the actual setting of this window. and not the default.
  329. X  such commands may be bound to keys. example: 
  330. X  bind 'O' set login off
  331. X  is valid in your .screenrc as well as typed at the ':' prompt.
  332. X  a bonus is ":set all" which is synonym to ":help".
  333. X  At the Colon prompt also KeyNames can be entered, alothough that makes
  334. X  not always sense.
  335. X
  336. ^A x uses a builtin lockprg, if 
  337. X  a) we don't find our lockprg, or
  338. X  b) user supplies us with the environmet variable LOCKPRG set to "builtin"
  339. X  the builtin locks until your login password is typed. on systems using
  340. X  "shadow password files" you are prompted for a password.
  341. X
  342. markroutine can append joined.
  343. X
  344. screen removes the "controlling tty" from utmp while ptys are attached.
  345. X
  346. markroutine performs CR+NL when '\n' is pressed
  347. X
  348. screen may die quietly, when no TERMCAP entry for "screen" is
  349. found, and screen is run under X-windows
  350. X
  351. _SEQUENT_ marks sequent386_ptx
  352. X
  353. screen runs now under SunOS4.1.1 (we need setsid()!).
  354. X
  355. bug in SetForeWindow fixed.
  356. X
  357. rare markroutine bug fixed.
  358. X
  359. we dont open every file the attacher tells us.
  360. X
  361. we have now our wonderful "Wuff, Wuff" visual_bell
  362. X
  363. we have now the interprocess-communication-buffer. secure version.
  364. X
  365. '^A =' removes the interprocess-communication-buffer.
  366. X
  367. markroutine as in 2.1
  368. X
  369. markroutine: 'a' toggles append mode,
  370. X             '>' like ' ', but immediately WriteFile(DUMP_EXCHANGE) then.
  371. X             'A' like ' ', but first switch to append mode.
  372. X
  373. .screenrc understands "screen 2:faui09 rlogin faui09 -l jnweiger"
  374. X                  and "password none"
  375. X                  and "vbell [on|off]"
  376. X
  377. '^A :' allows .screenrc commands "online".
  378. X
  379. screen now receives new $TERM from attacher, when it is reattached 
  380. X
  381. MakeClientSocket() fifo version does now test for access.
  382. X
  383. .screenrc learns "hardstatus {on|off}"
  384. X
  385. termcap's VB is used for vbell if available.
  386. X
  387. Attach() code rewritten:
  388. X    screen now lists socket directory, if it does not find a suitable socket
  389. X    screen -d [host.tty] detaches a running screen. 
  390. X
  391. screen -[ls|list]
  392. X    list all sockets that we find in our sockdir
  393. X
  394. when the socket has been removed, send a SIGCHLD to the poor SCREEN 
  395. process and it will try to recover. then try a 'screen -r' again.
  396. all the socket stuff lives now in an extra file.
  397. X
  398. Major changes in version 2.4:
  399. =============================
  400. X
  401. *  Test version that presents the erlangen extensions from 2.0 in a 2.3
  402. X   screen.
  403. X
  404. *  window resize support
  405. X
  406. *  screen locking C-a x
  407. X
  408. *  support for SYSV
  409. X
  410. *  password protection
  411. X
  412. *  copy & paste across screens
  413. X
  414. *  remote detach and power detach
  415. X
  416. Major changes in version 2.3:
  417. X
  418. *  Terminal emulation has been significantly enhanced and bugfixed.
  419. X
  420. *  We now fully update the last character on the screen for true auto-
  421. X   margin terminals, though there may be some delay before the character
  422. X   can be safely added to the screen.  If your terminal has character
  423. X   insert it will be used to shorten the delay.
  424. X
  425. *  Added the "termcap" .screenrc command to tweak your terminal's termcap
  426. X   entry AND to customize the termcap generated for the virtual terminals.
  427. X   See also the -L and -O command-line options, and the SCREENCAP environ-
  428. X   ment variable.
  429. X
  430. *  Fixed screen's character handling when detached or suspended to NOT block
  431. X   the child processes in their windows -- output continues to be processed
  432. X   in the background.
  433. X
  434. *  Added a.k.a.s (window-name aliases) that allow you to customize the
  435. X   window-information line, including being able to change the name on-
  436. X   the-fly to reflect what's currently running in the window (see the
  437. X   -k option, shellaka command, and ALSO KNOWN AS discussion in the doc).
  438. X
  439. *  Added the ability to log the output of a window to a file (see the
  440. X   "C-a H" (log) command).
  441. X
  442. *  Flow-control can now be set for each window and switched interactively
  443. X   (see the "flow" command, -f option, and FLOW CONTROL discussion).
  444. X
  445. *  Individual windows can be included or excluded from mention in the
  446. X   /etc/utmp file (see the "login" command and -l option).
  447. X
  448. *  Added an activity monitor, which allows you to have a window watched for
  449. X   the start of any output and alert you when it occurs (see the "C-a M"
  450. X   (monitor) command).
  451. X
  452. *  Enhanced the information in the window-information line to keep track of
  453. X   windows that have: logging turned on '(L)'; beeped in the background '!';
  454. X   became active while being monitored '@' (see the "C-a w" (windows) command).
  455. X
  456. *  Added an on-line help display that lists all the commands and their
  457. X   key bindings (see the "C-a ?" (help) command).
  458. X
  459. *  Extended handling of the beep message (and also the new activity message)
  460. X   to allow '~' to specify a literal beep (see the "beep" and "activity"
  461. X   .screenrc commands).
  462. X
  463. *  You can now set the default action on receipt of a hangup signal:  detach
  464. X   or terminate (see the "autodetach" .screenrc command).
  465. X
  466. *  Routing of characters to their virtual terminals has been enhanced to
  467. X   not drop characters nor (in rare circumstances) hang up screen.
  468. X
  469. *  The NFS compatibility has been enhanced.
  470. X
  471. Major changes in version 2.0a:
  472. X
  473. *  Screen allows you to `detach' the "screen" session from the physical
  474. X   terminal and resume it at a later point in time (possibly on a
  475. X   different terminal or in a different login session).
  476. X
  477. X  To get an impression of this functionality do the following:
  478. X
  479. X     - call "screen" and create a couple of windows
  480. X     - type Control-A Control-D (screen terminates; you are back
  481. X       in the shell)
  482. X     - call "screen -r" to resume the detached screen
  483. X
  484. *  Screen supports multiple character sets and the ISO 2022 control
  485. X   functions to designate and switch between character sets.
  486. X   This allows you, for instance, to make use of the VT100 graphics
  487. X   character set or national character sets.
  488. SHAR_EOF
  489. chmod 0444 screen3.2/CHANGES ||
  490. echo 'restore of screen3.2/CHANGES failed'
  491. Wc_c="`wc -c < 'screen3.2/CHANGES'`"
  492. test 9292 -eq "$Wc_c" ||
  493.     echo 'screen3.2/CHANGES: original size 9292, current size' "$Wc_c"
  494. rm -f _shar_wnt_.tmp
  495. fi
  496. # ============= screen3.2/COPYING ==============
  497. if test -f 'screen3.2/COPYING' -a X"$1" != X"-c"; then
  498.     echo 'x - skipping screen3.2/COPYING (File already exists)'
  499.     rm -f _shar_wnt_.tmp
  500. else
  501. > _shar_wnt_.tmp
  502. echo 'x - extracting screen3.2/COPYING (Text)'
  503. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/COPYING' &&
  504. X            GNU GENERAL PUBLIC LICENSE
  505. X             Version 1, February 1989
  506. X
  507. X Copyright (C) 1989 Free Software Foundation, Inc.
  508. X                    675 Mass Ave, Cambridge, MA 02139, USA
  509. X Everyone is permitted to copy and distribute verbatim copies
  510. X of this license document, but changing it is not allowed.
  511. X
  512. X                Preamble
  513. X
  514. X  The license agreements of most software companies try to keep users
  515. at the mercy of those companies.  By contrast, our General Public
  516. License is intended to guarantee your freedom to share and change free
  517. software--to make sure the software is free for all its users.  The
  518. General Public License applies to the Free Software Foundation's
  519. software and to any other program whose authors commit to using it.
  520. You can use it for your programs, too.
  521. X
  522. X  When we speak of free software, we are referring to freedom, not
  523. price.  Specifically, the General Public License is designed to make
  524. sure that you have the freedom to give away or sell copies of free
  525. software, that you receive source code or can get it if you want it,
  526. that you can change the software or use pieces of it in new free
  527. programs; and that you know you can do these things.
  528. X
  529. X  To protect your rights, we need to make restrictions that forbid
  530. anyone to deny you these rights or to ask you to surrender the rights.
  531. These restrictions translate to certain responsibilities for you if you
  532. distribute copies of the software, or if you modify it.
  533. X
  534. X  For example, if you distribute copies of a such a program, whether
  535. gratis or for a fee, you must give the recipients all the rights that
  536. you have.  You must make sure that they, too, receive or can get the
  537. source code.  And you must tell them their rights.
  538. X
  539. X  We protect your rights with two steps: (1) copyright the software, and
  540. (2) offer you this license which gives you legal permission to copy,
  541. distribute and/or modify the software.
  542. X
  543. X  Also, for each author's protection and ours, we want to make certain
  544. that everyone understands that there is no warranty for this free
  545. software.  If the software is modified by someone else and passed on, we
  546. want its recipients to know that what they have is not the original, so
  547. that any problems introduced by others will not reflect on the original
  548. authors' reputations.
  549. X
  550. X  The precise terms and conditions for copying, distribution and
  551. modification follow.
  552. X
  553. X            GNU GENERAL PUBLIC LICENSE
  554. X   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  555. X
  556. X  0. This License Agreement applies to any program or other work which
  557. contains a notice placed by the copyright holder saying it may be
  558. distributed under the terms of this General Public License.  The
  559. "Program", below, refers to any such program or work, and a "work based
  560. on the Program" means either the Program or any work containing the
  561. Program or a portion of it, either verbatim or with modifications.  Each
  562. licensee is addressed as "you".
  563. X
  564. X  1. You may copy and distribute verbatim copies of the Program's source
  565. code as you receive it, in any medium, provided that you conspicuously and
  566. appropriately publish on each copy an appropriate copyright notice and
  567. disclaimer of warranty; keep intact all the notices that refer to this
  568. General Public License and to the absence of any warranty; and give any
  569. other recipients of the Program a copy of this General Public License
  570. along with the Program.  You may charge a fee for the physical act of
  571. transferring a copy.
  572. X
  573. X  2. You may modify your copy or copies of the Program or any portion of
  574. it, and copy and distribute such modifications under the terms of Paragraph
  575. 1 above, provided that you also do the following:
  576. X
  577. X    a) cause the modified files to carry prominent notices stating that
  578. X    you changed the files and the date of any change; and
  579. X
  580. X    b) cause the whole of any work that you distribute or publish, that
  581. X    in whole or in part contains the Program or any part thereof, either
  582. X    with or without modifications, to be licensed at no charge to all
  583. X    third parties under the terms of this General Public License (except
  584. X    that you may choose to grant warranty protection to some or all
  585. X    third parties, at your option).
  586. X
  587. X    c) If the modified program normally reads commands interactively when
  588. X    run, you must cause it, when started running for such interactive use
  589. X    in the simplest and most usual way, to print or display an
  590. X    announcement including an appropriate copyright notice and a notice
  591. X    that there is no warranty (or else, saying that you provide a
  592. X    warranty) and that users may redistribute the program under these
  593. X    conditions, and telling the user how to view a copy of this General
  594. X    Public License.
  595. X
  596. X    d) You may charge a fee for the physical act of transferring a
  597. X    copy, and you may at your option offer warranty protection in
  598. X    exchange for a fee.
  599. X
  600. Mere aggregation of another independent work with the Program (or its
  601. derivative) on a volume of a storage or distribution medium does not bring
  602. the other work under the scope of these terms.
  603. X
  604. X  3. You may copy and distribute the Program (or a portion or derivative of
  605. it, under Paragraph 2) in object code or executable form under the terms of
  606. Paragraphs 1 and 2 above provided that you also do one of the following:
  607. X
  608. X    a) accompany it with the complete corresponding machine-readable
  609. X    source code, which must be distributed under the terms of
  610. X    Paragraphs 1 and 2 above; or,
  611. X
  612. X    b) accompany it with a written offer, valid for at least three
  613. X    years, to give any third party free (except for a nominal charge
  614. X    for the cost of distribution) a complete machine-readable copy of the
  615. X    corresponding source code, to be distributed under the terms of
  616. X    Paragraphs 1 and 2 above; or,
  617. X
  618. X    c) accompany it with the information you received as to where the
  619. X    corresponding source code may be obtained.  (This alternative is
  620. X    allowed only for noncommercial distribution and only if you
  621. X    received the program in object code or executable form alone.)
  622. X
  623. Source code for a work means the preferred form of the work for making
  624. modifications to it.  For an executable file, complete source code means
  625. all the source code for all modules it contains; but, as a special
  626. exception, it need not include source code for modules which are standard
  627. libraries that accompany the operating system on which the executable
  628. file runs, or for standard header files or definitions files that
  629. accompany that operating system.
  630. X
  631. X  4. You may not copy, modify, sublicense, distribute or transfer the
  632. Program except as expressly provided under this General Public License.
  633. Any attempt otherwise to copy, modify, sublicense, distribute or transfer
  634. the Program is void, and will automatically terminate your rights to use
  635. the Program under this License.  However, parties who have received
  636. copies, or rights to use copies, from you under this General Public
  637. License will not have their licenses terminated so long as such parties
  638. remain in full compliance.
  639. X
  640. X  5. By copying, distributing or modifying the Program (or any work based
  641. on the Program) you indicate your acceptance of this license to do so,
  642. and all its terms and conditions.
  643. X
  644. X  6. Each time you redistribute the Program (or any work based on the
  645. Program), the recipient automatically receives a license from the original
  646. licensor to copy, distribute or modify the Program subject to these
  647. terms and conditions.  You may not impose any further restrictions on the
  648. recipients' exercise of the rights granted herein.
  649. X
  650. X  7. The Free Software Foundation may publish revised and/or new versions
  651. of the General Public License from time to time.  Such new versions will
  652. be similar in spirit to the present version, but may differ in detail to
  653. address new problems or concerns.
  654. X
  655. Each version is given a distinguishing version number.  If the Program
  656. specifies a version number of the license which applies to it and "any
  657. later version", you have the option of following the terms and conditions
  658. either of that version or of any later version published by the Free
  659. Software Foundation.  If the Program does not specify a version number of
  660. the license, you may choose any version ever published by the Free Software
  661. Foundation.
  662. X
  663. X  8. If you wish to incorporate parts of the Program into other free
  664. programs whose distribution conditions are different, write to the author
  665. to ask for permission.  For software which is copyrighted by the Free
  666. Software Foundation, write to the Free Software Foundation; we sometimes
  667. make exceptions for this.  Our decision will be guided by the two goals
  668. of preserving the free status of all derivatives of our free software and
  669. of promoting the sharing and reuse of software generally.
  670. X
  671. X                NO WARRANTY
  672. X
  673. X  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
  674. FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
  675. OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
  676. PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
  677. OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  678. MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
  679. TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
  680. PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
  681. REPAIR OR CORRECTION.
  682. X
  683. X  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
  684. WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
  685. REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
  686. INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
  687. OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
  688. TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
  689. YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
  690. PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
  691. POSSIBILITY OF SUCH DAMAGES.
  692. X
  693. X             END OF TERMS AND CONDITIONS
  694. SHAR_EOF
  695. chmod 0644 screen3.2/COPYING ||
  696. echo 'restore of screen3.2/COPYING failed'
  697. Wc_c="`wc -c < 'screen3.2/COPYING'`"
  698. test 9934 -eq "$Wc_c" ||
  699.     echo 'screen3.2/COPYING: original size 9934, current size' "$Wc_c"
  700. rm -f _shar_wnt_.tmp
  701. fi
  702. # ============= screen3.2/poster ==============
  703. if test -f 'screen3.2/poster' -a X"$1" != X"-c"; then
  704.     echo 'x - skipping screen3.2/poster (File already exists)'
  705.     rm -f _shar_wnt_.tmp
  706. else
  707. > _shar_wnt_.tmp
  708. echo 'x - extracting screen3.2/poster (Text)'
  709. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/poster' &&
  710. This is iScreen version 3.2. It is an upgrade to version 3.1.1 that was posted
  711. in dec 91 to comp.sources.unix. 
  712. Versions 3.1.x of iScreen are potential security riscs under SunOS 4.1.1. These
  713. versions fail to detach or terminate the session when the modem line hangs up.
  714. Anyone using telnet or rlogin could (unwillingly) connect to such a session.
  715. X
  716. iScreen users on SunOS 4.1.1 please do upgrade to version 3.2! 
  717. X
  718. Although fixing the bug described above was the main reason for this posting,
  719. there are numerous other fixes/enhancements:
  720. X
  721. X    * support for NeXT, Apollo, Ultrix, SVR4, SCO, ISC, SGI, bsd386, ...
  722. X      added or enhanced. 
  723. X    
  724. X    * the "dead CTRL-O key" bug is fixed.
  725. X    
  726. X    * flow control has been redesigned.
  727. X    
  728. X    * I/O is no longer stripped to 7 bit.
  729. X    
  730. X    * new commands "hardcopy_append on", "bufferfile /tmp/myown", 
  731. X      "(set) refresh off".
  732. X      
  733. X    * redesign of interrupt passing. The use of "screen -i" is now 
  734. X      encouraged.
  735. X    
  736. X    * overall code cleanup.
  737. X    
  738. The complete distribution of iScreen 3.2 is available via ftp from:
  739. X
  740. X   ftp.uni-erlangen.de[131.188.1.43]:portal/utilities/screen/screen32.tar.Z
  741. X   
  742. For a brief introduction and a short summary of essential commands
  743. refer to the files "readme" and "README".
  744. X   
  745. I wish to thank all contributors for requesting features or sending patches.
  746. Special thanks to Marc Boucher who tested and patched iScreen on numerous
  747. platforms.
  748. X
  749. juergen.
  750. SHAR_EOF
  751. chmod 0664 screen3.2/poster ||
  752. echo 'restore of screen3.2/poster failed'
  753. Wc_c="`wc -c < 'screen3.2/poster'`"
  754. test 1389 -eq "$Wc_c" ||
  755.     echo 'screen3.2/poster: original size 1389, current size' "$Wc_c"
  756. rm -f _shar_wnt_.tmp
  757. fi
  758. # ============= screen3.2/config/config.all ==============
  759. if test ! -d 'screen3.2/config'; then
  760.     echo 'x - creating directory screen3.2/config'
  761.     mkdir 'screen3.2/config'
  762. fi
  763. if test -f 'screen3.2/config/config.all' -a X"$1" != X"-c"; then
  764.     echo 'x - skipping screen3.2/config/config.all (File already exists)'
  765.     rm -f _shar_wnt_.tmp
  766. else
  767. > _shar_wnt_.tmp
  768. echo 'x - extracting screen3.2/config/config.all (Text)'
  769. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.all' &&
  770. /* Copyright (c) 1991
  771. X *      Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
  772. X *      Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
  773. X * Copyright (c) 1987 Oliver Laumann
  774. X *
  775. X * This program is free software; you can redistribute it and/or modify
  776. X * it under the terms of the GNU General Public License as published by
  777. X * the Free Software Foundation; either version 1, or (at your option)
  778. X * any later version.
  779. X *
  780. X * This program is distributed in the hope that it will be useful,
  781. X * but WITHOUT ANY WARRANTY; without even the implied warranty of
  782. X * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  783. X * GNU General Public License for more details.
  784. X *
  785. X * You should have received a copy of the GNU General Public License
  786. X * along with this program (see the file COPYING); if not, write to the
  787. X * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  788. X *
  789. X * Noteworthy contributors to screen's design and implementation:
  790. X *    Wayne Davison (davison@borland.com)
  791. X *    Patrick Wolfe (pat@kai.com, kailand!pat)
  792. X *    Bart Schaefer (schaefer@cse.ogi.edu)
  793. X *    Nathan Glasser (nathan@brokaw.lcs.mit.edu)
  794. X *    Larry W. Virden (lwv27%cas.BITNET@CUNYVM.CUNY.Edu)
  795. X *    Howard Chu (hyc@hanauma.jpl.nasa.gov)
  796. X *    Tim MacKenzie (tym@dibbler.cs.monash.edu.au)
  797. X *    Markku Jarvinen (mta@{cc,cs,ee}.tut.fi)
  798. X *    Marc Boucher (marc@CAM.ORG)
  799. X *
  800. X ****************************************************************
  801. X * $Id: config.all,v 1.2 92/02/03 02:30:36 jnweiger Exp $ FAU
  802. X */
  803. X
  804. X
  805. /*
  806. X *        Beginning of User Configuration Section
  807. X *
  808. X * First off, you should decide if you intend to install screen set-uid to
  809. X * root.  This isn't necessary to use screen, but it allows the pseudo-ttys
  810. X * to be set to their proper owner (for security purposes), /etc/utmp to be
  811. X * updated, and /dev/kmem to be accessed to read the load average values.
  812. X *
  813. X * An alternative to installing screen set-uid root is to install it set-gid
  814. X * utmp (with the file /etc/utmp installed to be group-utmp writable) or
  815. X * set-gid kmem (with /dev/kmem set to be group-kmem readable) or some other
  816. X * custom group to give you both.  The final alternative is to omit /etc/utmp
  817. X * updating and the /dev/kmem reading (see the following defines) and simply
  818. X * run screen as a regular program -- its major functions will be unaffected.
  819. X */
  820. X
  821. X
  822. /*
  823. X * Define POSIX if your system supports IEEE Std 1003.1-1988 (POSIX).
  824. X */
  825. #define POSIX
  826. X
  827. /*
  828. X * Define BSDJOBS if you have BSD-style job control (both process
  829. X * groups and a tty that deals correctly with them).
  830. X */
  831. #define BSDJOBS
  832. X
  833. /*
  834. X * Define TERMIO if you have struct termio instead of struct sgttyb.
  835. X * This is usually the case for SVID systems, where BSD uses sgttyb.
  836. X * POSIX systems should define this anyway, even though they use
  837. X * struct termios.
  838. X */
  839. #define TERMIO
  840. X
  841. /*
  842. X * Define TERMINFO if your machine emulates the termcap routines
  843. X * with the terminfo database.
  844. X * Thus the .screenrc file is parsed for
  845. X * the command 'terminfo' and not 'termcap'.
  846. X */
  847. #undef TERMINFO
  848. X
  849. /*
  850. X * Define SYSV if your machine is SYSV complient (Sys V, HPUX, A/UX)
  851. X */
  852. #undef SYSV
  853. X
  854. /*
  855. X * Define SIGVOID if your signal handlers return void.  On older
  856. X * systems, signal returns int, but on newer ones, it returns void.
  857. X */
  858. #define SIGVOID 
  859. X
  860. /*
  861. X * Define DIRENT if your system has <dirent.h> instead of <sys/dir.h>
  862. X */
  863. #define DIRENT
  864. X
  865. /*
  866. X * If screen is going to be installed set-uid root, you MUST define SUIDROOT.
  867. X */
  868. #define SUIDROOT
  869. X
  870. /*
  871. X * If screen is installed with permissions to update /etc/utmp (such as if
  872. X * it is installed set-uid root), define UTMPOK.  Set LOGINDEFAULT to one (1)
  873. X * if you want entries added to /etc/utmp by default, else set it to zero (0).
  874. X */
  875. #define UTMPOK
  876. #define LOGINDEFAULT    1
  877. X
  878. /*
  879. X * If your system has getutent(), pututline(), etc. to write to the
  880. X * utmp file, define GETUTENT.
  881. X */
  882. #undef GETUTENT
  883. X
  884. /*
  885. X * Define UTHOST if the utmp file has a host field.
  886. X */
  887. #define UTHOST
  888. X
  889. /*
  890. X * If UTMPOK is defined and your system (incorrectly) counts logins by
  891. X * counting non-null entries in /etc/utmp (instead of counting non-null
  892. X * entries with no hostname that are not on a pseudo tty), define USRLIMIT
  893. X * to have screen put an upper-limit on the number of entries to write
  894. X * into /etc/utmp.  This helps to keep you from exceeding a limited-user
  895. X * license.
  896. X */
  897. #undef USRLIMIT
  898. X
  899. /*
  900. X * If ttyslot() breaks getlogin() by returning indexes to utmp entries of
  901. X * type DEAD_PROCESS, then our getlogin() replacement should be selected by
  902. X * defining BUGGYGETLOGIN
  903. X */
  904. #undef BUGGYGETLOGIN
  905. X
  906. /*
  907. X * If screen is NOT installed set-uid root, screen can provide tty security
  908. X * by exclusively locking the ptys.  While this keeps other users from
  909. X * opening your ptys, it also keeps your own subprocesses from being able
  910. X * to open /dev/tty.  Define LOCKPTY to add this exclusive locking.
  911. X */
  912. #undef LOCKPTY
  913. X
  914. /*
  915. X * If your system does not have the calls setreuid() and setregid(), define
  916. X * NOREUID to force screen to use a forked process to safely create output
  917. X * files without retaining any special privileges.  (Output logging will be
  918. X * disabled, however.)
  919. X */
  920. #undef NOREUID
  921. X
  922. /*
  923. X * If you want the "time" command to display the current load average
  924. X * you must install screen with the needed privileges to read /dev/kmem
  925. X * and have a load average format that screen understands.  We handle the
  926. X * following formats:  3 doubles (BSD), 3 longs (sun), and 4 longs (alliant).
  927. X */
  928. #undef  LOADAV_3DOUBLES
  929. #define LOADAV_3LONGS
  930. #undef  LOADAV_4LONGS
  931. X
  932. /*
  933. X * If your system has the new format /etc/ttys (like 4.3 BSD) and the
  934. X * getttyent(3) library functions, define GETTTYENT.
  935. X */
  936. #undef GETTTYENT
  937. X
  938. /*
  939. X * If your version of NFS supports named sockets and you install screen
  940. X * suid root, you may need to define NFS_HACK for screen to be able to
  941. X * open the sockets.
  942. X */
  943. #undef NFS_HACK
  944. X
  945. /*
  946. X * By default screen will create a directory named ".screen" in the user's
  947. X * HOME directory to contain the named sockets.  If this causes you problems
  948. X * (e.g. some user's HOME directories are NFS-mounted and don't support
  949. X * named sockets) you can have screen create the socket directories in a
  950. X * common subdirectory, such as /tmp or /usr/tmp.  It makes things a little
  951. X * more secure if you choose a directory where the "sticky" bit is on, but
  952. X * this isn't required.  Screen will name the subdirectories "S-$USER"
  953. X * (e.g /tmp/S-davison).
  954. X * Do not define TMPTEST unless it's for debugging purpose.
  955. X * If you want to have your socket directory in "/tmp/screens" then
  956. X * define LOCALSOCKDIR and change the definition of SOCKDIR below.
  957. X */
  958. #define LOCALSOCKDIR
  959. X
  960. #ifdef LOCALSOCKDIR
  961. # ifndef TMPTEST
  962. #  define SOCKDIR "/tmp/screens"
  963. # else
  964. #  define SOCKDIR "/tmp/testscreens"
  965. # endif
  966. #endif
  967. X
  968. /*
  969. X * Define USEBCOPY if the bcopy() from your system's C library supports the
  970. X * overlapping of source and destination blocks.  When undefined, screen
  971. X * uses its own (probably slower) version of bcopy().
  972. X */
  973. #undef USEBCOPY
  974. X
  975. /*
  976. X * If you'd rather see the status line on the first line of your
  977. X * terminal rather than the last, define TOPSTAT.
  978. X */
  979. #undef TOPSTAT
  980. X
  981. /*
  982. X * If your system has vsprintf() and requires the use of the macros in
  983. X * "varargs.h" to use functions with variable arguments,
  984. X * define USEVARARGS.
  985. X */
  986. #undef USEVARARGS
  987. X
  988. /*
  989. X * Define this if your system supports named pipes.
  990. X */
  991. #define NAMEDPIPE
  992. X
  993. /*
  994. X * here come the erlangen extensions to screen:
  995. X * define LOCK if you want to use a lock program for a screenlock.
  996. X * define PASSWORD for secure reattach of your screen.
  997. X * define COPY_PASTE to use the famous hacker's treasure zoo.
  998. X * define POW_DETACH to have a detach_and_logout key.
  999. X * define REMOTE_DETACH (-d option) to move screen between terminals.
  1000. X * (jw)
  1001. X */
  1002. #define LOCK
  1003. #define PASSWORD
  1004. #define COPY_PASTE
  1005. #define REMOTE_DETACH
  1006. #define POW_DETACH
  1007. X
  1008. /*
  1009. X * As error messages are mostly meaningless to the user, we
  1010. X * try to throw out phrases that are somewhat more familiar
  1011. X * to ...well, at least familiar to us NetHack players.
  1012. X */
  1013. #define NETHACK
  1014. X
  1015. /*
  1016. X * and another sneaky feature: screen sources two startup files.
  1017. X * first a global file with a path specified here, second
  1018. X * your local $HOME/.screenrc
  1019. X * Don't define this, if you don't want it.
  1020. X */
  1021. #define ETCSCREENRC "/local/etc/screenrc"
  1022. X
  1023. /*
  1024. X * if your system does not come with a putenv()/getenv() functions, 
  1025. X * you may bring in our own code by defining NEEDSETENV *and* adding 
  1026. X * putenv.c to your Makefile.
  1027. X */
  1028. #undef NEEDSETENV
  1029. X
  1030. /*
  1031. X * If you are on a SYS V machine that restricts filename length to 14 
  1032. X * characters, you may need to enforce that by:
  1033. X *
  1034. X * #ifndef NAME_MAX
  1035. X * # define NAME_MAX 14
  1036. X * #endif
  1037. X */
  1038. X
  1039. X
  1040. /*
  1041. X *    End of User Configuration Section
  1042. X */
  1043. SHAR_EOF
  1044. chmod 0444 screen3.2/config/config.all ||
  1045. echo 'restore of screen3.2/config/config.all failed'
  1046. Wc_c="`wc -c < 'screen3.2/config/config.all'`"
  1047. test 8666 -eq "$Wc_c" ||
  1048.     echo 'screen3.2/config/config.all: original size 8666, current size' "$Wc_c"
  1049. rm -f _shar_wnt_.tmp
  1050. fi
  1051. # ============= screen3.2/config/config.apollo ==============
  1052. if test -f 'screen3.2/config/config.apollo' -a X"$1" != X"-c"; then
  1053.     echo 'x - skipping screen3.2/config/config.apollo (File already exists)'
  1054.     rm -f _shar_wnt_.tmp
  1055. else
  1056. > _shar_wnt_.tmp
  1057. echo 'x - extracting screen3.2/config/config.apollo (Text)'
  1058. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.apollo' &&
  1059. /*
  1060. X * config file by Doug Siebert (dsiebert@icaen.uiowa.edu)
  1061. X ****************************************************************
  1062. X * $Id: config.apollo,v 1.2 92/02/03 02:30:39 jnweiger Exp $ FAU
  1063. X */
  1064. X
  1065. #undef POSIX
  1066. #define BSDJOBS
  1067. #undef TERMIO
  1068. #undef TERMINFO
  1069. #undef SYSV
  1070. #define SIGVOID 
  1071. #undef DIRENT
  1072. #define SUIDROOT
  1073. #define UTMPOK
  1074. #define LOGINDEFAULT    1
  1075. #undef GETUTENT
  1076. #define UTHOST
  1077. #undef USRLIMIT
  1078. #undef LOCKPTY
  1079. #define NOREUID
  1080. #define LOADAV_3DOUBLES
  1081. #undef  LOADAV_3LONGS
  1082. #undef  LOADAV_4LONGS
  1083. #define GETTTYENT
  1084. #undef NFS_HACK
  1085. X
  1086. #define LOCALSOCKDIR
  1087. #ifdef LOCALSOCKDIR
  1088. # ifndef TMPTEST
  1089. #  define SOCKDIR "/usr/local/screens"
  1090. # else
  1091. #  define SOCKDIR "/tmp/screens"
  1092. # endif
  1093. #endif
  1094. #define USEBCOPY
  1095. #undef TOPSTAT
  1096. #define USEVARARGS
  1097. #define NAMEDPIPE
  1098. #define LOCK
  1099. #define PASSWORD
  1100. #define COPY_PASTE
  1101. #define REMOTE_DETACH
  1102. #define POW_DETACH
  1103. #define NETHACK
  1104. #define ETCSCREENRC "/usr/local/etc/screenrc"
  1105. SHAR_EOF
  1106. chmod 0444 screen3.2/config/config.apollo ||
  1107. echo 'restore of screen3.2/config/config.apollo failed'
  1108. Wc_c="`wc -c < 'screen3.2/config/config.apollo'`"
  1109. test 908 -eq "$Wc_c" ||
  1110.     echo 'screen3.2/config/config.apollo: original size 908, current size' "$Wc_c"
  1111. rm -f _shar_wnt_.tmp
  1112. fi
  1113. # ============= screen3.2/config/config.bsd386 ==============
  1114. if test -f 'screen3.2/config/config.bsd386' -a X"$1" != X"-c"; then
  1115.     echo 'x - skipping screen3.2/config/config.bsd386 (File already exists)'
  1116.     rm -f _shar_wnt_.tmp
  1117. else
  1118. > _shar_wnt_.tmp
  1119. echo 'x - extracting screen3.2/config/config.bsd386 (Text)'
  1120. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.bsd386' &&
  1121. /* from libove@libove.det.dec.com (Jay Vassos-Libove)
  1122. X ****************************************************************
  1123. X * $Id: config.bsd386,v 1.2 92/02/03 02:30:42 jnweiger Exp $ FAU
  1124. X */
  1125. #define POSIX
  1126. #define BSDJOBS
  1127. #define TERMIO
  1128. #undef TERMINFO
  1129. #undef SYSV
  1130. #define SIGVOID 
  1131. #define DIRENT
  1132. #define SUIDROOT
  1133. #define UTMPOK
  1134. #define LOGINDEFAULT    1
  1135. #undef GETUTENT
  1136. #define UTHOST
  1137. #undef USRLIMIT
  1138. #undef LOCKPTY
  1139. #undef NOREUID
  1140. #define  LOADAV_3DOUBLES
  1141. #undef LOADAV_3LONGS
  1142. #undef  LOADAV_4LONGS
  1143. #define GETTTYENT
  1144. #undef NFS_HACK
  1145. #undef LOCALSOCKDIR
  1146. #ifdef LOCALSOCKDIR
  1147. # ifndef TMPTEST
  1148. #  define SOCKDIR "/tmp/screens"
  1149. # else
  1150. #  define SOCKDIR "/tmp/testscreens"
  1151. # endif
  1152. #endif
  1153. #define USEBCOPY
  1154. #undef TOPSTAT
  1155. #define USEVARARGS
  1156. #undef NAMEDPIPE
  1157. #define LOCK
  1158. #define PASSWORD
  1159. #define COPY_PASTE
  1160. #define REMOTE_DETACH
  1161. #define POW_DETACH
  1162. #define NETHACK
  1163. #define ETCSCREENRC "/usr/local/etc/screenrc"
  1164. X
  1165. /* These get seen in screen.h, extern.h and other places to avoid conflicts
  1166. X * with the definitions and declarations in /usr/include/...
  1167. X * on BSD/386 from BSD, Inc.
  1168. X */
  1169. #define SIG_T_DEFINED
  1170. #define PID_T_DEFINED
  1171. #define MEMFUNCS_DECLARED
  1172. #define WAITSTUFF_DECLARED
  1173. #define KILLSTUFF_DECLARED
  1174. #define REUID_DECLARED
  1175. #define CRYPT_DECLARED
  1176. #define MKNOD_DECLARED
  1177. #define PUTENV_DECLARED
  1178. #define SETPGID_DECLARED
  1179. #define GETHOSTNAME_DECLARED
  1180. #define VPRNT_DECLARED
  1181. #define NLIST_DECLARED
  1182. SHAR_EOF
  1183. chmod 0444 screen3.2/config/config.bsd386 ||
  1184. echo 'restore of screen3.2/config/config.bsd386 failed'
  1185. Wc_c="`wc -c < 'screen3.2/config/config.bsd386'`"
  1186. test 1385 -eq "$Wc_c" ||
  1187.     echo 'screen3.2/config/config.bsd386: original size 1385, current size' "$Wc_c"
  1188. rm -f _shar_wnt_.tmp
  1189. fi
  1190. # ============= screen3.2/config/config.gould_np1 ==============
  1191. if test -f 'screen3.2/config/config.gould_np1' -a X"$1" != X"-c"; then
  1192.     echo 'x - skipping screen3.2/config/config.gould_np1 (File already exists)'
  1193.     rm -f _shar_wnt_.tmp
  1194. else
  1195. > _shar_wnt_.tmp
  1196. echo 'x - extracting screen3.2/config/config.gould_np1 (Text)'
  1197. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.gould_np1' &&
  1198. /*
  1199. X * config file by Chris Fletcher <ma8caf@uk.ac.bath.gdt>
  1200. X * The config file has been set up without the set uid and writing to
  1201. X * /etc/utmp options.
  1202. X ****************************************************************
  1203. X * $Id: config.gould_np1,v 1.2 92/02/03 02:30:45 jnweiger Exp $ FAU
  1204. X */
  1205. X
  1206. #undef POSIX
  1207. #define BSDJOBS
  1208. #undef TERMIO
  1209. #undef TERMINFO
  1210. #undef SYSV
  1211. #undef SIGVOID 
  1212. #undef DIRENT
  1213. #undef SUIDROOT
  1214. #undef UTMPOK
  1215. #define LOGINDEFAULT    0
  1216. #undef GETUTENT
  1217. #define UTHOST
  1218. #undef USRLIMIT
  1219. #undef LOCKPTY
  1220. #undef NOREUID
  1221. #define  LOADAV_3DOUBLES
  1222. #undef LOADAV_3LONGS
  1223. #undef  LOADAV_4LONGS
  1224. #define GETTTYENT
  1225. #undef NFS_HACK
  1226. #undef LOCALSOCKDIR
  1227. X
  1228. #ifdef LOCALSOCKDIR
  1229. # ifndef TMPTEST
  1230. #  define SOCKDIR "/local/screens"
  1231. # else
  1232. #  define SOCKDIR "/tmp/screens"
  1233. # endif
  1234. #endif
  1235. #define USEBCOPY
  1236. #undef TOPSTAT
  1237. #undef USEVARARGS
  1238. #undef NAMEDPIPE
  1239. #define LOCK
  1240. #define PASSWORD
  1241. #define COPY_PASTE
  1242. #define REMOTE_DETACH
  1243. #define POW_DETACH
  1244. #define NETHACK
  1245. #undef ETCSCREENRC "/local/etc/screenrc"
  1246. SHAR_EOF
  1247. chmod 0444 screen3.2/config/config.gould_np1 ||
  1248. echo 'restore of screen3.2/config/config.gould_np1 failed'
  1249. Wc_c="`wc -c < 'screen3.2/config/config.gould_np1'`"
  1250. test 986 -eq "$Wc_c" ||
  1251.     echo 'screen3.2/config/config.gould_np1: original size 986, current size' "$Wc_c"
  1252. rm -f _shar_wnt_.tmp
  1253. fi
  1254. # ============= screen3.2/config/config.hpux ==============
  1255. if test -f 'screen3.2/config/config.hpux' -a X"$1" != X"-c"; then
  1256.     echo 'x - skipping screen3.2/config/config.hpux (File already exists)'
  1257.     rm -f _shar_wnt_.tmp
  1258. else
  1259. > _shar_wnt_.tmp
  1260. echo 'x - extracting screen3.2/config/config.hpux (Text)'
  1261. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.hpux' &&
  1262. /*
  1263. X ****************************************************************
  1264. X * $Id: config.hpux,v 1.2 92/02/03 02:30:48 jnweiger Exp $ FAU
  1265. X */
  1266. #define POSIX
  1267. #define BSDJOBS
  1268. #define TERMIO
  1269. #define TERMINFO
  1270. #define SYSV
  1271. #define SIGVOID 
  1272. #define DIRENT
  1273. #define SUIDROOT
  1274. #define UTMPOK
  1275. #define LOGINDEFAULT    1
  1276. #define GETUTENT
  1277. #define UTHOST
  1278. #undef USRLIMIT
  1279. #undef LOCKPTY
  1280. #undef NOREUID
  1281. #define LOADAV_3DOUBLES
  1282. #undef  LOADAV_3LONGS
  1283. #undef  LOADAV_4LONGS
  1284. #undef GETTTYENT
  1285. #undef NFS_HACK
  1286. #define LOCALSOCKDIR
  1287. X
  1288. #ifdef LOCALSOCKDIR
  1289. # ifndef TMPTEST
  1290. #  define SOCKDIR "/local/screens"
  1291. # else
  1292. #  define SOCKDIR "/tmp/screens"
  1293. # endif
  1294. #endif
  1295. X
  1296. #undef USEBCOPY
  1297. #undef TOPSTAT
  1298. #undef USEVARARGS
  1299. #undef NAMEDPIPE
  1300. #define LOCK
  1301. #define PASSWORD
  1302. #define COPY_PASTE
  1303. #define REMOTE_DETACH
  1304. #define POW_DETACH
  1305. #define NETHACK
  1306. #define ETCSCREENRC "/local/etc/screenrc"
  1307. SHAR_EOF
  1308. chmod 0444 screen3.2/config/config.hpux ||
  1309. echo 'restore of screen3.2/config/config.hpux failed'
  1310. Wc_c="`wc -c < 'screen3.2/config/config.hpux'`"
  1311. test 841 -eq "$Wc_c" ||
  1312.     echo 'screen3.2/config/config.hpux: original size 841, current size' "$Wc_c"
  1313. rm -f _shar_wnt_.tmp
  1314. fi
  1315. # ============= screen3.2/config/config.isc ==============
  1316. if test -f 'screen3.2/config/config.isc' -a X"$1" != X"-c"; then
  1317.     echo 'x - skipping screen3.2/config/config.isc (File already exists)'
  1318.     rm -f _shar_wnt_.tmp
  1319. else
  1320. > _shar_wnt_.tmp
  1321. echo 'x - extracting screen3.2/config/config.isc (Text)'
  1322. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.isc' &&
  1323. /*
  1324. X * This file is by Allen D. Ball (ball@witchcraft.com)
  1325. X * It was done for Interactive's System V3.2 (2.2). Thanx.
  1326. X *
  1327. X ********************************************************** 
  1328. X * $Id: config.isc,v 1.2 92/02/03 02:30:51 jnweiger Exp $ FAU
  1329. X */
  1330. #define POSIX
  1331. #define BSDJOBS
  1332. #define TERMIO
  1333. #define TERMINFO
  1334. #define SYSV
  1335. #define SIGVOID 
  1336. #define DIRENT
  1337. #define SUIDROOT
  1338. #define UTMPOK
  1339. #define LOGINDEFAULT    1
  1340. #define GETUTENT
  1341. #undef UTHOST
  1342. #undef USRLIMIT
  1343. #undef LOCKPTY
  1344. #define NOREUID
  1345. #undef  LOADAV_3DOUBLES
  1346. #define  LOADAV_3LONGS
  1347. #undef  LOADAV_4LONGS
  1348. #undef GETTTYENT
  1349. #undef NFS_HACK
  1350. #define LOCALSOCKDIR
  1351. X
  1352. #ifdef LOCALSOCKDIR
  1353. # ifndef TMPTEST
  1354. #  define SOCKDIR "/tmp/screens"
  1355. # else
  1356. #  define SOCKDIR "/tmp/testscreens"
  1357. # endif
  1358. #endif
  1359. #undef USEBCOPY
  1360. #undef TOPSTAT
  1361. #undef USEVARARGS
  1362. #define NAMEDPIPE
  1363. #define LOCK
  1364. #define PASSWORD
  1365. #define COPY_PASTE
  1366. #define REMOTE_DETACH
  1367. #define POW_DETACH
  1368. #define NETHACK 
  1369. #define ETCSCREENRC "/usr/local/etc/screenrc"
  1370. X
  1371. X
  1372. /* These get seen in screen.h, extern.h and other places to avoid conflicts
  1373. X * with the definitions and declarations in /usr/include/...
  1374. X * on BSD/386 from BSD, Inc.
  1375. X */
  1376. #define SETPGID_DECLARED
  1377. #ifdef _POSIX_SOURCE
  1378. # define KILLSTUFF_DECLARED
  1379. #endif
  1380. SHAR_EOF
  1381. chmod 0444 screen3.2/config/config.isc ||
  1382. echo 'restore of screen3.2/config/config.isc failed'
  1383. Wc_c="`wc -c < 'screen3.2/config/config.isc'`"
  1384. test 1213 -eq "$Wc_c" ||
  1385.     echo 'screen3.2/config/config.isc: original size 1213, current size' "$Wc_c"
  1386. rm -f _shar_wnt_.tmp
  1387. fi
  1388. # ============= screen3.2/config/config.mips ==============
  1389. if test -f 'screen3.2/config/config.mips' -a X"$1" != X"-c"; then
  1390.     echo 'x - skipping screen3.2/config/config.mips (File already exists)'
  1391.     rm -f _shar_wnt_.tmp
  1392. else
  1393. > _shar_wnt_.tmp
  1394. echo 'x - extracting screen3.2/config/config.mips (Text)'
  1395. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.mips' &&
  1396. /*
  1397. X * This file is by  Markku J{rvinen (mta@cc.tut.fi). It was done for a
  1398. X * MIPS RC6280 running RiscOS 4.52. 
  1399. X *
  1400. X ********************************************************** 
  1401. X * $Id: config.mips,v 1.2 92/02/03 02:30:53 jnweiger Exp $ FAU
  1402. X */
  1403. #undef  POSIX
  1404. #define BSDJOBS
  1405. #undef  TERMIO
  1406. #undef TERMINFO
  1407. #undef SYSV
  1408. #undef  SIGVOID 
  1409. #undef  DIRENT
  1410. #define SUIDROOT
  1411. #define UTMPOK
  1412. #define LOGINDEFAULT    0
  1413. #undef GETUTENT
  1414. #undef  UTHOST
  1415. #undef USRLIMIT
  1416. #undef LOCKPTY
  1417. #undef NOREUID
  1418. #undef  LOADAV_3DOUBLES
  1419. #define LOADAV_3LONGS
  1420. #undef  LOADAV_4LONGS
  1421. #undef GETTTYENT
  1422. #undef NFS_HACK
  1423. #undef  LOCALSOCKDIR
  1424. X
  1425. #ifdef LOCALSOCKDIR
  1426. # ifndef TMPTEST
  1427. #  define SOCKDIR "/tmp/screens"
  1428. # else
  1429. #  define SOCKDIR "/tmp/testscreens"
  1430. # endif
  1431. #endif
  1432. #undef USEBCOPY
  1433. #undef TOPSTAT
  1434. #undef USEVARARGS
  1435. #define NAMEDPIPE
  1436. #define LOCK
  1437. #define PASSWORD
  1438. #define COPY_PASTE
  1439. #define REMOTE_DETACH
  1440. #define POW_DETACH
  1441. #define NETHACK
  1442. #define ETCSCREENRC "/etc/screenrc"
  1443. SHAR_EOF
  1444. chmod 0444 screen3.2/config/config.mips ||
  1445. echo 'restore of screen3.2/config/config.mips failed'
  1446. Wc_c="`wc -c < 'screen3.2/config/config.mips'`"
  1447. test 940 -eq "$Wc_c" ||
  1448.     echo 'screen3.2/config/config.mips: original size 940, current size' "$Wc_c"
  1449. rm -f _shar_wnt_.tmp
  1450. fi
  1451. # ============= screen3.2/config/config.mot88 ==============
  1452. if test -f 'screen3.2/config/config.mot88' -a X"$1" != X"-c"; then
  1453.     echo 'x - skipping screen3.2/config/config.mot88 (File already exists)'
  1454.     rm -f _shar_wnt_.tmp
  1455. else
  1456. > _shar_wnt_.tmp
  1457. echo 'x - extracting screen3.2/config/config.mot88 (Text)'
  1458. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.mot88' &&
  1459. /* Copyright (c) 1991
  1460. X *      Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
  1461. X *      Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
  1462. X *
  1463. X ****************************************************************
  1464. X * $Id: config.mot88,v 1.2 92/02/03 02:30:56 jnweiger Exp $ FAU
  1465. X */
  1466. #define POSIX
  1467. #define BSDJOBS
  1468. #define TERMIO
  1469. #define TERMINFO
  1470. #define SYSV
  1471. #define SIGVOID 
  1472. #define DIRENT
  1473. #define SUIDROOT
  1474. #undef UTMPOK
  1475. #define LOGINDEFAULT    1
  1476. #define GETUTENT
  1477. #undef UTHOST
  1478. #undef USRLIMIT
  1479. #undef LOCKPTY
  1480. #define NOREUID
  1481. #define  LOADAV_3DOUBLES
  1482. #undef LOADAV_3LONGS
  1483. #undef  LOADAV_4LONGS
  1484. #undef GETTTYENT
  1485. #undef NFS_HACK
  1486. #define LOCALSOCKDIR
  1487. X
  1488. #ifdef LOCALSOCKDIR
  1489. # ifndef TMPTEST
  1490. #  define SOCKDIR "/local/screens"
  1491. # else
  1492. #  define SOCKDIR "/tmp/screens"
  1493. # endif
  1494. #endif
  1495. #undef USEBCOPY
  1496. #undef TOPSTAT
  1497. #undef USEVARARGS
  1498. #undef NAMEDPIPE /* it should work with sockets too, ... */
  1499. #define LOCK
  1500. #define PASSWORD
  1501. #define COPY_PASTE
  1502. #define REMOTE_DETACH
  1503. #define POW_DETACH
  1504. #undef NETHACK 
  1505. #define ETCSCREENRC "/local/etc/screenrc"
  1506. SHAR_EOF
  1507. chmod 0444 screen3.2/config/config.mot88 ||
  1508. echo 'restore of screen3.2/config/config.mot88 failed'
  1509. Wc_c="`wc -c < 'screen3.2/config/config.mot88'`"
  1510. test 1043 -eq "$Wc_c" ||
  1511.     echo 'screen3.2/config/config.mot88: original size 1043, current size' "$Wc_c"
  1512. rm -f _shar_wnt_.tmp
  1513. fi
  1514. # ============= screen3.2/config/config.next ==============
  1515. if test -f 'screen3.2/config/config.next' -a X"$1" != X"-c"; then
  1516.     echo 'x - skipping screen3.2/config/config.next (File already exists)'
  1517.     rm -f _shar_wnt_.tmp
  1518. else
  1519. > _shar_wnt_.tmp
  1520. echo 'x - extracting screen3.2/config/config.next (Text)'
  1521. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.next' &&
  1522. /* Copyright (c) 1991
  1523. X *      Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
  1524. X *      Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
  1525. X ****************************************************************
  1526. X * $Id: config.next,v 1.2 92/02/03 02:30:59 jnweiger Exp $ FAU
  1527. X */
  1528. #undef POSIX
  1529. #define BSDJOBS
  1530. #undef TERMIO
  1531. #undef TERMINFO
  1532. #undef SYSV
  1533. #undef SIGVOID 
  1534. #undef DIRENT
  1535. #define SUIDROOT
  1536. #define UTMPOK
  1537. #define LOGINDEFAULT    1
  1538. #undef GETUTENT
  1539. #define UTHOST
  1540. #undef USRLIMIT
  1541. #undef LOCKPTY
  1542. #undef NOREUID
  1543. #undef LOADAV_3DOUBLES
  1544. #undef LOADAV_3LONGS
  1545. #undef LOADAV_4LONGS
  1546. #define LOADAV_NEXT
  1547. #define GETTTYENT
  1548. #undef NFS_HACK
  1549. #define LOCALSOCKDIR
  1550. X
  1551. #ifdef LOCALSOCKDIR
  1552. # ifndef TMPTEST
  1553. #  define SOCKDIR "/local/screens"
  1554. # else
  1555. #  define SOCKDIR "/tmp/screens"
  1556. # endif
  1557. #endif
  1558. #define USEBCOPY
  1559. #undef TOPSTAT
  1560. #define USEVARARGS
  1561. #undef NAMEDPIPE
  1562. #define LOCK
  1563. #define PASSWORD
  1564. #define COPY_PASTE
  1565. #define REMOTE_DETACH
  1566. #define POW_DETACH
  1567. #define NETHACK
  1568. #define ETCSCREENRC "/local/etc/screenrc"
  1569. SHAR_EOF
  1570. chmod 0444 screen3.2/config/config.next ||
  1571. echo 'restore of screen3.2/config/config.next failed'
  1572. Wc_c="`wc -c < 'screen3.2/config/config.next'`"
  1573. test 1010 -eq "$Wc_c" ||
  1574.     echo 'screen3.2/config/config.next: original size 1010, current size' "$Wc_c"
  1575. rm -f _shar_wnt_.tmp
  1576. fi
  1577. # ============= screen3.2/config/config.rs600 ==============
  1578. if test -f 'screen3.2/config/config.rs600' -a X"$1" != X"-c"; then
  1579.     echo 'x - skipping screen3.2/config/config.rs600 (File already exists)'
  1580.     rm -f _shar_wnt_.tmp
  1581. else
  1582. > _shar_wnt_.tmp
  1583. echo 'x - extracting screen3.2/config/config.rs600 (Text)'
  1584. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.rs600' &&
  1585. /* 
  1586. X * From: Kimmo Roponen <ksr@vipunen.hut.fi>
  1587. X ****************************************************************
  1588. X * $Id: config.rs600,v 1.2 92/02/03 02:31:02 jnweiger Exp $ FAU
  1589. X */
  1590. X
  1591. X
  1592. #define POSIX
  1593. #define BSDJOBS
  1594. #define TERMIO
  1595. #define TERMINFO
  1596. #undef SYSV
  1597. #define SIGVOID 
  1598. #define DIRENT
  1599. #undef SUIDROOT
  1600. #define UTMPOK
  1601. #define LOGINDEFAULT    0
  1602. #undef GETUTENT
  1603. #undef UTHOST
  1604. #undef USRLIMIT
  1605. #undef LOCKPTY
  1606. #define NOREUID
  1607. #undef  LOADAV_3DOUBLES
  1608. #undef  LOADAV_3LONGS
  1609. #undef  LOADAV_4LONGS
  1610. #undef GETTTYENT
  1611. #undef NFS_HACK
  1612. #undef LOCALSOCKDIR
  1613. X
  1614. #ifdef LOCALSOCKDIR
  1615. # ifndef TMPTEST
  1616. #  define SOCKDIR "/local/screens"
  1617. # else
  1618. #  define SOCKDIR "/tmp/screens"
  1619. # endif
  1620. #endif
  1621. #undef USEBCOPY
  1622. #undef TOPSTAT
  1623. #undef USEVARARGS
  1624. #define NAMEDPIPE
  1625. #undef LOCK
  1626. #undef PASSWORD
  1627. #undef COPY_PASTE
  1628. #undef REMOTE_DETACH
  1629. #undef POW_DETACH
  1630. #define NETHACK
  1631. #undef ETCSCREENRC "/local/etc/screenrc"
  1632. SHAR_EOF
  1633. chmod 0444 screen3.2/config/config.rs600 ||
  1634. echo 'restore of screen3.2/config/config.rs600 failed'
  1635. Wc_c="`wc -c < 'screen3.2/config/config.rs600'`"
  1636. test 879 -eq "$Wc_c" ||
  1637.     echo 'screen3.2/config/config.rs600: original size 879, current size' "$Wc_c"
  1638. rm -f _shar_wnt_.tmp
  1639. fi
  1640. # ============= screen3.2/config/config.rs6000 ==============
  1641. if test -f 'screen3.2/config/config.rs6000' -a X"$1" != X"-c"; then
  1642.     echo 'x - skipping screen3.2/config/config.rs6000 (File already exists)'
  1643.     rm -f _shar_wnt_.tmp
  1644. else
  1645. > _shar_wnt_.tmp
  1646. echo 'x - extracting screen3.2/config/config.rs6000 (Text)'
  1647. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.rs6000' &&
  1648. /* 
  1649. X ****************************************************************
  1650. X * $Id: config.rs6000,v 1.2 92/02/03 02:31:04 jnweiger Exp $ FAU
  1651. X */
  1652. X
  1653. X
  1654. #define POSIX
  1655. #define BSDJOBS
  1656. #define TERMIO
  1657. #define TERMINFO
  1658. #define SYSV
  1659. #define SIGVOID 
  1660. #define DIRENT
  1661. #define SUIDROOT
  1662. #define UTMPOK
  1663. #define LOGINDEFAULT    1
  1664. #define GETUTENT
  1665. #define UTHOST
  1666. #undef USRLIMIT
  1667. #undef LOCKPTY
  1668. #undef NOREUID
  1669. #undef  LOADAV_3DOUBLES
  1670. #undef  LOADAV_3LONGS
  1671. #undef  LOADAV_4LONGS
  1672. #undef GETTTYENT
  1673. #undef NFS_HACK
  1674. #define LOCALSOCKDIR
  1675. X
  1676. #ifdef LOCALSOCKDIR
  1677. # ifndef TMPTEST
  1678. #  define SOCKDIR "/tmp/screens"
  1679. # else
  1680. #  define SOCKDIR "/tmp/testscreens"
  1681. # endif
  1682. #endif
  1683. #define USEBCOPY
  1684. #define bcopy(s, d, l) memmove(d, s, l) /* bcopy() by Marc Boucher */
  1685. #undef TOPSTAT
  1686. #define USEVARARGS
  1687. #define NAMEDPIPE
  1688. #define LOCK
  1689. #define PASSWORD
  1690. #define COPY_PASTE
  1691. #define REMOTE_DETACH
  1692. #define POW_DETACH
  1693. #define NETHACK
  1694. #define ETCSCREENRC "/local/etc/screenrc"
  1695. SHAR_EOF
  1696. chmod 0444 screen3.2/config/config.rs6000 ||
  1697. echo 'restore of screen3.2/config/config.rs6000 failed'
  1698. Wc_c="`wc -c < 'screen3.2/config/config.rs6000'`"
  1699. test 920 -eq "$Wc_c" ||
  1700.     echo 'screen3.2/config/config.rs6000: original size 920, current size' "$Wc_c"
  1701. rm -f _shar_wnt_.tmp
  1702. fi
  1703. # ============= screen3.2/config/config.sco32 ==============
  1704. if test -f 'screen3.2/config/config.sco32' -a X"$1" != X"-c"; then
  1705.     echo 'x - skipping screen3.2/config/config.sco32 (File already exists)'
  1706.     rm -f _shar_wnt_.tmp
  1707. else
  1708. > _shar_wnt_.tmp
  1709. echo 'x - extracting screen3.2/config/config.sco32 (Text)'
  1710. sed 's/^X//' << 'SHAR_EOF' > 'screen3.2/config/config.sco32' &&
  1711. /*
  1712. X * this config file was contributed by Mark J. Bailey 
  1713. X * (root@mjbtn.jobsoft.com). He writes:
  1714. X *
  1715. X * ...working under SCO Unix 3.2 (ODT 1.1).  Note that I chose
  1716. X * TERMINFO and installed with 'tic' the terminfo src files in the terminfo
  1717. X * directory.  I also have TCP/IP installed, but I do not think that this has
  1718. X * any effect on compilation.  I also installed the crypt libraries sent to me
  1719. X * by SCO.  Not sure what one would do without them.
  1720. X ********************************************************** 
  1721. X * $Id: config.sco32,v 1.2 92/02/03 02:31:06 jnweiger Exp $ FAU
  1722. X */
  1723. X
  1724. #define POSIX
  1725. #define BSDJOBS
  1726. #define TERMIO
  1727. #define TERMINFO
  1728. #define SYSV
  1729. #define SIGVOID 
  1730. #define DIRENT
  1731. #define SUIDROOT
  1732. #define UTMPOK
  1733. #define LOGINDEFAULT    1
  1734. #define GETUTENT
  1735. #undef UTHOST
  1736. #undef USRLIMIT
  1737. #undef LOCKPTY
  1738. #define NOREUID
  1739. #define LOADAV_3DOUBLES
  1740. #undef  LOADAV_3LONGS
  1741. #undef  LOADAV_4LONGS
  1742. SHAR_EOF
  1743. true || echo 'restore of screen3.2/config/config.sco32 failed'
  1744. fi
  1745. echo 'End of  part 10'
  1746. echo 'File screen3.2/config/config.sco32 is continued in part 11'
  1747. echo 11 > _shar_seq_.tmp
  1748. exit 0
  1749. exit 0 # Just in case...
  1750.