You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
|
Apr
(8) |
May
(6) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Robert <ro...@14...> - 2002-06-13 20:29:13
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Christoph hatte Segfaults. - ---------- Weitergeleitete Nachricht ---------- Subject: Debug-Ausgabe Date: Thu, 13 Jun 2002 08:59:00 From: <dk2crn@db0ovn.#nrw.deu.eu> To: <dl1nc@db0zka.#bay.deu.eu> X-Info: No login password - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hallo Robert, hier nochmal eine Debug-Ausgabe: #########################################################################= ## (gdb) run Starting program: /opt/kde3/bin/linkt [New Thread 1024 (LWP 1203)] LinKT V0.8rc1 (01.05.2002) Copyright (C) 1997-2001 Jochen Sarrazin, DG6VJ gpg (GnuPG) 1.0.6 Copyright (C) 2001 Free Software Foundation, Inc. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details. Home: ~/.gnupg Unterst=FCtzte Verfahren: Cipher: IDEA, 3DES, CAST5, BLOWFISH, RIJNDAEL, RIJNDAEL192, RIJNDAEL256, TWOFISH gpg: skipping pubkey 1: already loaded gpg: skipping pubkey 2: already loaded gpg: skipping pubkey 3: already loaded Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA, ELG Hash: MD5, SHA1, RIPEMD160 0 Ports found: sp0 38400 ( 6pack-38400 Bd) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 1203)] 0x40c74a43 in strcmp () from /lib/libc.so.6 (gdb) bt #0 0x40c74a43 in strcmp () from /lib/libc.so.6 #1 0x0807b444 in BoxCheckWin::proceed () #2 0x080631e0 in Channel::work_with_frame () #3 0x080627dd in Channel::rxFrame () #4 0x0805d3ad in Channel::qt_invoke () #5 0x405eb1f7 in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #6 0x405eb30a in QObject::activate_signal () from /usr/lib/qt3/lib/libqt-mt.so.3 #7 0x40895384 in QSocketNotifier::activated () from /usr/lib/qt3/lib/libqt-mt.so.3 #8 0x4060117e in QSocketNotifier::event () from /usr/lib/qt3/lib/libqt-mt.so.3 #9 0x40593586 in QApplication::internalNotify () from /usr/lib/qt3/lib/libqt-mt.so.3 #10 0x40593424 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.= so.3 #11 0x40280da5 in KApplication::notify () from /opt/kde3/lib/libkdecore.s= o.4 #12 0x40541d83 in sn_activate () from /usr/lib/qt3/lib/libqt-mt.so.3 #13 0x40542547 in QApplication::processNextEvent () from /usr/lib/qt3/lib/libqt-mt.so.3 #14 0x40594a14 in QApplication::enter_loop () from /usr/lib/qt3/lib/libqt-mt.so.3 #15 0x40541df6 in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so= =2E3 #16 0x08084433 in main () - - ---Type <return> to continue, or q <return> to quit--- #17 0x40c199ed in __libc_start_main () from /lib/libc.so.6 (gdb) #########################################################################= ## Ob das Programm mit der L=E4nge des Boxchecknamens Probleme hat? In der D= atei .linkt/userdb/db0.../db0ovn-8 steht: "boxcheck Jeden Eintrag pr=FCfen". Dieser Name ist l=E4nger als alle anderen Boxchecknamen. 73 de Christoph - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: LinKT V0.8rc1 iD8DBQE9CF7wOL/PIMcQqKARAiqsAKCkTEFH81n5sRDetphXoy7poJNzWwCeJq0v MCE9Ck8mi9KieO+27S2pumM=3D =3DSom9 - -----END PGP SIGNATURE----- - ------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9CQCTo4a8ramwUd8RAqADAJ0eGneas12cps3HXSZqzlvTgFZV8wCfTVuf lErc3e6cBnonVy7clccP+XU=3D =3DUxlP -----END PGP SIGNATURE----- |
From: Robert <ro...@14...> - 2002-06-10 15:43:09
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Oh Panne! Erstmal ist die IP von kundenserver.de (wo unsere steinhausser.de-Domain = ist)=20 in der RBL ( http://mail-abuse.org/cgi-bin/lookup?195.20.224.130 ), und d= amit=20 bei lists.sourceforge.net gesperrt. Dann wollte ich die Mail erneut sende= n,=20 da diese Liste scheibar offen beschreibar ist. Mailereintrag f=FCr 1409.o= rg war=20 falsch und Signatur auch futsch. Also hier nochmal das ganze: - ----------------------------------------------------------------- Nachricht enth=E4lt Signatur von Christoph Rueckert (DK2CRN, DSA)=20 <dk...@qs...> (Schl=FCssel-ID: 0xC710A8A0). Die Signatur ist g=FCltig und der Schl=FCssel ist vertrauensw=FCrdig. Hallo Robert, ich habe heute nochmal ein Update der Version 0.8rc1 durchgef=FChrt. Folg= ende=20 Dinge sind mir aufgefallen: depmode=3Dgcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I/opt/kde3/include -I/usr/lib/qt3/include=20 - -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2=20 - -fno-exceptions -fno-check-new -c -o ddate.o `test -f ddate.cpp || ech= o=20 './'`ddate.cpp =2E./depcomp: ../depcomp: No such file or directory make[2]: *** [ddate.o] Error 127 Habe die makefiles im linkt-Verzeichnis von Hand ge=E4ndert, damit ich Li= nKT=20 kompilieren konnte. Ist aber keine L=F6sung, hi. Die Datei configure.in.in hat eine Groesse von 0 Byte. Weiterhin Fehler beim Boxcheck. Wenn ich "Jeden Eintrag pr=FCfen" ausw=E4= hle=20 st=FCrtzt LinKT ab. W=E4hle ich ein anderes Schema aus, funktioniert alle= s=20 normal. Die neue Bedienungsanleitung ist mir angenehm aufgefallen. Super Arbeit. = Das=20 neue MonKT scheint nun die Calls korrekt zu sortieren. 73 de Christoph Ende der signierten Nachricht - ----------------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9BMkLo4a8ramwUd8RAonRAJ99LZUy0jlfrrnTJAI8A1Y+WlzuVACfd5RP 3QNKhF7IN4PeuXPTHgS2pNw=3D =3De2F4 -----END PGP SIGNATURE----- |
From: Steinhaeusser <web...@14...> - 2002-06-10 15:32:32
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, ich hab vom Christoph DK2CRN diese Mail gekriegt: - ------------------------------------------------------------------------= ---- - Nachricht enth=E4lt Signatur von Christoph Rueckert (DK2CRN, DSA) <dk...@qs...> (Schl=FCssel-ID: 0xC710A8A0). Die Signatur ist g=FCltig und der Schl=FCssel ist vertrauensw=FCrdig. Hallo Robert, ich habe heute nochmal ein Update der Version 0.8rc1 durchgef=FChrt. Folg= ende Dinge sind mir aufgefallen: depmode=3Dgcc /bin/sh ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I/opt/kde3/include -I/usr/lib/qt3/include - -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 - -fno-exceptions -fno-check-new -c -o ddate.o `test -f ddate.cpp || ech= o './'`ddate.cpp =2E./depcomp: ../depcomp: No such file or directory make[2]: *** [ddate.o] Error 127 Habe die makefiles im linkt-Verzeichnis von Hand ge=E4ndert, damit ich Li= nKT kompilieren konnte. Ist aber keine L=F6sung, hi. Die Datei configure.in.in hat eine Groesse von 0 Byte. Weiterhin Fehler beim Boxcheck. Wenn ich "Jeden Eintrag pr=FCfen" ausw=E4= hle st=FCrtzt LinKT ab. W=E4hle ich ein anderes Schema aus, funktioniert alle= s normal. Die neue Bedienungsanleitung ist mir angenehm aufgefallen. Super Arbeit. = Das neue MonKT scheint nun die Calls korrekt zu sortieren. 73 de Christoph Ende der signierten Nachricht - ------------------------------------------------------------------------= ---- - 73, Robert -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9BL28o4a8ramwUd8RApQAAJ0YVuS+FA7E+xAlAl4VUpN/1p8RhACgpXjG JW9Bg3bbgtkpuMkbvETnIp0=3D =3Deod9 -----END PGP SIGNATURE----- |
From: Robert <ro...@14...> - 2002-06-02 23:52:37
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Mario, > Schick ich solche Vorschl=E4ge eigentlich besser an dich oder an die > Mailingliste? naja, eigentlich bin ich ja kein LinKT-Programmierer, ich hab nur die Dok= u=20 "verbrochen". Und etwas drin rumgepatcht. Das Werk stammt =FCberwiegend v= om=20 Jochen, HP arbeitet aber auch stark mit. Beide sind mit Studiumsstress=20 ziemlich untergetaucht, daher beantworte ich meist als erstes div. Mails. > Erst einmal hat ist im HEAD anscheinend wieder eine seltsame Eigentscha= ft im > TX-Window aufgetaucht. Nachdem ich die Farben ein paar mal hin und > hergeschalten habe, hat das TX Fenster zwar die normalen Fenstermanager > Farben, wenn es jedoch aktiv ist wird die Scrolleiste(!) des TX-Fenster= s > pl=F6tzlich blau. Hm, werd ich weiterleiten. (Cc geht an linkt-devel) > Zweite Sache: Das Mausrad im kompletten Fenster bezieht sich immer auf = das > TX-Fenster, was ich etwas nervig finde. F=FCr mich w=E4re es im RX-Fens= ter > angenehmer. Ist bekannt, liegt am Outputwidget. Da ist ja ein neues in Arbeit, mit de= m das=20 dann machbar ist. Inzwischen hat Jochen ja auch seit einem halben Jahr ei= ne=20 Radmaus, also sollte er es auch testen k=F6nnen ;-) > Dritte Sache: > Du(?) erh=E4ltst von mir in den n=E4chsten Tagen ein Patch, das ein net= tes > Taskleisten Icon hinzuf=FCgt und, so ich dazu komme, auch ein paar weit= ere > Funktionen erg=E4nzt, so dass man auf dem Desktop nicht immer das LinKT > Hauptfenster suchen muss :) Hm, klingt nicht schlecht, werd ich mir angucken und entweder selber einf= =FCgen=20 oder wieder weitergeben. > Hat es einen spezeillen Grund, dass im Men=FC bei so Sachen wie Prefer= ences > nicht die KStdAction verwendet wird, sondern das ganze (bei gleicher AP= I) > selbst definiert wird? Ich zumindest sehe nicht, wieso die im Hauptmen=FC > nicht verwendet werden sollte. Musst du Jochen fragen. Ich denke mal, das ist so historisch gewachen. La= ut=20 Jochen selbst ist in LinKT einiges anders, als er es heute programmieren=20 w=FCrde, hi. > Nachricht enth=E4lt Signatur von m_h...@in... (Schl=FC= ssel-ID: > 0x5DADF225). > Die Signatur ist g=FCltig aber der Schl=FCssel ist nicht vertrauensw=FC= rdig. =DCberleg doch mal, dir deinen Key mit ein paar Unterschriften zu versehe= n...=20 73, Robert -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8+qj3o4a8ramwUd8RAroWAJ4jcsdG6qUCGOLtDmcbjuc0ObpT/wCePnoR 55r0vyQ38Ffuvzf8otPdZFg=3D =3DsN3e -----END PGP SIGNATURE----- |
From: Robert (DL1NC) <ro...@st...> - 2002-05-18 17:23:21
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi agn, > an den beiden kompilierproblemen bin ich bisher auch gescheitert, keine > ahnung was da schiefgeht. evtl mal ein komplett neues ./admin > verzeichnis irgendwo herholen. Leider habe ich im moment echt keine Zei= t > > :-( Im Hauptdir tut's ein `ln -s admin/depcomp`. Aber scheint mir eher ein Pa= tch (Pfusch :-) als ein Fix zu sein. Hab heute Mittag angefangen, das autotools-Buch zu lesen... aber nicht we= it gekommen... 73, Rob -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE85o3No4a8ramwUd8RAngFAKCN2lryW7nzAzeeDcP+sYbpxZJOBACdGjno DbbfMlRhBmjg8Ckajd7ozFQ=3D =3DTtl4 -----END PGP SIGNATURE----- |
From: Hans-Peter Z. <hp...@14...> - 2002-05-15 17:11:32
|
Am Die, 2002-05-14 um 22.56 schrieb Robert Steinh=E4u=DFer: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Hi, >=20 > ich w=FCrde ja gerne an linkt-devel schreiben... aber: >=20 > KMail mag keine unterschiedlichen Return-Path- und From-Zeilen generieren= . Die=20 > Mailingliste hab ich unter ro...@14... abonniert, puretec nimmt aber unt= er=20 > diesem Absender (Return-Path) keine Mails entgegen (SMTP AUTH geht nicht.= ..).=20 > Oder f=E4llt irgendwem eine ander M=F6glichkeit ein, wie ich ro...@14...= senden=20 > kann? Ein anderer SMTP-Server vielleicht? Aber die sind ja alle zu,=20 > Spam-Schutz... Warum benutzt du nicht den smtp-server deines Uplinks, der ist zust=E4ndig weil er dich identifizieren kann (telefonnummer) und nimmt normalerweile auch alle envelope-adressen an (zumindest smtp.easy-net.de, smtp.nikoma.de etc). an den beiden kompilierproblemen bin ich bisher auch gescheitert, keine ahnung was da schiefgeht. evtl mal ein komplett neues ./admin verzeichnis irgendwo herholen. Leider habe ich im moment echt keine Zeit :-( Tsch=FCss HP |
From: Hans-Peter Z. <hp...@14...> - 2002-05-05 22:05:30
|
Hi Klaus, das ist mit sicherheit die sch=F6nere variante. Wir hatten uns halt das Wochenende vorgenommen und neben dem Port noch einige andere Sachen auf der Todo-Liste und deshalb die einfachere Methode gew=E4hlt, damit wir fertig wurden. Du kannst Jochen oder mir ja mal deine Variante mailen, oder selbst versuchen die beiden Versionen zu vereinigen. Wir haben neben der KDE3-Unterst=FCtzung noch einige Bugs und Unzul=E4nglichkeiten sowie Sch=F6nheitsfehler beseitigt.=20 Viele Gr=FC=DFe HP |
From: Hans-Peter Z. <hp...@14...> - 2002-05-05 21:11:22
|
Hallo Klaus, wir haben uns letztes Wochenende in Berlin bei Jochen getroffen und genau das selbe gemacht. Der HEAD-Branch im CVS heisst 0.8rc1 und ist f=FCr KDE3... Hmmm, kannst es dir ja mal anschauen, evtl gibts ja doch ein paar Dinge, die wir jetzt nicht doppelt gemacht haben. Viele Gr=FC=DFe HP |
From: Klaus H. <kla...@gm...> - 2002-05-05 20:44:02
|
Hallo zusammen, vielleicht interessiert euch das hier. Ich habe LinKT zum groessten Teil auf KDE3 portiert. Es funktioniert (soweit ich das testen konnte) so ziemlich alles. Das einzige, was noch fehlt ist das Channel-Listen-Widget. Das habe ich im Moment als dummy-Klasse ausgefuehr. Das duerfte jedoch nicht mehr soviel Arbeit sei. Leider habe ich nirgendwo einen Account, um das Source-Archiv abzulegen. Also wenn Interesse daran besteht, dann koennt Ihr euch ja bei mir melden. vy 73 de Klaus, DL3KHB |
From: <ro...@14...> - 2002-05-04 20:26:08
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, die Version, die dezeit im CVS liegt, kompiliert nicht out-of-the-box. ./configure rennt durch, make meckert sofort: > make: *** No rule to make target `configure.in.in', needed by > `configure.in'. Stop. Ein `touch configure.in.in` tut's. Vermutlich ginge es auch, im topdir-Makefile bei configure.in die Dependency zu configure.in.in zu löschen. Kann pse jemand das im CVS fixen, der bei diesen Auto-Dings ein *bisschen* was versteht? Tnx. 73, Robert - -- Robert Steinhäußer, DL1NC / N9KBK -- http://1409.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE81EM8o4a8ramwUd8RAmD1AJ9AQnTV9pzCU1+GNA5kprfksbNaRgCgqLfI +vu2NQhWH02MqIXmCCPvFaE= =n1Rq -----END PGP SIGNATURE----- |
From: Hans-Peter Z. <hp...@14...> - 2002-04-24 16:23:07
|
-----Weitergeleitete Nachricht----- From: Tomi Manninen <tp...@pr...> To: Hans-Peter Zorn <hp...@14...> Subject: LinKT patch Date: 24 Apr 2002 19:20:22 +0300 Hi Hans-Peter, Would you consider the applying the attached patch to the mainstream LinKT code? The patch adds support for LinuxNode compatible zlib compression. =20 I have tried to make sure it won't interfere with anything else in LinKT and I can say that things have worked FB for me both with compression enabled and disabled. PS. The comression scheme in LinuxNode does not have any negotiation=20 capabilities so each end must know forehand that the other end is=20 expecting compression. That's also why enabling the compression is a bit=20 ugly: you have to connect to a "compressed" LinuxNode, ignore the garbage=20 you will get on the screen, then enable zlib compression in settings menu=20 for this user and finally diconnect. Compression will work on the next=20 connection to this peer. --=20 Tomi Manninen Internet: oh...@sr... OH2BNS AX.25: oh...@oh... KP20ME04 Amprnet: oh...@oh... ---- diff -ruN -X dontdiff linkt-0.6.99-20011124-CVS/linkt/Makefile.am linkt-0.6= .99-20011124-CVS-bns/linkt/Makefile.am --- linkt-0.6.99-20011124-CVS/linkt/Makefile.am Thu Feb 1 18:01:10 2001 +++ linkt-0.6.99-20011124-CVS-bns/linkt/Makefile.am Sat Feb 9 23:20:23 200= 2 @@ -33,7 +33,8 @@ remote.cpp userinfo.cpp settingsdlg.cpp chanlist.cpp\ bin.cpp crc.cpp dostime.cpp passwords.cpp pathcheck.cpp\ comp.cpp ahuf.cpp filetrans.cpp auto7.cpp \ - pref.cpp cfg.cpp userdata.cpp checksums.cpp + pref.cpp cfg.cpp userdata.cpp checksums.cpp \ + zcomp.cpp =20 # the library search path.=20 linkt_LDFLAGS =3D $(all_libraries) $(KDE_RPATH)=20 @@ -51,7 +52,7 @@ bin.h crc.h dostime.h passwords.h didadit.h md5.h\ comp.h boxcheck.h sound.h userdata.h checksums.h\ yapp.h local_ax25.h filetrans.h auto7.h pref.h cfg.h \ - gpg.h pathcheck.h=20 + gpg.h pathcheck.h zcomp.h =20 # just to make sure, automake makes them=20 BUILTSOURCES =3D main.moc channel.moc output.moc vorschreib.moc ax25k.moc\ diff -ruN -X dontdiff linkt-0.6.99-20011124-CVS/linkt/channel.cpp linkt-0.6= .99-20011124-CVS-bns/linkt/channel.cpp --- linkt-0.6.99-20011124-CVS/linkt/channel.cpp Sun Nov 11 22:40:45 2001 +++ linkt-0.6.99-20011124-CVS-bns/linkt/channel.cpp Sun Feb 10 00:27:08 200= 2 @@ -33,6 +33,7 @@ #include "queuelist.h" #include "yapp.h" #include "ahuf.h" +#include "zcomp.h" #include "gpg.h" #include "didadit.h" #include "infobar.h" @@ -358,6 +359,9 @@ // TOP-Huffman ahuf =3D new AHUF(); =20 + // Zlib compression + zcomp =3D new ZCOMP(); + // Connect-Pfad connectPath =3D new ConnectPathCheck(); connectPath->add( call ); @@ -533,6 +537,7 @@ delete userinfo; delete remote; delete ahuf; + delete zcomp; delete password; delete boxcheck; } @@ -966,10 +971,22 @@ char buffer[FRAMESIZE+1]; =20 - if (pollStatus() =3D=3D 0) return; + if (pollStatus() =3D=3D 0) return; =20 bytesTX +=3D len; =20 + if ((userinfo->getFlags() & CH_ZCOMP) > 0 || (comp =3D=3D COMP_Z)) + { + do + { + if ((count =3D zcomp->Compress(str, len, buffer, FRAMESIZE)) > 0) + if (write(txfd, buffer, count) !=3D count) + send_error =3D true; =20 + } + while (count =3D=3D FRAMESIZE); + return; + } + // Wenn dieses Frame Huffman gepackt sein soll, wird hier gewandelt. is_huff =3D false; if (comp !=3D COMP_NO) @@ -1002,47 +1019,64 @@ // // Diese Funktion wird aufgerufen, wenn von unserer Verbindung Daten // gekommen sind. + +#define CHBUFLEN 1024 + void Channel::rxFrame(int socket) { - char tmp[1000], output[1000]; - int len, tmplen; + char tmp[CHBUFLEN], output[CHBUFLEN]; + int len, tmplen, count; =20 - len =3D read(socket, tmp, 1000); + len =3D read(socket, tmp, CHBUFLEN); =20 - if (len > 0) + if (len <=3D 0) + return; + + if (old_status =3D=3D 1) + { + statusConnectGot(); + old_status =3D 4; + } + + if ((userinfo->getFlags() & CH_ZCOMP) > 0) { - if ((flags & CH_COMP) > 0) + do { - if ((tmplen =3D decomp_stat_huff( tmp, len, output )) > 0) - { - len =3D tmplen; - memcpy(tmp, output, len); - tmp[len] =3D '\0'; - } + if ((count =3D zcomp->Decompress(tmp, len, output, CHBUFLEN)) > 0) + { + bytesRX +=3D count; + work_with_frame(output, count); + } } + while (count =3D=3D CHBUFLEN); + return; + } =20 - if ((flags & CH_HUF_RX) > 0) + if ((flags & CH_COMP) > 0) + { + if ((tmplen =3D decomp_stat_huff( tmp, len, output )) > 0) { - if ((tmplen =3D ahuf->DeKomprimieren( output, tmp, len )) > 0) - { - len =3D tmplen; - memcpy(tmp, output, len); - tmp[len] =3D '\0'; - } + len =3D tmplen; + memcpy(tmp, output, len); + tmp[len] =3D '\0'; } + } =20 - bytesRX +=3D len; - - if (old_status =3D=3D 1) + if ((flags & CH_HUF_RX) > 0) + { + if ((tmplen =3D ahuf->DeKomprimieren( output, tmp, len )) > 0) { - statusConnectGot(); - old_status =3D 4; + len =3D tmplen; + memcpy(tmp, output, len); + tmp[len] =3D '\0'; } - - work_with_frame(tmp, len); - return; } + + bytesRX +=3D len; + + work_with_frame(tmp, len); } + //------------------------------------------------------------------------= --- void Channel::checkPi1chlConnect(char *data) { @@ -1630,6 +1664,9 @@ didadit =3D NULL; } =20 + if ((userinfo->getFlags() & CH_ZCOMP) > 0) + zcomp->End(); + if (conf->getFlag(CFG_CLOSEWINDISC)) close(); if (txfd !=3D -1) { @@ -1679,6 +1716,9 @@ binrx =3D NULL; } =20 + if ((userinfo->getFlags() & CH_ZCOMP) > 0) + zcomp->End(); + if (conf->getFlag(CFG_CLOSEWINDISC)) close(); if (txfd !=3D -1) { diff -ruN -X dontdiff linkt-0.6.99-20011124-CVS/linkt/channel.h linkt-0.6.9= 9-20011124-CVS-bns/linkt/channel.h --- linkt-0.6.99-20011124-CVS/linkt/channel.h Tue Feb 6 01:39:09 2001 +++ linkt-0.6.99-20011124-CVS-bns/linkt/channel.h Sat Feb 9 23:53:39 2002 @@ -51,6 +51,7 @@ class FileTransfer; class YAPP; class AHUF; +class ZCOMP; class CheckGPG; class DIDADIT; class TransferInfo; @@ -140,6 +141,7 @@ DIDADIT *didadit; YAPP *yapp; AHUF *ahuf; + ZCOMP *zcomp; CheckGPG *gpg; Passwords *password; int filerx_fd; diff -ruN -X dontdiff linkt-0.6.99-20011124-CVS/linkt/flags.h linkt-0.6.99-= 20011124-CVS-bns/linkt/flags.h --- linkt-0.6.99-20011124-CVS/linkt/flags.h Sun Sep 2 20:03:56 2001 +++ linkt-0.6.99-20011124-CVS-bns/linkt/flags.h Sun Feb 10 00:21:41 2002 @@ -41,12 +41,13 @@ #define CH_YAPP 32 // Es wird gerade ein YAPP-File transferiert #define CH_LINEMODE 64 // Daten Zeilenweise oder Frameweise weitergeben? #define CH_AUTOBINTX 128 // Wird gerade ein Autobin-File gesendet? -#define CH_COMP 256 // Online Huffman-Komprimierung (//COMP =3D SP) +#define CH_COMP 256 // Online Huffman-Komprimierung (//COMP =3D SP) #define CH_CAN_SEND 512 // Vertr=E4gt der Treiber auf diesem Kanal noch = ein Frame? -#define CH_DIDADIT 1024 // DIDADIT-Uebertragung -#define CH_HUF_TX 2048 // Online Huffman-Komprimierung (#HUF# =3D T= OP) -#define CH_HUF_RX 4096 // Online Huffman-Komprimierung (#HUF# =3D T= OP) +#define CH_DIDADIT 1024 // DIDADIT-Uebertragung +#define CH_HUF_TX 2048 // Online Huffman-Komprimierung (#HUF# =3D TOP) +#define CH_HUF_RX 4096 // Online Huffman-Komprimierung (#HUF# =3D TOP) #define CH_TSIDTX 8192 // Haben wir unsere Terminal-SID gesendet? +#define CH_ZCOMP 16384 // Online Zlib compression =20 #define TYPE_TERMINAL 1 #define TYPE_MAILBOX 2 @@ -164,7 +165,8 @@ #define COMP_FLAG 0 #define COMP_SP 1 #define COMP_HUF 2 -#define COMP_NO 3 +#define COMP_Z 3 +#define COMP_NO 4 =20 diff -ruN -X dontdiff linkt-0.6.99-20011124-CVS/linkt/settingsdlg.cpp linkt= -0.6.99-20011124-CVS-bns/linkt/settingsdlg.cpp --- linkt-0.6.99-20011124-CVS/linkt/settingsdlg.cpp Thu Feb 1 20:25:18 200= 1 +++ linkt-0.6.99-20011124-CVS-bns/linkt/settingsdlg.cpp Sun Feb 10 00:08:59= 2002 @@ -200,13 +200,16 @@ hufcomprx->setText( i18n( "#HUF# RX active" )); hufcomprx->setAutoResize( true ); =20 - allowANSI =3D new QCheckBox( conf_settings ); + allowANSI =3D new QCheckBox( conf_settings ); allowANSI->setGeometry( 260, 230, 190, 20 ); allowANSI->setText( i18n( "Allow ANSI-Codes" )); allowANSI->setAutoResize( true ); allowANSI->setEnabled( conf->getFlag(CFG_ALLOWANSI) ); =20 - + zlibcomp =3D new QCheckBox( conf_settings ); + zlibcomp->setGeometry( 260, 250, 190, 20 ); + zlibcomp->setText( i18n( "ZLib compression active" )); + zlibcomp->setAutoResize( true ); =20 QLabel* label; label =3D new QLabel( conf_settings ); @@ -570,6 +573,8 @@ else slotHufAllowToggled( huf_allowed->isChecked() ); =20 + if ((flags & CH_ZCOMP) !=3D 0) + zlibcomp->setChecked( true ); =20 remote =3D ((Channel *)chan)->userinfo->getRemotes(); if ((remote & REMOTE_QUIT) !=3D 0) @@ -767,6 +772,11 @@ else flags &=3D ~CH_HUFALLOW; =20 + if (zlibcomp->isChecked()) + flags |=3D CH_ZCOMP; + else + flags &=3D ~CH_ZCOMP; + // Geaenderte Flags speichern ((Channel *)chan)->userinfo->setFlags(flags); =20 @@ -927,7 +937,7 @@ SettingsDlg::SettingsDlg(QWidget *parent) : QTabDialog(0, i18n("configure"), true) { - setFixedSize(455, 330); + setFixedSize(455, 350); =20 chan =3D parent; =20 diff -ruN -X dontdiff linkt-0.6.99-20011124-CVS/linkt/settingsdlg.h linkt-0= .6.99-20011124-CVS-bns/linkt/settingsdlg.h --- linkt-0.6.99-20011124-CVS/linkt/settingsdlg.h Sat Nov 18 19:38:38 2000 +++ linkt-0.6.99-20011124-CVS-bns/linkt/settingsdlg.h Sun Feb 10 00:09:57 2= 002 @@ -80,7 +80,7 @@ // conf_settings QCheckBox *seven_autosave, *bin_autosave, *rec_con, *rec_discon; QCheckBox *autosend_pw, *remotes, *huf_allowed, *onlinecomp, *hufcomptx= ; - QCheckBox *hufcomprx, *didadit, *allowANSI; + QCheckBox *hufcomprx, *didadit, *allowANSI, *zlibcomp; QLineEdit *call, *name; QRadioButton *type_term, *type_digi, *type_bbs, *type_convers; QComboBox *swtype; diff -ruN -X dontdiff linkt-0.6.99-20011124-CVS/linkt/zcomp.cpp linkt-0.6.9= 9-20011124-CVS-bns/linkt/zcomp.cpp --- linkt-0.6.99-20011124-CVS/linkt/zcomp.cpp Thu Jan 1 02:00:00 1970 +++ linkt-0.6.99-20011124-CVS-bns/linkt/zcomp.cpp Sat Feb 9 23:27:28 2002 @@ -0,0 +1,174 @@ +#include <stdio.h> +#include <string.h> + +#include "zcomp.h" + +#undef COMP_DEBUG +#undef DECOMP_DEBUG + +/* + * Compress srclen bytes, starting at *src. Result is stored in *dest, + * a buffer of length destlen. + * + * Returns the amount of compressed data. If this equals to the + * original destlen, compress() must be called again with a new + * dest buffer. (src and srclen is ignored at next call) + */ +int ZCOMP::Compress(char *src, int srclen, char *dest, int destlen) +{ + int ret =3D -1; + + if ((flags & ZCOMP_INIT) =3D=3D 0 && Init()) + return -1; + + if ((flags & ZCOMP_COMP) =3D=3D 0) { + zout.next_in =3D (unsigned char *) src; + zout.avail_in =3D srclen; + raw_out +=3D srclen; + } + +#ifdef COMP_DEBUG + fprintf(stderr, "avail_in: %4d \t", zout.avail_in); + fprintf(stderr, "avail_out: %4d \t", zout.avail_out); + fprintf(stderr, "ret: %2d \t", ret); + fprintf(stderr, "flag: %s\n", (flags & ZCOMP_COMP) ? "set" : "unset"); +#endif + + zout.next_out =3D (unsigned char *) dest; + zout.avail_out =3D destlen; + + ret =3D deflate(&zout, Z_SYNC_FLUSH); + + if (zout.avail_out =3D=3D 0) + flags |=3D ZCOMP_COMP; + else + flags &=3D ~ZCOMP_COMP; + +#ifdef COMP_DEBUG + fprintf(stderr, "avail_in: %4d \t", zout.avail_in); + fprintf(stderr, "avail_out: %4d \t", zout.avail_out); + fprintf(stderr, "ret: %2d \t", ret); + fprintf(stderr, "flag: %s\n", (flags & ZCOMP_COMP) ? "set" : "unset"); + fprintf(stderr, "\n"); +#endif + comp_out +=3D (destlen - zout.avail_out); + + if (ret =3D=3D Z_OK) + return (destlen - zout.avail_out); + else + return -1; +} + +/* + * Decompress srclen bytes, starting at *src. Result is stored in *dest, + * a buffer of length destlen. + * + * Returns the amount of decompressed data. If this equals to the + * original destlen, decompress() must be called again with a new + * dest buffer. (src and srclen is ignored at next call) + */ +int ZCOMP::Decompress(char *src, int srclen, char *dest, int destlen) +{ + int ret =3D -1; +#ifdef DECOMP_DEBUG + unsigned int i; +#endif + + if ((flags & ZCOMP_INIT) =3D=3D 0 && Init()) + return -1; + + if ((flags & ZCOMP_DECOMP) =3D=3D 0) { + zin.next_in =3D (unsigned char *) src; + zin.avail_in =3D srclen; + comp_in +=3D srclen; + } + + zin.next_out =3D (unsigned char *) dest; + zin.avail_out =3D destlen; + +#ifdef DECOMP_DEBUG + fprintf(stderr, "avail_in: %4d \t", zin.avail_in); + fprintf(stderr, "avail_out: %4d \t", zin.avail_out); + fprintf(stderr, "ret: %2d \t", ret); + fprintf(stderr, "flag: %s\n", flags & ZCOMP_DECOMP ? "set" : "unset"); +#endif + + ret =3D inflate(&zin, Z_SYNC_FLUSH); + + if (zin.avail_in !=3D 0 && zin.avail_out !=3D 0) { + fprintf(stderr, "decompress: Did not consume all input but output buffer= still has room? Panic!!!\n"); + } + + if (zin.avail_out =3D=3D 0) + flags |=3D ZCOMP_DECOMP; + else + flags &=3D ~ZCOMP_DECOMP; + +#ifdef DECOMP_DEBUG + fprintf(stderr, "avail_in: %4d \t", zin.avail_in); + fprintf(stderr, "avail_out: %4d \t", zin.avail_out); + fprintf(stderr, "ret: %2d \t", ret); + fprintf(stderr, "flag: %s\n", flags & ZCOMP_DECOMP ? "set" : "unset"); + for (i =3D 0; i < destlen - zin.avail_out; i++) + fprintf(stderr, "%c", (dest[i] =3D=3D '\r') ? '\n' : dest[i]); + fprintf(stderr, "\n"); +#endif + raw_in +=3D (destlen - zin.avail_out); + + if (ret =3D=3D Z_OK) + return (destlen - zin.avail_out); + else + return -1; +} + +int ZCOMP::Init() +{ + int ret; + + memset(&zin, 0, sizeof(zin)); + memset(&zout, 0, sizeof(zout)); + + if ((ret =3D inflateInit(&zin)) !=3D Z_OK) { + fprintf(stderr, "ZCOMP: inflateInit failed (%d)\n", ret); + return ret; + } + if ((ret =3D deflateInit(&zout, Z_BEST_COMPRESSION)) !=3D Z_OK) { + fprintf(stderr, "ZCOMP: deflateInit failed (%d)\n", ret); + inflateEnd(&zin); + return ret; + } + + raw_in =3D 0; + raw_out =3D 0; + comp_in =3D 0; + comp_out =3D 0; + flags =3D ZCOMP_INIT; + + return 0; +} + +void ZCOMP::End() +{ + if ((flags & ZCOMP_INIT) > 0) { + fprintf(stderr, "ZLib compression statistics:\n"); + fprintf(stderr, "In: raw %6d compressed %6d (ratio: %.0f%%)\n", raw_i= n, comp_in, (float) comp_in / raw_in * 100.0); + fprintf(stderr, "Out: raw %6d compressed %6d (ratio: %.0f%%)\n", raw_o= ut, comp_out, (float) comp_out / raw_out * 100.0); + comp_out +=3D comp_in; + raw_out +=3D raw_in; + fprintf(stderr, "Total: raw %6d compressed %6d (ratio: %.0f%%)\n", raw_o= ut, comp_out, (float) comp_out / raw_out * 100.0); + + deflateEnd(&zout); + inflateEnd(&zin); + } + + flags =3D 0; +} + +ZCOMP::ZCOMP() +{ +} + +ZCOMP::~ZCOMP() +{ + End(); +} diff -ruN -X dontdiff linkt-0.6.99-20011124-CVS/linkt/zcomp.h linkt-0.6.99-= 20011124-CVS-bns/linkt/zcomp.h --- linkt-0.6.99-20011124-CVS/linkt/zcomp.h Thu Jan 1 02:00:00 1970 +++ linkt-0.6.99-20011124-CVS-bns/linkt/zcomp.h Sat Feb 9 23:18:02 2002 @@ -0,0 +1,36 @@ +/* + * zcomp.h + */ + +#ifndef ZCOMP_H +#define ZCOMP_H + +#include <zlib.h> + +#define ZCOMP_INIT 1 /* Initialized flag. */ +#define ZCOMP_COMP 2 /* Call compressor again flag. */ +#define ZCOMP_DECOMP 4 /* Call decompressor again flag. */ + +class ZCOMP +{ +public: + ZCOMP(); + ~ZCOMP(); + + int Init(void); + void End(void); + + int Compress(char *src, int srclen, char *dest, int destlen); + int Decompress(char *src, int srclen, char *dest, int destlen); + +private: + z_stream zin; + z_stream zout; + + unsigned int flags; + + unsigned int raw_in, comp_in; + unsigned int raw_out, comp_out; +}; + +#endif // ZCOMP_H |
From: Walter K. <ko...@u3...> - 2002-04-23 23:00:05
|
Moin, > Frage: Kann monkt eigentlich bin=E4rfiles utnerdr=FCcken ...also ich me= ine,=20 > wenn einer was aus der box saugt, das nicht der ganze monitor da von=20 > binr=E4m=FCll durchl=E4uft, das des unterdr=FCckt wird, und z.b. nur <B= IN> o.=E4.=20 > angezeigt wird?=20 Hmm. In monixd.ai_dump() (das wird in ax25dump gerufen): void ai_dump(unsigned char *data, int length) { int testsize, i; char c; char *p; int dumpstyle =3D READABLE; /* make a smart guess how to dump data */ testsize =3D (10>length) ? length:10; p =3D data; for (i =3D testsize; i>0; i--) { c =3D *p++; if( iscntrl(c) && (!isspace(c)) ) { dumpstyle =3D ASCII; /* Hey! real smart! $TODO */ break; } } /* anything else */ data_dump(data, length, dumpstyle); } mit einem testsize =3D length und=20 - dumpstyle =3D ASCII; /* Hey! real smart! $TODO */ - break; + lprintf(T_DATA, "<bin>\n\0"); + return, kriegt man das wohl hin (ungetestet).=20 Gruss, Wal "ja, wirklich" ter=20 --=20 Hochdahl am Neandertal |
From: <ro...@st...> - 2002-04-23 10:57:26
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Die hab ich in meinem S&F-Postfach zum Thema MonKT gefunden... 73, Robert - -- Robert Steinhäußer, DL1NC / N9KBK -- http://1409.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8xTyHo4a8ramwUd8RAmNcAJ9eoQosOfeNrcSV+cQq+giS+yrnowCfXvXF CX9bCCVqYmPbcxaBtJOZ/+I= =raO5 -----END PGP SIGNATURE----- |
From: <ro...@st...> - 2002-04-23 10:57:26
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Noch ein paar Sachen, erstmal unkommentiert, müssen wir noch rauspicken, was überhaupt noch relevant ist. 73, Robert - -- Robert Steinhäußer, DL1NC / N9KBK -- http://1409.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8xT3go4a8ramwUd8RAoLVAKCQh2kZ5ZqDka7cWS3mfn8SauaTqACghmkM NCWETnEnfwL9wyCAcuQ3AQY= =WMr6 -----END PGP SIGNATURE----- |
From: <ro...@st...> - 2002-04-20 18:20:25
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, hier ein paar Sachen, die mich mal erreicht haben: - ---------------------------------------------------------------------------- <dg0an>: Was mir in der Docu aufgefallen ist: ein User, der nicht weiß, was eine <dg0an>: Umgebungsvariable ist, wird wohl auf die Nase fallen. <dg0an>: Vielleicht sollte man im Abschnitt "Kompilieren" noch den Hinweis <dg0an>: einarbeiten, daß man sich diese mit "echo $<umgebungsvariable>" <dg0an>: anzeigen lassen sollte und daß speziell bei QTDIR und MOC nachgeschaut werden <dg0an>: sollte, welche QT-Version tatsächlich vorhanden ist, sonst gehts in die <dg0an>: Hosen (habe vorher dran gedacht, bei suse ists ein Link von /usr/lib/qt auf <dg0an>: /usr/lib/qt2.version, muß oben auch qt2 heißen). <dg0an>: Du kennst ja die Fragen: kann ich anstelle von rot isolierten Draht auch <dg0an>: blau isolierten Draht verwenden?! - ---------------------------------------------------------------------------- in ca.html (Funktionen) sollte auf jeden Fall noch ein GnuPG- Abschnitt hinein. Eventuell auch sonst Informationen zu den gpg- Funktionen? => Hatte ich mal angefangen - ---------------------------------------------------------------------------- Zur Installation: Der ax25d ist zum Betrieb von LinKT nicht notwendig. - ---------------------------------------------------------------------------- Das Einstellungen-Menü im Datei-Menü ist nicht mehr vorhanden (noch nicht fertig). - ---------------------------------------------------------------------------- 73, Robert - -- Robert Steinhäußer, DL1NC / N9KBK -- http://1409.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8wbDBo4a8ramwUd8RAjgoAJ9QUTxKqoxkygsBu94SKZFjwfjK0ACePmBN RxJ48kKV2JSBlfMjyQvgHu8= =c+jw -----END PGP SIGNATURE----- |
From: Hans-Peter Z. <hp...@14...> - 2002-04-07 14:59:06
|
Am Son, 2002-04-07 um 15.05 schrieb Robert Steinh=E4u=DFer: >=20 > Hi, da hat mich wohl ein CB'ler angesprochen. >=20 > Soll ich ihm einfach schreiben, dass er ja den Code aus'm CVS holen und=20 > Patches nach linkt-users mailen kann? >=20 Genau. Naja, man kann ihn ja schon etwas ermuntern, bzw fragen, was er genau vor hat. Externe Programme sind ja unter Linux jetzt nicht so das was einem vom Sockel rei=DFt. Er kann ja auf linkt-devel subscriben und ein bischen erzaehlen und Fragen stellen. Wenn jemand was an LinKT basteln will, hat glaube ich niemand von uns was dagegen. linkt-users ist halt englisch-sprachig, wei=DF nicht ob das abschreckt? Gruss, HP |
From: <dl...@us...> - 2002-04-07 13:42:11
|
> ich habe wie gesagt mit dem KDE3-Port angefangen. Hat jemand ne ahnung > in welcher klasse setView() definiert war in Qt2? > Irgendwie stehe ich da auf dem Schlauch. Ich seh das nur hier: kdockwidget.h: * setView( mainDock); // central widget in a KDE mainwindo= w kdockwidget.h: void setView( QWidget* ); kdockwidget.h wird nicht direkt von LinKT verwendet... vermutlich irgendwie via KApplication. Nach meinem Gef=FChl ( ;-) ) k=F6nnte das hier = aus kapp.h interessant sein: #if QT_VERSION < 300 #include <kdesktopwidget.h> #endif Vergiss das lernen nicht ;-) 73, Robert --=20 Robert Steinh=E4u=DFer, DL1NC / N9KBK -- http://1409.org |
From: Hans-Peter Z. <hp...@14...> - 2002-04-07 13:09:57
|
Hi, ich habe wie gesagt mit dem KDE3-Port angefangen. Hat jemand ne ahnung in welcher klasse setView() definiert war in Qt2? Irgendwie stehe ich da auf dem Schlauch. Gruss, HP |
From: <dl...@us...> - 2001-07-23 15:50:15
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hallo devel-Leute (devils?) Schaut euch doch pse mal die Text in LinKT an (besonders die Doku) und schreibt mir, wo noch unbedingt was bis zur 0.7.0-Release gemacht werden muss. Dazu z=E4hl ich auch fehlende/fehlerhaft =DCbersetzungen = und "Was ist das?"-Eintr=E4ge. Ich werd mir dann M=FChe geben ;-) Achja, fehlende Funktionalit=E4t an Jochen ;-) 73, Robert -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> iQA/AwUBO1w5MqOGvK2psFHfEQIN2QCgqRLP2Y1VNB5WlzuYfleYwOqfLZ0AoK21 Iqdh+hOHhu8+yBFf0iPMn6Mf =3D3i7m -----END PGP SIGNATURE----- |