ronald(1057)14Apr1995 17:23 c2251*
> In the docummentation with revtran the author says that "any protection 
> will not defeat the dedicated hacker" so he gives no sure way for authors 
> to protect their programs. I therefore cannot accept that "the methods of 
> defeating revtran are welll known"; they are not.

But he gives a couple of hints. After some experimentation, I've come up
with the following: if you feel that you must defeat Revtran, insert
something in your code like:

  GOTO skip
  PRINT "BOOBYTRAP"
skip::

Then translate, and look at the .OPO/.OPA file with a hex editor. Locate
the string, and change the byte directly before it (this contains the length
of the string) into something silly like 255 or 0.

This will make Revtran fall over. The author says in the documentation that
he will not make Revtran deal with this type of corrupt file.
Make sure that the booby-trap is never executed, and that the booby-trap
lives in one or more of the most crucial routines.

I could of course have written a little util that does this, and charge 30
for it...

- Ronald.

niwright(1492)15Apr1995 18:53 c2251*
There's an OPL obfuscator called AKA320 in the files list that can 
confound Revtran. I suspect that most authors of shareware for the Psion 
have access to either CIX or CIS where AKA320 can be readily found. Steve 
Litchfield has also posted a message recently detailing another 
application that I believe does much the same thing. The guy who wrote 
Revtran clearly states in the documentation that it could be open to 
abuse but, then goes on to give ethical advice. What happens to the user 
of some software who wants a mod' to be incorporated but, comes up 
against an author who can't be contacted or who isn't interested? Given 
that Revtran is now in the distribution chain, how would removal from the 
files list achieve anything? The author can always issue updates via 
binmail to those who requested them.

It's right to point out how shareware has/is abused by some sectors of 
the community & how some people have never paid for any software but, 
it's not quite correct to point the finger at those who aren't really 
computer literate. They are even less likely to use Revtran because they 
probably have very little knowledge of programming & couldn't recognise 
an encription/password algorithm if it fell on them. If Revtran is to be 
used for unethical reasons then the most likely culprits are those who 
are quite capable of writing their own app's (but are too lazy) & will 
never be tempted into paying up. Please keep Revtran on the files list!

Regards,

Nigel.

psion_c(404)25Sep1995 13:13 c3243*
>> PRC?
PRC is a development kit which allows Windows developers to integrate a 
SIBO machine into their applications. It offers an API for C (with a 
.DLL) and VB (with a .VBX).

We give it away free to developers to try to convince people that we're 
not the sh*ts that the Son of Ruarc (tee hee) thinks we are.

PsiWin and ODE both use PRC to provide the underlying comms engine.

All the best

Ali

tjw(327)14Oct1995 18:45 c3390*
> doesn't look like you can.

Wrongo - I just shut W95 down by exiting to MS-Dos mode, and the s3a 
emulator worked just fine, using this batch file:

 subst m: c:\psibak\m
 subst a: c:\psibak\l
 subst b: c:\psibak\r
 s3aemul
 subst m: /d
 subst a: /d
 subst b: /d
 
where c:\psibak\x is where I keep backups from my 3a.

TIm


mdasilva(3104)10Jan1996 01:07 c3737*
I believe that this is a general problem with the Psion Money 
application:-
I have used several printers ( HP Deskjet 310, Canon BJ10e, Citizen PN60, 
HP Deskjet 4 etc) and tried resizing the font, changing the margins etc, 
all to no avail.

However, I discovered that there is a workaround:-
Instead of selecting printer in the Output Preferences dialog, select 
ASCII  instead to save the report as a text file.  (You may want to 
specify the path as the default is to slap it into your m:\ root 
directory.)
Then, connect up to your favourite printer,run the following OPL program, 
and life should be rosy again.  (Feel free to add page headers, footers 
etc at will - this was a quick fix based on the IoType.opl example in the 
Psion  Series 3a Programming Manual) but it solves your (and my) 
immediate problems with printing from Money!!!

PROC spooler:
        GLOBAL count%
        LOCAL ret%,fName$(128),txt$(255),address%
        LOCAL handle%,mode%,k%,l$(255),r$(255),out$(255)
        PRINT "Money Report.asc filename to print?", :INPUT fName$ : CLS
        PRINT "Hit <Esc> to abandon print job"
        mode%= $0400 OR $0020
        REM open=$0000, text=$0020, share=$0400
        ret%=IOOPEN(handle%,fName$,mode%)
        IF ret%<0
                showErr:(ret%)
                RETURN
        ENDIF
        LOPEN "PAR:A"
        address%=ADDR(txt$)
        WHILE 1
                k%=KEY
                IF k%           REM if keypress
                        IF k%=27 REM Esc pressed
                                writeLn:("*** User aborted - output incomplete ***")
                                LPRINT CHR$(12)
                                LCLOSE
                                RETURN
                        REM otherwise wait for a key
                        ELSEIF GET=27
                                writeLn:("*** User aborted - output incomplete ***")
                                LPRINT CHR$(12)
                                LCLOSE
                                RETURN REM Esc pressed
                        ENDIF
                ENDIF
                ret%=IOREAD(handle%,address%+1,255)
                IF ret%<0
                        IF ret%<>-36 REM NOT EOF
                                showErr:(ret%)
                        ENDIF
                        BREAK
                ELSE
                        POKEB address%,ret%
                        REM leading byte count
                        l$=LEFT$(txt$,76)
                        r$=RIGHT$(txt$,ret%=ret%-77)
                        out$=l$ + r$
                        writeLn:(out$)
                ENDIF
        ENDWH
        LPRINT CHR$(12)
        LCLOSE
        ret%=IOCLOSE(handle%)
        IF ret%
                showErr:(ret%)
        ENDIF
        PAUSE -100 :KEY
