# Capitolo 6. History

Ecco il ChangeLog :

       1 1998-09-03  David Faure  <faure@kde.org> (0.8.8)
       2
       3 	* ktalkd/unixsock.cpp: Added chmod => ktalk can write to the socket.
       4
       5 1998-09-02  David Faure  <faure@kde.org>
       6
       7 	* ktalkd/unixsock.cpp, .h: New. Direct communication with ktalk.
       8 	* ktalkd/announce.cpp: Call sendToKtalk.
       9
      10 1998-08-29  David Faure  <faure@kde.org>
      11
      12 	* ktalkd/options.cpp: Default values moved from .h to .cpp.
      13 	Makes -ansi happier.
      14
      15 1998-08-23  David Faure  <faure@kde.org>
      16
      17 	* ktalkd/process.cpp (process_request): print_response enabled again.
      18
      19 	* ktalkd/find_user.cpp: Removed the 'break;' for xdm, and didn't
      20 	override tty. This way, you can have both announcements (text & X).
      21
      22 1998-08-19  David Faure  <faure@kde.org> (0.8.7)
      23
      24 	* ktalkd/mail.local: mail.local is back in the distrib. Has been
      25 	forgotten since 0.7.0 !! I added a README.mail.local to explain
      26 	its purpose.
      27
      28 	* ktalkd/announce.cpp: Added text announce in addition to X announce.
      29
      30 	* ktalkd/process.cpp: Removed check for the family field of addr. Oops.
      31
      32 	* doc/en/*, *: Updated my email address from
      33 	  <david.faure@insa-lyon.fr> to <faure@kde.org>
      34
      35 1998-08-15  David Faure  <faure@kde.org> (0.8.6)
      36
      37 	* ktalkd/machines/talkconn.cpp: Added check for remote protocol.
      38 	This means that it is now possible to forward to an otalk machine ...
      39
      40 	* ktalk/machines/forwmach.cpp: ... and/or from an otalk machine.
      41
      42 	The first one who sends me an email after testing both, wins :)
      43
      44 	* ktalkd/machines/check_protocol.cpp: Removed. Integrated into
      45 	  talkconn.cpp. Thanks to Burkhard Lehner for the example code.
      46
      47 	* ktalk/machines/answmach.cpp: Added a sleep(1) for not logged/NEU.
      48
      49 	* ktalkd/print.cpp: Used c++ overriding to name "message()" the
      50 	    former message_s() et message2().
      51
      52 1998-08-12  David Faure  <faure@kde.org> (0.8.5)
      53
      54 	* ktalkd/find_user.cpp: A nasty bug with unsigned int fixed.
      55 	   Thanks to Rolf Offermanns who found it.
      56 	   Uncommented the use of ut_host for PTYs (ex : xterms).
      57 	   Exit the loop if XDM login found (highest priority).
      58
      59 	* kotalkd/includ.h: Added a simpler version of includ.h.
      60
      61 1998-08-10  David Faure  <faure@kde.org> (0.8.4)
      62
      63 	* ktalkd/machines/talkconn.cpp: Support for otalk. (not finished).
      64
      65 	* kotalkd/*.c: Just send to ktalkd, which responds itself.
      66
      67 	* ktalkd/process.cpp: Handle otalk packets (with vers=0)
      68
      69 1998-08-09  David Faure  <faure@kde.org>
      70
      71 	* kotalkd/kotalkd.c: Dies if ktalk protocol detection (-> ntalk detected).
      72
      73 	* ktalkd/machines/forwmach.cpp: Now forwards DELETEs too. (cf. sig_handler).
      74
      75 	* ktalkd/machines/forwmach.cpp: Final cleanup improved. (for forwmachines).
      76
      77 	* ktalkd/options.cpp: Created, to hold systemwide options.
      78
      79 	* ktalkd/*.c: Converted to c++ all c files.
      80
      81 1998-08-07  David Faure  <faure@kde.org> (0.8.3)
      82
      83 	* ktalkd/doc/en/Makefile.am: index.html -> ktalkd.html
      84
      85 1998-08-07  David Faure  <faure@kde.org> (0.8.2)
      86
      87 	* ../acincktalk.m4: Bug fix for the bug fix. Linux detection ok.
      88
      89 1998-08-02  David Faure  <faure@kde.org>
      90
      91 	* doc/en/ktalkd.sgml: Converted all documentation to sgml. Phew.
      92
      93 	* kcmktalkd/forwmachpage.cpp: i18n'ed the explanation for forwards
      94
      95 1998-07-31  David Faure  <faure@kde.org>
      96
      97 	* ../acincktalk.m4: More output printed out and a bug fix
      98
      99 1998-07-30  David Faure  <faure@kde.org> (0.8.1)
     100
     101 	* kotalkd/*.c: New way to support otalk protocol : forward everything
     102 	to local ntalk daemon (possibly ktalkd, but any other should work too)
     103
     104 	* ktalkd/machines/talkconn.cpp (listen): Use SOMAXCONN as arg to listen
     105
     106 1998-07-27  David Faure  <faure@kde.org> (0.8.0)
     107
     108 	* kotalkd/: Created to support otalk protocol. No new source
     109 	files. Everything is links in it, except Makefile.am and all
     110 	generated files.
     111
     112 1998-07-26  David Faure  <faure@kde.org>
     113
     114 	* ktalkd/threads.c: Created to manage children processes (register, wait, ...)
     115 	No more zombie processes waiting 1mn30s to be acknowledged. :)
     116
     117 	* ktalkd/machines/forwmach.*: FWT. Lots of bug fixed. Fully tested now.
     118
     119 	* ktalkd/machines/talkconn.*: Bug fixing.
     120
     121 1998-07-24  David Faure  <faure@kde.org>
     122
     123 	* ktalkd/machines/forwmach.*: Created the Forwarding machine. FWA. FWR.
     124
     125 	* kcmktalkd/*: Added the 'forward' configuration page.
     126
     127 	* ktalkd/*: Reverted most of the patch from Enrico Scholz.
     128 	  The forwarding machine is now used for NEU if NEUBehaviour=1.
     129
     130 1998-07-18  David Faure  <faure@kde.org>
     131
     132 	* ktalkd/readcfg++.h: Removed. Now in readconf.h
     133
     134 1998-07-15  David Faure  <faure@kde.org> (0.7.0)
     135
     136 	* ktalkd/machines/talkconn.cpp (set_edit_chars): At last ! Fixed the
     137 	   bug in answmach banners, which first appeared 8 months ago,
     138 	   erasing half of some lines !
     139
     140 	* ktalkd/table.c, ktalkd/print.c: Improved logs.
     141
     142 	* ktalkd/process.c: Bug fixed : insert_table called even for NEU.
     143
     144 	* ktalkd/machines/*: Converted the answering machine to C++.
     145  	                     Split into 3 classes.
     146 	     TalkConnection : Handles the protocol.
     147 	     TalkMachine : Generic talk machine.
     148 	     AnswMachine : Answering machine. Inherits from TalkMachine.
     149
     150 1998-07-08  David Faure  <faure@kde.org> (0.6.2)
     151
     152 	* ktalkd/*, ktalkdlg.cpp: Applied patch for NEUBehaviour=1
     153 	by Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
     154
     155 	* answmach/init_disp.c: Handle VWERASE if not defined (for AIX)
     156
     157 1998-07-06  David Faure  <faure@kde.org>
     158
     159 	* ktalkd/announce.c: Small bug fix in text announcement (remotename).
     160
     161 1998-06-15  David Faure  <faure@kde.org>
     162
     163 	* ktalkd/find_user.c: Added blank after display, needed by announce.c
     164
     165 	* kcmktalkd/answmachpage.cpp: Override help() to display ktalkd's help.
     166
     167 1998-06-13  David Faure  <faure@kde.org> (0.6.1)
     168
     169 	* includ.h, talkd.h: took talkd.h from ktalk. ktalkd doesn't use the
     170 	                        system one anymore.
     171
     172 	* answmach/look_up.c: use sockaddr instead of osockaddr
     173
     174 	* acincktalk.m4, configure.in.1: removed the check for osockaddr
     175
     176 	* ktalkd/talkd.c: Use sys/params.h where available, for hostname length
     177
     178 1998-06-11  David Faure  <faure@kde.org> (0.6.0)
     179
     180 	* ktalkd/: Reorganised the directory structure, to ship ktalkd
     181 	with ktalkdlg and kcmktalkd in a single package.
     182
     183 	* talkd.c: Caller's hostname was limited to 32 ! Now 256.
     184
     185 	* Makefile.am: rewrote some of them, for non-KDE users.
     186
     187 1998-06-09  David Faure  <faure@kde.org> (0.5.7)
     188
     189 	* kcmktalkd: First release of the configuration dialog
     190
     191 1998-05-16  David Faure  <faure@kde.org> (0.5.6)
     192
     193 	* announce.c: Announces with ktalkdlg on ALL displays where the
     194            user is found. It works !
     195
     196 	* readcfg++.cpp (init_user_config):
     197 	   Added setenv("HOME",...) because the kdelibs rely on that to find
     198 	   the user config file.
     199
     200 1998-05-15  David Faure  <faure@kde.org> (0.5.5)
     201
     202 	* doc/: Made HTML documentation. Phew. Done.
     203
     204 	* readcfg++.cpp (init_user_config):
     205 	   Removed the un-necessary looking in pwd file.
     206            KDElibs do that for us :)
     207
     208 	* find_user.c:
     209 	   Disabled X processes scanning if uid < 10. (Security hole)
     210 	   Corrected a bug (S_ISCHR() is now "& 020") which didn't let you talk
     211 	   to tty2 if tty1 was "mesg n".
     212
     213 	* announce.c: open user config file before calling announce_proc, so
     214 	   that it *is* closed now. It wasn't because of 'return'.
     215
     216
     217 1998-05-06  David Faure  <faure@kde.org>
     218
     219 	* announce.c: now the non-KDE sound works with and without option.
     220 	* acinclude.m4.in - the ktalkd one : some more corrections for
     221                                              working without X.
     222
     223 1998-04-28  David Faure  <faure@kde.org> (0.5.4)
     224
     225 	* acinclude.m4.in - the one from ktalkd package, not the kdenonbeta one
     226 	   rewrote X detection, so that it works also without X :)
     227
     228 1998-04-20  David Faure  <faure@kde.org> (0.5.3)
     229
     230 	* Makefile.am: Removed -lkdeui, not needed.
     231 	* io.c: Corrected an awful bug
     232                       (NEUBanner displayed instead of OPTinvitelines)
     233 	* readcfg++.cpp: Added missing "/" before 'ktalkdrc'
     234
     235 1998-04-19  David Faure  <faure@kde.org> (0.5.2)
     236
     237 	* readcfg++.cpp: added check for user config file.
     238  	        (was created with root permission otherwise)
     239 	* acinclude.m4.in - the ktalkd one: updated
     240
     241 1998-04-15  David Faure  <faure@kde.org> (0.5.1)
     242
     243 	ktalkd doesn't use anymore kdedir() because it's protected.
     244 	It sets now $KDEBINDIR, for portable ktalkdrc files. KDEBINDIR
     245 	is determined by a call to the kde_bindir() function.
     246 	Makefile doesn't define TALKD_CONF anymore for compilation :
     247 	ktalkd now opens ktalkdrc from KApplication::kde_configdir().
     248
     249 1998-03-26  David Faure  <faure@kde.org> (0.5.0)
     250 	ktalkdrc: Extprg is now $KDEDIR/bin/ktalkdlg.
     251 	KDEDIR is now set when reading global configuration file.
     252 	Default value for Extprg includes $KDEDIR.
     253
     254 1998-03-25  David Faure  <faure@kde.org> (0.4.8)
     255 	KDEDIR is now set by ktalkd, not by ktalkdlg.
     256 	ktalkdrc*:removed path in front of sound files. ktalkdlg now finds them
     257 	 in kde_sounddir().
     258 	Added option ExtPrg. Set to ktalkdlg (default) or ktalk.
     259
     260 1998-03-14  David Faure  <faure@kde.org> (0.4.7)
     261 	Made 2 packages out of ktalkd : ktalkd and ktalkdlg (new name for
     262 	 atdlg), so that Burkhard Lehner <b_lehner@informatik.uni-kl.de>
     263 	can improve it to communicate with ktalk.
     264
     265 1998-03-13  David Faure  <faure@kde.org> (0.4.6)
     266 	Changed S_MESSG size. (Too little for mail first line, if NEU)
     267 	Used mkstemp instead of popen for the message left to the
     268 	answering machine. Added option EmptyMail, to avoid getting
     269 	empty mails.
     270
     271 1998-03-10  David Faure  <faure@kde.org> (0.4.5)
     272 	Renamed debug to debug_mode (debug exists in qt)
     273 	Updated configure.in and acinclude.m4 to match CVS ones.
     274 	Same for ltconfig, ltmain.sh, ...
     275 	Added new translations (es, it) and changed po structure.
     276 	Added NEUBanner* options to ktalkdrc.
     277
     278 1998-02-27  D.F. (thanks to Juraj Bednar <bednar@isternet.sk>) (0.4.4)
     279         Removed ktalkd-0.4.x/protocols from the distribution. Caused a
     280         bug when compiling.
     281
     282 1998-02-15  D.F. (thanks to B. Lehner<b_lehner@informatik.uni-kl.de>) (0.4.3)
     283 	added checks for paths.h and protocols/talkd.h (for Solaris)
     284 	Added default paths (/dev/ and /var/run/utmp) if paths.h not found
     285 	Included talkd.h in the distribution, for Solaris which doesn't have it
     286         Changed AC_CHECK_OSOCKADDR to use this file if protocols/talkd.h absent
     287
     288 1998-02-04  David Faure  <faure@kde.org> (0.4.2)
     289 	Added user option Answmach.
     290 	Moved the daemon to $KDEDIR/bin. One must now change inetd.conf
     291 	(this way, rpms won't conflict with standard ones, and the old
     292 	in.ntalkd will remain available). Should I deviate 'talk' protocol
     293 	too (in addition to 'ntalk') ?
     294 	Made installation NOT overwrite actual sitewide config file.
     295 	Merged and updated READMEs.
     296
     297 1998-02-03  David Faure  <faure@kde.org> (0.4.1)
     298 	Added -rpath option, as it's necessary for ktalkd if $KDEDIR/lib is
     299 	not set in ld.so.conf (LD_LIBRARY_PATH not read by a daemon)
     300
     301 1998-02-03 David Faure  <faure@kde.org> (0.4.0)
     302 	Corrected bugs related to new acinclude.m4 : compiling without X
     303 	and without KDE is possible again.
     304 	Added memcpy for structs.
     305 	Made atdlg re-write ktalkdrc for user if necessary.
     306
     307 1998-01-29  David Faure  <faure@kde.org> (0.3.4)
     308 	Removed answinfo var., added return val to announce and process_request.
     309 	Non existent user (NEU) support : either launch answmach or do nothing.
     310 	(set it in systemwide ktalkdrc). Don't sleep() before answering if NEU
     311 	or not logged.
     312
     313 1998-01-26  David Faure  <faure@kde.org> (0.3.3)
     314 	Deutsch translation added by J. Mertin <smurphy@stardust.phantasia.org>
     315 	Enabled atdlg without sound, following option set.
     316 	Removed nasty \r\n, not needed.
     317 	Made banner arrive 16 chars at a time, not the whole at once !
     318
     319 1998-01-25  David Faure  <faure@kde.org> (0.3.2)
     320 	Changed default configuration : ktalkd.wav will be installed
     321 	in $KDEDIR/share/apps/ktalkd.  ktalkdrc points to it.
     322 	Made package install_root capable (e.g. for building rpms).
     323
     324 1998-01-25  David Faure  <faure@kde.org> (0.3.1)
     325 	atdlg will now play sound itself, using libmediatool.
     326 	Typos and bugs corrected.
     327
     328 1998-01-24  still me ... :) (0.3.0)
     329         Added internationalization to atdlg.cpp. Had to change atdlg params.
     330         User must set language in ktalkdrc.
     331 	Added more user options to ktalkdrc_user: Sound, SoundPlayer, SoundFile.
     332 	Updated configure.in and acinclude.m4 to stick to kdenetwork as much
     333 	as possible.
     334
     335 1998-01-14  David Faure <faure@kde.org> (0.2.5)
     336 	Moved -DHAVE_KDE from config.h (was a bad hack) to Makefile.am
     337 	Added AC_CHECK_GETDOMAINNAME and AC_CHECK_GETHOSTNAME...
     338 	 and some other little changes to get closer to autoconf stuff from
     339 	 kdenetwork, for future integration. Worked on BSD portability.
     340
     341 1998-01-12  David Faure  <faure@kde.org> (0.2.4)
     342 	Changed acinclude.m4, to remove NULL, and to make check for osockaddr
     343 	work better under bsd... Also removed NULL from anywhere in the code.
     344
     345 1998-01-11  David Faure  <faure@kde.org> (0.2.3)
     346 	Added a macro in acinclude.m4, to check for sockaddr and osockaddr.
     347
     348 1998-01-11  David Faure  <faure@kde.org> (0.2.2)
     349 	Wrote a new way of finding users, in addition to reading utmp,
     350 	which reads /proc to find $DISPLAY of processes. (Linux only).
     351
     352 1998-01-08  David Faure  <faure@kde.org> (0.2.1)
     353 	Removed MSG_EOR as it used in BSD with another meaning.
     354
     355 1997-12-19  David Faure  <faure@kde.org> (0.2.0)
     356 	Merged patch from Ralph Weichert (check for libbsd, needed under libc5)
     357
     358 1997-12-16  David Faure  <faure@kde.org> (0.1.9)
     359 	Fixed link command (back to $(LINK), not $(CXXLINK).
     360 	Fixed process.c (config.h not included => NEW_FIND_USER not defined)
     361 	Wrote includ.h to resolve struct definitions problems.
     362 	Started user config file processing (~/.kde/share/config/ktalkdrc)
     363
     364 1997-12-13  David Faure  <faure@kde.org> (0.1.8)
     365 	Improved configure.in, acinclude.m4, and ktalkd/Makefile.am, to
     366 	* find out where to install the daemon
     367 	* compile even without X, Qt, and KDE
     368 	* remove jpeg/gif dependencies
     369
     370 1997-12-12  David Faure  <faure@kde.org> (0.1.7)
     371 	Small bugs correction.
     372
     373 1997-12-08  David Faure and Ralph Weichert (0.1.6)
     374 	Added autoconf and automake support. Added support for glibc.
     375 	Back to c compiling, except for .cpp files, of course.
     376
     377 1997-12-02  David Faure <faure@kde.org> (0.1.5)
     378 	Read KDE configuration file, $KDEDIR/share/config/ktalkdrc, both by
     379 	atdlg and ktalkd, in readcfg++.cpp. Made all daemon compile with g++.
     380 	(Is this right ?)
     381
     382 1997-11-23  David Faure <faure@kde.org> (0.1.4)
     383 	Re-wrote announcement by answering machine. One line at a time, not
     384 	one char at a time.
     385
     386 1997-11-22  David Faure <faure@kde.org> (0.1.3)
     387 	Re-wrote process_etc_file, to read talkd.conf sequentially.
     388
     389 1997-11-21  David Faure <faure@kde.org> (0.1.2c)
     390 	Merged patch from <Ralph.Weichert@physik.th-darmstadt.de> :
     391          Used KDE libs in atdlg. User configurable talk client.
     392 	Merged patch from Bruce Gingery <bruce@gtcs.com> :
     393 	 User configurable To: E-Mail address
     394
     395 1997-10-25  David Faure <faure@kde.org> (0.1.2b)
     396 	Made atdlg finish after RING_WAIT seconds, so that the re-announce
     397 	  will display another window (=> compatibility with other clients than
     398 	  ktalk)
     399
     400 1997-10-22  David Faure <faure@kde.org> (0.1.2)
     401 	Added to ktalkd (see README for description):
     402 	 * sound capability
     403 	 * configuration (/etc/talkd.conf)
     404 	 * answering machine
     405
     406 1997-05-14  R. (0.1.1)
     407         Improved (I hope) X11 recognition:
     408                 Local XDM logins (depends on sessreg)
     409                 Read $DISPLAY variable for PTY logins
     410         atdlg is run as user and can use MIT-magic-cookies
     411         atdlg will run talk program