+++ /dev/null
-diff -Nru LANChat-1.0.2/AUTHORS LANChat-1.0.2.new/AUTHORS
---- LANChat-1.0.2/AUTHORS Thu Jan 1 01:00:00 1970
-+++ LANChat-1.0.2.new/AUTHORS Tue Sep 12 23:02:39 2000
-@@ -0,0 +1 @@
-+
-diff -Nru LANChat-1.0.2/ChangeLog LANChat-1.0.2.new/ChangeLog
---- LANChat-1.0.2/ChangeLog Tue Sep 12 23:06:07 2000
-+++ LANChat-1.0.2.new/ChangeLog Thu Jan 1 01:00:00 1970
-@@ -1,20 +0,0 @@
--1.0.2 - fixed about 25 buffer overflows, both local & remote
-- added command line parameter for the nickname and host
-- fixed the screen size of non 80x25 terminals
-- proper color scheme on non color terminals (vt100)
-- fixed the positioning of the cursor on the input line
-- when refreshing other windows (verry annoying)
-- minor cosmetic changes of the user interface
-- few command aliases and a new command, changed the
-- behaviour of some of the commands and the format of
-- other (/msg nick, message).
-- timestapms in logfile, and changed format of the messages.
-- changes in the source tree.
--1.0.1 - /msg "nick" "body" bug fixed
-- timed-outs and resurrections implemented
-- iso-8859-2 goro added in windows lanchat version
-- added bug fixes from 1.0.0p patch (flood bugs)
-- some improvements to 'readme' file, lsm added
--1.0.0 - first version, not stable, not finished, a lot of bugs:) etc etc
-- there is a lack of many functions...
-- but you can CHAT and this is important
-\ No newline at end of file
-diff -Nru LANChat-1.0.2/INSTALL LANChat-1.0.2.new/INSTALL
---- LANChat-1.0.2/INSTALL Thu Jan 1 01:00:00 1970
-+++ LANChat-1.0.2.new/INSTALL Tue Sep 12 23:02:39 2000
-@@ -0,0 +1 @@
-+
-diff -Nru LANChat-1.0.2/Makefile.am LANChat-1.0.2.new/Makefile.am
---- LANChat-1.0.2/Makefile.am Thu Jan 1 01:00:00 1970
-+++ LANChat-1.0.2.new/Makefile.am Tue Sep 12 23:04:26 2000
-@@ -0,0 +1,10 @@
-+## Process this file with automake to produce Makefile.in
-+
-+bin_PROGRAMS = LANChat
-+
-+LANChat_SOURCES = lc_main.c lc_funcs.c
-+
-+LANChat_LDADD = @LIBS@
-+
-+EXTRA_DIST = BUGS lanchat.lsm README ROUTING TODO
-+
-diff -Nru LANChat-1.0.2/NEWS LANChat-1.0.2.new/NEWS
---- LANChat-1.0.2/NEWS Thu Jan 1 01:00:00 1970
-+++ LANChat-1.0.2.new/NEWS Tue Sep 12 23:02:39 2000
-@@ -0,0 +1,20 @@
-+1.0.2 - fixed about 25 buffer overflows, both local & remote
-+ added command line parameter for the nickname and host
-+ fixed the screen size of non 80x25 terminals
-+ proper color scheme on non color terminals (vt100)
-+ fixed the positioning of the cursor on the input line
-+ when refreshing other windows (verry annoying)
-+ minor cosmetic changes of the user interface
-+ few command aliases and a new command, changed the
-+ behaviour of some of the commands and the format of
-+ other (/msg nick, message).
-+ timestapms in logfile, and changed format of the messages.
-+ changes in the source tree.
-+1.0.1 - /msg "nick" "body" bug fixed
-+ timed-outs and resurrections implemented
-+ iso-8859-2 goro added in windows lanchat version
-+ added bug fixes from 1.0.0p patch (flood bugs)
-+ some improvements to 'readme' file, lsm added
-+1.0.0 - first version, not stable, not finished, a lot of bugs:) etc etc
-+ there is a lack of many functions...
-+ but you can CHAT and this is important
-\ No newline at end of file
-diff -Nru LANChat-1.0.2/configure.in LANChat-1.0.2.new/configure.in
---- LANChat-1.0.2/configure.in Thu Jan 1 01:00:00 1970
-+++ LANChat-1.0.2.new/configure.in Tue Sep 12 23:06:35 2000
-@@ -0,0 +1,36 @@
-+dnl Process this file with autoconf to produce a configure script
-+
-+AC_INIT(configure.in)
-+
-+AC_CANONICAL_SYSTEM
-+
-+AM_INIT_AUTOMAKE(gd, 1.8.3)
-+
-+AM_MAINTAINER_MODE
-+
-+dnl Checks for programs.
-+AC_PROG_AWK
-+AC_PROG_CC
-+AC_PROG_INSTALL
-+AC_PROG_LN_S
-+AC_PROG_MAKE_SET
-+AM_PROG_LIBTOOL
-+
-+dnl Checks for libraries.
-+dnl Replace `main' with a function in -lncurses:
-+AC_CHECK_LIB(ncurses, main)
-+
-+dnl Checks for header files.
-+AC_HEADER_STDC
-+AC_CHECK_HEADERS(unistd.h)
-+
-+dnl Checks for typedefs, structures, and compiler characteristics.
-+AC_TYPE_PID_T
-+AC_STRUCT_TM
-+
-+dnl Checks for library functions.
-+AC_TYPE_SIGNAL
-+AC_FUNC_STRFTIME
-+AC_CHECK_FUNCS(gethostname socket strstr)
-+
-+AC_OUTPUT(Makefile)
+++ /dev/null
-Binary files LANChat-1.0.2.old/LANChat and LANChat-1.0.2/LANChat differ
-diff -uNr LANChat-1.0.2.old/lc_main.c LANChat-1.0.2/lc_main.c
---- LANChat-1.0.2.old/lc_main.c Thu Mar 16 00:31:55 2000
-+++ LANChat-1.0.2/lc_main.c Tue Dec 4 04:48:01 2001
-@@ -40,6 +40,19 @@
-
- FILE* f;
-
-+// added by emvi
-+// add 'LC40' at the end of data
-+// LANChat for ms windows will crush if there isnt here
-+void presnd()
-+{
-+ int pos = strlen(hsnd.data);
-+ hsnd.data[pos+1] = 'L';
-+ hsnd.data[pos+2] = 'C';
-+ hsnd.data[pos+3] = '4';
-+ hsnd.data[pos+4] = '0';
-+}
-+// emvi
-+
- /********************************* main *****************************************/
-
- int main( int argc, char **argv )
-@@ -159,6 +172,7 @@
- }
-
- if ( cp2 == 0 ) { /* we are in cild process */
-+ presnd();
- while ( 1 ) {
- hsnd.dest = hsnd.sender;
- hsnd.type = LC_LINUX_REQUEST;
-@@ -230,7 +244,7 @@
- strcpy( topic, "<>" );
-
- strcpy( hsnd.nick, logname ); /* logname is safe */
-- pop_mode = 0; /* allow popup msgs */
-+ pop_mode = 1; /* dont allow popup msgs */
-
- wattrset( defwin, COLOR_PAIR( 4 ) );
- wprintw( defwin, "Welcome to " );
-@@ -304,6 +318,7 @@
- hsnd.type = LC_NORMAL;
- strcat( hsnd.data, "\x0d\x0a\0" );
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
- }
- break;
-@@ -314,6 +329,7 @@
- if ( !prepare_message() ) {
- hsnd.type = LC_POPUP;
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
- }
- break;
-@@ -331,6 +347,7 @@
- if ( auser( hrcv.data ) != -1 ) {
- hsnd.type = LC_REQ_STATUS_EX;
- hsnd.dest = auser( hrcv.data );
-+ presnd();
- snd();
- }
- else {
-@@ -358,6 +375,7 @@
- hsnd.dest = LC_BROADCAST;
- if ( users[ hsnd.sender ].away == 0 ) hsnd.type = LC_ALIVE;
- else hsnd.type = LC_AWAY_ALIVE;
-+ presnd();
- snd();
- for ( i = 0; i < 255; i++ )
- if ( strlen( users[ i ].nick ) > 0 && i != hsnd.sender ) {
-@@ -413,6 +431,7 @@
- }else
- hsnd.type = LC_CANTPOP;
- hsnd.dest = hrcv.sender;
-+ presnd();
- snd();
- // }
- break;
-@@ -436,6 +455,7 @@
- hsnd.data[4092]='\0';
- strcat( hsnd.data, "\x0d\x0a\0" );
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
- break;
- case LC_STATUS_EX:
-@@ -462,16 +482,19 @@
- hsnd.type = LC_ALIVE;
- else
- hsnd.type = LC_AWAY_ALIVE;
-+ presnd();
- snd();
- hsnd.type = LC_TOPIC;
- strncpy( hsnd.data, topic, 4092 ); hsnd.data[4092]='\0';
- strcat( hsnd.data, "\x0d\x0a\0" );
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
- hsnd.type = LC_TOPIC_TIME;
- strncpy( hsnd.data, topictime, 4092 ); hsnd.data[4092]='\0';
- strcat( hsnd.data, "\x0d\x0a\0" );
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
- break;
- case LC_LEAVE:
-@@ -497,6 +520,7 @@
- strncpy( hsnd.data, away, 4092 ); hsnd.data[4092]='\0';
- strcat( hsnd.data, "\x0d\x0a\0" );
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
- }
- break;
-@@ -506,6 +530,7 @@
- hsnd.type = LC_ALIVE;
- else
- hsnd.type = LC_AWAY_ALIVE;
-+ presnd();
- snd();
- break;
- case LC_START_AWAY:
-@@ -559,6 +584,7 @@
- hsnd.data[4092]='\0';
- strcat( hsnd.data, "\x0d\x0a\0" );
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
-
- while ( !finish ) {
-@@ -613,6 +639,7 @@
- hsnd.data[ strlen( hsnd.data ) - 7 ] = '\0';
- strcat( hsnd.data, "\x0d\x0a\0" );
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
- hsnd.type = LC_TOPIC_TIME;
- strcpy( hsnd.data, atime( 0 ) );
-@@ -698,6 +725,7 @@
- if(away_mode==1){ /* termination of away mode */
- hsnd.type = LC_END_AWAY;
- hsnd.dest = LC_BROADCAST;
-+ presnd();
- snd();
- away_mode = 0;
- }
-@@ -713,6 +741,7 @@
- hsnd.dest = hsnd.sender;
- }
- crypt( hsnd.data, hsnd.sender, hsnd.dest );
-+ presnd();
- snd();
- wdeleteln( inputwin );
- wrefresh( inputwin );