COMSETUP.LST 86 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727
  1. Listing:
  2. 1 (* Release 3.10 *)
  3. 2 (*-------------------------------------------------------------------------*
  4. 3 * *
  5. 4 * COMSETUP.MOD - COMMS Toolkit setup *
  6. 5 * *
  7. 6 * COPYRIGHT (C) 1988..1992 Clarion Software Corporation. *
  8. 7 * All Rights Reserved *
  9. 8 * *
  10. 9 *--------------------------------------------------------------------------*)
  11. 10
  12. 11 IMPLEMENTATION MODULE ComSetup;
  13. 12 IMPORT CommUtil,FIO,IO,Lib,MenuLib,MPRINTF,RS232,SPRINTF,Str,Window;
  14. 13 FROM CommUtil IMPORT FuncKeys;
  15. ***** ^ duplicate identifier
  16. 14 FROM RS232 IMPORT ParityCodes,FlowControls;
  17. ***** ^ duplicate identifier
  18. 15
  19. 16 TYPE
  20. 17 String30 = ARRAY[0..30] OF CHAR;
  21. ***** ^ not supported yet
  22. ***** ^ not supported yet
  23. 18 String10 = ARRAY[0..10] OF CHAR;
  24. ***** ^ not supported yet
  25. ***** ^ not supported yet
  26. 19 String3 = ARRAY[0..3] OF CHAR;
  27. ***** ^ not supported yet
  28. ***** ^ not supported yet
  29. 20 AsciiStd = ARRAY[0..32] OF String3;
  30. ***** ^ not supported yet
  31. ***** ^ not supported yet
  32. 21
  33. 22 CONST
  34. 23 Template = Window.WinDef(0,0,0,0,Window.Yellow,Window.Black,TRUE,FALSE,FALSE,TRUE,Window.SingleFrame,Window.LightGray,Window.Black);
  35. ***** ^ not supported yet
  36. ***** ^ not supported yet
  37. ***** ^ not supported yet
  38. ***** ^ not supported yet
  39. ***** ^ not supported yet
  40. ***** ^ not supported yet
  41. ***** ^ not supported yet
  42. ***** ^ not supported yet
  43. ***** ^ not supported yet
  44. ***** ^ not supported yet
  45. ***** ^ not supported yet
  46. ***** ^ not supported yet
  47. 24 Code = AsciiStd('NUL','SOH','STX','ETX','EOT','ENQ','ACK','BEL','BS',
  48. ***** ^ not supported yet
  49. ***** ^ not supported yet
  50. ***** ^ not supported yet
  51. ***** ^ not supported yet
  52. ***** ^ not supported yet
  53. ***** ^ not supported yet
  54. ***** ^ not supported yet
  55. ***** ^ not supported yet
  56. ***** ^ not supported yet
  57. 25 'HT','LF','VT','FF','CR','SO','SI','DLE','DC1','DC2',
  58. ***** ^ not supported yet
  59. ***** ^ not supported yet
  60. ***** ^ not supported yet
  61. ***** ^ not supported yet
  62. ***** ^ not supported yet
  63. ***** ^ not supported yet
  64. ***** ^ not supported yet
  65. ***** ^ not supported yet
  66. ***** ^ not supported yet
  67. ***** ^ not supported yet
  68. 26 'DC3','DC4','NAK','SYN','ETB','CAN','EM','SUB','ESC',
  69. ***** ^ not supported yet
  70. ***** ^ not supported yet
  71. ***** ^ not supported yet
  72. ***** ^ not supported yet
  73. ***** ^ not supported yet
  74. ***** ^ not supported yet
  75. ***** ^ not supported yet
  76. ***** ^ not supported yet
  77. ***** ^ not supported yet
  78. 27 'FS','GS','RS','US','SP');
  79. ***** ^ not supported yet
  80. ***** ^ not supported yet
  81. ***** ^ not supported yet
  82. ***** ^ not supported yet
  83. ***** ^ not supported yet
  84. 28
  85. 29 VAR
  86. 30 OldEmulation : Term.Emulations;
  87. ***** ^ undeclared identifier
  88. ***** ^ not supported yet
  89. 31 BoolStr : ARRAY BOOLEAN OF String3;
  90. ***** ^ not supported yet
  91. ***** ^ not supported yet
  92. 32 SMenu : MenuLib.MenuRec;
  93. ***** ^ not supported yet
  94. 33
  95. 34 (*........................................*)
  96. 35
  97. 36 PROCEDURE AsciiCode(c:CHAR):String3;
  98. 37 VAR
  99. 38 s : String3;
  100. ***** ^ not supported yet
  101. 39 BEGIN
  102. 40 IF c<=' ' THEN
  103. 41 s:=Code[ORD(c)];
  104. ***** ^ not supported yet
  105. ***** ^ undeclared identifier
  106. ***** ^ not supported yet
  107. 42 ELSE
  108. 43 s:=' ';
  109. ***** ^ not supported yet
  110. ***** ^ incompatible assignment
  111. 44 s[0]:=c;
  112. ***** ^ not supported yet
  113. ***** ^ not supported yet
  114. 45 END;
  115. 46 RETURN s;
  116. ***** ^ not supported yet
  117. 47 END AsciiCode;
  118. ***** ^ not supported yet
  119. 48
  120. 49 (*........................................*)
  121. 50
  122. 51 PROCEDURE GetDefaultSetup;
  123. 52 VAR
  124. 53 i : CARDINAL;
  125. 54 BEGIN
  126. 55 WITH Setup DO
  127. ***** ^ undeclared identifier
  128. 56 WITH Serial DO
  129. ***** ^ undeclared identifier
  130. 57 Port:=1;
  131. ***** ^ undeclared identifier
  132. 58 Baud:=1200;
  133. ***** ^ undeclared identifier
  134. 59 DataBits:=8;
  135. ***** ^ undeclared identifier
  136. 60 StopBits:=1;
  137. ***** ^ undeclared identifier
  138. 61 Parity:=None;
  139. ***** ^ undeclared identifier
  140. ***** ^ undeclared identifier
  141. 62 FlowControl:=RtsCts;
  142. ***** ^ undeclared identifier
  143. ***** ^ undeclared identifier
  144. 63 END;
  145. ***** ^ not supported yet
  146. 64 WITH General DO
  147. ***** ^ undeclared identifier
  148. 65 MaskBit7:=TRUE;
  149. ***** ^ undeclared identifier
  150. 66 CRInTranslation:=CR;
  151. ***** ^ undeclared identifier
  152. ***** ^ undeclared identifier
  153. 67 CROutTranslation:=CR;
  154. ***** ^ undeclared identifier
  155. ***** ^ undeclared identifier
  156. 68 ScriptDir:='';
  157. ***** ^ undeclared identifier
  158. 69 DownloadDir:='';
  159. ***** ^ undeclared identifier
  160. 70 END;
  161. ***** ^ not supported yet
  162. 71 WITH Kermit DO
  163. ***** ^ undeclared identifier
  164. 72 Sync:=1C;
  165. ***** ^ undeclared identifier
  166. 73 MaxPacketSize:=90;
  167. ***** ^ undeclared identifier
  168. 74 PadChar:=0C;
  169. ***** ^ undeclared identifier
  170. 75 NumPadChars:=0;
  171. ***** ^ undeclared identifier
  172. 76 CtlQuote:='#';
  173. ***** ^ undeclared identifier
  174. 77 ReptPrefix:='~';
  175. ***** ^ undeclared identifier
  176. 78 EightBitQuote:='&';
  177. ***** ^ undeclared identifier
  178. 79 ImageMode:=TRUE;
  179. ***** ^ undeclared identifier
  180. 80 IBMMode:=FALSE;
  181. ***** ^ undeclared identifier
  182. 81 EolChar:=CHR(13);
  183. ***** ^ undeclared identifier
  184. ***** ^ undeclared identifier
  185. ***** ^ not supported yet
  186. 82 END;
  187. ***** ^ not supported yet
  188. 83 WITH ASCII DO
  189. ***** ^ undeclared identifier
  190. 84 CharDelayMS:=20;
  191. ***** ^ undeclared identifier
  192. 85 LineDelayMS:=40;
  193. ***** ^ undeclared identifier
  194. 86 END;
  195. ***** ^ not supported yet
  196. 87 Emulation:=Term.EmVT100;
  197. ***** ^ undeclared identifier
  198. ***** ^ undeclared identifier
  199. ***** ^ not supported yet
  200. 88 FOR i:=0 TO 9 DO
  201. ***** ^ undeclared identifier
  202. 89 Macros[i]:='';
  203. ***** ^ undeclared identifier
  204. ***** ^ undeclared identifier
  205. 90 END;
  206. 91 END;
  207. ***** ^ not supported yet
  208. 92 END GetDefaultSetup;
  209. ***** ^ not supported yet
  210. 93
  211. 94 (*........................................*)
  212. 95
  213. 96 PROCEDURE InitSetup;
  214. 97 VAR
  215. 98 f : FIO.File;
  216. ***** ^ not supported yet
  217. 99 BEGIN
  218. 100 FIO.IOcheck := FALSE;
  219. ***** ^ not supported yet
  220. ***** ^ not supported yet
  221. 101 f := FIO.Open('TERM.CFG');
  222. ***** ^ not supported yet
  223. ***** ^ not supported yet
  224. ***** ^ not supported yet
  225. ***** ^ not supported yet
  226. 102 IF FIO.IOresult()=0 THEN
  227. ***** ^ not supported yet
  228. ***** ^ not supported yet
  229. ***** ^ not supported yet
  230. 103 IF NOT (FIO.RdBin(f,Setup,SIZE(SetupRec))=SIZE(SetupRec)) THEN
  231. ***** ^ not supported yet
  232. ***** ^ not supported yet
  233. ***** ^ not supported yet
  234. ***** ^ undeclared identifier
  235. ***** ^ undeclared identifier
  236. ***** ^ undeclared identifier
  237. ***** ^ undeclared identifier
  238. ***** ^ undeclared identifier
  239. 104 GetDefaultSetup;
  240. ***** ^ not supported yet
  241. 105 END;
  242. 106 FIO.Close(f);
  243. ***** ^ not supported yet
  244. ***** ^ not supported yet
  245. ***** ^ not supported yet
  246. 107 ELSE
  247. 108 GetDefaultSetup;
  248. ***** ^ not supported yet
  249. 109 END;
  250. 110 END InitSetup;
  251. ***** ^ not supported yet
  252. 111
  253. 112 (*................................................*)
  254. 113
  255. 114 PROCEDURE Value(VAR s:ARRAY OF CHAR; VAR Result:CARDINAL);
  256. ***** ^ not supported yet
  257. 115 VAR
  258. 116 c : CHAR;
  259. 117 x,i : CARDINAL;
  260. 118 BEGIN
  261. 119 IF s[0]<>0C THEN
  262. ***** ^ not supported yet
  263. ***** ^ not supported yet
  264. 120 x:=0; i:=0;
  265. 121 FOR i:=0 TO HIGH(s) DO
  266. ***** ^ undeclared identifier
  267. ***** ^ not supported yet
  268. 122 c := CAP(s[i]);
  269. ***** ^ undeclared identifier
  270. ***** ^ not supported yet
  271. ***** ^ not supported yet
  272. 123 IF c=0C THEN
  273. 124 Result:=x;
  274. 125 RETURN;
  275. 126 ELSIF (c>='0') AND (c<='9') THEN
  276. 127 x := x*10 + ORD(c)-48
  277. ***** ^ undeclared identifier
  278. ***** ^ not supported yet
  279. 128 ELSE
  280. 129 RETURN;
  281. 130 END;
  282. 131 END;
  283. 132 Result := x;
  284. 133 END;
  285. 134 END Value;
  286. ***** ^ not supported yet
  287. 135
  288. 136 (*........................................*)
  289. 137
  290. 138 PROCEDURE ReadNum(x,y:CARDINAL; Prompt:ARRAY OF CHAR; Min,Max:CARDINAL;VAR Result:CARDINAL);
  291. ***** ^ not supported yet
  292. 139 VAR
  293. 140 Ok : BOOLEAN;
  294. 141 Num,Lnth : CARDINAL;
  295. 142 NumStr : ARRAY[0..3] OF CHAR;
  296. ***** ^ not supported yet
  297. ***** ^ not supported yet
  298. 143 Def : Window.WinDef;
  299. ***** ^ not supported yet
  300. 144 Win : Window.WinType;
  301. ***** ^ not supported yet
  302. 145 BEGIN
  303. 146 Def := Template;
  304. ***** ^ not supported yet
  305. 147 WITH Def DO
  306. ***** ^ not supported yet
  307. 148 X1:=x;
  308. ***** ^ undeclared identifier
  309. 149 Y1:=y;
  310. ***** ^ undeclared identifier
  311. 150 X2:=X1+39;
  312. ***** ^ undeclared identifier
  313. ***** ^ undeclared identifier
  314. 151 Y2:=Y1+2;
  315. ***** ^ undeclared identifier
  316. ***** ^ undeclared identifier
  317. 152 Foreground := CommUtil.Colors.PromptFore;
  318. ***** ^ undeclared identifier
  319. ***** ^ not supported yet
  320. ***** ^ not supported yet
  321. ***** ^ not supported yet
  322. 153 Background := CommUtil.Colors.PromptBack;
  323. ***** ^ undeclared identifier
  324. ***** ^ not supported yet
  325. ***** ^ not supported yet
  326. ***** ^ not supported yet
  327. 154 FrameFore := CommUtil.Colors.PromptFrFore;
  328. ***** ^ undeclared identifier
  329. ***** ^ not supported yet
  330. ***** ^ not supported yet
  331. ***** ^ not supported yet
  332. 155 FrameBack := CommUtil.Colors.PromptFrBack;
  333. ***** ^ undeclared identifier
  334. ***** ^ not supported yet
  335. ***** ^ not supported yet
  336. ***** ^ not supported yet
  337. 156 END;
  338. ***** ^ not supported yet
  339. 157 Win := Window.Open(Def);
  340. ***** ^ undeclared identifier
  341. ***** ^ not supported yet
  342. ***** ^ not supported yet
  343. ***** ^ undeclared identifier
  344. 158 Window.TextColor(CommUtil.Colors.PromptFore);
  345. ***** ^ not supported yet
  346. ***** ^ not supported yet
  347. ***** ^ not supported yet
  348. ***** ^ not supported yet
  349. ***** ^ not supported yet
  350. 159 Window.GotoXY(1,1);
  351. ***** ^ not supported yet
  352. ***** ^ not supported yet
  353. ***** ^ not supported yet
  354. 160 IO.WrStr(Prompt);
  355. ***** ^ not supported yet
  356. ***** ^ not supported yet
  357. ***** ^ undeclared identifier
  358. 161 Window.TextColor(CommUtil.Colors.PromptHigh);
  359. ***** ^ not supported yet
  360. ***** ^ not supported yet
  361. ***** ^ not supported yet
  362. ***** ^ not supported yet
  363. ***** ^ not supported yet
  364. 162 Str.CardToStr(LONGCARD(Result),NumStr,10,Ok);
  365. ***** ^ not supported yet
  366. ***** ^ not supported yet
  367. ***** ^ undeclared identifier
  368. ***** ^ undeclared identifier
  369. ***** ^ undeclared identifier
  370. ***** ^ undeclared identifier
  371. 163 CommUtil.ReadLine(NumStr,4);
  372. ***** ^ not supported yet
  373. ***** ^ not supported yet
  374. ***** ^ undeclared identifier
  375. ***** ^ not supported yet
  376. 164 Num := Result;
  377. ***** ^ undeclared identifier
  378. ***** ^ undeclared identifier
  379. 165 Value(NumStr,Num);
  380. ***** ^ not supported yet
  381. ***** ^ undeclared identifier
  382. ***** ^ undeclared identifier
  383. 166 IF (Num>=Min) AND (Num<=Max) THEN
  384. ***** ^ undeclared identifier
  385. ***** ^ undeclared identifier
  386. ***** ^ undeclared identifier
  387. ***** ^ undeclared identifier
  388. 167 Result:=Num;
  389. ***** ^ undeclared identifier
  390. ***** ^ undeclared identifier
  391. 168 END;
  392. 169 Window.Close(Win);
  393. ***** ^ not supported yet
  394. ***** ^ not supported yet
  395. ***** ^ undeclared identifier
  396. 170 END ReadNum;
  397. ***** ^ not supported yet
  398. 171
  399. 172 (*........................................*)
  400. 173
  401. 174 PROCEDURE ReadChar(x,y:CARDINAL; Prompt:ARRAY OF CHAR; VAR Ch:CHAR);
  402. ***** ^ not supported yet
  403. 175 VAR
  404. 176 c : CHAR;
  405. 177 Lnth : CARDINAL;
  406. 178 Def : Window.WinDef;
  407. ***** ^ not supported yet
  408. 179 Win : Window.WinType;
  409. ***** ^ not supported yet
  410. 180 BEGIN
  411. 181 Lnth := Str.Length(Prompt)+20;
  412. ***** ^ not supported yet
  413. ***** ^ not supported yet
  414. ***** ^ not supported yet
  415. 182 Def := Template;
  416. ***** ^ not supported yet
  417. 183 WITH Def DO
  418. ***** ^ not supported yet
  419. 184 X1:=x;
  420. ***** ^ undeclared identifier
  421. 185 Y1:=y;
  422. ***** ^ undeclared identifier
  423. 186 X2:=X1+39;
  424. ***** ^ undeclared identifier
  425. ***** ^ undeclared identifier
  426. 187 Y2:=Y1+2;
  427. ***** ^ undeclared identifier
  428. ***** ^ undeclared identifier
  429. 188 Foreground := CommUtil.Colors.PromptFore;
  430. ***** ^ undeclared identifier
  431. ***** ^ not supported yet
  432. ***** ^ not supported yet
  433. ***** ^ not supported yet
  434. 189 Background := CommUtil.Colors.PromptBack;
  435. ***** ^ undeclared identifier
  436. ***** ^ not supported yet
  437. ***** ^ not supported yet
  438. ***** ^ not supported yet
  439. 190 FrameFore := CommUtil.Colors.PromptFrFore;
  440. ***** ^ undeclared identifier
  441. ***** ^ not supported yet
  442. ***** ^ not supported yet
  443. ***** ^ not supported yet
  444. 191 FrameBack := CommUtil.Colors.PromptFrBack;
  445. ***** ^ undeclared identifier
  446. ***** ^ not supported yet
  447. ***** ^ not supported yet
  448. ***** ^ not supported yet
  449. 192 END;
  450. ***** ^ not supported yet
  451. 193 Win := Window.Open(Def);
  452. ***** ^ undeclared identifier
  453. ***** ^ not supported yet
  454. ***** ^ not supported yet
  455. ***** ^ undeclared identifier
  456. 194 Window.TextColor(CommUtil.Colors.PromptFore);
  457. ***** ^ not supported yet
  458. ***** ^ not supported yet
  459. ***** ^ not supported yet
  460. ***** ^ not supported yet
  461. ***** ^ not supported yet
  462. 195 Window.GotoXY(1,1);
  463. ***** ^ not supported yet
  464. ***** ^ not supported yet
  465. ***** ^ not supported yet
  466. 196 IO.WrStr(Prompt);
  467. ***** ^ not supported yet
  468. ***** ^ not supported yet
  469. ***** ^ undeclared identifier
  470. 197 Window.TextColor(CommUtil.Colors.PromptHigh);
  471. ***** ^ not supported yet
  472. ***** ^ not supported yet
  473. ***** ^ not supported yet
  474. ***** ^ not supported yet
  475. ***** ^ not supported yet
  476. 198 IO.WrStr(AsciiCode(Ch));
  477. ***** ^ not supported yet
  478. ***** ^ not supported yet
  479. ***** ^ not supported yet
  480. ***** ^ undeclared identifier
  481. 199 Window.GotoXY(Str.Length(Prompt)+1,1);
  482. ***** ^ not supported yet
  483. ***** ^ not supported yet
  484. ***** ^ not supported yet
  485. ***** ^ not supported yet
  486. ***** ^ undeclared identifier
  487. ***** ^ not supported yet
  488. 200 CommUtil.Read(c);
  489. ***** ^ not supported yet
  490. ***** ^ not supported yet
  491. ***** ^ undeclared identifier
  492. 201 IF c<>CHR(27) THEN
  493. ***** ^ undeclared identifier
  494. ***** ^ undeclared identifier
  495. ***** ^ not supported yet
  496. 202 Ch:=c;
  497. ***** ^ undeclared identifier
  498. ***** ^ undeclared identifier
  499. 203 END;
  500. 204 Window.Close(Win);
  501. ***** ^ not supported yet
  502. ***** ^ not supported yet
  503. ***** ^ undeclared identifier
  504. 205 END ReadChar;
  505. ***** ^ not supported yet
  506. 206
  507. 207 (*........................................*)
  508. 208
  509. 209 PROCEDURE ModemSetup(MenuX,MenuY:CARDINAL);
  510. 210 VAR
  511. 211 i,Count : CARDINAL;
  512. 212 Serial : MenuLib.MenuRec;
  513. ***** ^ not supported yet
  514. 213
  515. 214 (*. . . . . . . . . . . . . . . . . . . . .*)
  516. 215
  517. 216 PROCEDURE ParStr(Parity:ParityCodes):String10;
  518. 217 BEGIN
  519. 218 CASE Parity OF
  520. ***** ^ not supported yet
  521. 219 Odd : RETURN ' ODD'; |
  522. ***** ^ undeclared identifier
  523. ***** ^ not supported yet
  524. 220 Even : RETURN ' EVEN'; |
  525. ***** ^ undeclared identifier
  526. ***** ^ not supported yet
  527. 221 Mark : RETURN ' MARK'; |
  528. ***** ^ undeclared identifier
  529. ***** ^ not supported yet
  530. 222 Space : RETURN 'SPACE'; |
  531. ***** ^ undeclared identifier
  532. ***** ^ not supported yet
  533. 223 None : RETURN ' NONE'; |
  534. ***** ^ undeclared identifier
  535. ***** ^ not supported yet
  536. 224 END;
  537. 225 END ParStr;
  538. ***** ^ not supported yet
  539. 226
  540. 227 (*. . . . . . . . . . . . . . . . . . . . .*)
  541. 228
  542. 229 PROCEDURE FlowStr(Ctrl:FlowControls):String10;
  543. 230 BEGIN
  544. 231 CASE Ctrl OF
  545. ***** ^ not supported yet
  546. 232 NoFlowControl: RETURN ' NONE'; |
  547. ***** ^ undeclared identifier
  548. ***** ^ not supported yet
  549. 233 RtsCts : RETURN ' RTS/CTS'; |
  550. ***** ^ undeclared identifier
  551. ***** ^ not supported yet
  552. 234 XonXoff : RETURN 'XON/XOFF'; |
  553. ***** ^ undeclared identifier
  554. ***** ^ not supported yet
  555. 235 END;
  556. 236 END FlowStr;
  557. ***** ^ not supported yet
  558. 237
  559. 238 (*. . . . . . . . . . . . . . . . . . . . .*)
  560. 239
  561. 240 PROCEDURE MsChangeMenu;
  562. 241 BEGIN
  563. 242 WITH Setup.Serial DO
  564. ***** ^ undeclared identifier
  565. ***** ^ not supported yet
  566. 243 WITH Serial DO
  567. ***** ^ not supported yet
  568. 244 SPRINTF.SPrintF1(' Comm Port: %5u ',Port,Option[0].Name);
  569. ***** ^ not supported yet
  570. ***** ^ not supported yet
  571. ***** ^ not supported yet
  572. ***** ^ undeclared identifier
  573. ***** ^ undeclared identifier
  574. ***** ^ not supported yet
  575. ***** ^ not supported yet
  576. 245 SPRINTF.SPrintF1(' Baud Rate: %5u ',Baud,Option[1].Name);
  577. ***** ^ not supported yet
  578. ***** ^ not supported yet
  579. ***** ^ not supported yet
  580. ***** ^ undeclared identifier
  581. ***** ^ undeclared identifier
  582. ***** ^ not supported yet
  583. ***** ^ not supported yet
  584. 246 SPRINTF.SPrintF1(' Data Bits: %5u ',DataBits,Option[2].Name);
  585. ***** ^ not supported yet
  586. ***** ^ not supported yet
  587. ***** ^ not supported yet
  588. ***** ^ undeclared identifier
  589. ***** ^ undeclared identifier
  590. ***** ^ not supported yet
  591. ***** ^ not supported yet
  592. 247 SPRINTF.SPrintF1(' Parity: %s ',ParStr(Parity),Option[3].Name);
  593. ***** ^ not supported yet
  594. ***** ^ not supported yet
  595. ***** ^ not supported yet
  596. ***** ^ not supported yet
  597. ***** ^ undeclared identifier
  598. ***** ^ undeclared identifier
  599. ***** ^ not supported yet
  600. ***** ^ not supported yet
  601. 248 SPRINTF.SPrintF1(' Stop bits: %5u ',StopBits,Option[4].Name);
  602. ***** ^ not supported yet
  603. ***** ^ not supported yet
  604. ***** ^ not supported yet
  605. ***** ^ undeclared identifier
  606. ***** ^ undeclared identifier
  607. ***** ^ not supported yet
  608. ***** ^ not supported yet
  609. 249 SPRINTF.SPrintF1(' Flow Ctrl: %s ',FlowStr(FlowControl),Option[5].Name);
  610. ***** ^ not supported yet
  611. ***** ^ not supported yet
  612. ***** ^ not supported yet
  613. ***** ^ not supported yet
  614. ***** ^ undeclared identifier
  615. ***** ^ undeclared identifier
  616. ***** ^ not supported yet
  617. ***** ^ not supported yet
  618. 250 END; (*WITH*)
  619. ***** ^ not supported yet
  620. 251 END; (*WITH*)
  621. ***** ^ not supported yet
  622. 252 END MsChangeMenu;
  623. ***** ^ not supported yet
  624. 253
  625. 254 (*. . . . . . . . . . . . . . . . . . . . .*)
  626. 255
  627. 256 BEGIN (* ModemSetup *)
  628. 257 MenuLib.InitMenu(Serial,'',MenuX,MenuY,22);
  629. ***** ^ not supported yet
  630. ***** ^ not supported yet
  631. ***** ^ undeclared identifier
  632. ***** ^ undeclared identifier
  633. ***** ^ undeclared identifier
  634. ***** ^ not supported yet
  635. 258 Serial.EscapeOK := TRUE;
  636. ***** ^ undeclared identifier
  637. ***** ^ not supported yet
  638. 259 Serial.ExitOnChar := TRUE;
  639. ***** ^ undeclared identifier
  640. ***** ^ not supported yet
  641. 260 FOR i:=0 TO 5 DO
  642. ***** ^ undeclared identifier
  643. 261 MenuLib.AddOption(Serial,' Comm Port: ');
  644. ***** ^ not supported yet
  645. ***** ^ not supported yet
  646. ***** ^ undeclared identifier
  647. ***** ^ not supported yet
  648. 262 END;
  649. 263 MsChangeMenu;
  650. ***** ^ undeclared identifier
  651. 264 MenuLib.DispMenu(Serial);
  652. ***** ^ not supported yet
  653. ***** ^ not supported yet
  654. ***** ^ undeclared identifier
  655. 265 LOOP
  656. 266 WITH Setup.Serial DO
  657. ***** ^ undeclared identifier
  658. ***** ^ not supported yet
  659. 267 CASE MenuLib.MenuDrive(Serial) OF
  660. ***** ^ not supported yet
  661. ***** ^ not supported yet
  662. ***** ^ undeclared identifier
  663. 268 -1 : EXIT; |
  664. 269 0 : Port := (Port MOD 4)+1; |
  665. ***** ^ undeclared identifier
  666. ***** ^ undeclared identifier
  667. 270 1 : Baud := Baud*2;
  668. ***** ^ undeclared identifier
  669. ***** ^ undeclared identifier
  670. 271 IF Baud>19200 THEN
  671. ***** ^ undeclared identifier
  672. 272 Baud := 75;
  673. ***** ^ undeclared identifier
  674. 273 END; |
  675. 274 2 : DataBits := 7+ORD(DataBits=7); |
  676. ***** ^ undeclared identifier
  677. ***** ^ undeclared identifier
  678. ***** ^ undeclared identifier
  679. ***** ^ not supported yet
  680. 275 3 : CASE Parity OF
  681. ***** ^ undeclared identifier
  682. 276 None : Parity:=Even; |
  683. ***** ^ undeclared identifier
  684. ***** ^ undeclared identifier
  685. ***** ^ undeclared identifier
  686. 277 Even : Parity:=Odd; |
  687. ***** ^ undeclared identifier
  688. ***** ^ undeclared identifier
  689. ***** ^ undeclared identifier
  690. 278 Odd : Parity:=Mark; |
  691. ***** ^ undeclared identifier
  692. ***** ^ undeclared identifier
  693. ***** ^ undeclared identifier
  694. 279 Mark : Parity:=Space; |
  695. ***** ^ undeclared identifier
  696. ***** ^ undeclared identifier
  697. ***** ^ undeclared identifier
  698. 280 Space: Parity:=None; |
  699. ***** ^ undeclared identifier
  700. ***** ^ undeclared identifier
  701. ***** ^ undeclared identifier
  702. 281 END; |
  703. 282 4 : StopBits := 1+ORD(StopBits=1); |
  704. ***** ^ undeclared identifier
  705. ***** ^ undeclared identifier
  706. ***** ^ undeclared identifier
  707. ***** ^ not supported yet
  708. 283 5 : IF FlowControl=NoFlowControl THEN
  709. ***** ^ undeclared identifier
  710. ***** ^ undeclared identifier
  711. 284 FlowControl:=RtsCts
  712. ***** ^ undeclared identifier
  713. ***** ^ undeclared identifier
  714. 285 ELSIF FlowControl=RtsCts THEN
  715. ***** ^ undeclared identifier
  716. ***** ^ undeclared identifier
  717. 286 FlowControl:=XonXoff
  718. ***** ^ undeclared identifier
  719. ***** ^ undeclared identifier
  720. 287 ELSE
  721. 288 FlowControl:=NoFlowControl
  722. ***** ^ undeclared identifier
  723. ***** ^ undeclared identifier
  724. 289 END; |
  725. 290 END;
  726. 291 END;
  727. ***** ^ not supported yet
  728. 292 MsChangeMenu;
  729. ***** ^ undeclared identifier
  730. 293 END;
  731. 294 MenuLib.KillMenu(Serial);
  732. ***** ^ not supported yet
  733. ***** ^ not supported yet
  734. ***** ^ undeclared identifier
  735. 295 RS232.UnInstall;
  736. ***** ^ not supported yet
  737. ***** ^ not supported yet
  738. 296 WITH Setup.Serial DO
  739. ***** ^ undeclared identifier
  740. ***** ^ not supported yet
  741. 297 RS232.SelectPort(Port);
  742. ***** ^ not supported yet
  743. ***** ^ not supported yet
  744. ***** ^ undeclared identifier
  745. 298 RS232.InitPort(Baud,DataBits,StopBits,Parity);
  746. ***** ^ not supported yet
  747. ***** ^ not supported yet
  748. ***** ^ undeclared identifier
  749. ***** ^ undeclared identifier
  750. ***** ^ undeclared identifier
  751. ***** ^ undeclared identifier
  752. 299 RS232.Install;
  753. ***** ^ not supported yet
  754. ***** ^ not supported yet
  755. 300 RS232.SetFlowControl(FlowControl);
  756. ***** ^ not supported yet
  757. ***** ^ not supported yet
  758. ***** ^ undeclared identifier
  759. 301 END;
  760. ***** ^ not supported yet
  761. 302 END ModemSetup;
  762. ***** ^ not supported yet
  763. 303
  764. 304 (*........................................*)
  765. 305
  766. 306 PROCEDURE GeneralSetup(MenuX,MenuY:CARDINAL);
  767. 307 VAR
  768. 308 i : CARDINAL;
  769. 309 GMenu : MenuLib.MenuRec;
  770. ***** ^ not supported yet
  771. 310 Selection : INTEGER;
  772. 311 CRText : ARRAY CrTypes OF String10;
  773. ***** ^ undeclared identifier
  774. ***** ^ not supported yet
  775. 312
  776. 313 (*. . . . . . . . . . . . . . . . . . . . .*)
  777. 314
  778. 315 PROCEDURE GsChangeMenu;
  779. 316 BEGIN
  780. 317 WITH Setup.General DO
  781. ***** ^ undeclared identifier
  782. ***** ^ not supported yet
  783. 318 WITH GMenu DO
  784. ***** ^ not supported yet
  785. 319 SPRINTF.SPrintF1(' Strip Parity Bit: %3s ',BoolStr[MaskBit7],Option[0].Name);
  786. ***** ^ not supported yet
  787. ***** ^ not supported yet
  788. ***** ^ not supported yet
  789. ***** ^ not supported yet
  790. ***** ^ undeclared identifier
  791. ***** ^ undeclared identifier
  792. ***** ^ not supported yet
  793. ***** ^ not supported yet
  794. 320 SPRINTF.SPrintF1(' CR-in Translation: %4s ',CRText[CRInTranslation],Option[1].Name);
  795. ***** ^ not supported yet
  796. ***** ^ not supported yet
  797. ***** ^ not supported yet
  798. ***** ^ not supported yet
  799. ***** ^ undeclared identifier
  800. ***** ^ undeclared identifier
  801. ***** ^ not supported yet
  802. ***** ^ not supported yet
  803. 321 SPRINTF.SPrintF1(' CR-out Translation: %4s ',CRText[CROutTranslation],Option[2].Name);
  804. ***** ^ not supported yet
  805. ***** ^ not supported yet
  806. ***** ^ not supported yet
  807. ***** ^ not supported yet
  808. ***** ^ undeclared identifier
  809. ***** ^ undeclared identifier
  810. ***** ^ not supported yet
  811. ***** ^ not supported yet
  812. 322 END;
  813. ***** ^ not supported yet
  814. 323 END;
  815. ***** ^ not supported yet
  816. 324 END GsChangeMenu;
  817. ***** ^ not supported yet
  818. 325
  819. 326 (*. . . . . . . . . . . . . . . . . . . . .*)
  820. 327
  821. 328 BEGIN (* GeneralSetup *)
  822. 329 CRText[CR]:='CR';
  823. ***** ^ undeclared identifier
  824. ***** ^ undeclared identifier
  825. ***** ^ not supported yet
  826. 330 CRText[CRLF]:='CRLF';
  827. ***** ^ undeclared identifier
  828. ***** ^ undeclared identifier
  829. ***** ^ not supported yet
  830. 331 MenuLib.InitMenu(GMenu,'',MenuX,MenuY,26);
  831. ***** ^ not supported yet
  832. ***** ^ not supported yet
  833. ***** ^ undeclared identifier
  834. ***** ^ undeclared identifier
  835. ***** ^ undeclared identifier
  836. ***** ^ not supported yet
  837. 332 GMenu.EscapeOK := TRUE;
  838. ***** ^ undeclared identifier
  839. ***** ^ not supported yet
  840. 333 FOR i:=0 TO 2 DO
  841. ***** ^ undeclared identifier
  842. 334 MenuLib.AddOption(GMenu,' X ');
  843. ***** ^ not supported yet
  844. ***** ^ not supported yet
  845. ***** ^ undeclared identifier
  846. ***** ^ not supported yet
  847. 335 END;
  848. 336 MenuLib.AddOption(GMenu,' Directory for Scripts ');
  849. ***** ^ not supported yet
  850. ***** ^ not supported yet
  851. ***** ^ undeclared identifier
  852. ***** ^ not supported yet
  853. 337 MenuLib.AddOption(GMenu,' Directory for Downloads ');
  854. ***** ^ not supported yet
  855. ***** ^ not supported yet
  856. ***** ^ undeclared identifier
  857. ***** ^ not supported yet
  858. 338 GsChangeMenu;
  859. ***** ^ undeclared identifier
  860. 339 MenuLib.DispMenu(GMenu);
  861. ***** ^ not supported yet
  862. ***** ^ not supported yet
  863. ***** ^ undeclared identifier
  864. 340 LOOP
  865. 341 Selection := MenuLib.MenuDrive(GMenu);
  866. ***** ^ undeclared identifier
  867. ***** ^ not supported yet
  868. ***** ^ not supported yet
  869. ***** ^ undeclared identifier
  870. 342 WITH Setup.General DO
  871. ***** ^ undeclared identifier
  872. ***** ^ not supported yet
  873. 343 CASE Selection OF
  874. ***** ^ undeclared identifier
  875. 344 -1 : EXIT; |
  876. 345 0 : MaskBit7 := (NOT MaskBit7); |
  877. ***** ^ undeclared identifier
  878. ***** ^ undeclared identifier
  879. 346 1 : IF CRInTranslation=CR THEN
  880. ***** ^ undeclared identifier
  881. ***** ^ undeclared identifier
  882. 347 CRInTranslation:=CRLF
  883. ***** ^ undeclared identifier
  884. ***** ^ undeclared identifier
  885. 348 ELSE
  886. 349 CRInTranslation:=CR
  887. ***** ^ undeclared identifier
  888. ***** ^ undeclared identifier
  889. 350 END; |
  890. 351 2 : IF CROutTranslation=CR THEN
  891. ***** ^ undeclared identifier
  892. ***** ^ undeclared identifier
  893. 352 CROutTranslation:=CRLF
  894. ***** ^ undeclared identifier
  895. ***** ^ undeclared identifier
  896. 353 ELSE
  897. 354 CROutTranslation:=CR
  898. ***** ^ undeclared identifier
  899. ***** ^ undeclared identifier
  900. 355 END; |
  901. 356 3 : CommUtil.ReadString(MenuX+1,MenuY+5,'','',ScriptDir);|
  902. ***** ^ not supported yet
  903. ***** ^ not supported yet
  904. ***** ^ undeclared identifier
  905. ***** ^ undeclared identifier
  906. ***** ^ undeclared identifier
  907. 357 4 : CommUtil.ReadString(MenuX+1,MenuY+6,'','',DownloadDir);|
  908. ***** ^ not supported yet
  909. ***** ^ not supported yet
  910. ***** ^ undeclared identifier
  911. ***** ^ undeclared identifier
  912. ***** ^ undeclared identifier
  913. 358 END;
  914. 359 END;
  915. ***** ^ not supported yet
  916. 360 IF (Selection>=0) AND (Selection<=2) THEN
  917. ***** ^ undeclared identifier
  918. ***** ^ undeclared identifier
  919. 361 GsChangeMenu;
  920. ***** ^ undeclared identifier
  921. 362 END;
  922. 363 END;
  923. 364 MenuLib.KillMenu(GMenu);
  924. ***** ^ not supported yet
  925. ***** ^ not supported yet
  926. ***** ^ undeclared identifier
  927. 365 END GeneralSetup;
  928. ***** ^ not supported yet
  929. 366
  930. 367 (*........................................*)
  931. 368
  932. 369 PROCEDURE KermitSetup(MenuX,MenuY:CARDINAL);
  933. 370 VAR
  934. 371 i : CARDINAL;
  935. 372 KMenu : MenuLib.MenuRec;
  936. ***** ^ not supported yet
  937. 373 ModeStr : ARRAY BOOLEAN OF String10;
  938. ***** ^ not supported yet
  939. ***** ^ not supported yet
  940. 374
  941. 375 (*. . . . . . . . . . . . . . . . . . . .*)
  942. 376
  943. 377 PROCEDURE KsChangeMenu;
  944. 378 BEGIN
  945. 379 WITH Setup.Kermit DO
  946. ***** ^ undeclared identifier
  947. ***** ^ not supported yet
  948. 380 WITH KMenu DO
  949. ***** ^ not supported yet
  950. 381 SPRINTF.SPrintF1(' Sync Char: %3s ',AsciiCode(Sync),Option[0].Name);
  951. ***** ^ not supported yet
  952. ***** ^ not supported yet
  953. ***** ^ not supported yet
  954. ***** ^ not supported yet
  955. ***** ^ undeclared identifier
  956. ***** ^ undeclared identifier
  957. ***** ^ not supported yet
  958. ***** ^ not supported yet
  959. 382 SPRINTF.SPrintF1(' Packet Size: %4u ',MaxPacketSize,Option[1].Name);
  960. ***** ^ not supported yet
  961. ***** ^ not supported yet
  962. ***** ^ not supported yet
  963. ***** ^ undeclared identifier
  964. ***** ^ undeclared identifier
  965. ***** ^ not supported yet
  966. ***** ^ not supported yet
  967. 383 SPRINTF.SPrintF1(' Pad Char: %3s ',AsciiCode(PadChar),Option[2].Name);
  968. ***** ^ not supported yet
  969. ***** ^ not supported yet
  970. ***** ^ not supported yet
  971. ***** ^ not supported yet
  972. ***** ^ undeclared identifier
  973. ***** ^ undeclared identifier
  974. ***** ^ not supported yet
  975. ***** ^ not supported yet
  976. 384 SPRINTF.SPrintF1(' No. Pad Chars: %4u ',NumPadChars,Option[3].Name);
  977. ***** ^ not supported yet
  978. ***** ^ not supported yet
  979. ***** ^ not supported yet
  980. ***** ^ undeclared identifier
  981. ***** ^ undeclared identifier
  982. ***** ^ not supported yet
  983. ***** ^ not supported yet
  984. 385 SPRINTF.SPrintF1(' Control Quote: %c ',CtlQuote,Option[4].Name);
  985. ***** ^ not supported yet
  986. ***** ^ not supported yet
  987. ***** ^ not supported yet
  988. ***** ^ undeclared identifier
  989. ***** ^ undeclared identifier
  990. ***** ^ not supported yet
  991. ***** ^ not supported yet
  992. 386 SPRINTF.SPrintF1(' Repeat Prefix: %c ',ReptPrefix,Option[5].Name);
  993. ***** ^ not supported yet
  994. ***** ^ not supported yet
  995. ***** ^ not supported yet
  996. ***** ^ undeclared identifier
  997. ***** ^ undeclared identifier
  998. ***** ^ not supported yet
  999. ***** ^ not supported yet
  1000. 387 SPRINTF.SPrintF1(' 8th bit Quote: %c ',EightBitQuote,Option[6].Name);
  1001. ***** ^ not supported yet
  1002. ***** ^ not supported yet
  1003. ***** ^ not supported yet
  1004. ***** ^ undeclared identifier
  1005. ***** ^ undeclared identifier
  1006. ***** ^ not supported yet
  1007. ***** ^ not supported yet
  1008. 388 SPRINTF.SPrintF1(' Transfer Mode: %4s ',ModeStr[ImageMode],Option[7].Name);
  1009. ***** ^ not supported yet
  1010. ***** ^ not supported yet
  1011. ***** ^ not supported yet
  1012. ***** ^ not supported yet
  1013. ***** ^ undeclared identifier
  1014. ***** ^ undeclared identifier
  1015. ***** ^ not supported yet
  1016. ***** ^ not supported yet
  1017. 389 SPRINTF.SPrintF1(' IBM Mode: %3s ',BoolStr[IBMMode],Option[8].Name);
  1018. ***** ^ not supported yet
  1019. ***** ^ not supported yet
  1020. ***** ^ not supported yet
  1021. ***** ^ not supported yet
  1022. ***** ^ undeclared identifier
  1023. ***** ^ undeclared identifier
  1024. ***** ^ not supported yet
  1025. ***** ^ not supported yet
  1026. 390 SPRINTF.SPrintF1(' EOL Char: %3s ',AsciiCode(EolChar),Option[9].Name);
  1027. ***** ^ not supported yet
  1028. ***** ^ not supported yet
  1029. ***** ^ not supported yet
  1030. ***** ^ not supported yet
  1031. ***** ^ undeclared identifier
  1032. ***** ^ undeclared identifier
  1033. ***** ^ not supported yet
  1034. ***** ^ not supported yet
  1035. 391 END;
  1036. ***** ^ not supported yet
  1037. 392 END;
  1038. ***** ^ not supported yet
  1039. 393 END KsChangeMenu;
  1040. ***** ^ not supported yet
  1041. 394
  1042. 395 (*. . . . . . . . . . . . . . . . . . . .*)
  1043. 396
  1044. 397 BEGIN (* KermitSetup *)
  1045. 398 ModeStr[TRUE] := '8Bit';
  1046. ***** ^ undeclared identifier
  1047. ***** ^ not supported yet
  1048. ***** ^ not supported yet
  1049. 399 ModeStr[FALSE] := '7Bit';
  1050. ***** ^ undeclared identifier
  1051. ***** ^ not supported yet
  1052. ***** ^ not supported yet
  1053. 400 MenuLib.InitMenu(KMenu,'',MenuX,MenuY,21);
  1054. ***** ^ not supported yet
  1055. ***** ^ not supported yet
  1056. ***** ^ undeclared identifier
  1057. ***** ^ undeclared identifier
  1058. ***** ^ undeclared identifier
  1059. ***** ^ not supported yet
  1060. 401 KMenu.EscapeOK := TRUE;
  1061. ***** ^ undeclared identifier
  1062. ***** ^ not supported yet
  1063. 402 FOR i:=0 TO 9 DO
  1064. ***** ^ undeclared identifier
  1065. 403 MenuLib.AddOption(KMenu,' x ');
  1066. ***** ^ not supported yet
  1067. ***** ^ not supported yet
  1068. ***** ^ undeclared identifier
  1069. ***** ^ not supported yet
  1070. 404 END;
  1071. 405 KsChangeMenu;
  1072. ***** ^ undeclared identifier
  1073. 406 MenuLib.DispMenu(KMenu);
  1074. ***** ^ not supported yet
  1075. ***** ^ not supported yet
  1076. ***** ^ undeclared identifier
  1077. 407 LOOP
  1078. 408 WITH Setup.Kermit DO
  1079. ***** ^ undeclared identifier
  1080. ***** ^ not supported yet
  1081. 409 CASE MenuLib.MenuDrive(KMenu) OF
  1082. ***** ^ not supported yet
  1083. ***** ^ not supported yet
  1084. ***** ^ undeclared identifier
  1085. 410 -1 : EXIT; |
  1086. 411 0 : ReadChar(MenuX+1,MenuY+2,' Sync Char? ',Sync); |
  1087. ***** ^ not supported yet
  1088. ***** ^ undeclared identifier
  1089. ***** ^ undeclared identifier
  1090. ***** ^ not supported yet
  1091. ***** ^ undeclared identifier
  1092. 412 1 : ReadNum(MenuX+1,MenuY+3,' Packet Size? ',30,90,MaxPacketSize);|
  1093. ***** ^ not supported yet
  1094. ***** ^ undeclared identifier
  1095. ***** ^ undeclared identifier
  1096. ***** ^ not supported yet
  1097. ***** ^ undeclared identifier
  1098. 413 2 : ReadChar(MenuX+1,MenuY+4,' Pad Char? ',PadChar);|
  1099. ***** ^ not supported yet
  1100. ***** ^ undeclared identifier
  1101. ***** ^ undeclared identifier
  1102. ***** ^ not supported yet
  1103. ***** ^ undeclared identifier
  1104. 414 3 : ReadNum(MenuX+1,MenuY+5,' No. Pad Chars? ',0,256,NumPadChars);|
  1105. ***** ^ not supported yet
  1106. ***** ^ undeclared identifier
  1107. ***** ^ undeclared identifier
  1108. ***** ^ not supported yet
  1109. ***** ^ undeclared identifier
  1110. 415 4 : ReadChar(MenuX+1,MenuY+6,' Ctl Quote Char? ',CtlQuote);|
  1111. ***** ^ not supported yet
  1112. ***** ^ undeclared identifier
  1113. ***** ^ undeclared identifier
  1114. ***** ^ not supported yet
  1115. ***** ^ undeclared identifier
  1116. 416 5 : ReadChar(MenuX+1,MenuY+7,' Repeat Prefix? ',ReptPrefix);|
  1117. ***** ^ not supported yet
  1118. ***** ^ undeclared identifier
  1119. ***** ^ undeclared identifier
  1120. ***** ^ not supported yet
  1121. ***** ^ undeclared identifier
  1122. 417 6 : ReadChar(MenuX+1,MenuY+8,' 8th Bit Quote? ',EightBitQuote);|
  1123. ***** ^ not supported yet
  1124. ***** ^ undeclared identifier
  1125. ***** ^ undeclared identifier
  1126. ***** ^ not supported yet
  1127. ***** ^ undeclared identifier
  1128. 418 7 : ImageMode := NOT ImageMode; |
  1129. ***** ^ undeclared identifier
  1130. ***** ^ undeclared identifier
  1131. 419 8 : IBMMode := NOT IBMMode; |
  1132. ***** ^ undeclared identifier
  1133. ***** ^ undeclared identifier
  1134. 420 9 : ReadChar(MenuX+1,MenuY+11,' EOL Char? ',EolChar);|
  1135. ***** ^ not supported yet
  1136. ***** ^ undeclared identifier
  1137. ***** ^ undeclared identifier
  1138. ***** ^ not supported yet
  1139. ***** ^ undeclared identifier
  1140. 421 END;
  1141. 422 END;
  1142. ***** ^ not supported yet
  1143. 423 KsChangeMenu;
  1144. ***** ^ undeclared identifier
  1145. 424 END;
  1146. 425 MenuLib.KillMenu(KMenu);
  1147. ***** ^ not supported yet
  1148. ***** ^ not supported yet
  1149. ***** ^ undeclared identifier
  1150. 426 END KermitSetup;
  1151. ***** ^ not supported yet
  1152. 427
  1153. 428 (*........................................*)
  1154. 429
  1155. 430 PROCEDURE AsciiSetup(MenuX,MenuY:CARDINAL);
  1156. 431 VAR
  1157. 432 i : CARDINAL;
  1158. 433 AMenu : MenuLib.MenuRec;
  1159. ***** ^ not supported yet
  1160. 434
  1161. 435 (*. . . . . . . . . . . . . . . . . . . .*)
  1162. 436
  1163. 437 PROCEDURE AsChangeMenu;
  1164. 438 BEGIN
  1165. 439 WITH Setup.ASCII DO
  1166. ***** ^ undeclared identifier
  1167. ***** ^ not supported yet
  1168. 440 WITH AMenu.Option[0] DO
  1169. ***** ^ not supported yet
  1170. ***** ^ not supported yet
  1171. ***** ^ not supported yet
  1172. 441 SPRINTF.SPrintF1(' Character Delay (ms): %4u ',CharDelayMS,Name);
  1173. ***** ^ not supported yet
  1174. ***** ^ not supported yet
  1175. ***** ^ not supported yet
  1176. ***** ^ undeclared identifier
  1177. ***** ^ undeclared identifier
  1178. 442 END;
  1179. ***** ^ not supported yet
  1180. 443 WITH AMenu.Option[1] DO
  1181. ***** ^ not supported yet
  1182. ***** ^ not supported yet
  1183. ***** ^ not supported yet
  1184. 444 SPRINTF.SPrintF1(' Line Delay (ms): %4u ',LineDelayMS,Name);
  1185. ***** ^ not supported yet
  1186. ***** ^ not supported yet
  1187. ***** ^ not supported yet
  1188. ***** ^ undeclared identifier
  1189. ***** ^ undeclared identifier
  1190. 445 END;
  1191. ***** ^ not supported yet
  1192. 446 END;
  1193. ***** ^ not supported yet
  1194. 447 END AsChangeMenu;
  1195. ***** ^ not supported yet
  1196. 448
  1197. 449 (*. . . . . . . . . . . . . . . . . . . .*)
  1198. 450
  1199. 451 BEGIN (* AsciiSetup *)
  1200. 452 MenuLib.InitMenu(AMenu,'',MenuX,MenuY,28);
  1201. ***** ^ not supported yet
  1202. ***** ^ not supported yet
  1203. ***** ^ undeclared identifier
  1204. ***** ^ undeclared identifier
  1205. ***** ^ undeclared identifier
  1206. ***** ^ not supported yet
  1207. 453 AMenu.EscapeOK := TRUE;
  1208. ***** ^ undeclared identifier
  1209. ***** ^ not supported yet
  1210. 454 AMenu.ExitOnChar := TRUE;
  1211. ***** ^ undeclared identifier
  1212. ***** ^ not supported yet
  1213. 455 FOR i:=0 TO 1 DO
  1214. ***** ^ undeclared identifier
  1215. 456 MenuLib.AddOption(AMenu,' x ');
  1216. ***** ^ not supported yet
  1217. ***** ^ not supported yet
  1218. ***** ^ undeclared identifier
  1219. ***** ^ not supported yet
  1220. 457 END;
  1221. 458 AsChangeMenu;
  1222. ***** ^ undeclared identifier
  1223. 459 MenuLib.DispMenu(AMenu);
  1224. ***** ^ not supported yet
  1225. ***** ^ not supported yet
  1226. ***** ^ undeclared identifier
  1227. 460 LOOP
  1228. 461 WITH Setup.ASCII DO
  1229. ***** ^ undeclared identifier
  1230. ***** ^ not supported yet
  1231. 462 CASE MenuLib.MenuDrive(AMenu) OF
  1232. ***** ^ not supported yet
  1233. ***** ^ not supported yet
  1234. ***** ^ undeclared identifier
  1235. 463 -1 : EXIT; |
  1236. 464 0 : ReadNum(MenuX+1,MenuY+2,' Char Delay? ',0,9999,CharDelayMS); |
  1237. ***** ^ not supported yet
  1238. ***** ^ undeclared identifier
  1239. ***** ^ undeclared identifier
  1240. ***** ^ not supported yet
  1241. ***** ^ undeclared identifier
  1242. 465 1 : ReadNum(MenuX+1,MenuY+3,' Line Delay? ',0,9999,LineDelayMS); |
  1243. ***** ^ not supported yet
  1244. ***** ^ undeclared identifier
  1245. ***** ^ undeclared identifier
  1246. ***** ^ not supported yet
  1247. ***** ^ undeclared identifier
  1248. 466 END;
  1249. 467 END;
  1250. ***** ^ not supported yet
  1251. 468 AsChangeMenu;
  1252. ***** ^ undeclared identifier
  1253. 469 END;
  1254. 470 MenuLib.KillMenu(AMenu);
  1255. ***** ^ not supported yet
  1256. ***** ^ not supported yet
  1257. ***** ^ undeclared identifier
  1258. 471 END AsciiSetup;
  1259. ***** ^ not supported yet
  1260. 472
  1261. 473 (*........................................*)
  1262. 474
  1263. 475 PROCEDURE ChangeMacro(MenuX,MenuY:CARDINAL);
  1264. 476 VAR
  1265. 477 i : CARDINAL;
  1266. 478 Def : Window.WinDef;
  1267. ***** ^ not supported yet
  1268. 479 Win : Window.WinType;
  1269. ***** ^ not supported yet
  1270. 480
  1271. 481 (*. . . . . . . . . . . . . . . . . . . . .*)
  1272. 482
  1273. 483 PROCEDURE Highlight(MacroNo:CARDINAL; On:BOOLEAN);
  1274. 484 BEGIN
  1275. 485 Window.GotoXY(1,MacroNo+1);
  1276. ***** ^ not supported yet
  1277. ***** ^ not supported yet
  1278. ***** ^ not supported yet
  1279. 486 Window.TextBackground(CommUtil.Colors.MacroBack);
  1280. ***** ^ not supported yet
  1281. ***** ^ not supported yet
  1282. ***** ^ not supported yet
  1283. ***** ^ not supported yet
  1284. ***** ^ not supported yet
  1285. 487 Window.TextColor(CommUtil.Colors.MacroFore);
  1286. ***** ^ not supported yet
  1287. ***** ^ not supported yet
  1288. ***** ^ not supported yet
  1289. ***** ^ not supported yet
  1290. ***** ^ not supported yet
  1291. 488 MPRINTF.PrintF1(' %u ',MacroNo);
  1292. ***** ^ not supported yet
  1293. ***** ^ not supported yet
  1294. ***** ^ not supported yet
  1295. ***** ^ not supported yet
  1296. 489 IF On THEN
  1297. 490 Window.TextBackground(CommUtil.Colors.MacroHighBack);
  1298. ***** ^ not supported yet
  1299. ***** ^ not supported yet
  1300. ***** ^ not supported yet
  1301. ***** ^ not supported yet
  1302. ***** ^ not supported yet
  1303. 491 Window.TextColor(CommUtil.Colors.MacroHighFore);
  1304. ***** ^ not supported yet
  1305. ***** ^ not supported yet
  1306. ***** ^ not supported yet
  1307. ***** ^ not supported yet
  1308. ***** ^ not supported yet
  1309. 492 ELSE
  1310. 493 Window.TextBackground(CommUtil.Colors.MacroLowBack);
  1311. ***** ^ not supported yet
  1312. ***** ^ not supported yet
  1313. ***** ^ not supported yet
  1314. ***** ^ not supported yet
  1315. ***** ^ not supported yet
  1316. 494 Window.TextColor(CommUtil.Colors.MacroLowFore);
  1317. ***** ^ not supported yet
  1318. ***** ^ not supported yet
  1319. ***** ^ not supported yet
  1320. ***** ^ not supported yet
  1321. ***** ^ not supported yet
  1322. 495 END;
  1323. 496 MPRINTF.PrintF1('%-70s\r',Setup.Macros[MacroNo]);
  1324. ***** ^ not supported yet
  1325. ***** ^ not supported yet
  1326. ***** ^ not supported yet
  1327. ***** ^ undeclared identifier
  1328. ***** ^ not supported yet
  1329. ***** ^ not supported yet
  1330. 497 Window.GotoXY(4,MacroNo+1);
  1331. ***** ^ not supported yet
  1332. ***** ^ not supported yet
  1333. ***** ^ not supported yet
  1334. 498 END Highlight;
  1335. ***** ^ not supported yet
  1336. 499
  1337. 500 (*. . . . . . . . . . . . . . . . . . . . .*)
  1338. 501
  1339. 502 PROCEDURE EditMacros;
  1340. 503 VAR
  1341. 504 Ch : CHAR;
  1342. 505 MacroNo,
  1343. 506 NextMacroNo : CARDINAL;
  1344. 507 ch : ARRAY[0..1] OF CHAR;
  1345. ***** ^ not supported yet
  1346. ***** ^ not supported yet
  1347. 508 BEGIN
  1348. 509 ch:=' ';
  1349. ***** ^ not supported yet
  1350. ***** ^ incompatible assignment
  1351. 510 MacroNo:=0;
  1352. 511 LOOP
  1353. 512 Highlight(MacroNo,TRUE);
  1354. ***** ^ not supported yet
  1355. ***** ^ not supported yet
  1356. 513 NextMacroNo := MacroNo;
  1357. 514 CommUtil.Read(Ch);
  1358. ***** ^ not supported yet
  1359. ***** ^ not supported yet
  1360. ***** ^ not supported yet
  1361. 515 CASE CommUtil.FuncKeyTyped OF
  1362. ***** ^ not supported yet
  1363. ***** ^ not supported yet
  1364. 516 Cup : IF MacroNo>0 THEN
  1365. ***** ^ undeclared identifier
  1366. 517 NextMacroNo:=MacroNo-1;
  1367. 518 END; |
  1368. 519 Cdown : IF MacroNo<9 THEN
  1369. ***** ^ undeclared identifier
  1370. 520 NextMacroNo:=MacroNo+1;
  1371. 521 END; |
  1372. 522 Escape : EXIT; |
  1373. ***** ^ undeclared identifier
  1374. 523 EndKey,Del,
  1375. ***** ^ undeclared identifier
  1376. ***** ^ undeclared identifier
  1377. 524 Cright : IF Setup.Macros[MacroNo,0]<>0C THEN
  1378. ***** ^ undeclared identifier
  1379. ***** ^ undeclared identifier
  1380. ***** ^ not supported yet
  1381. ***** ^ not supported yet
  1382. 525 CommUtil.PushBack(Ch);
  1383. ***** ^ not supported yet
  1384. ***** ^ not supported yet
  1385. ***** ^ not supported yet
  1386. 526 CommUtil.SpacesOK:=TRUE;
  1387. ***** ^ not supported yet
  1388. ***** ^ not supported yet
  1389. 527 CommUtil.ReadLine(Setup.Macros[MacroNo],70);
  1390. ***** ^ not supported yet
  1391. ***** ^ not supported yet
  1392. ***** ^ undeclared identifier
  1393. ***** ^ not supported yet
  1394. ***** ^ not supported yet
  1395. ***** ^ not supported yet
  1396. 528 IF MacroNo<9 THEN
  1397. 529 NextMacroNo:=MacroNo+1;
  1398. 530 END;
  1399. 531 END; |
  1400. 532 NotRecognised:CommUtil.PushBack(Ch);
  1401. ***** ^ undeclared identifier
  1402. ***** ^ not supported yet
  1403. ***** ^ not supported yet
  1404. ***** ^ not supported yet
  1405. 533 CommUtil.SpacesOK:=TRUE;
  1406. ***** ^ not supported yet
  1407. ***** ^ not supported yet
  1408. 534 CommUtil.ReadLine(Setup.Macros[MacroNo],70);
  1409. ***** ^ not supported yet
  1410. ***** ^ not supported yet
  1411. ***** ^ undeclared identifier
  1412. ***** ^ not supported yet
  1413. ***** ^ not supported yet
  1414. ***** ^ not supported yet
  1415. 535 IF MacroNo<9 THEN
  1416. 536 NextMacroNo:=MacroNo+1;
  1417. 537 END; |
  1418. 538 END;
  1419. 539 Highlight(MacroNo,FALSE);
  1420. ***** ^ not supported yet
  1421. ***** ^ not supported yet
  1422. 540 MacroNo := NextMacroNo;
  1423. 541 END;
  1424. 542 END EditMacros;
  1425. ***** ^ not supported yet
  1426. 543
  1427. 544 (*. . . . . . . . . . . . . . . . . . . . .*)
  1428. 545
  1429. 546 BEGIN (* ChangeMacro *)
  1430. 547 Def := Template;
  1431. ***** ^ not supported yet
  1432. 548 WITH Def DO
  1433. ***** ^ not supported yet
  1434. 549 X1:=3;
  1435. ***** ^ undeclared identifier
  1436. 550 Y1:=6;
  1437. ***** ^ undeclared identifier
  1438. 551 X2:=74;
  1439. ***** ^ undeclared identifier
  1440. 552 Y2:=17;
  1441. ***** ^ undeclared identifier
  1442. 553 Foreground := CommUtil.Colors.MacroFore;
  1443. ***** ^ undeclared identifier
  1444. ***** ^ not supported yet
  1445. ***** ^ not supported yet
  1446. ***** ^ not supported yet
  1447. 554 Background := CommUtil.Colors.MacroBack;
  1448. ***** ^ undeclared identifier
  1449. ***** ^ not supported yet
  1450. ***** ^ not supported yet
  1451. ***** ^ not supported yet
  1452. 555 FrameFore := CommUtil.Colors.MacroFrFore;
  1453. ***** ^ undeclared identifier
  1454. ***** ^ not supported yet
  1455. ***** ^ not supported yet
  1456. ***** ^ not supported yet
  1457. 556 FrameBack := CommUtil.Colors.MacroFrBack;
  1458. ***** ^ undeclared identifier
  1459. ***** ^ not supported yet
  1460. ***** ^ not supported yet
  1461. ***** ^ not supported yet
  1462. 557 END;
  1463. ***** ^ not supported yet
  1464. 558 Win := Window.Open(Def);
  1465. ***** ^ undeclared identifier
  1466. ***** ^ not supported yet
  1467. ***** ^ not supported yet
  1468. ***** ^ undeclared identifier
  1469. 559 Window.SetTitle(Win,'Macros',Window.LeftUpperTitle);
  1470. ***** ^ not supported yet
  1471. ***** ^ not supported yet
  1472. ***** ^ undeclared identifier
  1473. ***** ^ not supported yet
  1474. ***** ^ not supported yet
  1475. ***** ^ not supported yet
  1476. 560 FOR i:=0 TO 9 DO
  1477. ***** ^ undeclared identifier
  1478. 561 Highlight(i,FALSE);
  1479. ***** ^ undeclared identifier
  1480. ***** ^ undeclared identifier
  1481. ***** ^ not supported yet
  1482. 562 END;
  1483. 563 EditMacros;
  1484. ***** ^ undeclared identifier
  1485. 564 Window.Close(Win);
  1486. ***** ^ not supported yet
  1487. ***** ^ not supported yet
  1488. ***** ^ undeclared identifier
  1489. 565 END ChangeMacro;
  1490. ***** ^ not supported yet
  1491. 566
  1492. 567 (*........................................*)
  1493. 568
  1494. 569 PROCEDURE ChangeEmulation(MenuX,MenuY:CARDINAL);
  1495. 570 BEGIN
  1496. 571 WITH Setup DO
  1497. ***** ^ undeclared identifier
  1498. 572 CASE Emulation OF
  1499. ***** ^ undeclared identifier
  1500. 573 Term.EmVT100 : Emulation := Term.EmVT52;
  1501. ***** ^ undeclared identifier
  1502. ***** ^ not supported yet
  1503. ***** ^ undeclared identifier
  1504. ***** ^ undeclared identifier
  1505. ***** ^ not supported yet
  1506. 574 SMenu.Option[5].Name := ' E - Emulating VT52 '; |
  1507. ***** ^ not supported yet
  1508. ***** ^ not supported yet
  1509. ***** ^ not supported yet
  1510. ***** ^ not supported yet
  1511. ***** ^ not supported yet
  1512. 575 Term.EmVT52 : Emulation := Term.EmANSI;
  1513. ***** ^ undeclared identifier
  1514. ***** ^ not supported yet
  1515. ***** ^ undeclared identifier
  1516. ***** ^ undeclared identifier
  1517. ***** ^ not supported yet
  1518. 576 SMenu.Option[5].Name := ' E - Emulating ANSI '; |
  1519. ***** ^ not supported yet
  1520. ***** ^ not supported yet
  1521. ***** ^ not supported yet
  1522. ***** ^ not supported yet
  1523. ***** ^ not supported yet
  1524. 577 Term.EmANSI : Emulation := Term.EmVT100;
  1525. ***** ^ undeclared identifier
  1526. ***** ^ not supported yet
  1527. ***** ^ undeclared identifier
  1528. ***** ^ undeclared identifier
  1529. ***** ^ not supported yet
  1530. 578 SMenu.Option[5].Name := ' E - Emulating VT100 '; |
  1531. ***** ^ not supported yet
  1532. ***** ^ not supported yet
  1533. ***** ^ not supported yet
  1534. ***** ^ not supported yet
  1535. ***** ^ not supported yet
  1536. 579 END;
  1537. 580 END;
  1538. ***** ^ not supported yet
  1539. 581 END ChangeEmulation;
  1540. ***** ^ not supported yet
  1541. 582
  1542. 583 (*........................................*)
  1543. 584
  1544. 585 PROCEDURE SaveSetup;
  1545. 586 VAR
  1546. 587 f : FIO.File;
  1547. ***** ^ not supported yet
  1548. 588 BEGIN
  1549. 589 f := FIO.Create('TERM.CFG');
  1550. ***** ^ not supported yet
  1551. ***** ^ not supported yet
  1552. ***** ^ not supported yet
  1553. ***** ^ not supported yet
  1554. 590 FIO.WrBin(f,Setup,SIZE(SetupRec));
  1555. ***** ^ not supported yet
  1556. ***** ^ not supported yet
  1557. ***** ^ not supported yet
  1558. ***** ^ undeclared identifier
  1559. ***** ^ undeclared identifier
  1560. ***** ^ undeclared identifier
  1561. 591 FIO.Close(f);
  1562. ***** ^ not supported yet
  1563. ***** ^ not supported yet
  1564. ***** ^ not supported yet
  1565. 592 END SaveSetup;
  1566. ***** ^ not supported yet
  1567. 593
  1568. 594 (*........................................*)
  1569. 595
  1570. 596 PROCEDURE ChangeSetup;
  1571. 597 VAR
  1572. 598 Result : INTEGER;
  1573. 599 BEGIN
  1574. 600 OldEmulation := Setup.Emulation;
  1575. ***** ^ not supported yet
  1576. ***** ^ undeclared identifier
  1577. ***** ^ not supported yet
  1578. 601 MenuLib.InitMenu(SMenu,'Setup',1,1,21);
  1579. ***** ^ not supported yet
  1580. ***** ^ not supported yet
  1581. ***** ^ not supported yet
  1582. ***** ^ not supported yet
  1583. ***** ^ not supported yet
  1584. 602 SMenu.ExitOnChar := TRUE;
  1585. ***** ^ not supported yet
  1586. ***** ^ not supported yet
  1587. 603 SMenu.EscapeOK := TRUE;
  1588. ***** ^ not supported yet
  1589. ***** ^ not supported yet
  1590. 604 MenuLib.AddOption(SMenu,' C - Comms Setup ');
  1591. ***** ^ not supported yet
  1592. ***** ^ not supported yet
  1593. ***** ^ not supported yet
  1594. ***** ^ not supported yet
  1595. 605 MenuLib.AddOption(SMenu,' G - General Setup ');
  1596. ***** ^ not supported yet
  1597. ***** ^ not supported yet
  1598. ***** ^ not supported yet
  1599. ***** ^ not supported yet
  1600. 606 MenuLib.AddOption(SMenu,' K - Kermit Setup ');
  1601. ***** ^ not supported yet
  1602. ***** ^ not supported yet
  1603. ***** ^ not supported yet
  1604. ***** ^ not supported yet
  1605. 607 MenuLib.AddOption(SMenu,' A - ASCII Setup ');
  1606. ***** ^ not supported yet
  1607. ***** ^ not supported yet
  1608. ***** ^ not supported yet
  1609. ***** ^ not supported yet
  1610. 608 MenuLib.AddOption(SMenu,' M - Edit Macros ');
  1611. ***** ^ not supported yet
  1612. ***** ^ not supported yet
  1613. ***** ^ not supported yet
  1614. ***** ^ not supported yet
  1615. 609 CASE Setup.Emulation OF
  1616. ***** ^ undeclared identifier
  1617. ***** ^ not supported yet
  1618. 610 Term.EmVT100 : MenuLib.AddOption(SMenu,' E - Emulating VT100 '); |
  1619. ***** ^ undeclared identifier
  1620. ***** ^ not supported yet
  1621. ***** ^ not supported yet
  1622. ***** ^ not supported yet
  1623. ***** ^ not supported yet
  1624. ***** ^ not supported yet
  1625. 611 Term.EmVT52 : MenuLib.AddOption(SMenu,' E - Emulating VT52 '); |
  1626. ***** ^ undeclared identifier
  1627. ***** ^ not supported yet
  1628. ***** ^ not supported yet
  1629. ***** ^ not supported yet
  1630. ***** ^ not supported yet
  1631. ***** ^ not supported yet
  1632. 612 Term.EmANSI : MenuLib.AddOption(SMenu,' E - Emulating ANSI '); |
  1633. ***** ^ undeclared identifier
  1634. ***** ^ not supported yet
  1635. ***** ^ not supported yet
  1636. ***** ^ not supported yet
  1637. ***** ^ not supported yet
  1638. ***** ^ not supported yet
  1639. 613 END;
  1640. 614 MenuLib.AddOption(SMenu,' S - Save Setup ');
  1641. ***** ^ not supported yet
  1642. ***** ^ not supported yet
  1643. ***** ^ not supported yet
  1644. ***** ^ not supported yet
  1645. 615 MenuLib.DispMenu(SMenu);
  1646. ***** ^ not supported yet
  1647. ***** ^ not supported yet
  1648. ***** ^ not supported yet
  1649. 616 LOOP
  1650. 617 Result := MenuLib.MenuDrive(SMenu);
  1651. ***** ^ not supported yet
  1652. ***** ^ not supported yet
  1653. ***** ^ not supported yet
  1654. 618 CASE Result OF
  1655. 619 -1 : EXIT; |
  1656. 620 0 : ModemSetup(2,3); |
  1657. ***** ^ not supported yet
  1658. ***** ^ not supported yet
  1659. 621 1 : GeneralSetup(2,4); |
  1660. ***** ^ not supported yet
  1661. ***** ^ not supported yet
  1662. 622 2 : KermitSetup(2,5); |
  1663. ***** ^ not supported yet
  1664. ***** ^ not supported yet
  1665. 623 3 : AsciiSetup(2,6); |
  1666. ***** ^ not supported yet
  1667. ***** ^ not supported yet
  1668. 624 4 : ChangeMacro(2,7); |
  1669. ***** ^ not supported yet
  1670. ***** ^ not supported yet
  1671. 625 5 : ChangeEmulation(2,8); |
  1672. ***** ^ not supported yet
  1673. ***** ^ not supported yet
  1674. 626 6 : SaveSetup; |
  1675. ***** ^ not supported yet
  1676. 627 END;
  1677. 628 END;
  1678. 629 MenuLib.KillMenu(SMenu);
  1679. ***** ^ not supported yet
  1680. ***** ^ not supported yet
  1681. ***** ^ not supported yet
  1682. 630 IF Setup.Emulation<>OldEmulation THEN
  1683. ***** ^ undeclared identifier
  1684. ***** ^ not supported yet
  1685. ***** ^ not supported yet
  1686. 631 CASE Setup.Emulation OF
  1687. ***** ^ undeclared identifier
  1688. ***** ^ not supported yet
  1689. 632 Term.EmVT100 : Term.EmulateVT100; |
  1690. ***** ^ undeclared identifier
  1691. ***** ^ not supported yet
  1692. ***** ^ undeclared identifier
  1693. ***** ^ not supported yet
  1694. 633 Term.EmVT52 : Term.EmulateVT52; |
  1695. ***** ^ undeclared identifier
  1696. ***** ^ not supported yet
  1697. ***** ^ undeclared identifier
  1698. ***** ^ not supported yet
  1699. 634 Term.EmANSI : Term.EmulateANSI; |
  1700. ***** ^ undeclared identifier
  1701. ***** ^ not supported yet
  1702. ***** ^ undeclared identifier
  1703. ***** ^ not supported yet
  1704. 635 END;
  1705. 636 END;
  1706. 637 END ChangeSetup;
  1707. ***** ^ not supported yet
  1708. 638
  1709. 639 (*........................................*)
  1710. 640
  1711. 641 BEGIN
  1712. 642 BoolStr[TRUE] := 'YES';
  1713. ***** ^ not supported yet
  1714. ***** ^ not supported yet
  1715. ***** ^ not supported yet
  1716. 643 BoolStr[FALSE] := 'NO';
  1717. ***** ^ not supported yet
  1718. ***** ^ not supported yet
  1719. ***** ^ not supported yet
  1720. 644 END ComSetup.
  1721. ***** ^ not supported yet
  1722. 645
  1723. 1076 errors