home *** CD-ROM | disk | FTP | other *** search
- :: Incoming Compuserve mail
- put "\25g email\r";
- pat
- pat 1 "or HELp"
- pat 3 " DELete"
- pat 6c "I don't recognize that command." "go email\r"
- pat 7 "? EasyPlex file is busy"
- :: pat 8c "Key H for Help !" "\25g email\r"
- pat 9 "information (Y or N"
- on !c fail
- pat 10c "\nPress <CR>! " "\r"
- wait
- if 9 put "n\r6\r1\r2\r2\r\ry\r"; wait
- if 7 put "\25mic\r"; pat; return
- echoc "*** NEMAIL ***"
- echoc "Welcome to Easyplex (nemail)"
- echoc "#: %h%s Accessed at %t"
- echoc "Sb: Easyplex Message to Forsberg"
- pat 13 "% No messages pending"
- pat 12c "Which message(s) # (or ALL)?" "all\r"
- pat 6c "I don't recognize that command." "read\r"
- sleep 20; put "read\r"
- pat 10c " Message is Binary \r"
- wait
- nemai1: if 13 goto nemai9
- if !10 goto nemai2
- sets s0 "em/%d%h.%s"
- pat 11 "computer"; put "dow/proto:b\r"; wait -T200
- if !hLength goto nemai3
- ss y "(Length )([0-9]*)"; estimate z2;
- if hSubj: ss y "(Subj: *)([^ ]*)" if %z2 if !f%z2 ss s0 %z2
- echoc "y: %y s0:%s0 z2: %z2"
- nemai3: ena -c; put "%s0\r"; wait -T200; dis -c
- nemai2: put "\25del\r"
- echoc "Easyplex (nemail)"
- echoc "#: %h%s Accessed at %t"
- echoc "Sb: Easyplex Message to Forsberg"
- wait -f30
- if 6 put "\25del\r"; wait -f20
- if 6 o; return
- if 3 goback nemai1
- nemai9: echoc "*** NEMAIL ENDS ***"
- put "\25TOP\r"
- return
-
-