aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/s5kdemagic76
-rw-r--r--kde2/kioslave/kio_plp.cpp1
-rw-r--r--patches/README24
3 files changed, 62 insertions, 39 deletions
diff --git a/etc/s5kdemagic b/etc/s5kdemagic
index 8f9d423..6332694 100644
--- a/etc/s5kdemagic
+++ b/etc/s5kdemagic
@@ -1,41 +1,45 @@
-0 long 0x10000037 application/x-psion
->4 long 0x10000039 application/x-psion-font
->4 long 0x1000003A application/x-psion-pdriver
->4 long 0x1000003B application/x-psion-clipcoard
->4 long 0x10000042 application/x-psion-mbm
->4 long 0x1000006A application/x-psion-aif
->4 long 0x1000006D
->>8 long 0x1000007D application/x-psion-scetch
->>8 long 0x1000007E application/x-psion-voice
->>8 long 0x1000007F application/x-psion-word
->>8 long 0x10000085 application/x-psion-opl
->>8 long 0x10000088 application/x-psion-sheet
->>8 long 0x100001C4 application/x-psion-eini
->4 long 0x10000073 application/x-psion-opo
->4 long 0x10000074 application/x-psion-opapp
->4 long 0x1000008A application/x-psion-xmbm
+#
+# Psion file types
+#
+0 lelong 0x10000037
+>4 lelong 0x10000039 application/x-psion-font
+>4 lelong 0x1000003A application/x-psion-pdriver
+>4 lelong 0x1000003B application/x-psion-clipcoard
+>4 lelong 0x10000042 application/x-psion-mbm
+>4 lelong 0x1000006A application/x-psion-aif
+>4 lelong 0x1000006D
+>>8 lelong 0x1000006D application/x-psion-record
+>>8 lelong 0x1000007D application/x-psion-sketch
+>>8 lelong 0x1000007E application/x-psion-voice
+>>8 lelong 0x1000007F application/x-psion-word
+>>8 lelong 0x10000084 application/x-psion-agenda
+>>8 lelong 0x10000085 application/x-psion-opl
+>>8 lelong 0x10000086 application/x-psion-data
+>>8 lelong 0x10000088 application/x-psion-sheet
+>>8 lelong 0x100001C4 application/x-psion-eini
+>4 lelong 0x10000073 application/x-psion-opo
+>4 lelong 0x10000074 application/x-psion-opapp
+>4 lelong 0x1000008A application/x-psion-xmbm
-0 long 0x10000041 application/x-psion-mbm
+0 lelong 0x10000041 application/x-psion-mbm
-0 long 0x10000050 application/x-psion
->4 long 0x1000006D application/x-psion-db
->4 long 0x100000E4 application/x-psion-ini
-
-0 long 0x10000079 application/x-psion-bin
->4 long 0x00000000 application/x-psion-dll
->4 long 0x10000049 application/x-psion-chlib
->4 long 0x1000004A application/x-psion-cplib
->4 long 0x1000005D application/x-psion-opx
->4 long 0x1000006C application/x-psion-app
->4 long 0x1000008D application/x-psion-dll
->4 long 0x100000AC application/x-psion-ldd
->4 long 0x100000AD application/x-psion-pdd
->4 long 0x100000E5 application/x-psion-ftp
->4 long 0x100000E5 application/x-psion-ftp
->4 long 0x10000140 application/x-psion-ppd
->4 long 0x10000141 application/x-psion-ppd
-
-0 long 0x1000007A application/x-psion-exe
+0 lelong 0x10000050
+>4 lelong 0x1000006D application/x-psion-db
+>4 lelong 0x100000E4 application/x-psion-ini
+0 lelong 0x10000079
+>4 lelong 0x00000000 application/x-psion-dll
+>4 lelong 0x10000049 application/x-psion-chlib
+>4 lelong 0x1000004A application/x-psion-cplib
+>4 lelong 0x1000005D application/x-psion-opx
+>4 lelong 0x1000006C application/x-psion-app
+>4 lelong 0x1000008D application/x-psion-dll
+>4 lelong 0x100000AC application/x-psion-ldd
+>4 lelong 0x100000AD application/x-psion-pdd
+>4 lelong 0x100000E5 application/x-psion-ftp
+>4 lelong 0x100000E5 application/x-psion-ftp
+>4 lelong 0x10000140 application/x-psion-ppd
+>4 lelong 0x10000141 application/x-psion-ppd
+0 lelong 0x1000007A application/x-psion-exe
diff --git a/kde2/kioslave/kio_plp.cpp b/kde2/kioslave/kio_plp.cpp
index 5853205..f8dc9dd 100644
--- a/kde2/kioslave/kio_plp.cpp
+++ b/kde2/kioslave/kio_plp.cpp
@@ -1136,6 +1136,7 @@ special(const QByteArray &a) {
Enum<rfsv::errs>res = plpRpcs->getOwnerInfo(b);
if (res != rfsv::E_PSI_GEN_NONE) {
+ kdDebug(PLP_DEBUGAREA) << "get Ownerinfo returned " << res << endl;
error(ERR_COULD_NOT_STAT, "Owner");
return;
}
diff --git a/patches/README b/patches/README
index 1796b53..bcea538 100644
--- a/patches/README
+++ b/patches/README
@@ -1,6 +1,7 @@
-The following patches may be applied to other programs to allow them to operate
-better with plptools.
+This directory provides some patches, i found useful when working with or
+developing plptools.
+1. MGETTY
mgetty-1.1.21-plp.diff is from Christof Meerwald, and adds autodetection
support for the PLP-protocol to mgetty - thus mgetty can autodetect a
Psion connected to the serial port and execute ncpd (with the autoexit
@@ -12,8 +13,15 @@ used the following login.conf for mgetty:
/PLP/ - - /usr/sbin/ncpd -d -e
* - - /bin/login @
--- MJG
+2. KDE libs
+In stable kdelibs there is a bug which prevents all kioslaves from delivering
+mime-types they know. Although this is fixed in KDE's CVS since some time now,
+this fix did not made it into the latest maintenance release of kdelibs (2.1.2)
+Therfore, you will _NOT_ see correct icons unless you apply kde-mimetype.patch
+to kdelibs/kio/kfileitem.cpp and rebuild kdelibs. All other functionality -
+especially that of kpsion and klipsi is _not_ affected.
+3. KERNEL 2.2 (DEVELOPMENT ONLY)
linux-2.2.18-ttytap.patch is a patch for linux 2.2.18 adding a ttytap feature.
It enables you to sniff all data going in/out over a serial line. I use this
for sniffing communication between the Psion and a PsiWin running under Win98
@@ -25,5 +33,15 @@ It implements various ioctl's and read. The userlevel program for dealing
with it can be found in etc/ttytap.c. Compile that and then run it e.g.:
ttytap /dev/ttyS0
+My usual setup for sniffing PsiWin's PLP packets is this:
+I have Win98 running under VMware under Linux with COM1 enabled via /dev/ttyS1.
+First, i start ttytap /dev/ttyS1 > PsiWinSession.log
+Then, i start VMware and in Win98 start PsiWin. Now i perform the actions
+in PsiWin which i want to see in the log. After that, if terminate the
+ttytap process. Now i have all the data of that session in PsiWinSession.log.
+I have done a quickhack on Matt's ncpscope so it can read this file directly.
+
+4. KERNEL 2.4 (same as above but for kernel 2.4)
+
-Fritz