ENDP

PROC showErr:(val%)
        PRINT "Error",val%,err$(val%)
        GET
ENDP

PROC writeLn:(line$)
        IF count%>=58
                LPRINT CHR$(12)
                count%=0
        ENDIF
        LPRINT line$; CHR$(13)
        count% = count%+1
ENDP


I hope the above helps!
Regards,
Mike da Silva

jezar(992)3Apr1996 21:01 c4182*

Hi,
If you're talking about OPL, then you'll find that the S3/3a always runs 
a fresh copy of the program, irrespective of which drive it came from.

If on the other hand, you're talking about an application developed in 
"C", then the situation is a little different...

Basically, when you ask EPOC to run a program from SSD/Internal or 
whatever, if it has the same name as one already running in RAM, then it 
looks at the applications checksum. If it is the same as the copy in RAM, 
then it will just share the code already loaded. AFAIK there is no way to 
force the system to reload a copy of the same, identical application 
(because, naturally, if the checksums match, there is absolutely no point 
whatsoever in doing so). and it will just rerun the RAM resident copy.

If however, from the programs perspective, you want to know from where 
the program was initially run, then you can look at the command line, 
which tells you exactly from whence it came.

Regards,
Jezar.

purplesoft(1111)12Jul1996 16:21 c4497*
Several issues.

1) The Nokia 2110 is capable of SMS, regardless of the network that you 
have bought into.
2) Cellnet now supports (as of May offically) SMS over its network. Any 
phone that is capable of SMS will work on the Cellnet network, incl the 
Nokia 2110.
3) Depending on the service provider, e.g. Cellnet, Vodaphone, Orange, 
you may or may not have to pay money to be able to use the SMS services. 

The Psion platform currently has an SDK that allows the Psion to 
communicate with the Nokia 2110 and compatibles, e.g. Nokia Orange and 
Philips 747.
Vodaphone commissioned a product, Telenote Link, that allows you to send 
and receive SMS msgs from the Psion, via a Nokia 2110 on the Vodaphone 
network.Cellnet commissioned a product, SMSlink, that also allows you to 
send/receive SMS msgs from the Psion, via the Nokia 2110 but this time 
via the Cellnet network. (Blatant advertising here, we wrote the Cellnet 
SMSlink app). This should be available in July from your friendly 'The 
Link' outlets as well as many other outlets. (Psion currently having 
cable supply problems.)

Regards
John

hem(401)12Aug1996 09:12 c4656*
The figure you're are using (32160) is the number of days since 1st of 
Jan 1900. To convert it to days/month/year subtract 22567 (the 1st of Jan 
1970) then multiply by 86400 (number of seconds in a day) and use the 
SECSTODATE function

eg:
SECSTODATE (date&+22567)*86400,yr%,mo%,dy%,hr%,mn%,sc%,yrday%

However if your date is before the 1st of Jan 1970, you'll have to do 
some hacking.

ANDREW

chennings(572)4Oct1996 16:47 c5336*
>What's the problem with p_randl?
It's pseudo random in that the frequency distribution of it's outputs for 
a given seed is roughly rectangular *but* the offset between any 2 
sequential outputs is always odd! So for example if you were using it to 
simulate dice throws by (randval%6)+1 you'll never get say 2 6's in a row. 
For card dealing with no replacement (at least in my implementation) the 
similar example would be never to get 2 cards in suit/value sequence such 
as Ace clubs followed by 2 clubs.

>What does OPL use for RND?
No idea - sorry

Chris Hennings

millar(100)4Oct1996 23:03 c5354*
Ah, thanks, I guess from that that RND uses p_frand then, I experience no 
similar problems.
Matt

jezar(272)17Oct1996 18:30 c5624*
Write a \btf\autoexec.btf script.

The Workabout was specifically designed with this in mind.
Just use standard DOS like commands in it. If it's just to launch an 
application, then just write the name and path of the application in the 
autoexec file.
Regards,
Jezar.

jezar(848)4Nov1996 10:23 c5764*
Neither of these are S3c-specific

Both the S3a and the S3c can get confused if you have groups with the 
same name as applications. The thing about using runapp to open an 
application, and it going to the jotter instead of Data isn't 
particularly surprising either - Jotter is an alias of Data. You can get 
the same effect with jumping to the OPL program editor instead of Word - 
because Program is an alias of Word. This is more likely to be a 
deficiency in RunApp although I'd have to check out the code for myself.

As I've mentioned before, people should really leave process names well 
alone, and should instead look at an applications Magic Statics to decide 
which application it is. The Magic Statics contain information about what 
the application *wants* to be called instead of what its process name 
just happens to be.

Jezar.

