First working version of new event dispatching framwork.
[screen-lua.git] / src / patchlevel.h
blob86e24754f1a1f2d6c04d771206d9b5829826e2fc
1 /* Copyright (c) 2008, 2009
2 * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
3 * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
4 * Micah Cowan (micah@cowan.name)
5 * Sadrul Habib Chowdhury (sadrul@users.sourceforge.net)
6 * Copyright (c) 1993-2002, 2003, 2005, 2006, 2007
7 * Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
8 * Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
9 * Copyright (c) 1987 Oliver Laumann
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 3, or (at your option)
14 * any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program (see the file COPYING); if not, see
23 * http://www.gnu.org/licenses/, or contact Free Software Foundation, Inc.,
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
26 ****************************************************************
27 * $Id$ FAU
30 /****************************************************************
32 * patchlevel.h: Our life story.
34 * 08.07.91 -- 3.00.01 -wipe and a 'setenv TERM dumb' bugfix.
35 * 17.07.91 -- 3.00.02 another patchlevel by Wayne Davison
36 * 31.07.91 -- 3.00.03 E0, S0, C0 for flexible semi-graphics, nonblocking
37 * window title input and 'C-a :' command input.
38 * 10.08.91 -- 3.00.04 scrollback, markkeys and some bugfixes.
39 * 13.08.91 -- 3.00.05 mark routine improved, ansi prototypes added.
40 * 20.08.91 -- 3.00.06 screen -h, faster GotoPos in overlay, termcap %.
41 * instead of %c
42 * 28.08.91 -- 3.00.07 environment variable support. security. terminfo.
43 * pyramid and ultrix support.
44 * 07.09.91 -- 3.00.99 secopen(), MIPS support, SVR4 support.
45 * 09.09.91 -- 3.01.00 backspace bug fixed.
46 * 03.10.91 -- 3.01.01 ansi.c: null-ptr fixed, CLS now saves to scrollback.
47 * Using setresuid on hpux. Memory leak fixed.
48 * Better GotoPos(). Support for IC. Another resize bug.
49 * Detach() w/o fore crashed. -T and -A(dapt) option.
50 * GNU copyleft.
51 * 19.12.91 -- 3.01.02 flow now really automatic (autoflow killed).
52 * 7 bit restriction removed from WriteString().
53 * 09.01.92 -- 3.01.03 flow reattach bug fixed. VDISCARD bug fixed.
54 * 13.01.92 -- 3.01.04 new flow concept: ^Af toggles now three states
55 * 21.01.92 -- 3.01.05 '^A:screen 11' bug fixed. aflag in DoScreen().
56 * Some code cleanup. attach_tty and display_tty[]
57 * added.
58 * 26.01.92 -- 3.01.06 apollo support, "hardcopy_append on", "bufferfile",
59 * SECURITY PROBLEM cleared..
60 * 28.01.92 -- 3.01.07 screen after su allowed. Pid became part of
61 * SockName. sysvish 14 character restriction considered.
62 * 31.01.92 -- 3.02.00 Ultrix port, Irix 3.3 SGI port, shadow pw support,
63 * data loss on stdin overflow fixed. "refresh off".
64 * 12.02.92 -- 3.02.02 stripdev() moved, -S introduced, bufferfile improved,
65 * ShellProg coredump cleared. SVR4 bugfixes.
66 * I/O code speedup added.
67 * 24.04.92 -- 3.02.03 perfectly stackable overlays. One scrollback per window,
68 * not per display.
69 * 05.05.92 -- 3.02.04 very nasty initialisation bug fixed.
70 * 09.05.92 -- 3.02.05 parsing for $:cl: termcap strings and \012 octal notation
71 * in screenrc file. More structuring. Detached startup
72 * with 'screen -d -m -S...' bugfixed.
73 * 11.05.92 -- 3.02.06 setreuid() bugs cleared, C-a : setenv added.
74 * "xn" capability in TERMCAP needed since "am" is there.
75 * 25.06.92 -- 3.02.07 The multi display test version. Have merci.
76 * 15.07.92 -- 3.02.08 :B8: supports automatic charset switching for 8-bit
77 * 26.09.92 -- 3.02.09 Ported to linux. Ignoring bad files in $SCREENDIR
78 * 22.10.92 -- 3.02.10 screen.c/ansi.c splitted in several pieces.
79 * Better ISearch. Cleanup of loadav.c
80 * 29.10.92 -- 3.02.11 Key mechanism rewritten. New command names.
81 * New iscreenrc syntax.
82 * 02.11.92 -- 3.02.12 'bind g copy_reg' and 'bind x ins_reg' as suggested by
83 * stillson@tsfsrv.mitre.org (Ken Stillson).
84 * 03.11.92 -- 3.02.13 Ported to SunOs 4.1.2. Gulp. Some NULL ptrs fixed and
85 * misc. braindamage fixed.
86 * 03.11.92 -- 3.02.14 Argument number checking, AKA fixed.
87 * 05.11.92 -- 3.02.15 Memory leaks in Detach() and KillWindow() fixed.
88 * Lockprg powerdetaches on SIGHUP.
89 * 12.11.92 -- 3.02.16 Introduced two new termcaps: "CS" and "CE".
90 * (Switch cursorkeys in application mode)
91 * Tim's async output patch.
92 * Fixed an ugly bug in WriteString().
93 * New command: 'process'
94 * 16.11.92 -- 3.02.17 Nuking unsent tty output is now optional, (toxic
95 * ESC radiation).
96 * 30.11.92 -- 3.02.18 Lots of multi display bugs fixed. New layer
97 * function 'Restore'. MULTIUSER code cleanup.
98 * Rudimental acls added for multiuser.
99 * No more error output, when output gives write errors.
100 * 02.12.92 -- 3.02.19 BROKEN_PIPE and SOCK_NOT_IN_FS defines added for
101 * braindead systems. Bug in recover socket code fixed.
102 * Can create windows again from shell.
103 * 22.12.92 -- 3.02.20 Made a superb configure script. STY and break fixed.
104 * 01.02.93 -- 3.02.21 Coredump bug fixed: 8-bit output in background windows.
105 * Console grabbing somewhat more useable.
106 * 23.02.93 -- 3.02.22 Added ^:exec command, but not tested at all.
107 * 23.02.93 -- 3.02.23 Added 'hardcopydir' and 'logdir' commands.
108 * 11.03.93 -- 3.02.24 Prefixed display and window structure elements.
109 * Screen now handles autowrapped lines correctly
110 * in the redisplay and mark function.
111 * 19.03.93 -- 3.03.00 Patched for BSD386. pseudos work.
112 * 31.03.93 -- 3.03.01 Don't allocate so much empty attr and font lines.
113 * 04.04.93 -- 3.03.02 fixed :exec !..| less and :|less, patched BELL_DONE &
114 * ^B/^F. Fixed auto_nuke attribute resetting. Better linux
115 * configure. ^AW shows '&' when window has other attacher.
116 * MAXWIN > 10 patch. KEEP_UNDEF in config.h.in, shellaka
117 * bug fixed. dec alpha port. Solaris port.
118 * 02.05.93 -- 3.03.03 Configure tweaked for sgi. Update environment with
119 * setenv command. Silence on|off, silencewait <sec>,
120 * defautonuke commands added. Manual page updated.
121 * 13.05.93 -- 3.03.04 exit in newsyntax script, finished _CX_UX port.
122 * Texinfo page added by Jason Merrill. Much longish debug
123 * output removed. Select window by title (or number).
124 * 16.06.93 -- 3.04.00 Replaced ^A- by ^A^H to be complementary to ^A SPACE.
125 * Moved into CVS. Yacc.
126 * 28.06.93 -- 3.04.01 Fixed selecting windows with numeric title. Silence
127 * now works without nethackoption set.
128 * 01.07.93 -- 3.04.02 Implementing real acls.
129 * 22.07.93 -- 3.05.00 Fixed SVR4, some multiuser bugs, -- DISTRIBUTED
130 * 05.08.93 -- 3.05.01 ${srcdir} feature added. Shellprog bug fixed.
131 * Motorola reattach bug fixed. Writelock bug fixed.
132 * Copybuffer moved into struct acluser. Configure.in
133 * uglified for Autoconf1.5. Paste may now have an
134 * argument. Interactive setenv. Right margin bug
135 * fixed. IRIX 5 patches. -- DISTRIBUTED
136 * 13.08.93 -- 3.05.02 ultrix support added. expand_vars removed from
137 * register function. Paste bug fixed.
138 * sysmacros.h now included in pty.c on sgis
139 * Strange hpux hack added for TTYCMP.
140 * Zombie feature improved.
141 * 08.09.93 -- 3.05.03 Makefile and OSF1 fine tuning. Eased attach to
142 * multi sessions. Writelock now obeys acl write
143 * permissions. UserDel() now preserves defaults.
144 * acladd/aclchg syntax improved. Updated
145 * documentation. Bug in at command fixed.
146 * MakeWindow() now obeys perm defaults.
147 * 03.10.93 -- 3.05.90 Multiple displays can now share the same window.
148 * Layers now belong to Windows. "Select -" yields a blank
149 * page. Debug output can be switched on/off at runtime.
150 * Number command changes window number and utmp-slot.
151 * 14.10.93 -- 3.05.91 Mechanism to find the "best" window added. Much
152 * debugging done and still needed. Slowpaste setting now
153 * per window. Preserving fore AND other window when
154 * detached. Per user settings for `monitor' and `silence'.
155 * New command `su'. BlankWindow performs now ColonInput.
156 * History command fixed, it depended on paste code that
157 * was previously changed to allow concatenation of buffers.
158 * Fixing umask problem with WriteFile() reported by Jamie
159 * Mason.
160 * 30.11.93 -- 3.05.04 Kanji support added. New keymap feature:
161 * bindkey and various map commands. GR and C1
162 * flags now define the character processing.
163 * 30.11.93 -- 3.05.92 Kanji support added. New keymap feature:
164 * bindkey and various map commands. GR and C1
165 * flags now define the character processing.
166 * 17.12.93 -- 3.05.93 Tcon authentification mechanism. AddChar macro broken up
167 * into 2 functions. Acl.c, network.c, misc.c, termcap.c
168 * and tty.c are now display free!
169 * 27.12.93 -- 3.05.94 Telnet login works, can export one window per mux.
170 * Acl-groups added. Export rights is an acl.
171 * connect works, can create shadow window thus import
172 * command channel and switch windows. Can detach sessions
173 * from each other. Can renumber imported and exported
174 * windows. DL_LOOP prevents now SEGV, sessions have names
175 * and can be connected to very flexible.
176 * 03.01.94 -- 3.05.95 Import and export of any number of channels works,
177 * except a small bug with margin handling when exporting.
178 * Window titles are forwarded, break is forwarded and
179 * tcon learned the mux protocoll. A few more bugs in
180 * network.c fixed. Tcon has Mux arrays, Protocoll is '\0'
181 * free.
182 * 08.01.94 -- 3.05.96 More tcon work. Solaris debugging.
184 * 14.01.94 -- 3.05.05 New FindSocket() code. Nicer socket handling.
185 * 20.01.94 -- 3.05.06 New attribute handling code. NeXT fixes.
186 * 04.02.94 -- 3.05.07 Ugly bug in ScrollH fixed. Keymap defaults.
187 * 10.03.94 -- 3.05.97 'defsilence' by Lloyd Zusman. Zombie resurrekt key.
188 * -b, -p options. Fixed Compilekeys(), gulp. config.h
189 * allows choice of VMIN/VTIME/NDELAY for ttys.
190 * 13.04.94 -- 3.05.08 Kanji bug fixed. POSIX sigaction support.
191 * os.h cleanup. UTNOKEEP splitted into
192 * UT_CLOSE and UT_UNSORTED. linux no longer
193 * implies UT_CLOSE. "struct display" name
194 * convention change: _d_ to d_ and d_ to D_.
195 * 20.04.94 -- 3.05.09 configure.in ptyrange bug fixed. Upgraded
196 * to autoconf-1.8
197 * 27.04.94 -- 3.05.10 97801 obscure code support. Linux long
198 * password workaround.
199 * 09.05.94 -- 3.05.11 seteuid() support added. Security fixes.
200 * _IBMR2 kludge makes call to sleep obsolete.
201 * Small fixes in uname() code. djm suggests replace of
202 * BSDI by __bsdi__.
203 * 27.07.94 -- 3.05.12 seteuid attacher bug fixed. ks/ke changed
204 * in termcap/info and termcap.c
205 * 01.09.94 -- 3.05.58 (There are a few more patches to come, subtracted 40)
206 * breaktype command to select how we cause breaks.
207 * Testing logfile.c. Manual and texinfo documentation
208 * updated to explain all new commands except keymapping.
209 * Added modem lines to info of plain ttys. Using
210 * cfset{i,o}speed() for POSIX is better, much better.
211 * 07.09.94 -- 3.05.59 Flushing logfiles every 5 seconds. Testing new
212 * resize linewrap code. Resize with care.
213 * Resurrect now displays its command string.
214 * 11.09.94 -- 3.05.60 Lines are now correctly wrapped, when window size
215 * changes; this prevents loss of text.
216 * 15.09.94 -- 3.05.61 umask renamed to aclumask, bell renamed to bell_msg.
217 * *_msg commands show message when called w/o parameter.
218 * Many changes in the manual, thanks to Sven Guckes.
219 * -O removed.
220 * 27.09.94 -- 3.05.13 defwlock stupidity fixed. MakeTermcap ks/ke
221 * ':' removed. Termcap entry improved.
222 * copy_reg and ins_reg obsoleted by better paste command:
223 * paste => paste .
224 * copy_reg r => paste . r
225 * ins_reg r => paste r
226 * ins_reg => paste
227 * 18.10.94 -- 3.05.62 breaktype changed. -L option added to enable logging
228 * from both command line and screenrc. SIGXFSZ ignored.
229 * 28.11.94 -- 3.05.63 ACL's sharpened. No user has any rights, unless
230 * explicitly given. Only two exceptions: 1) "acladd user"
231 * without further parameters. 2) Evry user has a default
232 * umask that gives himself all permissions on the windows
233 * he creates. Bug with colon input on shared windows fixed.
234 * The commad is now executed by the user typing the final
235 * Enter-Key rather by a random user.
236 * 30.11.94 -- 3.05.64 On demand grabbing of pending auto writelocks.
237 * Solaris troubles us with kill(pid, 0) ... not fixed...
238 * defbreaktype added. (breaktype is also global, still...)
239 * SIGARGHACK cleared, to pamper poor little Ultrix4.4 cfe.
240 * defescape added.
241 * w_status changed to w_hstatus, it's a #define in
242 * Domain/OS reported by ejackson@iastate.edu.
243 * 05.12.94 -- 3.05.17 SVR4 pty bug fixed, don't update window status
244 * line if not changed, onyx support. Manual
245 * pages updated.
246 * 14.12.94 -- 3.05.18 w_status changed to w_hstatus, it's a #define in
247 * Domain/OS reported by ejackson@iastate.edu.
248 * Screen manpage patches by larry.
249 * Ugly seteuid bug in ForkWindow() fixed.
250 * 20.12.94 -- 3.06.00 Solaris has broken seteuid().
251 * osf loadav patches. -- DISTRIBUTED
252 * 08.01.95 -- 3.05.65 Bug with LOGOUTOK and -ln fixed. redundant secfopen()
253 * avoided, when logfflush() looks at delayed nfs updates.
254 * Option parser now allowes condensed options. -A fixed.
255 * New commands 'preselect' and 'defpreselect'. New option
256 * -WdmS starts a detached screen session with watchdog.
257 * 16.01.95 -- 3.06.01 KANJI patch. doc/Makefile.in fixed.
258 * Install now calls doc/Makefile install.
259 * Don't use 'ds' too often, breaks MSkermit.
260 * undef'd LOGOUTOK logs in now.
261 * Ultrix is broken, too (seteuid).
262 * Use \r (not \n) to join lines in pastebuf.
263 * bindkey can now remove sequences.
264 * InitTTY fixed for PLAIN. -- DISTRIBUTED
265 * 06.02.95 -- 3.05.66 DisplayLine() does now clipping to reduce coredump-
266 * frequency. Window size is adapted to the display that
267 * types input, to reduce multi-user confusion. Scrollback
268 * mode still may get the wrong size.
269 * 07.02.95 -- 3.05.67 WinRewrite() also needs to clip. Users without unix
270 * account, but with screen password allowed. Chacl
271 * allows password change, su prompts for user name too.
272 * 01.03.95 -- 3.05.68 Leaving a window may now cause a resize to match a
273 * remaining display. Simple ESC-CR fix in the vt100
274 * state machine.
275 * 26.03.95 -- 3.05.69 Markroutine() needs to resize the window to avoid
276 * coredumps, just like WinProcess() already does.
277 * More NEED_ flags added in comm.c to avoid coredumps.
278 * 04.04.95 -- 3.06.02 Simple ESC-CR fix in the vt100 state machine.
279 * Now compiles again with all extras disabled.
280 * Zombie resurrect added. defc1, defgr, defkanji
281 * added. Screen now replies to a secondary DA
282 * query. Some missing NEED_XXX added in comm.c.
283 * Better default tty permissions/group test.
284 * More AUX support, now compiles with POSIX.
285 * Function keycodes xtermified (F11, F12).
286 * Paste bug fixed (only worked with KANJI).
287 * Check bcopy before memcpy/memmove.
288 * FindSocket code much fixed & improved.
289 * 10.04.95 -- 3.05.70 Display_displays() now shows the users permissions on
290 * the currently displayed window, this is easier than a
291 * full featured lsacl, but also helps. chacl can now copy
292 * users, but we need to copy windows.
293 * 26.04.95 -- 3.05.71 Multi digit screen numbers in utmp. MakeWindow() now
294 * echoes what it does, just like RemakeWindow() when
295 * 'verbose on' (default off).
296 * `screen -ls myname/' will find own(!) non-multi sessions.
297 * Command line option -q improved and documented.
298 * 'debug off' also shuts attacher debugging off now.
299 * 03.05.95 -- 3.05.72 'connect' command bugfixed. colon prompt improved.
300 * open(O_NONBLOCK) does not work on 4.1.3, using O_NDELAY.
301 * There are writes to exp_wid2chan[-1], XXX I just added
302 * fillers to the mux structure, please debug this ASAP!
303 * WindowByName() prefers exact matches now. Esc forwarding
304 * from Frontend to Backend suppressed unless specified.
305 * 26.06.95 -- 3.05.73 Improving the combination of dflag and rflag: If both
306 * are set, a screen session is reattached, regardless
307 * if it was previously detached or attached elseewhere.
308 * "screen -D -RR" is thus most powerful: Give me my screen
309 * session here and now. No matter, if this means creating
310 * a new session (due to the second R without warning
311 * message), detching the session first (and due to the
312 * capitalised D logging out), or simply attaching to it.
313 * 13.07.95 -- 3.05.74 Markroutine learned new join mode: comma seperated.
314 * Can disable the detach feature from config.h.
315 * Configure.in now calls etc/toolcheck. Password is no
316 * longer a static array.
317 * 30.07.95 -- 3.05.75 Karl Heuer wants to install with a relative symlink.
318 * Command line option -k removed (try -t).
319 * 31.08.95 -- 3.06.03 Color support, digraph command, code
320 * cleanup (struct mchar/mline added).
321 * 03.09.95 -- 3.06.04 SetRendition display check. Solaris unblock
322 * SIGHUP. w_curchar->w_rend, lintified.
323 * Shadow-password code moved and rewritten
324 * (includes sun C2).
325 * 06.09.95 -- 3.05.76 Added support for braille displays (by Hadi Bargi Rangin
326 * and Bill Barry, {bargy,barryb}@dots.physics.orst.edu
327 * Added baud, cs8, istrip, ixon, ixoff options for plain
328 * tty windows. Untested.
329 * 09.09.95 -- 3.07.99 Merged 3.7.76 back into the main distribution but
330 * without network, blankwindow and dlist support.
331 * Global variable Password removed.
332 * Resize code completely rewritten.
333 * New commands: sorendition, (def)charset.
334 * strftime-like message generation.
335 * 26.09.95 -- 3.06.05 resize code completely rewritten.
336 * Very visible cursor added. vbell sequence
337 * \Eb added. _delay for terminfo libs added
338 * to make the padding work for the first time.
339 * New ProcessInput() makes "command command"
340 * work. '[def]escape ""' clears escape chars.
341 * Changed logdir command to logfile. It now uses
342 * MakeWinMsg() to create the filename.
343 * Updated the manuals.
344 * 03.10.95 -- 3.08.00 Merged 3.07.99 back into my 3.06.05.
345 * pause removed. NONROOT now in config.h.
346 * sysV68 configure test. Socket protocol got
347 * revision number. New command termcapinfo.
348 * Screenrcs, docs & configure.in updated
349 * 18.10.95 -- 3.08.01 Info shows parser state.
350 * Very visible cursor added. vbell sequence
351 * \Eb added. _delay for terminfo libs added
352 * to make the padding work for the first time.
353 * Braille code almost completely reworked.
354 * New ProcessInput() makes "command command"
355 * work. '[def]escape ""' clears escape chars.
356 * Command logdir -> logfile and uses MakeWinMsg.
357 * Updated the manuals. New mark command 'x'.
358 * stuff has new "-k" parameter.
359 * 28.10.95 -- 3.06.06 Added new 'XC' capability to provide
360 * a method for character translation.
361 * 17.11.95 -- 3.07.00 Added CheckEscape() function.
362 * acl -> acls because of hpux10 nameclash
363 * /stand/vmunix added to kernel list (hpux10)
364 * stripdev changed to translate
365 * /dev/pts<n> to /dev/pts/<n> (unixware)
366 * -lgen added to GETUTENT configure test.
367 * 20.11.95 -- 3.07.01 corrected vbell null ptr reference.
368 * -- DISTRIBUTED
369 * 27.11.95 -- 3.08.02 Added CheckEscape() function.
370 * acl -> acls because of hpux10 nameclash
371 * /stand/vmunix added to kernel list (hpux10)
372 * stripdev changed to translate
373 * /dev/pts<n> to /dev/pts/<n> (unixware)
374 * -lgen added to GETUTENT configure test.
375 * corrected vbell null ptr reference
376 * -- 3.08.03 etc/toolcheck is now shouting louder.
377 * Solaris 2.5 has /kernel/genunix.
378 * Touching socket when detach/attach.
379 * FindWindow corrected. AIX4 patch
380 * from robert@mayday.cix.co.uk.
381 * 1.09.96 -- 3.07.02 added #ifdef MAPKEYS for CheckEscape.
382 * etc/toolcheck is now shouting louder.
383 * Touching socket when detach/attach.
384 * Linux tcflush hack. Linux md5 password suport.
385 * USE_SGR support for dumb (wyse) terminals.
386 * "at" and "reset" commands improved.
387 * Now sensitive to broken AIX4 TIOCPKT.
388 * tek patch unapplied.
389 * linux utmp patch: set slot to DEAD_PROCESS.
390 * include signal.h for killpg if hpux10.10.
391 * linux: elf, but no SVR4, check for utmpx.
392 * hpux10.10 libcurses breaks select()!
393 * -- DISTRIBUTED
394 * 27.09.96 -- 3.07.03 ncurses tgetflag returns -1 if cap not valid.
395 * autonuke fix: reset application mode. An init
396 * string may have cleared it.
397 * Small UTMPOK patch from Douglas B. Jones.
398 * 23.06.97 -- 3.07.04 Some bugfixes. Kanji fixed.
399 * Code update from 3.8.6: Colon line editing added.
400 * Digraph made line-editing resistant.
401 * DEC ALPHA ut_user[0] = 0;
402 * Added error messages to exit_with_usage.
403 * FindSocket code improved (the MULTIUSER part).
404 * Use utimes() if available. Power-detached start.
405 * vsnprintf() support. exit -> _exit in window.c.
406 * AddXChars now tolerates NULL string.
407 * -- DISTRIBUTED
408 * 10.11.98 -- 3.07.05 Wayne's resize.c patch to keep the cursor
409 * onscreen. FindWindow corrected. AIX4 patch
410 * from robert@mayday.cix.co.uk.
411 * Fixed kanji am & markcursor bugs.
412 * SCO support (Gert Doering).
413 * Wayne's statusline extra space. New flag nospc
414 * for MakeWinMsg. New TF capability: add missing
415 * termcap/info caps. screen-exchange security
416 * fix. Use kstat for Solaris' loadavg.
417 * Check for mode 775 if screen runs setgid.
418 * Fixed typo in silence command.
419 * Allow detach with no tty. HPUX10.20 ltchars
420 * hack. Use @1/@7 as replacement for kh/kH.
421 * Use seteuid before calling tgetent.
422 * Check for displays in Msg().
423 * Linux ncurses hack: redefine _nc_timed_wait.
424 * Configure check for ncurses (sigh).
425 * ITOH Yasufumi: kanji fixes, osf support,
426 * bug fixes. More secure Rewrite().
427 * Increased line buffer size to 2048 bytes.
428 * SCO-5 Fixes (Brian L. Gentry).
429 * 25.11.98 -- 3.07.06 resize code now handles tabs correctly.
430 * -- DISTRIBUTED
431 * -- 3.09.00 loads'o'bugs fixed, 3.8 merged with 3.7.
432 * new region clip code.
433 * Many new features (see NEWS file).
434 * 3.08.99 -- 3.09.02 -- DISTRIBUTED
435 * 11.08.99 -- 3.09.04 small utmp fix, BSD chflags fix, tty mode fix
436 * -- DISTRIBUTED
437 * 1.09.99 -- 3.09.05 linux SVR4_PTYS fixes, better ShowWindos(),
438 * Panic() displays bug fixed, strerror fixed,
439 * missing $srcdir & bad prefix in Makefiles.
440 * console grabbing with SRIOCSREDIR.
441 * linux utmp workaround added. Some KANJI bugs
442 * fixed. Stupid StuffKey() bug fixed.
443 * -- DISTRIBUTED
444 * 24.07.00 -- 3.09.06 kanji fixes. lock escape char fix.
445 * removed delayed message hack.
446 * resize command & focus subcomands by joze.
447 * fix for solaris' utmp_helper bug.
448 * linux tty handling fix.
449 * mousetracking, rxvt osc sequences.
450 * background color erase support.
451 * don't log user in after hangup.
452 * hstatus escape update bug fixed.
453 * 1.09.00 -- 3.09.08 -- DISTRIBUTED
454 * 25.05.01 -- 3.09.09 use $DESTDIR in Makefiles.
455 * renamed struct user to acluser to fix hpux
456 * problem for good. utf8 support. 16 color
457 * support. New -X option and escape sequence
458 * to send screen commands.
459 * New commands: attrcolor, defutf8, dinfo, utf8.
460 * Extended commands: width, height, readbuf,
461 * writebuf. Better nlist64 detection.
462 * New config.h option SOCKDIR_IS_LOCAL_TO_HOST.
463 * Don't call tputs with an empty string.
464 * New string escape %{ for attr/color changes.
465 * LRefreshAll bug fixed (0 instead of -1 as bce).
466 * New quote handling in Parse(). Workaround for
467 * some bad termcap/info entries added. Set BE
468 * for all xtermish emulators. Added '0x' and
469 * 'U+' prefix in digraph command. LOADAV_TYPE
470 * detection fixed.
471 * -- DISTRIBUTED
472 * 4.09.01 -- 3.09.10 '-R' security fix. Fixed array in MScrollV().
473 * -- DISTRIBUTED
474 * Reset charset after 'me'.
475 * 14.02.02 -- 3.09.11 Support for other encodings. Double width
476 * utf-8 chars. 'L' modifier for %D, %M, %w
477 * and %W. New %= (hfill), %H (hostname),
478 * %f (flags), %F (focus) escapes. New commands
479 * source, windowlist, deflog. Command key classes.
480 * New login state: always. Time format
481 * changeable. 256 color support.
482 * Updated digraph table. Ignorecase.
483 * Windowlist resizeable on blank window.
484 * Added encoding to paste buffers.
485 * Hpux loadtype detection fixed.
486 * Disabled im/ic warning. Fixed a bug that
487 * could cause window lockups in rare
488 * circumstances. Made hangup signal to the
489 * backend process detach all displays.
490 * New escapes %< %>, + and - flag for %w.
491 * Added eval command, added -h option to detach.
492 * Also set flayer when processing -X commands.
493 * use getpt() on linux systems. doc patches from
494 * Adam Lazur. tty flow/intr cleanup.
495 * -- DISTRIBUTED
496 * 29.08.2002 3.09.12 Port to POSIX 1003.1-2001 hosts (Paul Eggert).
497 * Fixed encoding for reattach password test.
498 * Fixed NUL characters when encodings are active.
499 * Fixed silly encodings bugs. Fixed bogus
500 * oldflayer when a window gets freed.
501 * Altscreen support by Gurusamy Sarathy.
502 * Reuse old password in builtin_screenlock.
503 * -- DISTRIBUTED
504 * 05.09.2002 3.09.13 added missing break statement that broke
505 * the eval command.
506 * -- DISTRIBUTED
507 * 13.03.2003 3.09.15 Console workaround for linux. Scrolling-region
508 * reset fix. GBK encoding added.
509 * support for unicode combining characters added.
510 * openpty() support added (thomas@xs4all.nl).
511 * preselect of blank window ('-') or window
512 * list ('=') added. Added %` string escape
513 * and backtick command.
514 * -- DISTRIBUTED
515 * 08.09.2003 4.00.00 rewrote nonblock command, added defnonblock.
516 * added zmodem support (catch & passthrough).
517 * added screenblanker.
518 * fixed a couple of GBK bugs.
519 * rewrote command parsing.
520 * added -m option to windowlist (Felix Rosencrantz)
521 * -- DISTRIBUTED
522 * 18.09.2003 4.00.01 fixed two small bugs in the new parser.
523 * -- DISTRIBUTED
524 * 05.12.2003 4.00.02 fixed a bug in the ansi parser. fixed execs
525 * on ttys. fixed hardstatus line on blanked screen.
526 * -- DISTRIBUTED
527 * 11.10.2004, 4.00.03jw handle StartRc errors nonfatal if due to a msg.
528 * 12.10.2004, 4.00.03jw1 let docu of 'split' 'focus' 'remove' and 'only' refer to each other.
529 * 01.11.2004, 4.00.03jw2 zombie command has new option 'onerror'
530 * 2005-12-19, 4.00.03jw3 syntax error.
533 #define ORIGIN "FAU"
534 #define REV 4
535 #define VERS 1
536 #define PATCHLEVEL 0
537 #define DATE "2-May-06"
538 #define STATE "devel"