patchlevel.h   [plain text]


/* Copyright (c) 1993-2002
 *      Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
 *      Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
 * Copyright (c) 1987 Oliver Laumann
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program (see the file COPYING); if not, write to the
 * Free Software Foundation, Inc.,
 * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
 *
 ****************************************************************
 * $Id: patchlevel.h,v 1.1.1.2 2003/03/19 21:16:18 landonf Exp $ FAU
 */

/****************************************************************
 *
 * patchlevel.h: Our life story.
 *
 * 08.07.91 -- 3.00.01 -wipe and a 'setenv TERM dumb' bugfix.
 * 17.07.91 -- 3.00.02 another patchlevel by Wayne Davison
 * 31.07.91 -- 3.00.03 E0, S0, C0 for flexible semi-graphics, nonblocking 
 *                     window title input and 'C-a :' command input.
 * 10.08.91 -- 3.00.04 scrollback, markkeys and some bugfixes.
 * 13.08.91 -- 3.00.05 mark routine improved, ansi prototypes added.
 * 20.08.91 -- 3.00.06 screen -h, faster GotoPos in overlay, termcap %.
 *                     instead of %c
 * 28.08.91 -- 3.00.07 environment variable support. security. terminfo.
 *                     pyramid and ultrix support.
 * 07.09.91 -- 3.00.99 secopen(), MIPS support, SVR4 support.
 * 09.09.91 -- 3.01.00 backspace bug fixed.
 * 03.10.91 -- 3.01.01 ansi.c: null-ptr fixed, CLS now saves to scrollback.
 *                     Using setresuid on hpux. Memory leak fixed.
 *                     Better GotoPos(). Support for IC. Another resize bug.
 *                     Detach() w/o fore crashed. -T and -A(dapt) option.
 *                     GNU copyleft.
 * 19.12.91 -- 3.01.02 flow now really automatic (autoflow killed).
 *                     7 bit restriction removed from WriteString().
 * 09.01.92 -- 3.01.03 flow reattach bug fixed. VDISCARD bug fixed.
 * 13.01.92 -- 3.01.04 new flow concept: ^Af toggles now three states
 * 21.01.92 -- 3.01.05 '^A:screen 11' bug fixed. aflag in DoScreen().
 *                     Some code cleanup. attach_tty and display_tty[]
 *                     added.
 * 26.01.92 -- 3.01.06 apollo support, "hardcopy_append on", "bufferfile", 
 *                     SECURITY PROBLEM cleared..
 * 28.01.92 -- 3.01.07 screen after su allowed. Pid became part of 
 *                     SockName. sysvish 14 character restriction considered.
 * 31.01.92 -- 3.02.00 Ultrix port, Irix 3.3 SGI port, shadow pw support,
 *                     data loss on stdin overflow fixed. "refresh off".
 * 12.02.92 -- 3.02.02 stripdev() moved, -S introduced, bufferfile improved,
 *                     ShellProg coredump cleared. SVR4 bugfixes.
 *                     I/O code speedup added.
 * 24.04.92 -- 3.02.03 perfectly stackable overlays. One scrollback per window,
 *                     not per display.
 * 05.05.92 -- 3.02.04 very nasty initialisation bug fixed.
 * 09.05.92 -- 3.02.05 parsing for $:cl: termcap strings and \012 octal notation
 *                     in screenrc file. More structuring. Detached startup
 *                     with 'screen -d -m -S...' bugfixed.
 * 11.05.92 -- 3.02.06 setreuid() bugs cleared, C-a : setenv added.
 *                     "xn" capability in TERMCAP needed since "am" is there.
 * 25.06.92 -- 3.02.07 The multi display test version. Have merci.
 * 15.07.92 -- 3.02.08 :B8: supports automatic charset switching for 8-bit
 * 26.09.92 -- 3.02.09 Ported to linux. Ignoring bad files in $SCREENDIR
 * 22.10.92 -- 3.02.10 screen.c/ansi.c splitted in several pieces.
 *                     Better ISearch. Cleanup of loadav.c
 * 29.10.92 -- 3.02.11 Key mechanism rewritten. New command names.
 *                     New iscreenrc syntax. 
 * 02.11.92 -- 3.02.12 'bind g copy_reg' and 'bind x ins_reg' as suggested by
 *                     stillson@tsfsrv.mitre.org (Ken Stillson).
 * 03.11.92 -- 3.02.13 Ported to SunOs 4.1.2. Gulp. Some NULL ptrs fixed and
 *                     misc. braindamage fixed.
 * 03.11.92 -- 3.02.14 Argument number checking, AKA fixed.
 * 05.11.92 -- 3.02.15 Memory leaks in Detach() and KillWindow() fixed.
 *                     Lockprg powerdetaches on SIGHUP.
 * 12.11.92 -- 3.02.16 Introduced two new termcaps: "CS" and "CE".
 *                     (Switch cursorkeys in application mode)
 *                     Tim's async output patch.
 *                     Fixed an ugly bug in WriteString().
 *                     New command: 'process'
 * 16.11.92 -- 3.02.17 Nuking unsent tty output is now optional, (toxic 
 *                     ESC radiation). 
 * 30.11.92 -- 3.02.18 Lots of multi display bugs fixed. New layer
 *                     function 'Restore'. MULTIUSER code cleanup.
 *                     Rudimental acls added for multiuser.
 *                     No more error output, when output gives write errors.
 * 02.12.92 -- 3.02.19 BROKEN_PIPE and SOCK_NOT_IN_FS defines added for 
 *                     braindead systems. Bug in recover socket code fixed.
 *                     Can create windows again from shell.
 * 22.12.92 -- 3.02.20 Made a superb configure script. STY and break fixed.
 * 01.02.93 -- 3.02.21 Coredump bug fixed: 8-bit output in background windows.
 *                     Console grabbing somewhat more useable.
 * 23.02.93 -- 3.02.22 Added ^:exec command, but not tested at all.
 * 23.02.93 -- 3.02.23 Added 'hardcopydir' and 'logdir' commands.
 * 11.03.93 -- 3.02.24 Prefixed display and window structure elements.
 *                     Screen now handles autowrapped lines correctly
 *                     in the redisplay and mark function.
 * 19.03.93 -- 3.03.00 Patched for BSD386. pseudos work.
 * 31.03.93 -- 3.03.01 Don't allocate so much empty attr and font lines.
 * 04.04.93 -- 3.03.02 fixed :exec !..| less and :|less, patched BELL_DONE & 
 *                     ^B/^F. Fixed auto_nuke attribute resetting. Better linux 
 *                     configure. ^AW shows '&' when window has other attacher.
 *                     MAXWIN > 10 patch. KEEP_UNDEF in config.h.in, shellaka 
 *                     bug fixed. dec alpha port. Solaris port. 
 * 02.05.93 -- 3.03.03 Configure tweaked for sgi. Update environment with 
 *                     setenv command. Silence on|off, silencewait <sec>, 
 *                     defautonuke commands added. Manual page updated.
 * 13.05.93 -- 3.03.04 exit in newsyntax script, finished _CX_UX port.
 *                     Texinfo page added by Jason Merrill. Much longish debug 
 *                     output removed. Select window by title (or number).
 * 16.06.93 -- 3.04.00 Replaced ^A- by ^A^H to be complementary to ^A SPACE.
 *                     Moved into CVS. Yacc.
 * 28.06.93 -- 3.04.01 Fixed selecting windows with numeric title. Silence 
 *                     now works without nethackoption set.
 * 01.07.93 -- 3.04.02 Implementing real acls.
 * 22.07.93 -- 3.05.00 Fixed SVR4, some multiuser bugs, -- DISTRIBUTED
 * 05.08.93 -- 3.05.01 ${srcdir} feature added. Shellprog bug fixed.
 *                     Motorola reattach bug fixed. Writelock bug fixed.
 *                     Copybuffer moved into struct acluser. Configure.in
 *                     uglified for Autoconf1.5. Paste may now have an
 *                     argument. Interactive setenv. Right margin bug
 *                     fixed. IRIX 5 patches. -- DISTRIBUTED
 * 13.08.93 -- 3.05.02 ultrix support added. expand_vars removed from
 *                     register function. Paste bug fixed.
 *                     sysmacros.h now included in pty.c on sgis
 *                     Strange hpux hack added for TTYCMP. 
 *                     Zombie feature improved.
 * 08.09.93 -- 3.05.03 Makefile and OSF1 fine tuning. Eased attach to
 *                     multi sessions. Writelock now obeys acl write
 *                     permissions. UserDel() now preserves defaults.
 *                     acladd/aclchg syntax improved. Updated
 *                     documentation. Bug in at command fixed.
 *                     MakeWindow() now obeys perm defaults.
 * 03.10.93 -- 3.05.90 Multiple displays can now share the same window. 
 *                     Layers now belong to Windows. "Select -" yields a blank
 *                     page. Debug output can be switched on/off at runtime.
 *                     Number command changes window number and utmp-slot.
 * 14.10.93 -- 3.05.91 Mechanism to find the "best" window added. Much 
 *                     debugging done and still needed. Slowpaste setting now 
 *                     per window. Preserving fore AND other window when 
 *                     detached. Per user settings for `monitor' and `silence'.
 *                     New command `su'. BlankWindow performs now ColonInput.
 *                     History command fixed, it depended on paste code that
 *                     was previously changed to allow concatenation of buffers.
 *                     Fixing umask problem with WriteFile() reported by Jamie 
 *                     Mason.
 * 30.11.93 -- 3.05.04 Kanji support added. New keymap feature:
 *                     bindkey and various map commands. GR and C1
 *                     flags now define the character processing.
 * 30.11.93 -- 3.05.92 Kanji support added. New keymap feature:
 *                     bindkey and various map commands. GR and C1
 *                     flags now define the character processing.
 * 17.12.93 -- 3.05.93 Tcon authentification mechanism. AddChar macro broken up 
 *                     into 2 functions. Acl.c, network.c, misc.c, termcap.c 
 *                     and tty.c are now display free! 
 * 27.12.93 -- 3.05.94 Telnet login works, can export one window per mux.
 *                     Acl-groups added. Export rights is an acl.
 *                     connect works, can create shadow window thus import 
 *                     command channel and switch windows. Can detach sessions
 *                     from each other. Can renumber imported and exported
 *                     windows. DL_LOOP prevents now SEGV, sessions have names
 *                     and can be connected to very flexible.
 * 03.01.94 -- 3.05.95 Import and export of any number of channels works,
 *                     except a small bug with margin handling when exporting.
 *                     Window titles are forwarded, break is forwarded and
 *                     tcon learned the mux protocoll. A few more bugs in 
 *                     network.c fixed. Tcon has Mux arrays, Protocoll is '\0'
 *                     free.
 * 08.01.94 -- 3.05.96 More tcon work. Solaris debugging.
 *
 * 14.01.94 -- 3.05.05 New FindSocket() code. Nicer socket handling.
 * 20.01.94 -- 3.05.06 New attribute handling code. NeXT fixes.
 * 04.02.94 -- 3.05.07 Ugly bug in ScrollH fixed. Keymap defaults.
 * 10.03.94 -- 3.05.97 'defsilence' by Lloyd Zusman. Zombie resurrekt key. 
 *                     -b, -p options. Fixed Compilekeys(), gulp. config.h 
 *                     allows choice of VMIN/VTIME/NDELAY for ttys.
 * 13.04.94 -- 3.05.08 Kanji bug fixed. POSIX sigaction support.
 *                     os.h cleanup. UTNOKEEP splitted into
 *                     UT_CLOSE and UT_UNSORTED. linux no longer
 *                     implies UT_CLOSE. "struct display" name
 *                     convention change: _d_ to d_ and d_ to D_.
 * 20.04.94 -- 3.05.09 configure.in ptyrange bug fixed. Upgraded
 *                     to autoconf-1.8
 * 27.04.94 -- 3.05.10 97801 obscure code support. Linux long
 *                     password workaround.
 * 09.05.94 -- 3.05.11 seteuid() support added. Security fixes.
 *                     _IBMR2 kludge makes call to sleep obsolete.
 *                     Small fixes in uname() code. djm suggests replace of
 *                     BSDI by __bsdi__. 
 * 27.07.94 -- 3.05.12 seteuid attacher bug fixed. ks/ke changed
 *                     in termcap/info and termcap.c
 * 01.09.94 -- 3.05.58 (There are a few more patches to come, subtracted 40) 
 *                     breaktype command to select how we cause breaks.
 *                     Testing logfile.c. Manual and texinfo documentation
 *                     updated to explain all new commands except keymapping.
 *                     Added modem lines to info of plain ttys. Using 
 *                     cfset{i,o}speed() for POSIX is better, much better. 
 * 07.09.94 -- 3.05.59 Flushing logfiles every 5 seconds. Testing new
 *                     resize linewrap code. Resize with care.
 *                     Resurrect now displays its command string.
 * 11.09.94 -- 3.05.60 Lines are now correctly wrapped, when window size
 *                     changes; this prevents loss of text.
 * 15.09.94 -- 3.05.61 umask renamed to aclumask, bell renamed to bell_msg.
 *                     *_msg commands show message when called w/o parameter.
 *                     Many changes in the manual, thanks to Sven Guckes.
 *                     -O removed.
 * 27.09.94 -- 3.05.13 defwlock stupidity fixed. MakeTermcap ks/ke
 *                     ':' removed. Termcap entry improved.
 *                     copy_reg and ins_reg obsoleted by better paste command:
 *                     paste        =>  paste .
 *                     copy_reg r   =>  paste . r 
 *                     ins_reg r    =>  paste r
 *                     ins_reg      =>  paste
 * 18.10.94 -- 3.05.62 breaktype changed. -L option added to enable logging
 *                     from both command line and screenrc. SIGXFSZ ignored.
 * 28.11.94 -- 3.05.63 ACL's sharpened. No user has any rights, unless 
 *                     explicitly given. Only two exceptions: 1) "acladd user"
 *                     without further parameters. 2) Evry user has a default
 *                     umask that gives himself all permissions on the windows
 *                     he creates. Bug with colon input on shared windows fixed.
 *                     The commad is now executed by the user typing the final
 *                     Enter-Key rather by a random user.
 * 30.11.94 -- 3.05.64 On demand grabbing of pending auto writelocks.
 *                     Solaris troubles us with kill(pid, 0) ... not fixed...
 *                     defbreaktype added. (breaktype is also global, still...)
 *                     SIGARGHACK cleared, to pamper poor little Ultrix4.4 cfe.
 *                     defescape added.
 *                     w_status changed to w_hstatus, it's a #define in 
 *                     Domain/OS reported by ejackson@iastate.edu.
 * 05.12.94 -- 3.05.17 SVR4 pty bug fixed, don't update window status
 *                     line if not changed, onyx support. Manual
 *                     pages updated.
 * 14.12.94 -- 3.05.18 w_status changed to w_hstatus, it's a #define in 
 *                     Domain/OS reported by ejackson@iastate.edu.
 *                     Screen manpage patches by larry.
 *                     Ugly seteuid bug in ForkWindow() fixed.
 * 20.12.94 -- 3.06.00 Solaris has broken seteuid().
 *                     osf loadav patches.  -- DISTRIBUTED
 * 08.01.95 -- 3.05.65 Bug with LOGOUTOK and -ln fixed. redundant secfopen()
 *                     avoided, when logfflush() looks at delayed nfs updates.
 *                     Option parser now allowes condensed options. -A fixed.
 *                     New commands 'preselect' and 'defpreselect'. New option
 *                     -WdmS starts a detached screen session with watchdog.
 * 16.01.95 -- 3.06.01 KANJI patch. doc/Makefile.in fixed.
 *                     Install now calls doc/Makefile install.
 *                     Don't use 'ds' too often, breaks MSkermit.
 *                     undef'd LOGOUTOK logs in now.
 *                     Ultrix is broken, too (seteuid).
 *                     Use \r (not \n) to join lines in pastebuf.
 *                     bindkey can now remove sequences.
 *                     InitTTY fixed for PLAIN. -- DISTRIBUTED
 * 06.02.95 -- 3.05.66 DisplayLine() does now clipping to reduce coredump-
 *                     frequency. Window size is adapted to the display that
 *                     types input, to reduce multi-user confusion. Scrollback
 *                     mode still may get the wrong size.
 * 07.02.95 -- 3.05.67 WinRewrite() also needs to clip. Users without unix
 *                     account, but with screen password allowed. Chacl
 *                     allows password change, su prompts for user name too.
 * 01.03.95 -- 3.05.68 Leaving a window may now cause a resize to match a 
 *                     remaining display. Simple ESC-CR fix in the vt100
 *                     state machine.
 * 26.03.95 -- 3.05.69 Markroutine() needs to resize the window to avoid 
 *                     coredumps, just like WinProcess() already does.
 *                     More NEED_ flags added in comm.c to avoid coredumps.
 * 04.04.95 -- 3.06.02 Simple ESC-CR fix in the vt100 state machine.
 *                     Now compiles again with all extras disabled.
 *                     Zombie resurrect added. defc1, defgr, defkanji
 *                     added. Screen now replies to a secondary DA
 *                     query. Some missing NEED_XXX added in comm.c.
 *                     Better default tty permissions/group test.
 *                     More AUX support, now compiles with POSIX.
 *                     Function keycodes xtermified (F11, F12).
 *                     Paste bug fixed (only worked with KANJI).
 *                     Check bcopy before memcpy/memmove.
 *                     FindSocket code much fixed & improved.
 * 10.04.95 -- 3.05.70 Display_displays() now shows the users permissions on 
 *                     the currently displayed window, this is easier than a 
 *                     full featured lsacl, but also helps. chacl can now copy
 *                     users, but we need to copy windows.
 * 26.04.95 -- 3.05.71 Multi digit screen numbers in utmp. MakeWindow() now
 *                     echoes what it does, just like RemakeWindow() when
 *                     'verbose on' (default off).
 *                     `screen -ls myname/' will find own(!) non-multi sessions.
 *                     Command line option -q improved and documented.
 *                     'debug off' also shuts attacher debugging off now.
 * 03.05.95 -- 3.05.72 'connect' command bugfixed. colon prompt improved.
 *                     open(O_NONBLOCK) does not work on 4.1.3, using O_NDELAY.
 *                     There are writes to exp_wid2chan[-1], XXX I just added 
 *                     fillers to the mux structure, please debug this ASAP! 
 *                     WindowByName() prefers exact matches now. Esc forwarding
 *                     from Frontend to Backend suppressed unless specified.
 * 26.06.95 -- 3.05.73 Improving the combination of dflag and rflag: If both
 *                     are set, a screen session is reattached, regardless
 *                     if it was previously detached or attached elseewhere.
 *                     "screen -D -RR" is thus most powerful: Give me my screen
 *                     session here and now. No matter, if this means creating
 *                     a new session (due to the second R without warning 
 *                     message), detching the session first (and due to the
 *                     capitalised D logging out), or simply attaching to it.
 * 13.07.95 -- 3.05.74 Markroutine learned new join mode: comma seperated.
 *                     Can disable the detach feature from config.h.
 *                     Configure.in now calls etc/toolcheck. Password is no
 *                     longer a static array.
 * 30.07.95 -- 3.05.75 Karl Heuer wants to install with a relative symlink.
 *                     Command line option -k removed (try -t).
 * 31.08.95 -- 3.06.03 Color support, digraph command, code
 *                     cleanup (struct mchar/mline added).
 * 03.09.95 -- 3.06.04 SetRendition display check. Solaris unblock
 *                     SIGHUP. w_curchar->w_rend, lintified.
 *                     Shadow-password code moved and rewritten
 *                     (includes sun C2).
 * 06.09.95 -- 3.05.76 Added support for braille displays (by Hadi Bargi Rangin
 *                     and Bill Barry, {bargy,barryb}@dots.physics.orst.edu
 *                     Added baud, cs8, istrip, ixon, ixoff  options for plain 
 *                     tty windows. Untested.
 * 09.09.95 -- 3.07.99 Merged 3.7.76 back into the main distribution but
 *                     without network, blankwindow and dlist support.
 *                     Global variable Password removed.
 *                     Resize code completely rewritten.
 *                     New commands: sorendition, (def)charset.
 *                     strftime-like message generation.
 * 26.09.95 -- 3.06.05 resize code completely rewritten.
 *                     Very visible cursor added. vbell sequence
 *                     \Eb added. _delay for terminfo libs added
 *                     to make the padding work for the first time.
 *                     New ProcessInput() makes "command command"
 *                     work. '[def]escape ""' clears escape chars.
 *                     Changed logdir command to logfile. It now uses
 *                     MakeWinMsg() to create the filename.
 *                     Updated the manuals.
 * 03.10.95 -- 3.08.00 Merged 3.07.99 back into my 3.06.05.
 *                     pause removed. NONROOT now in config.h.
 *                     sysV68 configure test. Socket protocol got
 *                     revision number. New command termcapinfo.
 *                     Screenrcs, docs & configure.in updated
 * 18.10.95 -- 3.08.01 Info shows parser state.
 *                     Very visible cursor added. vbell sequence
 *                     \Eb added. _delay for terminfo libs added
 *                     to make the padding work for the first time.
 *                     Braille code almost completely reworked.
 *                     New ProcessInput() makes "command command"
 *                     work. '[def]escape ""' clears escape chars.
 *                     Command logdir -> logfile and uses MakeWinMsg.
 *                     Updated the manuals. New mark command 'x'.
 *                     stuff has new "-k" parameter.
 * 28.10.95 -- 3.06.06 Added new 'XC' capability to provide
 *                     a method for character translation.
 * 17.11.95 -- 3.07.00 Added CheckEscape() function.
 *                     acl -> acls because of hpux10 nameclash
 *                     /stand/vmunix added to kernel list (hpux10)
 *                     stripdev changed to translate 
 *                     /dev/pts<n> to /dev/pts/<n> (unixware)
 *                     -lgen added to GETUTENT configure test.
 * 20.11.95 -- 3.07.01 corrected vbell null ptr reference.
 *                     -- DISTRIBUTED
 * 27.11.95 -- 3.08.02 Added CheckEscape() function.
 *                     acl -> acls because of hpux10 nameclash
 *                     /stand/vmunix added to kernel list (hpux10)
 *                     stripdev changed to translate 
 *                     /dev/pts<n> to /dev/pts/<n> (unixware)
 *                     -lgen added to GETUTENT configure test.
 *                     corrected vbell null ptr reference
 *          -- 3.08.03 etc/toolcheck is now shouting louder.
 *                     Solaris 2.5 has /kernel/genunix.
 *                     Touching socket when detach/attach.
 *                     FindWindow corrected. AIX4 patch
 *                     from robert@mayday.cix.co.uk.
 *  1.09.96 -- 3.07.02 added #ifdef MAPKEYS for CheckEscape.
 *                     etc/toolcheck is now shouting louder.
 *                     Touching socket when detach/attach.
 *                     Linux tcflush hack. Linux md5 password suport.
 *                     USE_SGR support for dumb (wyse) terminals.
 *                     "at" and "reset" commands improved.
 *                     Now sensitive to broken AIX4 TIOCPKT.
 *                     tek patch unapplied.
 *                     linux utmp patch: set slot to DEAD_PROCESS.
 *                     include signal.h for killpg if hpux10.10.
 *                     linux: elf, but no SVR4, check for utmpx.
 *                     hpux10.10 libcurses breaks select()!
 *                     -- DISTRIBUTED
 * 27.09.96 -- 3.07.03 ncurses tgetflag returns -1 if cap not valid.
 *                     autonuke fix: reset application mode. An init
 *                     string may have cleared it.
 *                     Small UTMPOK patch from Douglas B. Jones.
 * 23.06.97 -- 3.07.04 Some bugfixes. Kanji fixed.
 *                     Code update from 3.8.6: Colon line editing added.
 *                     Digraph made line-editing resistant.
 *                     DEC ALPHA ut_user[0] = 0;
 *                     Added error messages to exit_with_usage.
 *                     FindSocket code improved (the MULTIUSER part).
 *                     Use utimes() if available. Power-detached start.
 *                     vsnprintf() support. exit -> _exit in window.c.
 *                     AddXChars now tolerates NULL string.
 *                     -- DISTRIBUTED
 * 10.11.98 -- 3.07.05 Wayne's resize.c patch to keep the cursor
 *                     onscreen. FindWindow corrected. AIX4 patch
 *                     from robert@mayday.cix.co.uk.
 *                     Fixed kanji am & markcursor bugs.
 *                     SCO support (Gert Doering).
 *                     Wayne's statusline extra space. New flag nospc
 *                     for MakeWinMsg. New TF capability: add missing
 *                     termcap/info caps. screen-exchange security
 *                     fix. Use kstat for Solaris' loadavg.
 *                     Check for mode 775 if screen runs setgid.
 *                     Fixed typo in silence command.
 *                     Allow detach with no tty. HPUX10.20 ltchars
 *                     hack. Use @1/@7 as replacement for kh/kH.
 *                     Use seteuid before calling tgetent.
 *                     Check for displays in Msg().
 *                     Linux ncurses hack: redefine _nc_timed_wait.
 *                     Configure check for ncurses (sigh).
 *                     ITOH Yasufumi: kanji fixes, osf support,
 *                     bug fixes. More secure Rewrite().
 *                     Increased line buffer size to 2048 bytes.
 *                     SCO-5 Fixes (Brian L. Gentry).
 * 25.11.98 -- 3.07.06 resize code now handles tabs correctly.
 *                     -- DISTRIBUTED
 *          -- 3.09.00 loads'o'bugs fixed, 3.8 merged with 3.7.
 *                     new region clip code.
 *                     Many new features (see NEWS file).
 *  3.08.99 -- 3.09.02 -- DISTRIBUTED
 * 11.08.99 -- 3.09.04 small utmp fix, BSD chflags fix, tty mode fix
 *                     -- DISTRIBUTED
 *  1.09.99 -- 3.09.05 linux SVR4_PTYS fixes, better ShowWindos(),
 *                     Panic() displays bug fixed, strerror fixed,
 *                     missing $srcdir & bad prefix in Makefiles.
 *                     console grabbing with SRIOCSREDIR.
 *                     linux utmp workaround added. Some KANJI bugs
 *                     fixed. Stupid StuffKey() bug fixed.
 *                     -- DISTRIBUTED
 * 24.07.00 -- 3.09.06 kanji fixes. lock escape char fix.
 *                     removed delayed message hack.
 *                     resize command & focus subcomands by joze.
 *                     fix for solaris' utmp_helper bug.
 *                     linux tty handling fix.
 *                     mousetracking, rxvt osc sequences.
 *                     background color erase support.
 *                     don't log user in after hangup.
 *                     hstatus escape update bug fixed.
 *  1.09.00 -- 3.09.08 -- DISTRIBUTED
 * 25.05.01 -- 3.09.09 use $DESTDIR in Makefiles.
 *                     renamed struct user to acluser to fix hpux
 *                     problem for good. utf8 support. 16 color
 *                     support. New -X option and escape sequence
 *                     to send screen commands.
 *                     New commands: attrcolor, defutf8, dinfo, utf8.
 *                     Extended commands: width, height, readbuf,
 *                     writebuf. Better nlist64 detection.
 *                     New config.h option SOCKDIR_IS_LOCAL_TO_HOST.
 *                     Don't call tputs with an empty string.
 *                     New string escape %{ for attr/color changes.
 *                     LRefreshAll bug fixed (0 instead of -1 as bce).
 *                     New quote handling in Parse(). Workaround for
 *                     some bad termcap/info entries added. Set BE
 *                     for all xtermish emulators. Added '0x' and
 *                     'U+' prefix in digraph command. LOADAV_TYPE
 *                     detection fixed.
 *                     -- DISTRIBUTED
 *  4.09.01 -- 3.09.10 '-R' security fix. Fixed array in MScrollV().
 *                     -- DISTRIBUTED
 *                     Reset charset after 'me'.
 * 14.02.02 -- 3.09.11 Support for other encodings. Double width
 *                     utf-8 chars. 'L' modifier for %D, %M, %w
 *                     and %W. New %= (hfill), %H (hostname),
 *                     %f (flags), %F (focus) escapes. New commands
 *                     source, windowlist, deflog. Command key classes.
 *                     New login state: always. Time format
 *                     changeable. 256 color support.
 *                     Updated digraph table. Ignorecase.
 *                     Windowlist resizeable on blank window.
 *                     Added encoding to paste buffers.
 *                     Hpux loadtype detection fixed.
 *                     Disabled im/ic warning. Fixed a bug that
 *                     could cause window lockups in rare
 *                     circumstances. Made hangup signal to the
 *                     backend process detach all displays.
 *                     New escapes %< %>, + and - flag for %w.
 *                     Added eval command, added -h option to detach.
 *                     Also set flayer when processing -X commands.
 *                     use getpt() on linux systems. doc patches from
 *                     Adam Lazur. tty flow/intr cleanup.
 *                     -- DISTRIBUTED
 * 29.08.2002  3.09.12 Port to POSIX 1003.1-2001 hosts (Paul Eggert).
 *                     Fixed encoding for reattach password test.
 *                     Fixed NUL characters when encodings are active.
 *                     Fixed silly encodings bugs. Fixed bogus
 *                     oldflayer when a window gets freed.
 *                     Altscreen support by Gurusamy Sarathy.
 *                     Reuse old password in builtin_screenlock.
 *                     -- DISTRIBUTED
 * 05.09.2002  3.09.13 added missing break statement that broke
 *                     the eval command.
 *                     -- DISTRIBUTED
 * 13.03.2003  3.09.15 Console workaround for linux. Scrolling-region
 *                     reset fix. GBK encoding added.
 *                     support for unicode combining characters added.
 *                     openpty() support added (thomas@xs4all.nl).
 *                     preselect of blank window ('-') or window
 *                     list ('=') added. Added %` string escape
 *                     and backtick command.
 *                     -- DISTRIBUTED
 */

#define ORIGIN "FAU"
#define REV 3
#define VERS 9
#define PATCHLEVEL 15
#define DATE "13-Mar-03"
#define STATE ""