home *** CD-ROM | disk | FTP | other *** search
- 1000 rem $cf08-$cf2f pop3 server name
- 1010 rem $cf30-$cf5f smtp server name
- 1020 rem $cf60-$cf8f username
- 1030 rem $cf90-$cfbf password
- 1040 rem $cf
- 1050 rem $cf
- 1060 rem $cf
- 1070 rem $cf
- 1080 ifk>0then1380
- 1090 print"[147]configure email64-email-account
- 1100 [134]dn(9):[134]na$(9)
- 1110 [153]:[129]i[178]8[164]30
- 1120 [159]15,i,15:[160]15
- 1130 [139]st[179][177]0[167]1320
- 1140 [159]15,i,15,"i":[160]15
- 1150 [159]2,i,0,"$em64emac*
- 1160 forj=0to5:get#2,a$:next:goto1280
- 1170 ifk=10then1310
- 1180 forj=0to3:get#2,a$:next
- 1190 ifst<>0then1310
- 1200 get#2,a$:ifst<>0then1310
- 1210 ifa$<>chr$(34)then1200
- 1220 get#2,a$:ifa$<>"e"then1310
- 1230 printk;:goto1250
- 1240 get#2,a$:ifa$=chr$(34)then1270
- 1250 printa$;:na$(k)=na$(k)+a$
- 1260 goto1240
- 1270 printi:dn(k)=i:k=k+1
- 1280 get#2,a$:ifst<>0then1310
- 1290 ifa$<>""then1280
- 1300 goto1170
- 1310 close2
- 1320 next:nd=k
- 1330 ifk=0thenprint"insert disk with file 'em64emac...":inputa$:goto1110
- 1340 print"type 0 -"k-1"
- 1350 [161]a$:a[178][198](a$[170][199](0)):[139](a[179]48)[176](a[177]47[170]k)[167]1350
- 1360 an[178]a[171]48
- 1370 [147]na$(an),dn(an),1
- 1380 a$[178]"":[129]i[178]52996[164]52998:a$[178]a$[170][199]([194](i)):[130]
- 1390 [153]a$;
- 1400 [153]" v";[196]([194](52999))
- 1410 [133]"return";a$
- 1420 [153]"
- 1430 print"$cf08-cf2f pop3 server name
- 1440 [153]"only standart (no cbm) pc-ascii allowed
- 1450 a$="":b$="":c$="":d$=""
- 1460 a=peek(53000):rem length of pop3 server name
- 1470 rem:print"a"a
- 1480 i=53001:a$=""
- 1490 b=peek(i):rem length of actual name part
- 1500 rem:print"b"b
- 1510 ifb=0then1620:rem end
- 1520 ifi>53001thena$=a$+".":rem at beginning no point
- 1530 forj=i+1toi+b
- 1540 ifj>53000+athen1620:rem end if length error
- 1550 d=peek(j):rem character of name
- 1560 rem:print"d"d,chr$(d)
- 1570 if(d>64)and(d<91)thend=d+128
- 1580 if(d>96)and(d<123)thend=d-32
- 1590 a$=a$+chr$(d):nextj
- 1600 i=i+b+1
- 1610 goto1490
- 1620 print"pop3-name ";a$
- 1630 input"";a$
- 1640 rem--------------------------------
- 1650 a=len(a$):print"length"a:b$="":i=1
- 1660 print"a"a
- 1670 ifi>athen1810:rem end of name
- 1680 b=asc(mid$(a$,i,1))
- 1690 printmid$(a$,i,1);b
- 1700 i=i+1
- 1710 ifb=46then1790:rem end of one name part
- 1720 ifb<32then1770
- 1730 ifb<65then1780
- 1740 ifb<91thenb=b+32:goto1780
- 1750 ifb<193then1770
- 1760 ifb<219thenb=b-128:goto1780
- 1770 print"illegal character":goto1420
- 1780 b$=b$+chr$(b):goto1670
- 1790 c$=c$+chr$(len(b$))+b$:b$=""
- 1800 goto1670
- 1810 c$=c$+chr$(len(b$))+b$
- 1820 rem--------------------------------
- 1830 print:
- 1840 a=len(c$):rem length of name
- 1850 ifa>39thenprint"too long":goto1420
- 1860 rem:print"a"a
- 1870 i=1:a$=""
- 1880 ifi>=athen2000:rem end
- 1890 b=asc(mid$(c$,i,1)):rem length of actual name part
- 1900 rem:print"b"b
- 1910 ifi>1thena$=a$+".":rem at beginning no point
- 1920 forj=i+1toi+b
- 1930 d=asc(mid$(c$,j,1))
- 1940 rem:print"d"d,chr$(d)
- 1950 if(d>64)and(d<91)thend=d+128
- 1960 if(d>96)and(d<123)thend=d-32
- 1970 a$=a$+chr$(d):nextj
- 1980 i=i+b+1
- 1990 goto1880
- 2000 print"pop3-name ";a$
- 2010 print"correct (y/n)
- 2020 [161]a$:[139]a$[178]"n"[167]1420
- 2030 [139]a$[179][177]"y"[167]2020
- 2040 [129]i[178]53000[164]53033:[151]i,0:[130]
- 2050 [151]53000,a[170]1:[143] total length
- 2060 [129]i[178]1[164]a
- 2070 [151]53000[170]i,[198]([202](c$,i,1))
- 2080 [130]
- 2090 [143]================================
- 2100 [153]"
- 2110 print"$cf30-cf5f smtp server name
- 2120 [153]"only standart (no cbm) pc-ascii allowed
- 2130 a$="":b$="":c$="":d$=""
- 2140 a=peek(53040):rem length of smtp server name
- 2150 rem:print"a"a
- 2160 i=53041:a$=""
- 2170 b=peek(i):rem length of actual name part
- 2180 rem:print"b"b
- 2190 ifb=0then2300:rem end
- 2200 ifi>53041thena$=a$+".":rem at beginning no point
- 2210 forj=i+1toi+b
- 2220 ifj>53040+athen2300:rem end if length error
- 2230 d=peek(j):rem character of name
- 2240 rem:print"d"d,chr$(d)
- 2250 if(d>64)and(d<91)thend=d+128
- 2260 if(d>96)and(d<123)thend=d-32
- 2270 a$=a$+chr$(d):nextj
- 2280 i=i+b+1
- 2290 goto2170
- 2300 print"smtp-name ";a$
- 2310 input"";a$
- 2320 rem--------------------------------
- 2330 a=len(a$):print"length"a:b$="":i=1
- 2340 print"a"a
- 2350 ifi>athen2490:rem end of name
- 2360 b=asc(mid$(a$,i,1))
- 2370 printmid$(a$,i,1);b
- 2380 i=i+1
- 2390 ifb=46then2470:rem end of one name part
- 2400 ifb<32then2450
- 2410 ifb<65then2460
- 2420 ifb<91thenb=b+32:goto2460
- 2430 ifb<193then2450
- 2440 ifb<219thenb=b-128:goto2460
- 2450 print"illegal character":goto2100
- 2460 b$=b$+chr$(b):goto2350
- 2470 c$=c$+chr$(len(b$))+b$:b$=""
- 2480 goto2350
- 2490 c$=c$+chr$(len(b$))+b$
- 2500 rem--------------------------------
- 2510 print:
- 2520 a=len(c$):rem length of name
- 2530 ifa>47thenprint"too long":goto2100
- 2540 rem:print"a"a
- 2550 i=1:a$=""
- 2560 ifi>=athen2680:rem end
- 2570 b=asc(mid$(c$,i,1)):rem length of actual name part
- 2580 rem:print"b"b
- 2590 ifi>1thena$=a$+".":rem at beginning no point
- 2600 forj=i+1toi+b
- 2610 d=asc(mid$(c$,j,1))
- 2620 rem:print"d"d,chr$(d)
- 2630 if(d>64)and(d<91)thend=d+128
- 2640 if(d>96)and(d<123)thend=d-32
- 2650 a$=a$+chr$(d):nextj
- 2660 i=i+b+1
- 2670 goto2560
- 2680 print"smtp-name ";a$
- 2690 print"correct (y/n)
- 2700 [161]a$:[139]a$[178]"n"[167]2100
- 2710 [139]a$[179][177]"y"[167]2700
- 2720 [129]i[178]53040[164]53087:[151]i,0:[130]
- 2730 [151]53040,a[170]1:[143] total length
- 2740 [129]i[178]1[164]a
- 2750 [151]53040[170]i,[198]([202](c$,i,1))
- 2760 [130]
- 2770 [143]================================
- 2780 [153]"
- 2790 print"$cf60-cf8f username
- 2800 [153]"only standart (no cbm) pc-ascii allowed
- 2810 a=peek(53088):rem length of username
- 2820 a$="":fori=53089to53089+a:b=peek(i)
- 2830 if(b>64)and(b<91)thenb=b+128
- 2840 if(b>96)and(b<123)thenb=b-32
- 2850 a$=a$+chr$(b):next
- 2860 print"username ";a$
- 2870 input"";a$
- 2880 a=len(a$):print"length"a:b$=""
- 2890 fori=1toa:b=asc(mid$(a$,i,1))
- 2900 printmid$(a$,i,1);b;
- 2910 ifb<32then2960
- 2920 ifb<65then2970
- 2930 ifb<91thenb=b+32:goto2970
- 2940 ifb<193then2960
- 2950 ifb<219thenb=b-128:goto2970
- 2960 print"illegal character":i=99:goto2980
- 2970 b$=b$+chr$(b):print"->"chr$(b);b;
- 2980 print:next
- 2990 ifi>90then2780
- 3000 pa$=b$:lp=len(pa$)
- 3010 iflp>47thenprint"too long":goto2780
- 3020 a$="":fori=1tolp
- 3030 b=asc(mid$(pa$,i,1))
- 3040 if(b>64)and(b<91)thenb=b+128
- 3050 if(b>96)and(b<123)thenb=b-32
- 3060 a$=a$+chr$(b):next
- 3070 print"username ";a$
- 3080 print"correct (y/n)
- 3090 [161]a$:[139]a$[178]"n"[167]2780
- 3100 [139]a$[179][177]"y"[167]3090
- 3110 [129]i[178]53088[164]53135:[151]i,0:[130]
- 3120 [151]53088,lp:[143] length username
- 3130 [129]i[178]1[164]lp:[151]53088[170]i,[198]([202](pa$,i,1)):[130]
- 3140 [143]================================
- 3150 [153]"
- 3160 print"$cf90-cfbf password
- 3170 [153]"only standart (no cbm) pc-ascii allowed
- 3180 print"type "chr$(34);chr$(34)" for no password
- 3190 [153]" (f.e. german t-online)
- 3200 a=peek(53136):rem length of password
- 3210 a$="":ifa=0then3260
- 3220 fori=53137to53137+a:b=peek(i)
- 3230 if(b>64)and(b<91)thenb=b+128
- 3240 if(b>96)and(b<123)thenb=b-32
- 3250 a$=a$+chr$(b):next
- 3260 print"password ";a$
- 3270 input"";a$
- 3280 a=len(a$):print"length"a:b$=""
- 3290 ifa=0thenlp=0:goto3480:rem no password
- 3300 fori=1toa:b=asc(mid$(a$,i,1))
- 3310 printmid$(a$,i,1);b;
- 3320 ifb<32then3370
- 3330 ifb<65then3380
- 3340 ifb<91thenb=b+32:goto3380
- 3350 ifb<193then3370
- 3360 ifb<219thenb=b-128:goto3380
- 3370 print"illegal character":i=99:goto3390
- 3380 b$=b$+chr$(b):print"->"chr$(b);b;
- 3390 print:next
- 3400 ifi>90then3150
- 3410 pa$=b$:lp=len(pa$)
- 3420 iflp>47thenprint"too long":goto3150
- 3430 a$="":fori=1tolp
- 3440 b=asc(mid$(pa$,i,1))
- 3450 if(b>64)and(b<91)thenb=b+128
- 3460 if(b>96)and(b<123)thenb=b-32
- 3470 a$=a$+chr$(b):next
- 3480 print"password ";a$
- 3490 print"correct (y/n)
- 3500 [161]a$:[139]a$[178]"n"[167]3150
- 3510 [139]a$[179][177]"y"[167]3500
- 3520 [129]i[178]53136[164]53183:[151]i,0:[130]
- 3530 [151]53136,lp:[143] length password
- 3540 [139]lp[178]0[167]3560
- 3550 [129]i[178]1[164]lp:[151]53136[170]i,[198]([202](pa$,i,1)):[130]
- 3560 [153]"save new config (y/n)?"
- 3570 [161]a$:[139]a$[179][177]"y"[175]a$[179][177]"n"[167]3570
- 3580 [139]a$[178]"n"[167][128]
- 3590 [153]"new filename f.config email-account
- 3600 print" "na$(an)
- 3610 input"[145]";na$:na$=left$(na$+" ",16)
- 3620 ifleft$(na$,8)<>"em64emac"thenprint"must begin with 'em64emac'":goto3590
- 3630 print"device number"
- 3640 print" "dn(an)
- 3650 input"[145]";dn
- 3660 open2,dn,2,na$+",p,r":close2
- 3670 open15,dn,15:input#15,a,b$,c,d:close15
- 3680 ifa=62then3770:rem file not found
- 3690 print"error
- 3700 [153]a;b$;c;d
- 3710 [139]a[179][177]0[167]3590
- 3720 [153]"config file with same name allready
- 3730 print"exists. overwrite? (y/n)
- 3740 [161]a$:[139]a$[178]"n"[167]3590
- 3750 [139]a$[179][177]"y"[167]3740
- 3760 [159]15,dn,15,"s:"[170]na$:[160]15
- 3770 [129]i[178]1[164][195](na$)
- 3780 [151]678[170]i,[198]([202](na$,i,1))
- 3790 [130]
- 3800 [151]780,0
- 3810 [151]781,dn:[143] device number
- 3820 [151]782,0:[143] secaddr
- 3830 [158]65466
- 3840 [151]780,16
- 3850 [151]781,167
- 3860 [151]782,2
- 3870 [158]65469
- 3880 [151]193,4
- 3890 [151]194,207
- 3900 [151]780,193
- 3910 [151]781,0
- 3920 [151]782,208
- 3930 [158]65496
- 3940 [159]15,dn,15:[132]15,a,b$,c,d
- 3950 [153]a;b$;c;d
- 3960 [160]15
- 3970 [139]a[177]0[167]3560
-