bug-mail.txt 362 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685
  1. 16-Jun-82 10:03:19-PDT,759;000010000001
  2. Date: 16 Jun 1982 1003-PDT
  3. From: Alan Snyder <AS>
  4. Subject: PSL compiler bug
  5. To: Perdue
  6. cc: AS
  7. I have discovered what appears to be a bug in the PSL compiler.
  8. When you use (RETURN) with no argument, the compiler generates
  9. a "call" to the function NIL, which is undefined. The interpreter
  10. has no problem. For example:
  11. 16 June 1982 Alan Snyder
  12. ----------------------------------------
  13. Compiling TEST
  14. Source:
  15. (LAMBDA NIL
  16. (PROG NIL
  17. (RETURN))
  18. 3)
  19. ----------------------------------------
  20. Object:
  21. (*ENTRY TEST EXPR 0)
  22. (*ALLOC 0)
  23. (*LINK NIL EXPR 0)
  24. (*MOVE '3 (REG 1))
  25. (*EXIT 0)
  26. *** Function `TEST' has been redefined
  27. *** (TEST): base 326164, length 3 words
  28. ----------------------------------------
  29. -------
  30. 17-Jun-82 17:09:35-PDT,2917;000010000001
  31. Mail-From: PERDUE created at 17-Jun-82 17:09:15
  32. Date: 17 Jun 1982 1709-PDT
  33. From: Cris Perdue <Perdue at HP-HULK>
  34. Subject: Lanam's PSL bugs
  35. To: psl at HP-HULK
  36. <lanam>psl.bugs
  37. PSL bugs, inconsistencies with the manual, & improvements
  38. * (dhl, 5/25) The scoping of functions in packages.
  39. Say I do
  40. (createpackage 'franz 'global)
  41. (setpackage 'franz)
  42. (localintern 'franz\difference)
  43. (dm franz\difference (x)
  44. (cond ((greaterp (length x) 3)
  45. (list 'global\difference
  46. (cadr x)
  47. (cons 'add (cddr x))))
  48. (t (cons 'global\difference (cdr x)))))
  49. Then if I try to run (prettyprint ..)
  50. I get my difference function called, not the global\difference
  51. function by the compiled code for prettyprint.
  52. I believe prettyprint since it is written in the global package,
  53. should use the global\difference function
  54. not mine. Since mine is a macro and the other is an expr, you
  55. get a strange message that you are taking the cdr of some number.
  56. The problem is that the system should be smart enough to correctly
  57. associate the functions called from within a function to be those
  58. associated with the package the code was read into
  59. and not those associated with the current
  60. package. Without this, I cannot redefine any system named functions
  61. in my own package because the system will use my versions of these
  62. functions when I do not wish it to.
  63. Also it would be nice if functions defined would be localinterned to
  64. the currentpackage*, and then defined. This would eliminate the need
  65. for the call to localintern in the above example.
  66. (the above was sent on may 25.)
  67. * (dhl, 5/27) asin (n) where n > 1 or n < -1 gives the error
  68. that REDERR is an undefined function.
  69. * (dhl, 5/27) I can not find any method of general type checking or
  70. type coersion.
  71. * (dhl, 5/27) (close) with no arguments says nil is an undefined
  72. function.
  73. * (dhl, 5/27) (car nil) and (cdr nil) is illegal. I would prefer
  74. (car nil) => nil and (cdr nil) => nil.
  75. * (dhl, 5/27) typing an extra ")" to the top level interpreter
  76. gives you an error message. It would be nicer if it was just
  77. ignored.
  78. * (dhl, 5/27) It would be nice if
  79. (putd new-function-name (getd old-function name)) worked.
  80. At present the best I can see is
  81. (let ((x (getd ..)))
  82. (putd new (car x) (cdr x)))
  83. * (dhl, 5/27) (throw label) where label did not exist in any
  84. catch or no catch was called goes into an infinite loop.
  85. * (dhl, 5/27) Need a package that allows lexpr and (arg n) inside
  86. lexprs.
  87. * (dhl, 5/27) defun in common lisp compatibility only handles
  88. exprs, not macros, or fexprs.
  89. * (dhl, 5/27) cannot have the names of fexprs or macros or nexprs,
  90. be the name of a special variable also.
  91. * (dhl, 5/27) There appears to be two char functions in the manual.
  92. But the one mentioned as being loaded with the strings package
  93. appears to not be loaded in with the strings package.
  94. -------
  95. 17-Jun-82 17:14:32-PDT,7491;000010000001
  96. Mail-From: PERDUE created at 17-Jun-82 17:10:29
  97. Date: 17 Jun 1982 1710-PDT
  98. From: Cris Perdue <Perdue at HP-HULK>
  99. Subject: Goldstein's PSL bugs
  100. To: psl at HP-HULK
  101. <goldstein>psl.bugs
  102. PSL bugs, inconsistencies with the manual, & improvements
  103. * (ipg, 5/24, clarification) Is it the case that PSL does not check
  104. for functions that receive the wrong number of arguments? Is it able
  105. to do so (for interpretive & for compiled code)? It would be nice if
  106. it had such an error checking mode.
  107. * (ipg, 5.24, section 8.7) The arguments to the string functions are
  108. not defined.
  109. * (ipg, 5.24, section 10.4) The manual claims that global variables
  110. cannot be rebound. However, no error occured for: ((lambda
  111. (throwtag*) 1) 1) which rebinds this global??
  112. * (ipg, 5/24, section 10.3.1) What is the timetable for implementing
  113. closures. Altbind is unavailable at our site.
  114. * (ipg, 5.24, section 12.2) The description of the globals is
  115. frequently missing or too cryptic.
  116. * (ipg, 5/24, manual, 8.4, Sub) For x:=[1 2], (sub x 0 1) results in
  117. an error. Shouldn't it return the segment from position 0 to position
  118. 1.
  119. * (ipg, 5/24, manual, Lisp Rlisp compatibility) If RLISP is only a
  120. parser for Lisp, then there should be functions: On, Off, In, Out. Why
  121. don't these functions exist. Ditto for <=, >=, etc.
  122. --- Sent 5/23, 9 AM to Griss ---
  123. * (ipg, 5/23, manual, sec 4.2, definition of Equal) Comment about
  124. open-compiling that begins "... Otherwise, ..." is confusing. The
  125. text says that "This is not true of EQ and Eqn". What is not true.
  126. EQ is supposed to be open-compiled as well.
  127. * (ipg, 5/23, manual, sec 4.2, definition of EqCar) EqCar(U,V) does not
  128. complain if (Car U) is illegal, e.g. (EQCAR "ab" V). (1) Does the
  129. definition check, or is some random thing happening; and (2) should it
  130. report an error if (CAR U) is illegal.
  131. * (ipg, 5/23, manual, sec 4.2, definition of Null) Is it reasonable
  132. to place documentation of Null in 4.2.2, Is Null a predicate for
  133. testing Type of an Object?
  134. * (ipg, 5/23, manual, sec 4.2, definition of Intern and NewId)
  135. Interning a newId does not lose NewId's property list, if no previous
  136. ID with this print name has been interned, e.g.
  137. (setq x (newId "ABC")) %No atom with this print name exists.
  138. (put x 'prop 'val)
  139. (intern x)
  140. (get 'ABC 'prop) --> val
  141. Manual could be clearer in this regard.
  142. * (ipg, 5/23, manual, arithmetic functions) MACRO rather than NEXPR is
  143. used for the multi-argument functions like PLUS. What is the
  144. rationale for this.
  145. * (ipg, 5/23, inconsistency) (help top-loop) and (help toploop) are
  146. not the same. The former just prints the file. The latter executes a
  147. function that prints the file, then prints the current bindings of the
  148. reader, printer, etc. This might be confusing to a novice user.
  149. Perhaps, the file should be toploop.hlp (without the - sign).
  150. --- 5/22 comments mailed to Griss, 5/22, 7:37 with ack requested. ---
  151. * (ipg, 5/22, improvement) It would be nice if BACKTRACE did not print the
  152. functions that it itself put on the stack, since they are artifacts of its use
  153. and not relevant to debugging.
  154. * (IPG, 5/22, Improvement) EMODE (1) bind backspace to the rubout
  155. handler. (2) Commands like read and write file should use the default
  156. file associated with the current buffer. (3) Auto save and Auto fill
  157. are two important additions. (4) Write should say that the file was
  158. written.
  159. * (IPG, 5/22, Improvement) It would be nice if the HELP function also
  160. informed the user of some dynamic properties, e.g. HELP <module>
  161. should let the user know if the module is loaded.
  162. * (IPG, 5/22, Bug) (HELP) states that a certain set of help files are
  163. available. In fact, there is a larger set corresponding to thse
  164. described in the manual.
  165. * (IPG, 5/22, Bug) (EMACS) tries to run <EDITORS>EMACS.EXE. The HP HULK has
  166. no directory <EDITORS>.
  167. * (IPG, 5/22, Consistency) The manual describes the convention that globals
  168. have the suffix !*. But, the MM command uses the variable MMFORK with no
  169. suffix.
  170. * (IPG, 5/22, Bug) In RLISP mode, HELP FOR; losses because the parser
  171. attempts to parse FOR unless FOR appears in quotes.
  172. * (IPG, 5/22, Manual, p21.3) In the example, EXPORTED ... appears, but it
  173. is not documented in the preceding text. Only exported, imported are
  174. documented.
  175. * (IPG, 5/22, Manual, p21.3) The manual does not explain how to reformulate
  176. a LISP function into a SYSLSP function when in LISP mode, i.e. is there a
  177. some kind of reformulator that converts calls to plus to calls to wplus2.
  178. * (IPG, 5/22, Bug) Executing (setq !*Time T) causes an error which caused
  179. system to begin prompting with line number 1. This only happened the first
  180. time, and did not repeat when !*Time was toggled. Repeatable in a fresh PSL.
  181. Does not occur in RLISP mode, only in LISP mode.
  182. * (IPG, 5/8) It appears that PSL cannot write to two channels at the
  183. same time, thus preventing a dribble file.
  184. Redefine PRINT functions to write to two channels or define
  185. your own special channel with a writechannel function that writes to
  186. two other channels.
  187. * (IPG, 5/8) Re TOPS-20, DOCMDS and CMDS do not seemed to be defined.
  188. Help file erroneously mentions exec0. Exec, MM and EMACS are
  189. autoloading. The rest are obtained by LOAD EXEC;.
  190. * (IPG, 5/8) Re prettyprinting, there does not seem to be a pretty print
  191. function defined in the manual. (A prettyPrint function is mentioned in the
  192. manual; perhaps it exists in some file to be loaded.).
  193. Debug module has the function PPF which apparently pretty
  194. prints in RLISP format. Is there a Lisp prettyprinter. Yes,
  195. the function PrettyPrint. PPF tries to print according to
  196. the currently loaded parser. Unfortunately, it detects whats
  197. loaded by looking for the function RPRINT, which is autoloading.
  198. Also, ppf and plist lose when the fn or plist is not defined. True.
  199. * (IPG, 5/8) There don't seem to be any interrupt characters, e.g.
  200. control-g to return to toplevel. (An interrupt package is mentioned,
  201. but not cited as complete.).
  202. Interrupts exist (Load Interrupt), but not documented.
  203. * (IPG, 5/8) Re compilation, the functions LAPOUT, and LAPEND do not seem to
  204. exist. Possibly a renaming has taken place since the 18 January
  205. manual.
  206. FASLOUT and FASLEND are the correct functions.
  207. * (IPG, 5/8) Re saving a PSL, I tried SAVESYSTEM, followed by the TOPS-20 SAVE
  208. command. However, when I tried to run the resulting .exe file, I got
  209. the complaint "No starting address". How is a PSL saved and
  210. restarted. (Manual, p.14.1)
  211. The file on the tape is still incorrect. Patch needed to
  212. handle tops 20 release.
  213. * (IPG, 5/8) Re HELP, the manual claims that HELP of no arguments
  214. prints a message. It works in Lisp mode as (HELP) and in RLISP mode
  215. as HELP; but HELP(); loses??
  216. help() still loses. help mini-editor requires ! before -.
  217. * (IPG, 5/8) Re TTY Interaction, the Rubout handler is line-oriented, and
  218. apparently one cannot rubout accross cr's. Is this true?
  219. Yes.
  220. * What is the size of various PSL spaces.
  221. One would like an INQUIR function that prints out these
  222. statistics.
  223. * Is there a typep function that returns the TYPE.
  224. Not at present.
  225. * Is there a general coercer that takes an object and a desired type.
  226. No.
  227. * Note that some help files are incorrect; eg HELP editor refers to
  228. minieditor, not mini-editor
  229. -------
  230. 18-Jun-82 14:28:22-PDT,265;000010000001
  231. Mail-From: PERDUE created at 18-Jun-82 14:24:42
  232. Date: 18 Jun 1982 1424-PDT
  233. From: Cris Perdue <Perdue at HP-HULK>
  234. Subject: Char macro
  235. To: psl at HP-HULK
  236. The char macro is not well documented and the use of <Ctrl-G> is
  237. almost certainly not correct.
  238. -------
  239. 18-Jun-82 14:28:22-PDT,294;000010000001
  240. Mail-From: PERDUE created at 18-Jun-82 14:25:44
  241. Date: 18 Jun 1982 1425-PDT
  242. From: Cris Perdue <Perdue at HP-HULK>
  243. Subject: PLAP: logical name
  244. To: psl at HP-HULK
  245. The name PLAP: is used in the full-restore.ctl file, but is not
  246. a standard logical name. It should be PL: instead.
  247. -------
  248. 18-Jun-82 14:33:21-PDT,491;000010000001
  249. Mail-From: PERDUE created at 18-Jun-82 14:29:07
  250. Date: 18 Jun 1982 1429-PDT
  251. From: Cris Perdue <Perdue at HP-HULK>
  252. Subject: Batch control files
  253. To: psl at HP-HULK
  254. The batch control files use the standard logical names. For
  255. this to work properly, users who rebuild PSL should have a
  256. BATCH.CMD file that TAKEs the logical-names command file. This
  257. approach is cleaner than having mentions of the actual name of
  258. the PSL directory, if not others, in each batch control file.
  259. -------
  260. 18-Jun-82 14:33:21-PDT,473;000010000001
  261. Mail-From: PERDUE created at 18-Jun-82 14:31:19
  262. Date: 18 Jun 1982 1431-PDT
  263. From: Cris Perdue <Perdue at HP-HULK>
  264. Subject: Building new directories
  265. To: psl at HP-HULK
  266. The DEC-20 release notes suggest the use of the standard logical
  267. names as arguments to the TOPS-20 BUILD command. Our version of
  268. BUILD does not accept a logical name for the building of a NEW
  269. directory (it's OK for old ones, although that feature may be
  270. a local addition to the code).
  271. -------
  272. 18-Jun-82 16:43:22-PDT,209;000010000011
  273. Date: 18 Jun 1982 1639-PDT
  274. From: SOREFF at HP-THOR
  275. Subject: PSL
  276. To: perdue at HP-HULK
  277. Is there any predicate which checks to see if an atom is the name
  278. of a load module which has been loaded?
  279. -------
  280. 21-Jun-82 13:31:59-PDT,319;000010000011
  281. Date: 21 Jun 1982 1329-PDT
  282. From: SOREFF at HP-THOR
  283. Subject: For loop in PSL
  284. To: perdue at HP-THOR
  285. cc: soreff at HP-THOR
  286. Where is the resident PSL part of the FOR construct described? I've found
  287. the section on the "LOAD USEFUL" version (page 9.7-9.11) but I don't know where the restricted version is.
  288. -------
  289. 21-Jun-82 15:21:52-PDT,436;000010000001
  290. Mail-From: PERDUE created at 21-Jun-82 15:18:49
  291. Date: 21 Jun 1982 1518-PDT
  292. From: Cris Perdue <Perdue at HP-HULK>
  293. Subject: BUG function
  294. To: psl at HP-HULK
  295. The "BUG" function does not work correctly at HP. Appropriate
  296. address for bug reports is really site dependent and this is reason
  297. that there should be a site initialization file executed when
  298. PSL starts up. This could also set up EMODE for HP terminals at HP.
  299. -------
  300. 22-Jun-82 09:24:23-PDT,463;000010000001
  301. Date: 22 Jun 1982 0924-PDT
  302. From: Alan Snyder <AS>
  303. Subject: EMODE bug
  304. To: Perdue
  305. cc: AS
  306. I believe I have just fixed a bug in EMODE. Previously, if you were at the end
  307. of a line, it would start searching at the last character of that line (when
  308. searching forward). I fixed this by changing the function buffer_search in
  309. search.red by adding a "+ 1" to the MIN at the beginning. It seems to work
  310. properly now. I have not recompiled EMODE.
  311. -------
  312. 22-Jun-82 09:43:44-PDT,455;000010000001
  313. Date: 22 Jun 1982 0943-PDT
  314. From: LANAM
  315. Subject: psl bug
  316. To: perdue
  317. Try typing an expression. Do not finish closing it.
  318. Then type an EOF character (^z on the 20).
  319. After that try to type EOF characters or close the expression (with ')').
  320. You will notice, that it is in a mixed-up state. Have the system thinks
  321. it is still reading input, and the other half thinks ')' is a variable.
  322. You can no longer use ')' to reset the break point.
  323. -------
  324. 23-Jun-82 17:23:10-PDT,4686;000010000001
  325. Date: 23 Jun 1982 1723-PDT
  326. From: Kendzierski (Nancy)
  327. Subject: PSL manual typos/questions
  328. To: perdue
  329. PSL Manual Errors and Questions
  330. Nancy Kendzierski
  331. 6/23/82
  332. page comment/question/error
  333. 3.1 omit "be" 7th from bottom line, 5th word
  334. 3.5 forgot N-ary on Times function
  335. 4.8 Is a string a vector? (NO) This should be clarified because a
  336. string is defined to be "a packed vector (or byte vector) of
  337. characters" on page 4.2
  338. 6.1 extra "is" 10th line from bottom, 2nd to last word
  339. 6.2 extra "by" 11th line, 5th word
  340. 6.4 RemPropL -- is V an indicator? Is U a simple id-list (YES)
  341. 6.4 Flag -- is this atomic, or if an erroroccurs half-way through
  342. the list, do half of the ids now have the flag? (YES) Same
  343. question for RemFlag
  344. 6.8 Setf description originally says "returns RHS" but on page
  345. 6.8, line just before PSetf, it says the example "returns X"
  346. -- this is the LHS. [probably a typo, and should just read
  347. "returns Y"]
  348. 7.3 Why have XCONS? Having both NULL and NOT is at least
  349. explicitly explained
  350. 7.5 Do "Nth" and "PNth" have the same error conditions? How is
  351. N<=0 treated in "Nth"? Say so.
  352. 8.8 On page 8.5 it says "Char is not defined because of other
  353. functions with the same name", yet here it appears as the
  354. 4th function on the page -- also String() on page 8.10
  355. 8.5-8.11 This whole section should be complete or not included --
  356. don't just copy another manual unless it is all applicable
  357. and in compatible format
  358. 9.3 "is has the same result as" should either have a parenthesized
  359. phrase or there's an extra word in it.
  360. 9.8 1st line needs a "when" as the 3rd word
  361. 9.10 "Collected" into a list -- is that CONS or APPEND; build from
  362. front or back? What's the difference between COLLECT and
  363. CONC?
  364. 9.13 last line, wrong tense, should be "the I's HAVE the form"
  365. 9.14 line before "DO!*():" -- wrong tense again, should be "which
  366. ARE Setq'd"
  367. 9.14 in explanation of "Do-Loop" to be consistent with previous
  368. form, "P's" should be used, not "pi's"
  369. 10.4 What's a "simple substitution macro"? How does it differ from
  370. a "macro"?
  371. 10.4-10.5 Is a macro id a function name or variable name? Defn of DM
  372. on page 10.4 says function but desciption of MacroP on 10.5
  373. implies a variable
  374. 10.9 Yes, give a practival example of CLOSURES
  375. 11.2 line 8, "If EQCAR(CAR U ...)" Basically I don't
  376. know/remember/can't find the description of (id form ...
  377. form) in enough detail to check this out. CAR U should be
  378. an id. What is the CAR of an id? The entire example is
  379. confusing (i.e., the "approximation of the real code") The
  380. same is true of the Apply example
  381. 11.3 EvLis description -- Eval uses more efficient than what;
  382. EvLis? If so, why does EvLis exist? If not, more efficient
  383. than what? Confusing.
  384. 11.3-11.4 Does use of FUNCTION also allow the variable named by the
  385. function to be available (when compiled? interpreted?)
  386. 11.4 FUNCTION, last line, Closures are sort of discussed in Chapter
  387. 10.3, not 10.2
  388. 12.11 HelpFile description -- "persual" should be "perusal"
  389. 13.5 Does ReadCH raise case if !*RAISE is T?
  390. 13.8-13.9 If the examples of floats are correct, then the BNF is not
  391. correct -- the BNF actually requires a decimal point in
  392. every float, even if it has an exponent, so it is
  393. inconsistent with 1e6 as a float
  394. 13.11 What is the concept of dipthong? Read macro? Splice macro?
  395. Why is it one slot in a scan table instead of one for each?
  396. 13.13 ErrPrin -- what is the "item" that is returned?
  397. 13.19 EXPLODE -- is '(A.B) a "number, identifier, string, or
  398. code-pointer"? Does the ' make it an identifier?
  399. 14.1 Extraneous "of" in second line of section 14.2 (second word)
  400. 15.6 [not implemented yet] is it planned to be implemented? By
  401. whom? When?
  402. 15.7 After BREAKOUTCHANNEL!*, "Break is a essentially" -- omit the
  403. "a"
  404. 16.4 In section 16.1.3 second last line, 1st paragraph -- what does
  405. it mean "functions must have a compound statement at their
  406. top level"?
  407. 16.18 !*LOSE -- what is this? It's constantly referred to, but
  408. never defined/explained
  409. 16.18 Why is !*SAVENAMES initially NIL?
  410. 18.3 Is RCRef only available in RLisp? Why? or How is it used in
  411. Lisp?
  412. 18.13 3rd line "#\:" should start a new line
  413. 4th line "Not" should be "Note"
  414. 5th line "*RAISE is not NIL" -- not "it not NIL"
  415. 18.14 Why doesn't #+ accept three arguments? Because the third is
  416. optional?
  417. 19.21 If the most common adjust function removes ANYREG to eliminate
  418. looking for it in patterns, why have it?
  419. -------
  420. 28-Jun-82 17:14:14-PDT,233;000010000011
  421. Date: 28 Jun 1982 1714-PDT
  422. From: Kendzierski (Nancy)
  423. Subject: PSL logical names
  424. To: Perdue
  425. How come p20d: as <psl.20-dist> isn't defined in the
  426. <psl>logical-names.cmd file? It is listed in the manual
  427. on page 22.2.
  428. -------
  429. 28-Jun-82 17:47:02-PDT,226;000010000001
  430. Mail-From: PERDUE created at 28-Jun-82 17:46:23
  431. Date: 28 Jun 1982 1746-PDT
  432. From: Cris Perdue <Perdue at HP-HULK>
  433. Subject: C-M-rubout in EMODE
  434. To: psl at HP-HULK
  435. Sometimes (always?) goes into an infinite loop.
  436. -------
  437. 30-Jun-82 11:00:12-PDT,471;000010000001
  438. Mail-From: PERDUE created at 30-Jun-82 10:57:40
  439. Date: 30 Jun 1982 1057-PDT
  440. From: Cris Perdue <Perdue at HP-HULK>
  441. Subject: "FLAGS"
  442. To: psl at HP-HULK
  443. In Chapter 12 of the manual the RLISP "On" and "Off" constructs are
  444. discussed briefly. It appears that LISP users should not just
  445. set the corresponding global variables, because On and Off may
  446. have additional side effects. If this is true, there should be
  447. some easy way of doing On and Off in LISP.
  448. -------
  449. 1-Jul-82 14:06:26-PDT,760;000010000001
  450. Date: 1 Jul 1982 1406-PDT
  451. From: Kendzierski (Nancy)
  452. Subject: PSL bugs
  453. To: perdue
  454. cc: kendzierski
  455. Note: Should I be sending this to you or to a special PSL bugs file
  456. and/or should I be cc'ing someone?
  457. Bug 1: The manual (page 20.2, section 20.3.1 "TOPS-20 User Level Interface")
  458. states that "a global variable, CRLF, i sprovided with the <CR><LF>
  459. string. Attempts to use this global variable result in a
  460. CRLF is an unbound id {99} message from psl.
  461. Bug 2: The manual states on pp. 18.21-18.22 (section 18.8 "Find") that
  462. FindPrefix and FindSuffix collect a list of ids. An attempt to
  463. use findprefix resulted in a
  464. FINDPREFIX is an undefined function {1001} message from psl.
  465. -------
  466. 2-Jul-82 23:32:13-PDT,346;000010000001
  467. Mail-From: PERDUE created at 2-Jul-82 23:29:04
  468. Date: 2 Jul 1982 2329-PDT
  469. From: Cris Perdue <Perdue at HP-HULK>
  470. Subject: PSL findprefix and findsuffix
  471. To: psl at HP-HULK
  472. These are not loaded with the USEFUL library and there whereabouts
  473. is not documented in the manual, though they themselves are.
  474. They appear in pu:find.red.
  475. -------
  476. 2-Jul-82 23:37:12-PDT,244;000010000001
  477. Mail-From: PERDUE created at 2-Jul-82 23:34:25
  478. Date: 2 Jul 1982 2334-PDT
  479. From: Cris Perdue <Perdue at HP-HULK>
  480. Subject: Debugger user interface
  481. To: psl at HP-HULK
  482. The "break loop" does not establish echoing as it is entered.
  483. -------
  484. 2-Jul-82 23:37:12-PDT,329;000010000001
  485. Mail-From: PERDUE created at 2-Jul-82 23:35:53
  486. Date: 2 Jul 1982 2335-PDT
  487. From: Cris Perdue <Perdue at HP-HULK>
  488. Subject: DEC-20 REENTER and CONTINUE
  489. To: psl at HP-HULK
  490. On the DEC-20, ^C followed by REENTER or CONTINUE screws up
  491. badly for some reason. I would think they would just not
  492. be available commands.
  493. -------
  494. 6-Jul-82 10:41:15-PDT,197;000010000001
  495. Date: 6 Jul 1982 1041-PDT
  496. From: Johnson
  497. Subject: PSL Query
  498. To: Perdue
  499. cc: Johnson
  500. (DskIn "foo.lsp") echos all the forms evaluated in foo.lsp.
  501. Is there a silent version of DskIn?
  502. -------
  503. 6-Jul-82 12:10:37-PDT,909;000010000001
  504. Mail-From: PERDUE created at 6-Jul-82 12:09:24
  505. Date: 6 Jul 1982 1209-PDT
  506. From: Cris Perdue <Perdue at HP-HULK>
  507. Subject: Debugging
  508. To: psl at HP-HULK
  509. There are various deficiencies concerned with debugging.
  510. There is no genuine backtrace that uses the saved variable bindings,
  511. even for interpreted code.
  512. The error handling system is so portable that it evidently cannot
  513. use the DEC-20 APR trap mechanism, etc..
  514. It is difficult to set up an interpreted version of a subsystem that
  515. is usually compiled. (This is a separate issue from the capabilities
  516. of the system internals.) In particular, facilities for requiring
  517. certain files to be present when a procedure is loaded for interpretive
  518. execution don't exist. Also functions for loading interpreted and
  519. compiled code are distinct, not to mention the additional distinct
  520. function for loading "system" files (files in pl:).
  521. -------
  522. 6-Jul-82 12:15:43-PDT,292;000010000001
  523. Mail-From: PERDUE created at 6-Jul-82 12:12:21
  524. Date: 6 Jul 1982 1212-PDT
  525. From: Cris Perdue <Perdue at HP-HULK>
  526. Subject: RDS, WRS
  527. To: psl at HP-HULK
  528. RDS and WRS are virtually guaranteed to cause lossage concerning
  529. I/O channels, especially since there is no UNWIND-PROTECT.
  530. -------
  531. 6-Jul-82 13:55:40-PDT,498;000010000001
  532. Mail-From: PERDUE created at 6-Jul-82 13:50:42
  533. Date: 6 Jul 1982 1349-PDT
  534. From: Cris Perdue <Perdue>
  535. Subject: Re: PSL Query
  536. To: Johnson
  537. In-Reply-To: Your message of 6-Jul-82 1041-PDT
  538. Remailed-date: 6 Jul 1982 1350-PDT
  539. Remailed-from: Cris Perdue <Perdue at HP-HULK>
  540. Remailed-to: psl at HP-HULK
  541. DSKIN ordinarily prints the value of each form evaluated. It is
  542. possible to make it do and print some different things, but
  543. it is basically not possible to turn the printing off.
  544. -------
  545. 6-Jul-82 15:40:45-PDT,390;000010000001
  546. Mail-From: PERDUE created at 6-Jul-82 15:36:46
  547. Date: 6 Jul 1982 1536-PDT
  548. From: Cris Perdue <Perdue at HP-HULK>
  549. Subject: QUIT, pushdown overflow
  550. To: psl at HP-HULK
  551. Tried to do a (quit) in the middle of a long session, got the message
  552. "?Pushdown overflow at 161550". Continue and reenter behaved
  553. strangely. Start worked, but quit continued to have problems thereafter.
  554. -------
  555. 7-Jul-82 08:53:02-PDT,372;000010000001
  556. Mail-From: PERDUE created at 7-Jul-82 08:52:19
  557. Date: 7 Jul 1982 0852-PDT
  558. From: Cris Perdue <Perdue at HP-HULK>
  559. Subject: IN and EVIN
  560. To: psl at HP-HULK
  561. IN and EVIN, available from RLISP, are not defined as functions.
  562. IN even has an entry in the manual, though there is no description
  563. of what it does (page 31.12). These should be available from LISP.
  564. -------
  565. 7-Jul-82 09:29:14-PDT,411;000010000001
  566. Date: 7 Jul 1982 0929-PDT
  567. From: Alan Snyder <AS>
  568. Subject: PSL bug
  569. To: Perdue
  570. cc: AS
  571. The function NTH produces obscure error messages if the
  572. index argument is out of range. The error messages are
  573. obscure because (1) they refer to the function PNTH,
  574. which the user should have no need to know about, and
  575. (2) they report an index which is different than the
  576. value given in the call to NTH.
  577. -------
  578. 7-Jul-82 09:31:45-PDT,190;000010000001
  579. Date: 7 Jul 1982 0931-PDT
  580. From: Alan Snyder <AS>
  581. Subject: PSL bug
  582. To: Perdue
  583. cc: AS
  584. A similar comment applies to PNTH: the error message
  585. reports an incorrect index value.
  586. -------
  587. 7-Jul-82 16:53:17-PDT,887;000010000001
  588. Date: 7 Jul 1982 1651-PDT
  589. From: SOREFF at HP-THOR
  590. Subject: posible PSL bug
  591. To: perdue at HP-HULK
  592. cc: soreff at HP-THOR
  593. I think I've run into a bug in the PSL structure editor. The "N" command,
  594. which appears to be supposed to append an s-expression on the end of the
  595. current list, does that, but also changes the expression just before the
  596. added one to NIL.
  597. @login guest
  598. Job 5 on TTY152 7-Jul-82 4:41PM
  599. Previous LOGIN: 7-Jul-82 4:40PM
  600. @take <psl>logical-names
  601. @r <psl>bare-psl
  602. PSL 3.0, 9-Jun-82
  603. 1 lisp> (load zpede^F^Fit)
  604. ***** `ZPED^FIT' load module not found {99}
  605. Break loop
  606. 2 lisp break>> q
  607. 3 lisp> (load zpedit)
  608. NIL
  609. 4 lisp> (setq tst '(a b c d e f g))
  610. (A B C D E F G)
  611. 5 lisp> (editv tst)
  612. EDIT
  613. -E- p
  614. (A B C D E F G)
  615. -E- (-3 z) p
  616. (A B Z C D E F G)
  617. -E- (n x) p
  618. (A B Z C D E F NIL X)
  619. -E- ok
  620. TST
  621. 6 lisp> (quit)
  622. -------
  623. 8-Jul-82 13:10:36-PDT,5205;000010000001
  624. Mail-From: PERDUE created at 8-Jul-82 13:10:26
  625. Date: 8 Jul 1982 1310-PDT
  626. From: Cris Perdue <Perdue at HP-HULK>
  627. Subject: PSL bugs
  628. To: psl at HP-HULK
  629. * (AS, 6/11/82, manual, section 4.2.1, page 4.6) The manual doesn't say what
  630. happens if EqStr is given a non-string or if EqCar is given a non-pair.
  631. * (AS, 6/11/82, manual, section 4.3, page 4.9) The term id-space is used in
  632. the description of INT2ID. This term has not been defined. The effect of
  633. INT2ID is not clear. Is id-space a needed concept?
  634. * (AS, 6/11/82, manual, section 6.4, page 6.3) In the description of GET,
  635. shouldn't U be an ID instead of an ANY?
  636. * (AS, 6/11/82, manual, section 6.4, page 6.4) In the description of REMPROP,
  637. shouldn't U be an ID instead of an ANY?
  638. * (AS, 6/11/82, manual, section 6.4.2, page 6.5) MAPOBL should be described in
  639. some other section. Why does the argument have to be an ID (and not a
  640. code-pointer)?
  641. * (AS, 6/11/82, manual, section 6.5, page 6.7) The left hand side examples in
  642. the description of SETF should be in LISP syntax for consistency with the rest
  643. of the description.
  644. * (AS, 6/11/82, manual, section 8.4, page 8.4) The term "words" is used here,
  645. although the term "w-vector" is used in chapter 4. In chapter 4, "words" are
  646. machine words.
  647. * (AS, 6/11/82, manual, section 9.3.1, page 9.8) The word "when" is omitted
  648. from the sentence "Iteration ceases *when* one of the clauses..."
  649. * (AS, 6/11/82, manual, section 9.4, page 9.16) The second argument to THROW
  650. should be "VAL:any" instead of "FORM:form".
  651. * (AS, 6/11/82, manual, section 10.1, page 10.1) Code-pointer is a poor name
  652. for an object type. (You don't call pairs "pair-pointers".) How about "code
  653. object" or "compiled function object"?
  654. * (AS, 6/11/82, manual, section 10.1.3, page 10.3-10.4) In DF, DN, DM, and DS,
  655. the argument "PARAM:id-list" should be "PARAM:id".
  656. * (AS, 6/11/82, manual, section 10.3.1, page 10.9) Env-pointer is a poor name
  657. for an object type. (You don't call pairs "pair-pointers".) How about
  658. "environment"?
  659. * (AS, 6/11/82, manual, section 11.1, page 11.1) The term "error number"
  660. appears here for the first time, without explanation.
  661. * (AS, 6/11/82, manual, section 12.4, page 12.11) "Perusal" is spelled wrong.
  662. * (AS, 6/11/82, manual, section 12.4, page 12.11) In the description of
  663. properties, the manual should do a better job of explaining what the relevant
  664. IDs are in each particular case. For example, what is a "module" (which can
  665. be "loaded")?
  666. * (AS, 6/11/82, improvement, section 13.1, page 13.1) Why is a channel an integer
  667. instead of something more abstact? If you allow I/O to strings and lists,
  668. then why limit the maximum number of channels?
  669. * (AS, 6/11/82, improvement, section 13.2, page 13.3) Using global variables to
  670. initialize channel functions when a channel is OPENed is poor. It would be
  671. better to define a separate OPEN-SPECIAL that takes additional arguments, or
  672. use a keyword init list a la Zetalisp. Similar comments about misuse of
  673. global variables apply elsewhere, e.g. DUMPLISP.
  674. * (AS, 6/11/82, manual, section 13.6, page 13.13) PRINTF is an expr that takes
  675. a variable number of arguments. If this is possible then you should explain
  676. how users can do it.
  677. * (AS, 6/11/82, manual, section 14.2, page 14.1) There is an extraneous "of"
  678. in the first sentence.
  679. * (AS, 6/11/82, manual, section 14.5, page 14.5) Help is described as being an
  680. EXPR. I don't believe this.
  681. * (AS, 6/11/82, manual, section 15.3, page 15.3) There is an extraneous "you"
  682. in the description of the "E" command.
  683. * (AS, 6/11/82, improvement, section 16.2, page 16.7) TRST should trace everything
  684. that can be SETF'ed, not just ordinary SETQ's.
  685. * (AS, 6/11/82, manual, section 16.4, page 16.12) I don't understand this
  686. section at all. For example, I don't understand what the arguments to BTR are
  687. for.
  688. * (AS, 6/11/82, manual, section 16.5, page 16.13) Can EMBEDding be done using
  689. Lisp syntax? If so, how?
  690. * (AS, 6/11/82, manual, section 16.7, page 16.14) Can STUBs be defined using
  691. Lisp syntax? If so, how?
  692. * (AS, 6/11/82, manual, section 17.5, page 17.11) I was not able to achieve
  693. any effect by giving extra command arguments to EDITF. In any case,
  694. COMS:forms is not a defined type; it should be either [COMS:form] or
  695. COMS:form-list.
  696. * (AS, 6/11/82, manual, section 20.2, page 20.1) IF-System is described as
  697. being a "cmacro". This term has not been defined, and is easily confused with
  698. "c-macro". The description says that the name "must" be a member of
  699. System-List*. Presumably, this means that the true case is executed if this
  700. condition holds.
  701. * (AS, 6/11/82, manual, section 20.3.1, page 20.4) RESET is described as
  702. "restarting the system". I read "system" as "TOPS-20" (or whatever). I
  703. suspect that something less drastic is intended.
  704. * (AS, 6/11/82, manual, section 21.2.1, page 21.3) The example uses
  705. "exported"; the text mentions only "internal" and "external".
  706. * (AS, 6/11/82, manual, section 21.2.8, page 21.7) Is the field accessing
  707. function FIELD or GETFIELD? Both names are used in the manual. Neither name
  708. is defined in our PSL.
  709. -------
  710. 8-Jul-82 14:47:16-PDT,619;000010000001
  711. Date: 8 Jul 1982 1447-PDT
  712. From: Alan Snyder <AS>
  713. Subject: EMODE bug
  714. To: Perdue
  715. cc: AS
  716. EMODE C-M-B (backward sexpr) gets excessively confused by comments.
  717. For example, when at the end of the following text
  718. (setq a b)
  719. %%%%%%%%%%
  720. C-M-B will stop at the "b".
  721. (Probably other commands have similar problems.)
  722. I think the reason for this is that '%' (the comment character)
  723. is ignored by scan-word by not by skip-blanks.
  724. Thus in the implementation of C-M-B, skip-blanks skips back
  725. to the '%', and then skip-word skips back to the 'b'.
  726. The probable fix would be to change the scan table.
  727. -------
  728. 9-Jul-82 09:38:42-PDT,160;000010000001
  729. Date: 9 Jul 1982 0938-PDT
  730. From: Alan Snyder <AS>
  731. Subject: PSL bug
  732. To: Perdue
  733. cc: AS
  734. DOLIST (in PU:COMMON.SL) fails to bind the loop variable.
  735. -------
  736. 9-Jul-82 09:55:18-PDT,785;000010000011
  737. Date: 9 Jul 1982 0948-PDT
  738. From: SOREFF at HP-THOR
  739. Subject: PSL bug
  740. To: perdue at HP-HULK
  741. cc: soreff at HP-THOR
  742. I've constructed an example of how the "(a s-expression)" command in the
  743. structure editor can fail. It seems to fail when one is adding an item after
  744. the last expression in a list. I've edited the log slightly, removing blank
  745. lines to make it more compact.
  746. @take psl
  747. PSL 3.0, 9-Jun-82
  748. 1 lisp> (load zpedit)
  749. NIL
  750. 2 lisp> (setq a '(b c d e f g))
  751. (B C D E F G)
  752. 3 lisp> (editv a)
  753. EDIT
  754. -E- p
  755. (B C D E F G)
  756. -E- 3 p
  757. D
  758. -E- (a z) 0 p
  759. (B C D (Z) E F G)
  760. -E- 7 p (a y) 0 p
  761. G
  762. (B C D (Z) E F NIL (Y))
  763. -E- pp
  764. (B C D (Z) E F NIL (Y))
  765. -E- 8 p
  766. (Y)
  767. -E- (a x)
  768. -E- p
  769. ... NIL (X))
  770. -E- ^
  771. -E- p
  772. (B C D (Z) E F NIL NIL (X))
  773. -E- ok
  774. A
  775. 4 lisp> (quit)
  776. -------
  777. 9-Jul-82 14:56:21-PDT,1294;000010000001
  778. Date: 9 Jul 1982 1456-PDT
  779. From: Alan Snyder <AS>
  780. Subject: PSL bug
  781. To: Perdue
  782. cc: AS
  783. The following example demonstrates a bug in PSL. It is the shortest example I
  784. could find, derived from a real attempt at compiling a file. The offending
  785. object is a machine instruction, the exact identity of which changes with
  786. different programs. In this case, it is "CAMN 0(17)". The example is highly
  787. sensitive to change. For instance, if the function name is changed to "FOO",
  788. no error is reported. Similarly, no error is reported if any of the loaded
  789. modules are omitted.
  790. -------------------------------------------------------------------------------
  791. @psl:bare-psl
  792. PSL 3.0, 9-Jun-82
  793. 1 lisp> (load emode common jsys)
  794. NIL
  795. 2 lisp> (faslout "nul:")
  796. FASLOUT: (DSKIN files) or type in expressions
  797. When all done execute (FASLEND)
  798. T
  799. 3 lisp> (de fooo (name)
  800. 3 lisp> (let ((n (string-length name)))
  801. 3 lisp> (cond ((= (indx name (- n 1)) (char >))
  802. 3 lisp> (concat name "*.*.*"))
  803. 3 lisp> name)))
  804. FOOO4 lisp> (faslend)
  805. *** Init code length is 1
  806. **FASL**INITCODE**NIL
  807. 5 lisp> (reclaim)
  808. ***** Fatal error during garbage collection
  809. Illegal item in heap at 502462
  810. -------------------------------------------------------------------------------
  811. -------
  812. 12-Jul-82 01:39:18-PDT,670;000010000001
  813. Date: 12 Jul 1982 01:35:14-PDT
  814. From: daemon at HP-Speech
  815. Via: utah-cs
  816. Date: 11 Jul 1982 1310-MDT
  817. From: William Galway <Galway at UTAH-20>
  818. Subject: EMODE stuff
  819. To: hplabs!perdue at UTAH-CS
  820. Thanks for your note about the new query replace, etc. I'm looking forward
  821. to getting the new stuff when folks come out this week.
  822. I don't seem able to reproduce your "infinite loop" problem with
  823. M-C-DELETE. Could you be a bit more specific about when it occurs?
  824. (Maybe, send a sample file that it blows up on?) Are you sure it's not a
  825. "very long" as opposed to "infinite" loop? The search for a matching open
  826. parenthesis is fairly slow.
  827. Thanks.
  828. -------
  829. 12-Jul-82 11:02:44-PDT,323;000010000001
  830. Date: 12 Jul 1982 1102-PDT
  831. From: Johnson
  832. Subject: PSL String Package
  833. To: Perdue
  834. A routine to convert from STRING to INTEGER would be nice.
  835. The SUBSTRING function is peculiar: its last argument is
  836. one greater than the index of the last character to be
  837. extracted, even given that indexes begin at zero!
  838. -------
  839. 12-Jul-82 11:49:18-PDT,371;000010000001
  840. Mail-From: PERDUE created at 12-Jul-82 11:45:04
  841. Date: 12 Jul 1982 1145-PDT
  842. From: Cris Perdue <Perdue at HP-HULK>
  843. Subject: EMODE terminal handling deficiency
  844. To: psl at HP-HULK
  845. EMODE does not use the terminal driver that corresponds to TOPS-20's
  846. idea of what the terminal type is. It just uses whatever terminal
  847. driver is loaded (HP2648A in our case).
  848. -------
  849. 12-Jul-82 14:08:25-PDT,2970;000010000011
  850. Date: 12 Jul 1982 1408-PDT
  851. From: BATALI
  852. Subject: PSL
  853. To: perdue
  854. Here are some comments I have been accumulating about PSL.
  855. I talked with Ira about them. The most important:
  856. We need unwind-protect.
  857. Many modules seem not to be loaded by default or autoloadable.
  858. The file is <batali>psl-gripes.txt
  859. Problems, wierdnesses, and arbitrary comments about PSL.
  860. 1 (catch nil form) claims to catch all throws through it, but it
  861. doesn't catch errors. We want unwind-protect, which may be
  862. implementable with a combination of catch nil, and some sort of
  863. errset.
  864. 2 Why reverse the arguments of mapc? The psl way does not allow
  865. multiple argument functions.
  866. 3 Closures. One possibility is to use lispm-style closures. Probably
  867. wouldn't want to be called closures, instead call them selector's
  868. (instances) or something. lbind seems to give the ability to to this,
  869. the evaluator must know about the new kind of function.
  870. 4 The stepper doesn't seem to work.
  871. 5 I want * and +
  872. 6 !:prefix option doesn't work in defstruct
  873. 7 Control keys
  874. control-g (abort computation, throw to top loop)
  875. control-b (breakpoint here, or next interpreted function)
  876. 8 bit file i/o: One ought to be able to open a file and specify the
  877. number of bits that will be sent on each call to "tyi" and "tyo".
  878. It is important that the programmer be able to efficiently use
  879. the memory on his machine ie not be limited to one particular
  880. byte-packing convention. For one thing, we want to be able to
  881. read other people's data.
  882. 9 vectors ought not to print their elements, in general, we want
  883. "user defined types" which answer correctly to typep, which doesn't
  884. seem to exist either.
  885. 10 several reader-related functions don't work. Putreadmacro putsplicemacro.
  886. 12 Functions in the mathlib library aren't there. Also definition of
  887. ceiling is "largest integer smaller than its argument." ?? That
  888. isn't even the definition of floor!
  889. 13 I don't like the compiler interface. There ought to be a way to
  890. compile functions on demand, not when some flag has been set. Also
  891. a function which takes a filename and compiles that file. Note that
  892. I can't write such functions myself without unwind-protect.
  893. 14 PSL ought to have some notion of the files it will deal with. There
  894. ought to be init files. There ought to be filename defaulting. There
  895. ought to be the ability to get info about files (creation dates,
  896. etc). The file interface ought to know about compiled files so
  897. that "load" is a generic operation.
  898. 15 There should be functions to return interesting data about the
  899. system. (time) (memory-used) . . .
  900. 16 It is really strange that catch is not a special form. Does
  901. the compiler know about it or not?
  902. 17 Faslout goes to file with ".b" concated on the end. But faslin
  903. just tries to open the filename as given. This would be fixed with
  904. 14.
  905. --John
  906. -------
  907. 12-Jul-82 14:39:19-PDT,735;000010000001
  908. Mail-From: PERDUE created at 12-Jul-82 14:36:43
  909. Date: 12 Jul 1982 1436-PDT
  910. From: Cris Perdue <Perdue at HP-HULK>
  911. Subject: Strange bug
  912. To: psl at HP-HULK
  913. The following results in what appear to be at least 2 bugs:
  914. @psl:psl ; Run the basic PSL
  915. *(load emode)
  916. *(emode)
  917. *(load prlisp) M-E
  918. <gets an error, goes into error handler>
  919. q M-E
  920. <says it is exiting LISP!>
  921. C-M-Z
  922. <goes back to regular read-eval-print in the error handler>
  923. q <CR>
  924. <goes back to EMODE in a screwed-up state>
  925. There seems to be no escaping once this problem begins.
  926. The symptoms include printing a backtrace in response to one of
  927. the "q"s. Parts of the problem arise also when this is done
  928. without EMODE being invoked or even loaded.
  929. -------
  930. 12-Jul-82 16:19:29-PDT,411;000010000001
  931. Date: 12 Jul 1982 1617-PDT
  932. From: Kendzierski at HP-HULK (Nancy)
  933. Subject: emode ^X^R bug
  934. To: psl at HP-HULK
  935. The ^X^R command in EMODE loses the last line of a file if it is not
  936. terminated by a CRLF. The problem is that the procedure
  937. "read_line_from_file" (in <psl.emode>fileio.red) only returns "ch" if
  938. the last character of "l" is EOF, even though the line "l" may contain
  939. more characters.
  940. -------
  941. 12-Jul-82 17:05:24-PDT,1010;000010000001
  942. Date: 12 Jul 1982 1705-PDT
  943. From: Alan Snyder <AS>
  944. Subject: PSL bug
  945. To: Perdue
  946. cc: AS
  947. Note the following test file:
  948. -------------------------------------------------------------------------------
  949. (load "common")
  950. (de test (s) (string-length s))
  951. (test "foo")
  952. -------------------------------------------------------------------------------
  953. When this file is read into a BARE-PSL (via DSKIN), it complains
  954. that STRING-LENGTH is an undefined function. However, when this
  955. file is compiled and then loaded into a BARE-PSL (via LOAD),
  956. it complains that STRINF is an undefined function called from
  957. compiled code. The reason seems to be that the file PU:COMMON.SL
  958. contains some strange definition of STRING-LENGTH that affects
  959. only the compiler. The reason why this bug is important is that
  960. there is a FUNCTION definition of STRING-LENGTH in PU:STRINGS.LSP;
  961. when both STRINGS and COMMON are loaded, you have a situation
  962. where interpreted code works but compiled code gets an error.
  963. -------
  964. 12-Jul-82 17:39:20-PDT,456;000010000001
  965. Date: 12 Jul 1982 1738-PDT
  966. From: Kendzierski at HP-HULK (Nancy)
  967. Subject: PSL manual bugs (PictureRLISP)
  968. To: psl at HP-HULK
  969. cc: kendzierski at HP-HULK
  970. Page 18.9 -- it talks of primitive procedures Second, Third, Fourth, and
  971. Fifth; "fifth" is not defined in PSL.
  972. Page 18.10 -- the first line on the page is
  973. "My!.pyramid := Pyramid Vertices"
  974. this should be: "My!.pyramid := Pyramid My!.vertices"
  975. -------
  976. 12-Jul-82 17:42:09-PDT,360;000010000001
  977. Date: 12 Jul 1982 1742-PDT
  978. From: LANAM
  979. Subject: how do I do the following in psl.
  980. To: perdue
  981. Take a package name say foo, and take an atom name, say bar, and
  982. do a concat such that I get "foo:bar". And then do an localintern
  983. on this such that bar is defined inside package foo.
  984. I try and can only get the : to be escaped with a !.
  985. douglas
  986. -------
  987. 12-Jul-82 18:14:15-PDT,619;000010000001
  988. Mail-From: PERDUE created at 12-Jul-82 18:14:10
  989. Date: 12 Jul 1982 1813-PDT
  990. From: Cris Perdue <Perdue>
  991. Subject: Re: how do I do the following in psl.
  992. To: LANAM
  993. In-Reply-To: Your message of 12-Jul-82 1742-PDT
  994. Remailed-date: 12 Jul 1982 1814-PDT
  995. Remailed-from: Cris Perdue <Perdue at HP-HULK>
  996. Remailed-to: psl at HP-HULK
  997. I have experimented and also looked at the source code. There
  998. evidently is no way to cause an existing identifier to be interned,
  999. though an existing ID can be given as an argument to INTERN, which
  1000. creates a new ID.
  1001. Note that the "package prefix character" is "\", not ":".
  1002. -------
  1003. 12-Jul-82 18:36:45-PDT,226;000010000011
  1004. Date: 12 Jul 1982 1836-PDT
  1005. From: BATALI
  1006. Subject: PSL bugs
  1007. To: perdue
  1008. What are dipthongs? Why are they neat?
  1009. How do I use them?
  1010. Why aren't they documented?
  1011. Do you care?
  1012. Do I?
  1013. Should I?
  1014. L&C,
  1015. John
  1016. -------
  1017. 13-Jul-82 10:30:28-PDT,523;000010000001
  1018. Date: 13 Jul 1982 1030-PDT
  1019. From: BATALI
  1020. Subject: Unwind-Protect
  1021. To: perdue
  1022. Here is the code for unwind-protect.
  1023. It has the same semantics as the lisp-machine version
  1024. (except in interpreted code that happens to use the
  1025. variable unwind-protect-value). Enjoy.
  1026. (defmacro unwind-protect (protected-form . undo-forms)
  1027. `(let ((unwind-protect-value (catch nil ',protected-form)))
  1028. (progn . ,undo-forms)
  1029. (if throwsignal!*
  1030. (throw throwtag!* unwind-protect-value)
  1031. unwind-protect-value)))
  1032. -------
  1033. 13-Jul-82 10:45:32-PDT,1713;000010000011
  1034. Date: 13 Jul 1982 1045-PDT
  1035. From: BATALI
  1036. Subject: Flaming is funner than working
  1037. To: perdue
  1038. I've been experimenting with read macros in PSL. None of the
  1039. advertised functions for creating them exist, but the following
  1040. works:
  1041. (defmacro define-read-macro (table id fname)
  1042. `(progn
  1043. (put ',id 'lispreadmacro ',fname)
  1044. (putv ,table (id2int ',id) 11) ;; delimiter
  1045. ',id))
  1046. This does what PutReadMacro is supposed to do (but it doesn't evaluate
  1047. the id or the fname).
  1048. Note how this seems to work: If the reader (actually, the function
  1049. ChannelReadTokenWithHooks) sees a character with code 11 in the
  1050. scantable, it looks for the LISPREADMACRO property on the id
  1051. corresponding to the character. If there is one there, it applys it
  1052. in place of ChannelReadTokenWithHooks to the input channel.
  1053. This would be fine and not very interesting and I certainly wouldn't
  1054. be sending you this long message if it weren't for the fact that this
  1055. scheme means you can't "bind" a scantable and expect different
  1056. behaviour from characters. This is because, although the scantable
  1057. can be bound, the system still looks for the LISPREADMACRO property of
  1058. the id. So it is not possible for a character to have different
  1059. properties on different scantables. Thus:
  1060. (define-read-macro somerandomscantable* !( ChannelTotallyTrashSystem)
  1061. Would lose no matter which scan table is currently in effect.
  1062. We need the ability to pair characters with functions in particular
  1063. scantables only. It is very likely that the PSL people understand
  1064. this, and indeed, the relevant sections of the manual (pp 13.10 - 13.11
  1065. and 13.18) seem to claim that this is what ought to go on.
  1066. --John
  1067. -------
  1068. 13-Jul-82 10:56:01-PDT,644;000010000011
  1069. Date: 13 Jul 1982 1056-PDT
  1070. From: Alan Snyder <AS>
  1071. Subject: PSL gross misfeature
  1072. To: Perdue
  1073. cc: AS
  1074. ErrorSet is currently implemented as an EXPR. This fact has the subtle,
  1075. yet critical effect that the form enclosed in the error set can only
  1076. use fluid variables. If you don't declare the variables fluid, the
  1077. code will work interpretively, but will execute incorrectly when compiled.
  1078. No warning is given by the compiler, nor is there any hint in the manual
  1079. that this problem exists.
  1080. Note: the file directory.sl that we sent to Utah fails when compiled for
  1081. this reason. I suggest you send a message to Will about this.
  1082. -------
  1083. 13-Jul-82 11:14:54-PDT,958;000010000011
  1084. Date: 13 Jul 1982 1114-PDT
  1085. From: Alan Snyder <AS>
  1086. Subject: PSL bug
  1087. To: Perdue
  1088. cc: AS
  1089. COND behaves differently in some cases depending upon whether
  1090. it is interpreted or compiled. An example is provided by
  1091. the following function:
  1092. (de foo (a) (cond ((= a 3) 4) a))
  1093. If interpreted, FOO will return the parameter A unless A is 3.
  1094. If compiled, FOO will return NIL in those same cases.
  1095. The compiled code is shown below:
  1096. ------------------------------------------------------------
  1097. Compiling FOO
  1098. Source:
  1099. (LAMBDA (A) (COND ((= A 3) 4) A))
  1100. ------------------------------------------------------------
  1101. Object:
  1102. (*ENTRY FOO EXPR 1)
  1103. (*ALLOC 0)
  1104. (*JUMPNOTEQ (LABEL G0004) (REG 1) '3)
  1105. (*MOVE '4 (REG 1))
  1106. (*EXIT 0)
  1107. (*LBL (LABEL G0004))
  1108. (*MOVE 'NIL (REG 1))
  1109. (*MOVE 'NIL (REG 1))
  1110. (*EXIT 0)
  1111. *** Function `FOO' has been redefined
  1112. *** (FOO): base 334750, length 7 words
  1113. ------------------------------------------------------------
  1114. -------
  1115. 13-Jul-82 11:20:31-PDT,595;000030000001
  1116. Date: 13 Jul 1982 1120-PDT
  1117. From: LANAM
  1118. Subject: Re: how do I do the following in psl.
  1119. To: Perdue
  1120. In-Reply-To: Your message of 13-Jul-82 0942-PDT
  1121. How can I get the package-specifier prefix in a string and concat it
  1122. with other strings, and then intern it.
  1123. I tried, and the package-specifier prefix character got an escape
  1124. character inserted before it.
  1125. ps: I have a set of map functions which define all the maclisp map
  1126. functions (with mulitple arguments). I also have a package which
  1127. defines lexprs. (def x (lexpr ...)).
  1128. These are in the file <lanam.psl-frl>franz.lisp
  1129. -------
  1130. 13-Jul-82 11:40:37-PDT,307;000010000001
  1131. Date: 13 Jul 1982 1140-PDT
  1132. From: Alan Snyder <AS>
  1133. Subject: PSL request
  1134. To: Perdue
  1135. cc: AS
  1136. For direct use by a human, it would be better if PRETTYPRINT returned
  1137. NIL, instead of its argument. That way, the user doesn't have to
  1138. see the same object printed twice by the Read/Eval/Print loop.
  1139. -------
  1140. 13-Jul-82 11:44:57-PDT,185;000010000001
  1141. Date: 13 Jul 1982 1144-PDT
  1142. From: Alan Snyder <AS>
  1143. Subject: PSL request
  1144. To: Perdue
  1145. cc: AS
  1146. FindPrefix and FindSuffix should convert their string argument
  1147. to upper case.
  1148. -------
  1149. 13-Jul-82 12:09:34-PDT,282;000010000001
  1150. Mail-From: PERDUE created at 13-Jul-82 12:09:00
  1151. Date: 13 Jul 1982 1209-PDT
  1152. From: Cris Perdue <Perdue at HP-HULK>
  1153. Subject: Re: PSL bug
  1154. To: AS at HP-HULK
  1155. cc: psl at HP-HULK
  1156. In-Reply-To: Your message of 13-Jul-82 1114-PDT
  1157. I take this to be a bug in the interpreter.
  1158. -------
  1159. 13-Jul-82 17:39:27-PDT,265;000010000001
  1160. Mail-From: PERDUE created at 13-Jul-82 17:39:13
  1161. Date: 13 Jul 1982 1739-PDT
  1162. From: Cris Perdue <Perdue at HP-HULK>
  1163. Subject: FIND module
  1164. To: psl at HP-HULK
  1165. The "find" module is not loaded in bare PSL, but the documentation
  1166. does not mention the fact.
  1167. -------
  1168. 14-Jul-82 07:59:29-PDT,277;000010000001
  1169. Date: 14 Jul 1982 0759-PDT
  1170. From: Alan Snyder <AS>
  1171. Subject: EMODE bug
  1172. To: Perdue
  1173. cc: AS
  1174. I fixed a bug in REFRESH.RED: ClearWindow() previously
  1175. failed to clear the associated virtual screen, causing
  1176. the old contents to later reappear in place of empty
  1177. lines.
  1178. -------
  1179. 14-Jul-82 14:04:02-PDT,416;000010000001
  1180. Date: 14 Jul 1982 1404-PDT
  1181. From: Alan Snyder <AS>
  1182. Subject: PSL bug
  1183. To: Perdue
  1184. cc: AS
  1185. The function STRING< in STRINGS.LSP has the interesting property
  1186. that both of the following forms evaluate to NIL:
  1187. (string< "b" "aa")
  1188. (string< "aa" "b")
  1189. This anomoly results from the improper testing of string length
  1190. in the function. The other string comparison functions seem
  1191. to have the same bug.
  1192. -------
  1193. 15-Jul-82 12:58:17-PDT,409;000010000001
  1194. Date: 15 Jul 1982 1258-PDT
  1195. From: Alan Snyder <AS>
  1196. Subject: EMODE bug
  1197. To: Perdue
  1198. cc: AS
  1199. C-M-B (backwards s-expr) loses if the corresponding left paren
  1200. is the first character in the buffer: it leaves the cursor
  1201. to the right of the paren. There is explicit code that
  1202. makes this adjustment, and this code is marked in the source
  1203. as being a "KLUDGE!". I don't know why this kludge is there.
  1204. -------
  1205. 16-Jul-82 01:49:45-PDT,565;000010000001
  1206. Date: 16 Jul 1982 0149-PDT
  1207. From: BATALI
  1208. Subject: PSL bug
  1209. To: perdue
  1210. The function RPLACHAR stores a character into a string. It works fine
  1211. in interpreted code, but when called from a compiled function, we get:
  1212. ***** Undefined function STRINF called from compiled code
  1213. Looking on the property list of RPLACHAR, we notice a CMACRO property
  1214. whose value is:
  1215. (LAMBDA (S I X) (PUTSTRBYT (STRINF S) I X))
  1216. Which seems to be where the call to STRINF comes from.
  1217. Giving RPLACHAR a CMACRO property of nil "fixes" the problem.
  1218. --John
  1219. -------
  1220. 16-Jul-82 02:37:30-PDT,413;000010000001
  1221. Date: 16 Jul 1982 0237-PDT
  1222. From: BATALI
  1223. Subject: PSL fun
  1224. To: perdue
  1225. The compiler doesn't enforce the restrictions on the placement of
  1226. RETURN statements. (See pages 9.4 and 9.5 of the manual.)
  1227. This function gets an error if interpreted, but returns its argument
  1228. when compiled:
  1229. (de just-return (arg) (return arg))
  1230. Actually, the compiler ought to complain about this one.
  1231. --John
  1232. -------
  1233. 16-Jul-82 02:44:39-PDT,325;000010000001
  1234. Date: 16 Jul 1982 0244-PDT
  1235. From: BATALI
  1236. Subject: PSL joy
  1237. To: perdue
  1238. Here is an interesting function:
  1239. (de c3 () (cond ((= 3 3) 'yes) (t (= 3 3))))
  1240. Interpreted:
  1241. (c3)
  1242. YES
  1243. Compiled:
  1244. (c3)
  1245. T
  1246. Obviously the compiler is doing something grossly clever, obviously it
  1247. is doing it wrong.
  1248. --John
  1249. -------
  1250. 20-Jul-82 09:45:10-PDT,447;000010000001
  1251. Mail-From: PERDUE created at 20-Jul-82 09:43:24
  1252. Date: 20 Jul 1982 0943-PDT
  1253. From: Cris Perdue <Perdue at HP-HULK>
  1254. Subject: Vector of words
  1255. To: lanam at HP-HULK
  1256. cc: psl at HP-HULK
  1257. You have 2 choices. If the block of words is never to be reclaimed,
  1258. call GtWArray. If you wish the garbage collector to have its shot
  1259. at the block of storage, call GtWords. In either case the block
  1260. of words is consider to be uninterpreted data.
  1261. -------
  1262. 21-Jul-82 11:27:54-PDT,330;000010000001
  1263. Date: 21 Jul 1982 1127-PDT
  1264. From: Alan Snyder <AS>
  1265. Subject: PSL bug?
  1266. To: Perdue
  1267. cc: AS
  1268. The manual (section 9.4) says that an unhandled THROW is treated
  1269. as an ERROR in the context of the THROW. In fact, what happens
  1270. is that PSL is restarted at top-level. I would prefer that it
  1271. behave as the manual describes.
  1272. -------
  1273. 21-Jul-82 12:53:25-PDT,549;000010000001
  1274. Date: 21 Jul 1982 1253-PDT
  1275. From: Alan Snyder <AS>
  1276. Subject: PSL unfeature
  1277. To: Perdue
  1278. cc: AS
  1279. PSL allows a program to modify "constant" list structure that
  1280. has been created by the compiler in the code space. Since
  1281. this "constant" list structure is not scanned by the garbage
  1282. collector, any pointers inserted into it will not be updated
  1283. when garbage collection occurs, and will henceforth point
  1284. to randomness. PSL should use the address protection provided
  1285. by the hardware to prevent modification of "constant"
  1286. list structure.
  1287. -------
  1288. 21-Jul-82 14:22:42-PDT,296;000010000001
  1289. Date: 21 Jul 1982 1422-PDT
  1290. From: Alan Snyder <AS>
  1291. Subject: PSL complaint
  1292. To: Perdue
  1293. cc: AS
  1294. Using DEFSTRUCT (from NSTRUCT) causes the PSL compiler
  1295. to produce "function redefined" messages. As far as
  1296. the user is concerned, these messages are spurious
  1297. and should be suppressed.
  1298. -------
  1299. 21-Jul-82 15:51:01-PDT,277;000010000001
  1300. Mail-From: AS created at 21-Jul-82 15:49:32
  1301. Date: 21 Jul 1982 1549-PDT
  1302. From: Alan Snyder <AS at HP-HULK>
  1303. Subject: PSL Manual comment
  1304. To: PSL at HP-HULK
  1305. cc: AS at HP-HULK
  1306. The function UnBoundP should be described (or mentioned)
  1307. in the chapter on Identifiers.
  1308. -------
  1309. 21-Jul-82 16:51:09-PDT,443;000010000001
  1310. Date: 21 Jul 1982 16:48:33-PDT
  1311. From: hearn@RAND-RELAY at HP-Speech
  1312. Via: utah-cs
  1313. Date: Tue Jul 20 23:52:08 1982
  1314. Mail-from: ARPANET site RAND-RELAY rcvd 20-Jul-82 2348-MDT
  1315. Date: Tuesday, 20 Jul 1982 22:33-PDT
  1316. To: psl-bugs at UTAH-20
  1317. Subject: Question on readch()
  1318. From: hearn at RAND-RELAY
  1319. Readch does not do case conversion, irrespective of the setting of *raise.
  1320. If *raise is on, shouldn't lower case be converted to upper case?
  1321. 21-Jul-82 16:51:10-PDT,554;000010000001
  1322. Date: 21 Jul 1982 16:48:40-PDT
  1323. From: BENSON@UTAH-20 at HP-Speech
  1324. Via: utah-cs
  1325. Date: 21 Jul 1982 0054-MDT
  1326. From: Eric Benson <BENSON at UTAH-20>
  1327. Subject: Re: Question on readch()
  1328. To: hearn at RAND-RELAY, BENSON@at@HP-Speech, BENSON@UTAH-20@HP-Speech, psl-bugs at UTAH-20
  1329. In-Reply-To: Your message of 20-Jul-82 2349-MDT
  1330. I've changed the source for ReadCh so that it does case conversion on *Raise.
  1331. This bit of Standard Lisp compatibility seems to have slipped through the
  1332. cracks until now. I guess ReadCh just isn't used that much.
  1333. -------
  1334. 22-Jul-82 14:45:39-PDT,182;000000000001
  1335. Mail-From: YDUJ created at 22-Jul-82 14:45:21
  1336. Date: 22 Jul 1982 1445-PDT
  1337. From: Judy <yduJ at HP-HULK>
  1338. Subject: this is a test arent you thrilled
  1339. To: psl at HP-HULK
  1340. -------
  1341. 22-Jul-82 14:56:09-PDT,140;000000000001
  1342. Date: 22 Jul 1982 1455-PDT
  1343. From: Cris Perdue <Perdue at HP-HULK>
  1344. Subject: Testing yet one more time
  1345. To: psl at HP-HULK
  1346. Yep.
  1347. -------
  1348. 22-Jul-82 15:06:10-PDT,138;000000000001
  1349. Date: 22 Jul 1982 1418-PDT
  1350. From: Cris Perdue <Perdue at HP-HULK>
  1351. Subject: Just testing
  1352. To: psl at HP-HULK
  1353. Blah blah blah.
  1354. -------
  1355. 22-Jul-82 15:06:18-PDT,157;000000000001
  1356. Mail-From: YDUJ created at 22-Jul-82 14:46:38
  1357. Date: 22 Jul 1982 1446-PDT
  1358. From: Judy <yduJ at HP-HULK>
  1359. Subject: Again!!!
  1360. To: psl at HP-HULK
  1361. -------
  1362. 22-Jul-82 16:36:18-PDT,237;000000000001
  1363. Date: 22 Jul 1982 1634-PDT
  1364. From: Alan Snyder <AS at HP-HULK>
  1365. Subject: PSL oddness
  1366. To: PSL at HP-HULK
  1367. cc: AS at HP-HULK
  1368. Why is the function FOO defined in PSL?
  1369. It appears (<PSL.20-INTERP>MAIN-START.RED) to be frivolous.
  1370. -------
  1371. 23-Jul-82 17:00:20-PDT,646;000000000001
  1372. Mail-From: LANAM created at 23-Jul-82 16:57:27
  1373. Date: 23 Jul 1982 1657-PDT
  1374. From: LANAM at HP-HULK
  1375. Subject: identifier bug.
  1376. To: psl at HP-HULK
  1377. Characters and identifiers should be separate entities.
  1378. The character c and the identifier c are not the same
  1379. thing. Currently in the system, it is possible to
  1380. intern a single character-name identifier into a package,
  1381. but it is impossible to type its name back in.
  1382. (setpackage 'franz)
  1383. (localintern 'a)
  1384. => franz\a
  1385. (Setq franz\a 3) will set global\a
  1386. (set (localintern 'a) 3) will set franz\a.
  1387. franz\a is interpreted as global\a.
  1388. I should be able to have my franz\a.
  1389. douglas
  1390. -------
  1391. 23-Jul-82 17:20:21-PDT,497;000000000001
  1392. Mail-From: LANAM created at 23-Jul-82 17:15:46
  1393. Date: 23 Jul 1982 1715-PDT
  1394. From: LANAM at HP-HULK
  1395. Subject: identifiers starting with numbers
  1396. To: psl at HP-HULK
  1397. I would like the system to read an atom like 1+ as the atom |1+|, not
  1398. the number 1 and the atom +. How can I teach the system to handle this?
  1399. 1a would be an atom. 1 a would be the number 1 followed by the atom a.
  1400. I need this feature to handle a franz conversion since a basic franz function
  1401. is 1+ and 1-.
  1402. douglas
  1403. -------
  1404. 23-Jul-82 17:20:23-PDT,329;000000000001
  1405. Mail-From: LANAM created at 23-Jul-82 17:18:54
  1406. Date: 23 Jul 1982 1718-PDT
  1407. From: LANAM at HP-HULK
  1408. Subject: how easy is it to redefine the psl reader?
  1409. To: psl at HP-HULK
  1410. Is there a table describing the automatom? Or is it hardwired in?
  1411. Is the table accessable in lisp and changable? This would be very
  1412. useful.
  1413. -------
  1414. 23-Jul-82 17:40:30-PDT,436;000000000001
  1415. Mail-From: LANAM created at 23-Jul-82 17:38:47
  1416. Date: 23 Jul 1982 1738-PDT
  1417. From: LANAM at HP-HULK
  1418. Subject: apply on macros.
  1419. To: psl at HP-HULK
  1420. Is there an apply that works on any function (whether the function is a
  1421. macro or not), and acts the same whether the function was written as
  1422. a macro or an expr or a fexpr? This would be very useful (especially
  1423. with the number of basic functions written as macros in psl).
  1424. -------
  1425. 23-Jul-82 17:45:33-PDT,386;000000000001
  1426. Mail-From: LANAM created at 23-Jul-82 17:43:56
  1427. Date: 23 Jul 1982 1743-PDT
  1428. From: LANAM at HP-HULK
  1429. Subject: extra closing parenthesis.
  1430. To: psl at HP-HULK
  1431. PSL should ignor extra closing parenthesis. They are not atoms.
  1432. It currently tries to evaluate them and say !) is an unbound ID.
  1433. This is as bad as when Franz Lisp says Read Error 3 for extra
  1434. parenthesis.
  1435. douglas
  1436. -------
  1437. 24-Jul-82 10:15:17-PDT,506;000000000001
  1438. Mail-From: LANAM created at 24-Jul-82 10:11:47
  1439. Date: 24 Jul 1982 1011-PDT
  1440. From: LANAM at HP-HULK
  1441. Subject: missing trap for stack overflow.
  1442. To: psl at HP-HULK
  1443. ON the 20, if I get a stack overflow, (a pushdown overflow), the system aborts,
  1444. and is useless. I can not even look at the state of the world, variables,
  1445. stack or anything. I can not reset and try to start over in the same world.
  1446. This should be fixed. Stack overflows should be trapped and returned to
  1447. the user inside lisp.
  1448. -------
  1449. 24-Jul-82 10:20:20-PDT,295;000000000001
  1450. Mail-From: LANAM created at 24-Jul-82 10:19:09
  1451. Date: 24 Jul 1982 1019-PDT
  1452. From: LANAM at HP-HULK
  1453. Subject: bug in error message from nth (wrong number in message).
  1454. To: psl at HP-HULK
  1455. 5 lisp break>> (nth '(a b c) 0)
  1456. ***** Index `-3' out of range for NIL in PNTH {99}
  1457. douglas
  1458. -------
  1459. 24-Jul-82 10:25:15-PDT,270;000000000001
  1460. Mail-From: LANAM created at 24-Jul-82 10:20:40
  1461. Date: 24 Jul 1982 1020-PDT
  1462. From: LANAM at HP-HULK
  1463. Subject: continuation of nth error message bug.
  1464. To: psl at HP-HULK
  1465. 10 lisp> (nth '(A b c) -1)
  1466. ***** Index `-4' out of range for NIL in PNTH {99}
  1467. douglas
  1468. -------
  1469. 24-Jul-82 10:25:15-PDT,238;000000000001
  1470. Mail-From: LANAM created at 24-Jul-82 10:23:15
  1471. Date: 24 Jul 1982 1023-PDT
  1472. From: LANAM at HP-HULK
  1473. Subject: why question?
  1474. To: psl at HP-HULK
  1475. Why do all error messages have a cryptic number after them?
  1476. Can this be removed?
  1477. -------
  1478. 24-Jul-82 10:45:17-PDT,368;000000000001
  1479. Mail-From: LANAM created at 24-Jul-82 10:43:49
  1480. Date: 24 Jul 1982 1043-PDT
  1481. From: LANAM at HP-HULK
  1482. Subject: can prettyprint do better than this with the following please?
  1483. To: psl at HP-HULK
  1484. (DEF
  1485. FRANZ\FACT
  1486. (EXPR LAMBDA (N) (COND ((EQ N 0) 1) (T (* N (FRANZ\FACT (!- N 1)))) )))
  1487. I would like the cond split up into 2 lines (one per clause).
  1488. -------
  1489. 24-Jul-82 10:45:17-PDT,251;000000000001
  1490. Mail-From: LANAM created at 24-Jul-82 10:44:32
  1491. Date: 24 Jul 1982 1044-PDT
  1492. From: LANAM at HP-HULK
  1493. Subject: scanner read bug with numbers.
  1494. To: psl at HP-HULK
  1495. 45 lisp> 1.000000000000000000000000000000000000000000000000000
  1496. 0.0
  1497. douglas
  1498. -------
  1499. 24-Jul-82 10:50:11-PDT,253;000000000001
  1500. Mail-From: LANAM created at 24-Jul-82 10:45:21
  1501. Date: 24 Jul 1982 1045-PDT
  1502. From: LANAM at HP-HULK
  1503. Subject: strange read bug with numbers.
  1504. To: psl at HP-HULK
  1505. 46 lisp> 1.222222222222222222222222222222222222222222222222222222
  1506. 1.7682604E33
  1507. -------
  1508. 24-Jul-82 10:50:11-PDT,373;000000000001
  1509. Mail-From: LANAM created at 24-Jul-82 10:46:27
  1510. Date: 24 Jul 1982 1046-PDT
  1511. From: LANAM at HP-HULK
  1512. Subject: overflows are not checked for.
  1513. To: psl at HP-HULK
  1514. 100000000000000000000000000000000000000000000000
  1515. 0
  1516. 48 lisp> 2222222222222222222222222222222
  1517. 2386092942
  1518. 49 lisp> 1000000000000000000000
  1519. 25209864192
  1520. 50 lisp> 1000000000000
  1521. 3567587328
  1522. douglas
  1523. -------
  1524. 24-Jul-82 11:35:07-PDT,561;000000000001
  1525. Mail-From: LANAM created at 24-Jul-82 11:34:37
  1526. Date: 24 Jul 1982 1134-PDT
  1527. From: LANAM at HP-HULK
  1528. Subject: problem with nth and unrequested recursive calls.
  1529. To: psl at HP-HULK
  1530. 2 lisp> (dm aa (n) `(nth x ,n))
  1531. 1 lisp> (setq a '(lambda (x) (let ((a (length x))) (aa 1))))
  1532. 6 lisp break>> (macroexpand a)
  1533. The system will never come back. It will spend a great deal of cpu time
  1534. on this problem.
  1535. Also, if you eval a, you will get a pushdown overflow.
  1536. I need a fix to this bug as soon as possible (it is very important).
  1537. thanks,
  1538. douglas
  1539. -------
  1540. 24-Jul-82 11:40:02-PDT,283;000000000001
  1541. Mail-From: LANAM created at 24-Jul-82 11:36:35
  1542. Date: 24 Jul 1982 1136-PDT
  1543. From: LANAM at HP-HULK
  1544. Subject: bug in macros and nth.
  1545. To: psl at HP-HULK
  1546. 1 lisp> (dm aa (n) `(nth x ,n))
  1547. AA
  1548. 2 lisp> (setq x '(a b c))
  1549. (A B C)
  1550. 3 lisp> (aa 2)
  1551. ?Pushdown overflow at 162425
  1552. -------
  1553. 24-Jul-82 11:45:01-PDT,409;000000000001
  1554. Mail-From: LANAM created at 24-Jul-82 11:43:06
  1555. Date: 24 Jul 1982 1143-PDT
  1556. From: LANAM at HP-HULK
  1557. Subject: last bug with nth and macros.
  1558. To: psl at HP-HULK
  1559. cc: rosenberg at HP-HULK
  1560. I found that I needed to take the cadr of the argument to the macro.
  1561. It would be nice if psl didn't bomb out completely when stack overflow
  1562. occurs. Well, it wasn't a bug, it was my mistake. Sorry,
  1563. douglas
  1564. -------
  1565. 24-Jul-82 11:50:00-PDT,358;000000000001
  1566. Mail-From: LANAM created at 24-Jul-82 11:48:22
  1567. Date: 24 Jul 1982 1148-PDT
  1568. From: LANAM at HP-HULK
  1569. Subject: franz/maclisp let, defun, and defmacro package.
  1570. To: psl at HP-HULK
  1571. A complete version of franz/maclisp let, defun and defmacro exists
  1572. in the file <lanam.dhl>init.lisp.
  1573. Problem : the file runs in psl but is in franz syntax.
  1574. douglas
  1575. -------
  1576. 26-Jul-82 11:40:03-PDT,383;000000000001
  1577. Mail-From: LANAM created at 26-Jul-82 11:35:14
  1578. Date: 26 Jul 1982 1135-PDT
  1579. From: LANAM at HP-HULK
  1580. Subject: char-int and char-code do not work.
  1581. To: psl at HP-HULK
  1582. (char-int 'a) => a
  1583. (char-code 'a) => a
  1584. (char-int "a") => "a"
  1585. They should all return a number.
  1586. Also, How can I convert an atom name say foo, into a string (inside a program)?
  1587. thanks,
  1588. douglas
  1589. -------
  1590. 26-Jul-82 12:00:00-PDT,232;000000000001
  1591. Mail-From: AS created at 26-Jul-82 11:55:54
  1592. Date: 26 Jul 1982 1155-PDT
  1593. From: Alan Snyder <AS at HP-HULK>
  1594. Subject: EMODE bug
  1595. To: PSL at HP-HULK
  1596. cc: AS at HP-HULK
  1597. EMODE believes that ^Z marks the end of a text file.
  1598. -------
  1599. 26-Jul-82 13:05:02-PDT,399;000000000001
  1600. Mail-From: LANAM created at 26-Jul-82 13:03:12
  1601. Date: 26 Jul 1982 1303-PDT
  1602. From: LANAM at HP-HULK
  1603. Subject: apply on an nexpr doesn't work.
  1604. To: psl at HP-HULK
  1605. (dn foo (x) x)
  1606. (setq y '(a b c))
  1607. (apply 'foo y)
  1608. will yield the message
  1609. ***** Argument number mismatch {1024}
  1610. ***** Continueation requires a value for:
  1611. ((lambda (x) x) 'a 'b 'c)
  1612. How can I apply an nexpr?
  1613. douglas
  1614. -------
  1615. 26-Jul-82 13:09:58-PDT,386;000000000001
  1616. Mail-From: AS created at 26-Jul-82 13:07:29
  1617. Date: 26 Jul 1982 1307-PDT
  1618. From: Alan Snyder <AS at HP-HULK>
  1619. Subject: Re: apply on an nexpr doesn't work.
  1620. To: LANAM at HP-HULK
  1621. cc: psl at HP-HULK, AS at HP-HULK
  1622. In-Reply-To: Your message of 26-Jul-82 1303-PDT
  1623. The manual admits that Apply doesn't work right in many cases.
  1624. I think you have to use Eval to do what you want.
  1625. -------
  1626. 26-Jul-82 13:15:00-PDT,427;000000000001
  1627. Mail-From: AS created at 26-Jul-82 13:13:31
  1628. Date: 26 Jul 1982 1313-PDT
  1629. From: Alan Snyder <AS at HP-HULK>
  1630. Subject: Re: apply on an nexpr doesn't work.
  1631. To: LANAM at HP-HULK, PSL at HP-HULK
  1632. In-Reply-To: Your message of 26-Jul-82 1309-PDT
  1633. Upon further reflection, it occurs to me that giving Apply
  1634. a list containing a single list of arguments values will
  1635. work for Nexprs. For example: (Apply 'Foo '((a b c))).
  1636. -------
  1637. 26-Jul-82 14:15:00-PDT,509;000000000001
  1638. Mail-From: AS created at 26-Jul-82 14:14:42
  1639. Date: 26 Jul 1982 1414-PDT
  1640. From: Alan Snyder <AS at HP-HULK>
  1641. Subject: Re: missing trap for stack overflow.
  1642. To: LANAM at HP-HULK
  1643. cc: PSL at HP-HULK
  1644. In-Reply-To: Your message of 24-Jul-82 1011-PDT
  1645. Handling a stack overflow gracefully is difficult. After all, if the
  1646. stack has no room, what can you expect to do? PSL does allow you
  1647. to restart the fork (using START), which will throw away the stack
  1648. but leave your global environment unchanged.
  1649. -------
  1650. 26-Jul-82 14:30:03-PDT,702;000000000001
  1651. Mail-From: AS created at 26-Jul-82 14:26:06
  1652. Date: 26 Jul 1982 1426-PDT
  1653. From: Alan Snyder <AS at HP-HULK>
  1654. Subject: Re: char-int and char-code do not work.
  1655. To: LANAM at HP-HULK
  1656. cc: PSL at HP-HULK
  1657. In-Reply-To: Your message of 26-Jul-82 1135-PDT
  1658. I believe that Char-Int and Char-Code expect a character (which is
  1659. an integer is PSL), not an atom or a string. Char-Int is provided
  1660. for LISPs where characters are a separate datatype, and is redundant
  1661. in PSL. The Char MACRO may be what you want: (Char A) => 65.
  1662. (If you have authoritative information on what the Common Lisp
  1663. string functions are supposed to do, please let me know. We
  1664. have no information at all and merely guess.)
  1665. -------
  1666. 26-Jul-82 15:20:02-PDT,264;000000000001
  1667. Mail-From: LANAM created at 26-Jul-82 15:17:41
  1668. Date: 26 Jul 1982 1517-PDT
  1669. From: LANAM at HP-HULK
  1670. Subject: interrupt and break from terminal
  1671. To: psl at HP-HULK
  1672. I need an ability to interrupt the system and cause a break point from
  1673. the terminal.
  1674. -------
  1675. 26-Jul-82 15:25:04-PDT,380;000000000001
  1676. Mail-From: LANAM created at 26-Jul-82 15:20:37
  1677. Date: 26 Jul 1982 1520-PDT
  1678. From: LANAM at HP-HULK
  1679. Subject: bad feature : read macros on property list.
  1680. To: psl at HP-HULK
  1681. By having the function associated with read macros stored on the property list,
  1682. there is an inability to have different read macros in different read tables,
  1683. for the same character.
  1684. douglas
  1685. -------
  1686. 26-Jul-82 15:30:01-PDT,456;000000000001
  1687. Date: Mon Jul 26 15:10:41 1982
  1688. In-real-life: Tw Cook
  1689. To: hp-pcd!psl@HP-Speech
  1690. Subject: psl bug?
  1691. Cc: hp-pcd!barbara@HP-Speech
  1692. In the Vax version:
  1693. If you run (help emode) [or any long help] then do a control-C to try and
  1694. interrupt it, you get thrown into a break loop which I have not been able
  1695. to exit from. Is this an error in the help code, rather than
  1696. in psl itself?
  1697. Tw Cook
  1698. Telnet 757-4097
  1699. "hp-pcd!tw"@Speech
  1700. 27-Jul-82 14:33:34-PDT,429;000000000001
  1701. Mail-From: LANAM created at 27-Jul-82 14:33:28
  1702. Date: 27 Jul 1982 1433-PDT
  1703. From: LANAM at HP-HULK
  1704. Subject: untr
  1705. To: psl at HP-HULK
  1706. untr does untrace a function, but unlike the manual says, it does
  1707. not restore the original definition. It leaves a strange lisp function
  1708. around which is similar to the function when it is traced. It would
  1709. be nice if the functions definition was restored to its original place.
  1710. -------
  1711. 29-Jul-82 10:54:50-PDT,2245;000000000001
  1712. Mail-From: AS created at 28-Jul-82 17:23:05
  1713. Date: 28 Jul 1982 1723-PDT
  1714. From: Alan Snyder <AS at HP-HULK>
  1715. Subject: PSL bug
  1716. To: PSL at HP-HULK
  1717. cc: AS at HP-HULK
  1718. The ContError macro is not very robust. For example, consider
  1719. the following expansion (admittedly, the argument is improper):
  1720. (MacroExpand '(ContError 0 "" file-name file-name))
  1721. ==>
  1722. (CONTINUABLEERROR 0 (BLDMSG "" FILE-NAME) (LIST '#<Unknown:261740000002>))
  1723. Naturally, this form will cause the garbage collector to barf.
  1724. When the compiler is given this sort of stuff, it produces the
  1725. following lovely code:
  1726. ------------------------------------------------------------
  1727. Compiling TEST
  1728. Source Code:
  1729. (LAMBDA (FILE-NAME) (TEST1 (CONTERROR 0 "s" FILE-NAME FILE-NAME)))
  1730. ------------------------------------------------------------
  1731. Expanded Source Code:
  1732. (LAMBDA (FILE-NAME)
  1733. (TEST1
  1734. (CONTINUABLEERROR
  1735. 0
  1736. (BLDMSG "s" FILE-NAME)
  1737. (LIST '#<Unknown:254000006725>))))
  1738. ------------------------------------------------------------
  1739. Object Code:
  1740. (*ENTRY TEST EXPR 1)
  1741. (*ALLOC 1)
  1742. (*MOVE (REG 1) (REG 2))
  1743. (*MOVE '"s" (REG 1))
  1744. (*LINK BLDMSG EXPR 2)
  1745. (*MOVE (REG 1) (FRAME 1))
  1746. (*MOVE '#<Unknown:254000006725> (REG 1))
  1747. (*LINK NCONS EXPR 1)
  1748. (*MOVE (REG 1) (REG 3))
  1749. (*MOVE (FRAME 1) (REG 2))
  1750. (*MOVE '0 (REG 1))
  1751. (*LINK CONTINUABLEERROR EXPR 3)
  1752. (*LINKE 1 TEST1 EXPR 1)
  1753. L0003L0004 (FULLWORD 0)
  1754. (STRING "s")
  1755. (*ENTRY TEST EXPR 1)
  1756. (ADJSP (REG ST) 1)
  1757. (MOVE (REG 2) (REG 1))
  1758. (MOVE (REG 1) "L0001")
  1759. (PUSHJ (REG ST) (ENTRY BLDMSG))
  1760. (MOVEM (REG 1) (INDEXED (REG ST) 0))
  1761. (MOVE (REG 1) "L0002")
  1762. (PUSHJ (REG ST) (ENTRY NCONS))
  1763. (MOVE (REG 3) (REG 1))
  1764. (MOVE (REG 2) (INDEXED (REG ST) 0))
  1765. (SETZM (REG 1))
  1766. (PUSHJ (REG ST) (ENTRY CONTINUABLEERROR))
  1767. (ADJSP (REG ST) -1)
  1768. (JRST (ENTRY TEST1))
  1769. L0002 (FULLWORD (MKITEM 10 "L0003"))
  1770. L0001 (FULLWORD (MKITEM 4 "L0004"))
  1771. *** Function `TEST' has been redefined
  1772. *** (TEST): base 374744, length 17 words
  1773. ------------------------------------------------------------
  1774. There is no warning message of any kind. However, when
  1775. the compiled code is loaded and executed, it will also
  1776. create bad data that the garbage collector will barf on.
  1777. -------
  1778. 29-Jul-82 10:54:53-PDT,285;000000000001
  1779. Mail-From: LANAM created at 27-Jul-82 16:38:49
  1780. Date: 27 Jul 1982 1638-PDT
  1781. From: LANAM at HP-HULK
  1782. Subject: break package problem
  1783. To: psl at HP-HULK
  1784. In a break package, if I have a variable i (or q, c, r, m, or e), and
  1785. want to print its value, i need to do
  1786. (eval 'i)
  1787. -------
  1788. 30-Jul-82 15:36:42-PDT,389;000000000001
  1789. Date: 30 Jul 1982 11:28-PDT (Friday)
  1790. From: Ching-Chao.Liu <hp-pcd!ching>
  1791. Subject: error in psl manual
  1792. To: hp-pcd!psl@HP-Speech
  1793. Message-Id: <82/07/30 1128.783@hp-pcd>
  1794. On page 10.4 of psl manual, the description of FUnBoundP is incorrect.
  1795. It should be
  1796. Tests whether there is a definition in the function cell of U;
  1797. returns NIL if there is a definition, T if not.
  1798. 30-Jul-82 15:36:43-PDT,616;000000000001
  1799. Date: 30 Jul 1982 11:27-PDT (Friday)
  1800. From: John.Tupper <hp-pcd!maddog>
  1801. Subject: bug report
  1802. To: hp-pcd!psl@HP-Speech
  1803. Message-Id: <82/07/30 1127.900@hp-pcd>
  1804. I have found a bug in the vax version of the psl zpedit.
  1805. When I add something to the end of an s-expression [with the n command]
  1806. the editor changes the old last expression to nil.
  1807. start:
  1808. (LIST (CAR X) (CDR Y))
  1809. execute:
  1810. (N (BOGUS BO GUS))
  1811. finish:
  1812. (LIST (CAR X) NIL (BOGUS BO GUS))
  1813. The same thing happens with the bo command.
  1814. start:
  1815. (LIST (CAR X) (CDR Y))
  1816. execute:
  1817. bo 3
  1818. finish:
  1819. (LIST (CAR X) NIL)
  1820. icky-poo,
  1821. maddog
  1822. 30-Jul-82 15:36:44-PDT,488;000000000001
  1823. Date: Fri Jul 30 11:40:05 1982
  1824. In-real-life: Tw Cook
  1825. To: hp-pcd!psl@HP-Speech
  1826. Subject: testing 'bug' function - ignore
  1827. I have implemented the 'bug' function in our PSL - it just fires up
  1828. 'mail' to PSL, which forwards both to PSL at labs and to the notesgroup
  1829. LISPERS here. Those of you at hplabs who are listening - does stuff
  1830. mailed to PSL@HULK get eventually sent on to Griss & crew? Should I
  1831. mail to them as well? If so, how do I get there (via mail)?
  1832. Thanks,
  1833. tw
  1834. 30-Jul-82 15:41:43-PDT,495;000000000001
  1835. Mail-From: AS created at 30-Jul-82 15:41:22
  1836. Date: 30 Jul 1982 1541-PDT
  1837. From: Alan Snyder <AS at HP-HULK>
  1838. Subject: EMODE bug
  1839. To: PSL at HP-HULK
  1840. cc: AS at HP-HULK
  1841. EMODE (on the HP2648 at least) fails to check for attempts to move the
  1842. cursor off the right edge of the screen. For example, if you type in
  1843. a line that is longer than the screen width, the cursor will move to
  1844. the next line and occasionally random stuff will come out (parts of
  1845. escape sequences, it looks like).
  1846. -------
  1847. 30-Jul-82 16:41:45-PDT,425;000000000001
  1848. Date: Fri Jul 30 14:04:39 1982
  1849. In-real-life: John Tupper
  1850. To: hp-pcd!psl@HP-Speech
  1851. Subject: bug
  1852. Vax psl bug:
  1853. When the debug package is loaded, the normal trace functions
  1854. don't work correctly.
  1855. After loading the debug stuff, (UNTR) does not restore the original
  1856. definition of the function. (TR) works fine, and (UNTR) will cause tracing
  1857. to halt; it just doesn't restore the original definition.
  1858. maddog
  1859. 2-Aug-82 15:48:02-PDT,343;000000000001
  1860. Mail-From: BATALI created at 2-Aug-82 15:43:38
  1861. Date: 2 Aug 1982 1543-PDT
  1862. From: BATALI at HP-HULK
  1863. Subject: TYPE function
  1864. To: psl at HP-HULK
  1865. It would be just dreamy if there were a function TYPE, which
  1866. returns an ID signifying the type of its argument:
  1867. (type 'foo) => ID
  1868. (type 5) => FIXNUM
  1869. (type '(a b)) => PAIR
  1870. Etc.
  1871. -------
  1872. 3-Aug-82 15:14:40-PDT,684;000000000001
  1873. Mail-From: LANAM created at 3-Aug-82 15:13:55
  1874. Date: 3 Aug 1982 1513-PDT
  1875. From: LANAM at HP-HULK
  1876. Subject: package/compiler/fasl bug
  1877. To: griss at HP-HULK
  1878. cc: psl at HP-HULK, utah-cs!griss at HP-SPEECH
  1879. With the following file (called a.lisp), do the following and you will get
  1880. illegal instruction.
  1881. (load package)
  1882. (faslout "A")
  1883. (dskin "a.lisp")
  1884. (faslend)
  1885. (faslin "a.b")
  1886. file a.lisp:
  1887. -----------
  1888. (\load \package)
  1889. (\setpackage '\global)
  1890. (eval-when (compile)
  1891. (createpackage 'franz 'global)
  1892. (setpackage 'franz))
  1893. (createpackage 'franz 'global)
  1894. (setpackage 'franz)
  1895. (eval-when (compile)
  1896. (localintern 'franz\xx))
  1897. (de franz\xx (yy) yy)
  1898. -------
  1899. 3-Aug-82 15:24:37-PDT,561;000000000001
  1900. Mail-From: LANAM created at 3-Aug-82 15:22:56
  1901. Date: 3 Aug 1982 1522-PDT
  1902. From: LANAM at HP-HULK
  1903. Subject: bug with faslout/faslend.
  1904. To: psl at HP-HULK
  1905. do
  1906. (faslout "foo")
  1907. then do something to cause an error, (any error or break will do).
  1908. such as:
  1909. (eval-when (compile) (+ 'a 'b))
  1910. {actually macros can cause errors, as can any eval-when construct}.
  1911. If you do (faslend) in the break point, then (reset),
  1912. the system will only echo your input after that.
  1913. If you do (faslend) again,
  1914. an error (illegal instruction) occurs, and psl will halt.
  1915. -------
  1916. 4-Aug-82 11:44:44-PDT,237;000000000001
  1917. Mail-From: LANAM created at 4-Aug-82 11:43:54
  1918. Date: 4 Aug 1982 1143-PDT
  1919. From: LANAM at HP-HULK
  1920. Subject: where is psl
  1921. To: psl at HP-HULK
  1922. @psl
  1923. ?File has bad index block
  1924. @psl
  1925. [Starting]
  1926. ?No START address
  1927. huh?
  1928. -------
  1929. 5-Aug-82 09:27:36-PDT,374;000000000001
  1930. Mail-From: LANAM created at 5-Aug-82 08:31:23
  1931. Date: 5 Aug 1982 0831-PDT
  1932. From: LANAM at HP-HULK
  1933. Subject: tr bug
  1934. To: psl at HP-HULK
  1935. tr shouldn't ask me how many arguments a compiled function takes.
  1936. Why can't it just create a nexpr instead and not worry about the number
  1937. of arguments?
  1938. (sometimes I don't feel like looking up the answer to this question).
  1939. -------
  1940. 5-Aug-82 14:35:09-PDT,309;000000000001
  1941. Date: 5 Aug 1982 1259-PDT
  1942. From: Cris Perdue <Perdue at HP-HULK>
  1943. Subject: Re: start up file.
  1944. To: LANAM at HP-HULK
  1945. cc: psl at HP-HULK
  1946. In-Reply-To: Your message of 5-Aug-82 1023-PDT
  1947. No, there is no "init file". We have had several requests for that
  1948. feature, so perhaps it can be added soon.
  1949. -------
  1950. 5-Aug-82 14:35:11-PDT,408;000000000001
  1951. Date: 5 Aug 1982 1303-PDT
  1952. From: Cris Perdue <Perdue at HP-HULK>
  1953. Subject: Re: printing
  1954. To: LANAM at HP-HULK
  1955. cc: psl at HP-HULK
  1956. In-Reply-To: Your message of 5-Aug-82 1136-PDT
  1957. I don't know if you can turn off the "*** blah already loaded"
  1958. message. There is no mechanism established for forcing the system
  1959. to reload a library module unless you specify "pl:" as the location
  1960. of the module.
  1961. -------
  1962. 5-Aug-82 14:35:12-PDT,367;000000000001
  1963. Mail-From: LANAM created at 5-Aug-82 14:02:21
  1964. Date: 5 Aug 1982 1402-PDT
  1965. From: LANAM at HP-HULK
  1966. Subject: last bug.
  1967. To: psl at HP-HULK
  1968. It doesn't work as I described. I found it had something to do with
  1969. calling (faslout) while inside (faslout).
  1970. Thus bug should be (faslout) during (faslout) should not be executed.
  1971. (it currently is).
  1972. douglas
  1973. -------
  1974. 5-Aug-82 14:35:15-PDT,565;000000000001
  1975. Mail-From: PERDUE created at 5-Aug-82 13:05:17
  1976. Date: 5 Aug 1982 1257-PDT
  1977. From: Cris Perdue <Perdue>
  1978. To: LANAM
  1979. In-Reply-To: Your message of 5-Aug-82 1004-PDT
  1980. Remailed-date: 5 Aug 1982 1305-PDT
  1981. Remailed-from: Cris Perdue <Perdue at HP-HULK>
  1982. Remailed-to: psl at HP-HULK
  1983. To not get bothered about redefining system functions, set the
  1984. global flag *usermode to NIL. The flag *redefmsg determines whether
  1985. you are told when functions are redefined. There is currently
  1986. no way to get a quiet dskin, except modifying the code or writing
  1987. your own.
  1988. -------
  1989. 5-Aug-82 15:10:10-PDT,736;000000000001
  1990. Mail-From: LANAM created at 5-Aug-82 15:09:07
  1991. Date: 5 Aug 1982 1509-PDT
  1992. From: LANAM at HP-HULK
  1993. Subject: package system and faslout/faslin
  1994. To: psl at HP-HULK
  1995. faslout/faslin known nothing about the package system, and will produce
  1996. a file that can not be read in successfully, if that file references
  1997. variables in packages.
  1998. (usually you will get an operating system error (illegal instruction)).
  1999. The manual's suggestion to rename functions in global is not a real
  2000. solution, and suggests further that the package system is not really
  2001. usuable in a real sense yet.
  2002. This section of the system is not finished and I do not feel is in a
  2003. useful enough state to be advertised or included in the manual.
  2004. douglas
  2005. -------
  2006. 5-Aug-82 15:25:10-PDT,257;000000000001
  2007. Mail-From: LANAM created at 5-Aug-82 15:23:44
  2008. Date: 5 Aug 1982 1523-PDT
  2009. From: LANAM at HP-HULK
  2010. Subject: what is bps?
  2011. To: psl at HP-HULK
  2012. I got error ?
  2013. fatal error : bps exhausted during faslout.
  2014. and the system aborted.
  2015. what happened?
  2016. -------
  2017. 5-Aug-82 15:30:07-PDT,285;000000000001
  2018. Mail-From: PERDUE created at 5-Aug-82 15:28:10
  2019. Date: 5 Aug 1982 1528-PDT
  2020. From: Cris Perdue <Perdue at HP-HULK>
  2021. Subject: Re: what is bps?
  2022. To: LANAM at HP-HULK
  2023. cc: psl at HP-HULK
  2024. In-Reply-To: Your message of 5-Aug-82 1523-PDT
  2025. You ran out of space for compiled code.
  2026. -------
  2027. 5-Aug-82 15:40:10-PDT,211;000000000001
  2028. Mail-From: LANAM created at 5-Aug-82 15:37:32
  2029. Date: 5 Aug 1982 1537-PDT
  2030. From: LANAM at HP-HULK
  2031. Subject: can the sytem just break instead of halt when bps size is exceeded?
  2032. To: psl at HP-HULK
  2033. -------
  2034. 5-Aug-82 16:00:07-PDT,488;000000000001
  2035. Mail-From: PERDUE created at 5-Aug-82 15:58:37
  2036. Date: 5 Aug 1982 1558-PDT
  2037. From: Cris Perdue <Perdue at HP-HULK>
  2038. Subject: Re: what is bps?
  2039. To: LANAM at HP-HULK
  2040. cc: psl at HP-HULK
  2041. In-Reply-To: Your message of 5-Aug-82 1532-PDT
  2042. PSL provides no information about the sizes of spaces, so far as
  2043. I know. I'm very interested in this myself, and I don't even
  2044. know the initial sizes of most of the spaces. Binary program
  2045. space is not reclaimed. Maybe someday it will be.
  2046. -------
  2047. 5-Aug-82 16:10:05-PDT,544;000000000001
  2048. Mail-From: LANAM created at 5-Aug-82 16:05:15
  2049. Date: 5 Aug 1982 1605-PDT
  2050. From: LANAM at HP-HULK
  2051. Subject: (eval and macros)
  2052. To: psl at HP-HULK
  2053. is there any reason the following should produce different results:
  2054. (eval expression)
  2055. and
  2056. (eval (macroexpand expression))
  2057. I have an example (a bit hairy and long), where the second is correct
  2058. and the first gives a strange error message about trying to set the
  2059. number 2.
  2060. could someone spend some time to look at this to decide what may be
  2061. the problem.
  2062. thanks,
  2063. douglas
  2064. -------
  2065. 5-Aug-82 16:25:06-PDT,378;000000000001
  2066. Mail-From: LANAM created at 5-Aug-82 16:20:10
  2067. Date: 5 Aug 1982 1620-PDT
  2068. From: LANAM at HP-HULK
  2069. Subject: + and - as start of atom names.
  2070. To: psl at HP-HULK
  2071. It would be nice if the scanner was changed such that if
  2072. + and - are followed directly by an alphabetic character,
  2073. (ex +a), then an atom is returned ( +a ), instead of
  2074. two atoms (+ and a).
  2075. douglas
  2076. -------
  2077. 5-Aug-82 17:00:00-PDT,405;000000000001
  2078. Mail-From: LANAM created at 5-Aug-82 16:56:11
  2079. Date: 5 Aug 1982 1656-PDT
  2080. From: LANAM at HP-HULK
  2081. Subject: I got the following strange message.
  2082. To: psl at HP-HULK
  2083. During dskin:
  2084. ***** Fatal error during garbage collection
  2085. Illegal item in heap at 631115
  2086. I do not know if I can reproduce it, but why should such a thing
  2087. happen?
  2088. If I can reproduce it, I will tell you how to.
  2089. douglas
  2090. -------
  2091. 6-Aug-82 10:33:07-PDT,412;000000000001
  2092. Mail-From: LANAM created at 6-Aug-82 10:31:49
  2093. Date: 6 Aug 1982 1031-PDT
  2094. From: LANAM at HP-HULK
  2095. Subject: structure of variable historylist*
  2096. To: psl at HP-HULK
  2097. why is the car of history an endless structure:
  2098. (historylist* (historylist* (historylist* (historylist* ....
  2099. the (cadr historylist*) is also this strange structure.
  2100. isn't there a simplier structure that could be used?
  2101. douglas
  2102. -------
  2103. 6-Aug-82 10:33:08-PDT,196;000000000001
  2104. Mail-From: LANAM created at 6-Aug-82 10:32:25
  2105. Date: 6 Aug 1982 1032-PDT
  2106. From: LANAM at HP-HULK
  2107. Subject: correction to last letter: (cadr should be (caddr)).
  2108. To: psl at HP-HULK
  2109. -------
  2110. 26-Jul-82 17:40:09-PDT,647;000010000001
  2111. Date: 26 Jul 1982 17:35:51-PDT
  2112. From: daemon at HP-Speech
  2113. Via: utah-cs
  2114. Date: Mon Jul 26 16:57:18 1982
  2115. Mail-from: ARPANET site RAND-RELAY rcvd 26-Jul-82 1648-MDT
  2116. Date: Monday, 26 Jul 1982 15:33-PDT
  2117. To: psl-bugs at UTAH-20
  2118. Subject: My guys say it's a bug
  2119. From: hearn at RAND-RELAY
  2120. When you do (quit) to psl, you get the message "stopped", and you have
  2121. a job sitting there. My UNIX guys say this is a bug, and should be fixed.
  2122. I know that you can restart the stopped job, but apart from that facility,
  2123. the stopped job does get in the way every so often. Furthermore, when I
  2124. try to do "time preduce", I can't get the timing info out.
  2125. 29-Jul-82 14:12:46-PDT,502;000010000001
  2126. Date: 29 Jul 1982 1412-PDT
  2127. From: BATALI
  2128. Subject: psl-bug
  2129. To: perdue
  2130. The function:
  2131. (defun or-list? (list predicate)
  2132. (cond ((null list) nil)
  2133. ((funcall predicate (car list)) t)
  2134. (t (or-list? (cdr list) predicate))))
  2135. Is T if any of the predicate applied to any of its elements is T.
  2136. It works fine interpreted, but the compiler goes into an infinite loop
  2137. printing:
  2138. Functional form converted to (APPLY PREDICATE (LIST (CAR LIST)))
  2139. Not a pretty sight.
  2140. Ghastly,
  2141. John
  2142. -------
  2143. 27-Jul-82 22:37:08-PDT,532;000010000001
  2144. Date: 27 Jul 1982 16:19:23-PDT
  2145. From: Griss@UTAH-20 at HP-Speech
  2146. Via: utah-cs
  2147. Date: 27 Jul 1982 0558-MDT
  2148. From: Martin.Griss <Griss at UTAH-20>
  2149. Subject: VAX
  2150. To: Griss@benson@HP-Speech
  2151. cc: Griss@griss@HP-Speech
  2152. Remailed-date: 27 Jul 1982 1420-MDT
  2153. Remailed-from: Eric Benson <BENSON at UTAH-20>
  2154. Remailed-to: psl-bugs at UTAH-20
  2155. I think QUIT should have an associated function, FullStop or some such.
  2156. (Or have 2 low level functions, QuitAndKeep, QuitAndKill), and let
  2157. system admin choose which QUIT is which.
  2158. -------
  2159. 27-Jul-82 10:58:04-PDT,353;000010000011
  2160. Date: 27 Jul 1982 1058-PDT
  2161. From: BATALI
  2162. Subject: PSL Gripe
  2163. To: perdue
  2164. There ought to be an expr to read a file.
  2165. The only way to do this now is something like:
  2166. (eval `(dskin ,filename))
  2167. I see no reason why dskin should not be an nexpr: virtually
  2168. all present uses of it use string arguments so it wouldn't
  2169. matter.
  2170. L&C,
  2171. John
  2172. -------
  2173. 27-Jul-82 16:23:52-PDT,595;000010000001
  2174. Date: 27 Jul 1982 16:18:52-PDT
  2175. From: Griss@UTAH-20 at HP-Speech
  2176. Via: utah-cs
  2177. Date: 10 Jul 1982 1201-MDT
  2178. From: Martin.Griss <Griss at UTAH-20>
  2179. Subject: ExitTopLoop
  2180. To: Griss@benson@HP-Speech
  2181. cc: Griss@griss@HP-Speech
  2182. Remailed-date: 27 Jul 1982 1340-MDT
  2183. Remailed-from: Eric Benson <BENSON at UTAH-20>
  2184. Remailed-to: psl-bugs at UTAH-20
  2185. Id like to add and ExitTopLoop comand,
  2186. eg !$exitTopLoop!$ as distinguided atom? Or some such,
  2187. perhaps have on property list of atom and action function,
  2188. ala Break, perhaps using toploop name as key?
  2189. GET(InputValue,ModuleName,...).
  2190. -------
  2191. 4-Aug-82 01:39:13-PDT,469;000010000001
  2192. Date: 4 Aug 1982 01:36:20-PDT
  2193. From: daemon at HP-Speech
  2194. Via: utah-cs
  2195. Date: Tue Aug 3 22:02:13 1982
  2196. Mail-from: ARPANET site RAND-AI rcvd 3-Aug-82 2200-MDT
  2197. Date: 3 Aug 1982 2101-PDT
  2198. From: Tony Hearn <HEARN at RAND-AI>
  2199. Subject: PSL cannot read bignums correctly
  2200. To: psl-bugs at UTAH-20, griss at UTAH-20
  2201. The source for the bigfloat package contains bignums. It does not seem
  2202. to read or maybe compile correctly.
  2203. Can PSL currently read bignums?
  2204. -------
  2205. 4-Aug-82 10:29:38-PDT,510;000010000001
  2206. Date: 4 Aug 1982 01:36:40-PDT
  2207. From: daemon at HP-Speech
  2208. Via: utah-cs
  2209. Date: 3 Aug 1982 2245-MDT
  2210. From: Eric Benson <BENSON at UTAH-20>
  2211. Subject: Re: PSL cannot read bignums correctly
  2212. To: HEARN at RAND-AI, at@HP-Speech, UTAH-20@HP-Speech, psl-bugs at UTAH-20, griss at UTAH-20
  2213. In-Reply-To: Your message of 3-Aug-82 2201-MDT
  2214. PSL can read bignums with BIG loaded. Without it, bignums will not be
  2215. read correctly. It is probably true that bignum constants cannot be compiled
  2216. in either case.
  2217. -------
  2218. 6-Aug-82 14:13:10-PDT,273;000000000001
  2219. Mail-From: LANAM created at 6-Aug-82 14:09:27
  2220. Date: 6 Aug 1982 1409-PDT
  2221. From: LANAM at HP-HULK
  2222. Subject: bug with *time
  2223. To: psl at HP-HULK
  2224. If the first thing you say to psl is
  2225. (setq *time t)
  2226. you get back
  2227. Time: 211392 ms (or some such large number).
  2228. -------
  2229. 26-Jul-82 17:40:10-PDT,577;000010000001
  2230. Date: 26 Jul 1982 17:36:09-PDT
  2231. From: daemon at HP-Speech
  2232. Via: utah-cs
  2233. Date: 26 Jul 1982 1659-MDT
  2234. From: Eric Benson <BENSON at UTAH-20>
  2235. Subject: Re: My guys say it's a bug
  2236. To: hearn at RAND-RELAY, at@HP-Speech, UTAH-20@HP-Speech, psl-bugs at UTAH-20
  2237. In-Reply-To: Your message of 26-Jul-82 1654-MDT
  2238. Perhaps it's a misfeature. The alternative is to make (QUIT) irrevocable.
  2239. Reading EOF will cause the PSL process to terminate, which allows the use
  2240. of shell scripts and/or I/O redirection. If you want to do that from the
  2241. terminal, type one or more ^Ds.
  2242. -------
  2243. 25-Jun-82 19:48:05-PDT,200;000010000001
  2244. Date: 25 Jun 1982 1948-PDT
  2245. From: LANAM
  2246. Subject: psl bug (in vax version).
  2247. To: perdue
  2248. Type cntrl-d (eof) as the first character, and the system will go into
  2249. an endless loop.
  2250. douglas
  2251. -------
  2252. 25-Jun-82 21:06:46-PDT,622;000010000001
  2253. Date: 25 Jun 1982 2106-PDT
  2254. From: LANAM
  2255. Subject: package proprosal
  2256. To: perdue
  2257. I would like the system to remember the package definition name of a
  2258. variable and functions in .b files so that I dont' get the system
  2259. binding files which were compiled in package a but loaded in package
  2260. b refering to package b functions when a package is not specified.
  2261. Just binding everything to global would not work since then it would
  2262. be a nuisance to have to always write out a local package name in a
  2263. file on every function and variable.
  2264. (This is a proposal to send along with any bug reports to martin).
  2265. douglas
  2266. -------
  2267. 13-Jul-82 19:38:40-PDT,975;000010000001
  2268. Date: 13 Jul 1982 12:23:31-PDT
  2269. From: Galway@UTAH-20 at HP-Speech
  2270. Via: utah-cs
  2271. Date: 12 Jul 1982 2303-MDT
  2272. From: William Galway <Galway at UTAH-20>
  2273. Subject: break loop "feature"
  2274. To: psl-bugs at UTAH-20
  2275. The current break handler inherits the reader, evaluator, and printer from
  2276. whatever the current TopLoop uses (if TopLoop is being used). I suspect
  2277. that this is a mistake, since it makes it awkward to deal with special
  2278. "exotic" top loops. It's already somewhat confusing that depending upon
  2279. the circumstances you will either get a LISP reader, or and Rlisp reader.
  2280. Think about how wonderful it would be if your reader only returned vectors
  2281. to be "evaluated" by adding them up (say, for a desk calculator or
  2282. something).
  2283. I suggest that instead we only have one, or maybe two, break loops.
  2284. Default would use LISP's READ/EVAL/PRINT. And perhaps it should notice
  2285. when Rlisp is in effect, and use its READ/EVAL/PRINT in that case.
  2286. Comments?
  2287. -------
  2288. 26-Jul-82 17:40:09-PDT,884;000010000001
  2289. Date: 26 Jul 1982 17:35:58-PDT
  2290. From: daemon at HP-Speech
  2291. Via: utah-cs
  2292. Date: Mon Jul 26 17:02:07 1982
  2293. Mail-from: ARPANET site RAND-RELAY rcvd 26-Jul-82 1628-MDT
  2294. Date: Friday, 23 Jul 1982 15:05-PDT
  2295. to: Martin.Griss@HP-Speech, <Griss at UTAH-20>
  2296. from: lseward at RAND-UNIX
  2297. Subject: PSL distribution files
  2298. Sender: lseward at RAND-RELAY
  2299. Remailed-date: 26 Jul 1982 1655-MDT
  2300. Remailed-from: Martin.Griss <Griss at UTAH-20>
  2301. Remailed-to: bensON
  2302. Remailed-date: 26 Jul 1982 1656-MDT
  2303. Remailed-from: Eric Benson <BENSON at UTAH-20>
  2304. Remailed-to: psl-bugs at UTAH-20
  2305. I am listing off sources and have been straightening out the vax-comp and
  2306. vax-interp files. Suggestion: have subdirectories src, build, and bin
  2307. and put the appropriate things in them. Otherwise the statement (in the
  2308. documentation) "This directories contains sources for ..." is very
  2309. misleading.
  2310. larry
  2311. 29-Jul-82 22:10:14-PDT,529;000010000001
  2312. Date: 29 Jul 1982 17:39:24-PDT
  2313. From: daemon at HP-Speech
  2314. Via: utah-cs
  2315. Date: Thu Jul 29 16:22:17 1982
  2316. Mail-from: ARPANET site RAND-AI rcvd 29-Jul-82 1617-MDT
  2317. Date: 29 Jul 1982 1519-PDT
  2318. From: Tony Hearn <HEARN at RAND-AI>
  2319. Subject: PSL Problem
  2320. To: psl-bugs at UTAH-20
  2321. If you do in REDUCE on the VAX:
  2322. x := x+1;
  2323. x:
  2324. You SHOULD, I believe, get a "push down stack overflow" error. Instead,
  2325. you go off into mystery (system seems to hang) and finally get an "illegal
  2326. instruction" message and a core dump.
  2327. -------
  2328. 29-Jul-82 22:10:15-PDT,333;000010000001
  2329. Date: 29 Jul 1982 17:39:30-PDT
  2330. From: daemon at HP-Speech
  2331. Via: utah-cs
  2332. Date: Thu Jul 29 16:22:32 1982
  2333. Mail-from: ARPANET site RAND-AI rcvd 29-Jul-82 1618-MDT
  2334. Date: 29 Jul 1982 1520-PDT
  2335. From: Tony Hearn <HEARN at RAND-AI>
  2336. Subject: ps
  2337. To: psl-bugs at UTAH-20
  2338. That second REDUCE command should have been x; not x:
  2339. -------
  2340. 9-Aug-82 09:11:46-PDT,321;000000000001
  2341. Mail-From: LANAM created at 9-Aug-82 09:08:11
  2342. Date: 9 Aug 1982 0908-PDT
  2343. From: LANAM at HP-HULK
  2344. Subject: fluid
  2345. To: psl at HP-HULK
  2346. (fluid '(abc)) will set the value of abc to nil.
  2347. Why? The documentation does not say that such a thing is done.
  2348. It should leave abc as an unbound variable.
  2349. douglas
  2350. -------
  2351. 9-Aug-82 11:06:49-PDT,362;000000000001
  2352. Mail-From: LANAM created at 9-Aug-82 11:03:03
  2353. Date: 9 Aug 1982 1103-PDT
  2354. From: LANAM at HP-HULK
  2355. Subject: question
  2356. To: psl at HP-HULK
  2357. I got the following strange message from the compiler:
  2358. (memory ($fluid b) (wconst 19)) not compiled.
  2359. Did I do something wrong? Or is this a bug in the system.
  2360. the input was (de xx (y) (igetv b 18))
  2361. douglas
  2362. -------
  2363. 9-Aug-82 11:06:52-PDT,310;000000000001
  2364. Mail-From: LANAM created at 9-Aug-82 11:04:51
  2365. Date: 9 Aug 1982 1104-PDT
  2366. From: LANAM at HP-HULK
  2367. Subject: additional compiler comment:
  2368. To: psl at HP-HULK
  2369. I also got
  2370. (memory ($local b) (wconst 19)) not compiled, when I made b an argument to
  2371. the function.
  2372. Is this what is suppose to happen?
  2373. -------
  2374. 9-Aug-82 11:11:50-PDT,606;000000000001
  2375. Mail-From: LANAM created at 9-Aug-82 11:09:14
  2376. Date: 9 Aug 1982 1109-PDT
  2377. From: LANAM at HP-HULK
  2378. Subject: correction to last letter.
  2379. To: psl at HP-HULK
  2380. The form of function definition that causes the message that something is
  2381. not compiled
  2382. (memory ($local y) (wconst 19)) not compiled
  2383. is:
  2384. (defun xx (y) (do ((i 100 (sub1 i))) (eq i 0)) (igetv y 18)))
  2385. If i do
  2386. (defun xx (y) (igetv y 18)) .
  2387. there are no complaints.
  2388. Is this a bug, or a fancy optimization. If it is an optimization, how do I
  2389. turn it off? I want to time 100 accesses to the array in compiled code.
  2390. douglas
  2391. -------
  2392. 10-Aug-82 10:31:04-PDT,191;000000000001
  2393. Mail-From: LANAM created at 10-Aug-82 10:29:26
  2394. Date: 10 Aug 1982 1029-PDT
  2395. From: LANAM at HP-HULK
  2396. Subject: bug in time with garbage collection.
  2397. To: psl at HP-HULK
  2398. bug in time
  2399. -------
  2400. 10-Aug-82 10:36:07-PDT,404;000000000000
  2401. Mail-From: LANAM created at 10-Aug-82 10:31:26
  2402. Date: 10 Aug 1982 1031-PDT
  2403. From: LANAM at HP-HULK
  2404. Subject: bug in time with garbage collection
  2405. To: psl at HP-HULK
  2406. When *time = t,
  2407. the system should report cpu and garbage collection time seperately,
  2408. not as one total number.
  2409. Cpu time: 496 ms. GC time: 2500 ms.
  2410. not
  2411. Time: 2996 ms.
  2412. The current timing given is misleading.
  2413. douglas
  2414. -------
  2415. 10-Aug-82 11:36:08-PDT,386;000000000000
  2416. Mail-From: LANAM created at 10-Aug-82 11:33:45
  2417. Date: 10 Aug 1982 1133-PDT
  2418. From: LANAM at HP-HULK
  2419. Subject: thigns that should be open compiled.
  2420. To: psl at HP-HULK
  2421. bit operations are not open compiled. There should be an
  2422. open compiled form of logical bit operations:
  2423. and, or, not, shift, xor.
  2424. Also there should be the operations
  2425. nand, nor (open compiled) available.
  2426. -------
  2427. 10-Aug-82 11:41:06-PDT,239;000000000000
  2428. Mail-From: LANAM created at 10-Aug-82 11:37:05
  2429. Date: 10 Aug 1982 1137-PDT
  2430. From: LANAM at HP-HULK
  2431. Subject: (maxint) => ???
  2432. To: psl at HP-HULK
  2433. Is there a function that return maxint and minint?
  2434. also maxfloat, and minfloat?
  2435. -------
  2436. 10-Aug-82 11:41:09-PDT,494;000000000000
  2437. Mail-From: LANAM created at 10-Aug-82 11:40:02
  2438. Date: 10 Aug 1982 1140-PDT
  2439. From: LANAM at HP-HULK
  2440. Subject: documentation of compiled in line functions.
  2441. To: psl at HP-HULK
  2442. They should be mentioned where their non compiled in line
  2443. counterpart is.
  2444. Ex.: under times2 should be mentioned itimes2 (for integer multiplacation
  2445. in line).
  2446. I only found the function iland by experimentation ( i never found it
  2447. in the manual, but I found it open compiles code for 'land').
  2448. douglas
  2449. -------
  2450. 10-Aug-82 12:01:06-PDT,324;000000000000
  2451. Mail-From: LANAM created at 10-Aug-82 12:01:02
  2452. Date: 10 Aug 1982 1201-PDT
  2453. From: LANAM at HP-HULK
  2454. Subject: addresses
  2455. To: psl at HP-HULK
  2456. What function returns the address of a lisp object?
  2457. What function takes an address (from above function) or some other int,
  2458. and gives me the lisp object at that address?
  2459. -------
  2460. 10-Aug-82 13:31:03-PDT,497;000000000000
  2461. Mail-From: LANAM created at 10-Aug-82 13:27:26
  2462. Date: 10 Aug 1982 1327-PDT
  2463. From: LANAM at HP-HULK
  2464. Subject: bug in print and lshift.
  2465. To: psl at HP-HULK
  2466. type the following to the top level of the psl interpreter on the 20.
  2467. (lshift 2 34)
  2468. You get an endless unstoppable output of hyphens.
  2469. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------...
  2470. douglas
  2471. -------
  2472. 10-Aug-82 13:31:05-PDT,270;000000000000
  2473. Mail-From: LANAM created at 10-Aug-82 13:28:27
  2474. Date: 10 Aug 1982 1328-PDT
  2475. From: LANAM at HP-HULK
  2476. Subject: word size
  2477. To: psl at HP-HULK
  2478. Is there a function which returns the word size (number of bits) that
  2479. logical operations operate on, built into psl?
  2480. -------
  2481. 10-Aug-82 14:12:54-PDT,566;000000000000
  2482. Mail-From: LANAM created at 10-Aug-82 14:11:14
  2483. Date: 10 Aug 1982 1411-PDT
  2484. From: LANAM at HP-HULK
  2485. Subject: very interesting psl function
  2486. To: psl at HP-HULK
  2487. Try the following:
  2488. (setq *comp t)
  2489. (defun get-an-id (n) % n is a number given by the user
  2490. % ilor is compiled-in-line logical or.
  2491. (ilor n))
  2492. (defun list-word (limit)
  2493. (do ((i 0 (+ 1 i)))
  2494. ((eq i limit))
  2495. (princ (get-an-id i)) (princ " ")))
  2496. The above program when run on some number will give you a partial to
  2497. complete dump of all id's known to the system.
  2498. -------
  2499. 10-Aug-82 14:47:56-PDT,217;000000000000
  2500. Mail-From: LANAM created at 10-Aug-82 14:46:13
  2501. Date: 10 Aug 1982 1446-PDT
  2502. From: LANAM at HP-HULK
  2503. Subject: still cannot have special variables and macros/nexprs have the same name.
  2504. To: psl at HP-HULK
  2505. -------
  2506. 10-Aug-82 16:07:57-PDT,259;000000000000
  2507. Mail-From: LANAM created at 10-Aug-82 15:29:03
  2508. Date: 10 Aug 1982 1529-PDT
  2509. From: LANAM at HP-HULK
  2510. Subject: compiler bug
  2511. To: psl at HP-HULK
  2512. Should I report what causes the following?
  2513. compiler bug. Expression too complicated. Please simplify.
  2514. -------
  2515. 10-Aug-82 16:22:57-PDT,283;000000000000
  2516. Mail-From: KENDZIERSKI created at 10-Aug-82 16:22:31
  2517. Date: 10 Aug 1982 1622-PDT
  2518. From: Kendzierski at HP-HULK (Nancy)
  2519. Subject: previous bug report
  2520. To: psl at HP-HULK
  2521. I should have made it clear that I reset "i" to be 1 before each
  2522. evaluation of a repeat or a while.
  2523. -------
  2524. 10-Aug-82 16:23:03-PDT,1144;000000000000
  2525. Date: 10 Aug 1982 1620-PDT
  2526. From: Kendzierski at HP-HULK (Nancy)
  2527. Subject: REPEAT bug
  2528. To: psl at HP-HULK
  2529. The manual states that the REPEAT construct (section 9.3; page 9.7)
  2530. is repeated until the value of the expression is NIL.
  2531. In the first place, I think this is an inappropriate "repeat ... until"
  2532. definition -- they are generally of the form "repeat until expression
  2533. becomes TRUE (or T), not FALSE (or NIL)".
  2534. Worse than that, it doesn't even work as described. Given the following
  2535. code:
  2536. %----------------------------------------------------
  2537. (setq i 1)
  2538. (repeat (equal i 5) (setq i (add1 i)) (print i))
  2539. (repeat (neq i 5) (setq i (add1 i)) (print i))
  2540. (repeat nil (setq i (add1 i)) (print i))
  2541. (repeat t (setq i (add1 i)) (print i))
  2542. (while (neq i 5) (setq i (add1 i)) (print i))
  2543. (while (equal i 5) (setq i (add1 i)) (print i))
  2544. %----------------------------------------------------
  2545. All four "repeat"s return: 2 and then NIL
  2546. The two "while"s are reasonable;
  2547. the first returns: 2 3 4 5 and then NIL
  2548. the second returns: NIL immediately.
  2549. The situation is the same in both psl and npsl.
  2550. -------
  2551. 11-Aug-82 09:37:06-PDT,267;000000000000
  2552. Date: 11 Aug 1982 0932-PDT
  2553. From: JOHNSON at HP-HULK
  2554. Subject: Documentation Bug
  2555. To: PSL at HP-HULK
  2556. Section 5.1, paragraph 2 of <HP-PSL>HP-PSL.R contains the meaningless
  2557. sentence: "Some of the <PSL> directories have no corresponding <PSL>
  2558. directory."
  2559. -------
  2560. 12-Aug-82 11:08:20-PDT,530;000000000000
  2561. Mail-From: LANAM created at 12-Aug-82 11:06:18
  2562. Date: 12 Aug 1982 1106-PDT
  2563. From: LANAM at HP-HULK
  2564. Subject: restriction in psl which shouldn't be there.
  2565. To: psl at HP-HULK
  2566. The Psl compiler
  2567. does not allow a go inside an and clause inside a prog.
  2568. ex:
  2569. 10 lisp> (defun xx () (prog () loop (and (go loop))))
  2570. ***** (GO LOOP) INVALID GO
  2571. XX
  2572. Thus causing me to have to say
  2573. (cond (expression (go loop))) inside a prog
  2574. when i want to say (and should be allowed to say):
  2575. (and expression (go loop))
  2576. douglas
  2577. -------
  2578. 12-Aug-82 16:30:11-PDT,2751;000000000000
  2579. Mail-From: LANAM created at 12-Aug-82 16:27:30
  2580. Date: 12 Aug 1982 1627-PDT
  2581. From: LANAM at HP-HULK
  2582. Subject: search in emode
  2583. To: psl at HP-HULK
  2584. I looked at the source to search.red in pe: and found that it does
  2585. a very dumb search algorithm.
  2586. The search algorithm should be replaced with the kmp algorithm
  2587. which can be found in most data structures/algorithm books.
  2588. I have a version running in lisp (but not fully compatible with
  2589. emode functions) which I can send. The whole algorithm is
  2590. about 20 lines of code.
  2591. I also have a version in pascal which runs on my 9836 ( i debugged
  2592. it on there when the hulk was down and moved it over.
  2593. ----
  2594. I am including the whole algorithm in lisp slightly commented.
  2595. This version to work with emode needs to convert some or the list
  2596. of characters and vectors of character to vectors of ints, and
  2597. needs to ignore case (this version does not ignore case).
  2598. This code has been checked and works. I am using a variation of
  2599. it in my program for my search through the history table.
  2600. It runs much faster than the algorithm currently used in emode.
  2601. If you wish to install it, I can help in debugging this part of
  2602. the code and checking it works, if you can get someone else
  2603. to interface it to the reset of emode and set up the correct
  2604. accessing of emode data structures.
  2605. douglas
  2606. -----
  2607. %%
  2608. %% Implemenation of Knuth_Morris_Pratt algorithm.
  2609. %%
  2610. %%
  2611. %% p: input-pattern format vector of characters:
  2612. %% '[a b c].
  2613. %%
  2614. %% output failure link vector to be used by emode_kmp_scan.
  2615. %%
  2616. (defun emode_kmp_flowchart_construction (p)
  2617. (let ((m (size p)))
  2618. (let ((*flink (mkvect (iplus2 1 m))))
  2619. (iputv *flink 0 -1)
  2620. (do ((i 1 (+ 1 i)))
  2621. ((> i m) *flink)
  2622. (do ((j (igetv *flink (- i 1)) (igetv *flink j)))
  2623. ((or (eq j -1) (eq (igetv p j) (igetv p (- i 1))))
  2624. (iputv *flink i (+ j 1))))))))
  2625. %%
  2626. %% p : input _string in vector format '[ a b c]
  2627. %% m : upper bound of vector p (answer for above is 2).
  2628. %% s : line of characters to be searched
  2629. %% format list of characters: '(A b c d e . ..)
  2630. %% *flink : failure link vector from emode_kmp_flowchart_construction.
  2631. %%
  2632. %% returns t if succeed, nil if not found.
  2633. %%
  2634. (defun emode_kmp_scan (p m s *flink)
  2635. (and s
  2636. (prog (j)
  2637. (setq j 0)
  2638. %%
  2639. %% if next character does not match use failure links
  2640. %% to back up and try again.
  2641. %%
  2642. loop (cond ((and (neq j -1) (neq (igetv p j) (car s)))
  2643. (setq j (igetv *flink j)) (go loop)))
  2644. %%
  2645. %% if you have matched the entire pattern => succeed.
  2646. %%
  2647. (and (= j m) (return t))
  2648. (or (setq j (+ 1 j) s (cdr s))
  2649. %%
  2650. %% move pointer in line,
  2651. %%
  2652. %% if no more line, fail.
  2653. (return nil))
  2654. (go loop))))
  2655. -------
  2656. 12-Aug-82 16:40:09-PDT,603;000000000000
  2657. Mail-From: LANAM created at 12-Aug-82 16:36:41
  2658. Date: 12 Aug 1982 1636-PDT
  2659. From: LANAM at HP-HULK
  2660. Subject: psl read bug
  2661. To: psl at HP-HULK
  2662. do (let () (setq y (readch)) (unreadchar y) (read))word
  2663. the system will return
  2664. wORD
  2665. note: that read normally changes all the characters in its word to
  2666. upper case.
  2667. But if the character was sent back to the input stream from unreadchar,
  2668. its initial case remains and the atom that read interns has its first
  2669. character in lower case if it was typed that way.
  2670. The above should have returned WORD.
  2671. The above is with *raise = t.
  2672. douglas
  2673. -------
  2674. 14-Aug-82 14:58:13-PDT,428;000000000000
  2675. Mail-From: LANAM created at 14-Aug-82 14:57:28
  2676. Date: 14 Aug 1982 1457-PDT
  2677. From: LANAM at HP-HULK
  2678. Subject: (reset) should end a (faslout)
  2679. To: psl at HP-HULK
  2680. If i do (faslout), get an error, and do (reset),
  2681. I do not think the system should be in fasl mode any more.
  2682. I think if I wanted to continue the (faslout), or save it,
  2683. I would use the continue option of the break package, and
  2684. not do (reset).
  2685. douglas
  2686. -------
  2687. 14-Aug-82 18:37:33-PDT,610;000000000000
  2688. Mail-From: LANAM created at 14-Aug-82 18:33:00
  2689. Date: 14 Aug 1982 1833-PDT
  2690. From: LANAM at HP-HULK
  2691. Subject: can someone please explain why the following takes place
  2692. To: psl at HP-HULK
  2693. HP-PSL 3.0, 12-Aug-82
  2694. 1 lisp> (setq *comp t)
  2695. T
  2696. 2 lisp> (defun a (b) (b b))
  2697. *** Functional form converted to APPLY (B B)
  2698. *** (A): base 412016, length 3 words
  2699. A
  2700. Why is it, if the function and argument have the same name, it
  2701. gives me this message, but if I change either the name of the
  2702. function or the argument, it doesn't give me this message?
  2703. I don't think this message should pop up.
  2704. douglas
  2705. -------
  2706. 14-Aug-82 18:42:30-PDT,415;000000000000
  2707. Mail-From: LANAM created at 14-Aug-82 18:40:11
  2708. Date: 14 Aug 1982 1840-PDT
  2709. From: LANAM at HP-HULK
  2710. Subject: last message with apply message.
  2711. To: psl at HP-HULK
  2712. Even if the function b was declared already.
  2713. (defun a (b) (B b)) causes the system to think that b is a variable bound
  2714. to a function.
  2715. I think this is wrong. If I had wanted that I would have done
  2716. (apply b (list b)) instead of (b b).
  2717. -------
  2718. 14-Aug-82 19:02:26-PDT,342;000000000000
  2719. Mail-From: LANAM created at 14-Aug-82 18:59:24
  2720. Date: 14 Aug 1982 1859-PDT
  2721. From: LANAM at HP-HULK
  2722. Subject: what does ($fluid :value) not compiled mean?
  2723. To: psl at HP-HULK
  2724. I got this between two functions I compiled, but there was no code between
  2725. the two function (and the declaration was pages earlier).
  2726. thanks,
  2727. douglas
  2728. -------
  2729. 15-Aug-82 12:39:55-PDT,282;000000000000
  2730. Mail-From: LANAM created at 15-Aug-82 12:36:13
  2731. Date: 15 Aug 1982 1236-PDT
  2732. From: LANAM at HP-HULK
  2733. Subject: bug in macroexpand.
  2734. To: sys: ;
  2735. HP-PSL 3.0, 12-Aug-82
  2736. 1 lisp> (macroexpand '(setq a b c d))
  2737. (SETQ A B)
  2738. The result should have been '(setq a b c d)).
  2739. -------
  2740. 16-Aug-82 09:57:40-PDT,538;000000000000
  2741. Date: 16 Aug 1982 0957-PDT
  2742. From: Cris Perdue <Perdue>
  2743. Subject: Re: can someone please explain why the following takes place
  2744. To: LANAM
  2745. In-Reply-To: Your message of 14-Aug-82 1833-PDT
  2746. (defun a (b) (b b)) is compiled heuristically. The compiler guesses
  2747. whether the call on b is directly a function call or whether "b" is
  2748. used as a function-valued variable. On the basis of local context it
  2749. guesses b is a variable in function position. I'm sure it will be
  2750. a low priority for fixing, since it is easily worked around.
  2751. -------
  2752. 16-Aug-82 10:02:02-PDT,234;000000000000
  2753. Date: 16 Aug 1982 1002-PDT
  2754. From: Cris Perdue <Perdue>
  2755. Subject: Re: bug in macroexpand.
  2756. To: LANAM
  2757. In-Reply-To: Your message of 15-Aug-82 1236-PDT
  2758. Right on expanding SETQ. There may be an associated compiler bug, too.
  2759. -------
  2760. 18-Aug-82 09:55:56-PDT,256;000000000001
  2761. Mail-From: AS created at 18-Aug-82 09:52:47
  2762. Date: 18 Aug 1982 0952-PDT
  2763. From: Alan Snyder <AS at HP-HULK>
  2764. Subject: PSL Deficiency
  2765. To: PSL at HP-HULK
  2766. cc: AS at HP-HULK
  2767. PRINTX apparently does not handle shared structures involving
  2768. Vectors.
  2769. -------
  2770. 18-Aug-82 12:21:00-PDT,1125;000000000000
  2771. Mail-From: AS created at 18-Aug-82 12:16:33
  2772. Date: 18 Aug 1982 1216-PDT
  2773. From: Alan Snyder <AS at HP-HULK>
  2774. Subject: PSL compiler bug
  2775. To: PSL at HP-HULK
  2776. cc: AS at HP-HULK
  2777. There is a serious PSL compiler bug relating
  2778. to the interaction between fast arithmetic
  2779. and fast vector access. In the following code,
  2780. note that register 1 is clobbered by the MOVE
  2781. instruction before it is used as an index
  2782. register in the ADD instruction. (Possibly
  2783. useful info: if the vector fetch is replaced
  2784. by CAR, the compiler does the right thing,
  2785. i.e., moves V to a free register before
  2786. loading register 1.) PLEASE FIX THIS BUG!!!!
  2787. ----------------------------------------------
  2788. (CompileTime (Load Fast-Vector))
  2789. (de test (v a)
  2790. (WPlus2 (IGetV v 0) a))
  2791. ----------------------------------------------
  2792. (*ENTRY TEST EXPR 2)
  2793. (*ALLOC 0)
  2794. (*MOVE (REG 2) (REG 1))
  2795. (*WPLUS2 (REG 1) (MEMORY (REG 1) (WCONST 1)))
  2796. (*EXIT 0)
  2797. ----------------------------------------------
  2798. (MOVE (REG 1) (REG 2))
  2799. (ADD (REG 1) (INDEXED (REG 1) 1))
  2800. (POPJ (REG ST) 0)
  2801. ----------------------------------------------
  2802. -------
  2803. 19-Aug-82 09:37:22-PDT,525;000000000000
  2804. Mail-From: LANAM created at 19-Aug-82 09:35:24
  2805. Date: 19 Aug 1982 0935-PDT
  2806. From: LANAM at HP-HULK
  2807. Subject: deficiencies in the history command.
  2808. To: psl at HP-HULK
  2809. When you do (hist), it tell you things like:
  2810. 5 Inp: (HIST)
  2811. Ans: NIL
  2812. 6 Inp: Q
  2813. Ans: NIL
  2814. But it doesn't tell me that the Q on (inp 6) is a response to the break
  2815. package, not the evaluation of the atom q. It also doesn't tell me that
  2816. (ans 4) is nil because it never existed.{History is an undefined function}.
  2817. -------
  2818. 19-Aug-82 10:12:21-PDT,387;000000000000
  2819. Mail-From: AS created at 19-Aug-82 10:07:31
  2820. Date: 19 Aug 1982 1007-PDT
  2821. From: Alan Snyder <AS at HP-HULK>
  2822. Subject: CMACRO Bug
  2823. To: PSL at HP-HULK
  2824. cc: AS at HP-HULK
  2825. The *WNOT CMACRO produces bad code when its argument is
  2826. an integer constant. For example, the expression
  2827. (WNot 7) produces (SETCM (REG 1) 7), which computes
  2828. the complement of the contents of register 7.
  2829. -------
  2830. 19-Aug-82 10:47:20-PDT,429;000000000000
  2831. Mail-From: PAULSON created at 19-Aug-82 10:47:09
  2832. Date: 19 Aug 1982 1047-PDT
  2833. From: PAULSON at HP-HULK
  2834. Subject: matching parens
  2835. To: psl at HP-HULK
  2836. It's a serious misfeature in PSL that the system doesn't do automatic
  2837. carriage return after it sees the last matching closeparen. But it's much
  2838. worse that if you count wrong and type an extra closeparen, the system
  2839. goes in to a break. This has got to be fixed.
  2840. -------
  2841. 20-Aug-82 17:42:54-PDT,3634;000000000000
  2842. Date: 20 Aug 1982 17:34:58-PDT
  2843. From: daemon at HP-Speech
  2844. Via: utah-cs
  2845. Date: 20 Aug 1982 0546-MDT
  2846. From: Martin.Griss <Griss at UTAH-20>
  2847. Subject: [Norman.kentvax at UDel-Relay: psl stray queries]
  2848. To: benson@HP-Speech
  2849. cc: griss@HP-Speech
  2850. Remailed-date: 20 Aug 1982 1306-MDT
  2851. Remailed-from: Eric Benson <BENSON at UTAH-20>
  2852. Remailed-to: psl-bugs at UTAH-20
  2853. Remailed-date: 20 Aug 1982 1742-PDT
  2854. Remailed-from: Cris Perdue <Perdue>
  2855. Mail-from: ARPANET site UDEL-RELAY rcvd 20-Aug-82 0445-MDT
  2856. Date: 19 Aug 82 21:33:08-EDT (Thu)
  2857. From: Norman.kentvax at UDel-Relay
  2858. To: griss at Utah-20
  2859. cc: hearn at Rand-Ai
  2860. Subject: psl stray queries
  2861. Via: kentvax; 20 Aug 82 5:29-EDT
  2862. this is a very initial bunch of psl queries/thoughts.
  2863. it is also a test to see if i can get mail out of this vax
  2864. & over to you lot.
  2865. (a)i
  2866. (a) on vax psl 'messages' and 'real output' get interleaved in what
  2867. seems to be an assynchronous manner. at least i seem to get error
  2868. messages all mixed in with the stuff i print, so the idiom
  2869. print <my own messages>;
  2870. error 'stop here;
  2871. is not as helpful as I would like.
  2872. (b) I have tried to use
  2873. rlisp <<here | tee logfile
  2874. on echo;
  2875. ....
  2876. to get a copy of input & output of a set of standartd tests. the
  2877. 'on echo;' seems not to be honoured? also the error recovery is
  2878. a mess in this case because i go into lisp syntax & need to type
  2879. special error-break-loop commands to escape it, and these are
  2880. abominated unless i am in the error loop.
  2881. (c) in ann error
  2882. I wanted to see the value of fluid variables called a,b,c,d,...
  2883. but of course some of these letters gave magic effects! i ended
  2884. up with going (eval 'c) & similar nasties. yuk. also could the
  2885. backtrace print values that fluids have on the stack, or could i
  2886. have some similar easy way to see values of fluids that have been
  2887. covered up by subsequent bindings. furthermore the mess one gets on
  2888. going (backtrace) is a MESS and i find it hard to see the stuff that
  2889. i want for all the muck that i dont.
  2890. (d) try printing (expt 2 31). for me it gives an infinite string of -
  2891. signs!!!!!!!
  2892. (e) lack of bignums is mildly bothersome - for work with reduce I guess
  2893. i will lash up a botched bignum package representing numbers as vectors
  2894. (so they pass the atom test), cos i presume your proper version is in
  2895. the pipeline but not ready yet.
  2896. (f) i looked for the followng functions without apparent success:
  2897. random() generate random number
  2898. timeofday() like date() but gives wallclock time
  2899. (I wanted it to help generate a good seed for my own
  2900. random number generator!)
  2901. (g) in rlisp, various things I expected to be errors were not trapped very
  2902. hard, e.g. a missing ')' seemed to be continuable when i didn't
  2903. expect/want it to. also "help help" failed by turning into
  2904. (help 'help) internally, not (help help), and in a break look following
  2905. an error (help <anything?>) complained about the help package not being
  2906. loaded even though I had called it from rlisp.
  2907. (h) i suspect that often while in an break loop i want further errors
  2908. ignored rather than letting them push me further into deeper break
  2909. loops. I might be happy to have a break level that eats simple 1-char commands to continue, quit, backtrace with one char
  2910. that pushes me into a brand new read-eval-print loop. for rlisp I
  2911. guess that should be an rlisp r-e-p loop?
  2912. I will try to collect further notes to pass on as I think of things:
  2913. just put these somewhere in your big pile of gripes!
  2914. Was good to see you in Pittsburg. cheers. arthur
  2915. -------
  2916. 22-Aug-82 13:50:13-PDT,524;000000000000
  2917. Mail-From: PAULSON created at 22-Aug-82 13:45:20
  2918. Date: 22 Aug 1982 1345-PDT
  2919. From: PAULSON at HP-HULK
  2920. Subject: SUBSTRING
  2921. To: PSL at HP-HULK
  2922. In INTERLISP, (SUBSTRING STR N M) gives you the Nth through Mth elements of
  2923. the string. Makes sense, right? And in ZLisp, (NSUBSTRING STR N M) gives you
  2924. the (N+1)th through (M+1)th elements. Fine- ZLisp does zero-indexing.
  2925. But in PSL, (SUBSTRING N M) gives you the (N+1)th through Mth elements.
  2926. This does not make sense at all (and it isn't documented either.)
  2927. -------
  2928. 23-Aug-82 16:34:14-PDT,253;000000000011
  2929. Mail-From: LANAM created at 23-Aug-82 16:30:41
  2930. Date: 23 Aug 1982 1630-PDT
  2931. From: LANAM at HP-HULK
  2932. Subject: (HELP) load module not found.
  2933. To: psl at HP-HULK
  2934. If you do '? in a break, the system says (HELP) load module not found.
  2935. douglas
  2936. -------
  2937. 25-Aug-82 13:42:37-PDT,254;000000000000
  2938. Mail-From: FILMAN created at 25-Aug-82 13:40:16
  2939. Date: 25 Aug 1982 1340-PDT
  2940. From: FILMAN at HP-HULK
  2941. Subject: bugs
  2942. To: psl at HP-HULK
  2943. The (bug) function gives an access failure (and dies in emode)
  2944. The function destructp is undefined.
  2945. -------
  2946. 25-Aug-82 14:29:18-PDT,315;000000000000
  2947. Mail-From: FILMAN created at 25-Aug-82 13:50:26
  2948. Date: 25 Aug 1982 1350-PDT
  2949. From: FILMAN at HP-HULK
  2950. Subject: more bug
  2951. To: psl at HP-HULK
  2952. The psl manual "swaps" the page and section numbers on left and right pages,
  2953. but leaves the "PSL Manual" and section names unswapped. This is a bit
  2954. confusing.
  2955. -------
  2956. 25-Aug-82 16:09:32-PDT,618;000000000000
  2957. Date: 25 Aug 1982 1556-PDT
  2958. From: Kendzierski (Nancy)
  2959. Subject: One of Filman's PSL bugs
  2960. To: perdue
  2961. Remailed-date: 25 Aug 1982 1609-PDT
  2962. Remailed-from: Cris Perdue <Perdue>
  2963. Remailed-to: filman
  2964. I'm sending this to you (rather than PSL) because I'm answering
  2965. a bug, not reporting one and I don't know the proper procedure
  2966. for that. Bob Filman complained about the "swapping/unswapping"
  2967. of the PSL manual headers (chapter, section, section #, page #).
  2968. The new manual -- I wasn't sure if you had looked at it -- has
  2969. these correctly set up for right/left pagination. I'm sure
  2970. Bob has an old manual.
  2971. -------
  2972. 26-Aug-82 09:25:24-PDT,383;000000000000
  2973. Mail-From: LANAM created at 26-Aug-82 09:22:25
  2974. Date: 26 Aug 1982 0922-PDT
  2975. From: douglas <LANAM at HP-HULK>
  2976. Subject: errors in manual.
  2977. To: psl at HP-HULK
  2978. Page 14.1:
  2979. Under the function savesystem, is a spelling error.
  2980. lispbannner!* should be lispbanner!*.
  2981. On page 13.2 is the following :
  2982. BREAKOUT!* (initially: NIL) global
  2983. similar to BREAKOUT!*.
  2984. -------
  2985. 26-Aug-82 09:50:43-PDT,488;000000000000
  2986. Mail-From: LANAM created at 26-Aug-82 09:47:51
  2987. Date: 26 Aug 1982 0947-PDT
  2988. From: douglas <LANAM at HP-HULK>
  2989. Subject: why are there global variables which can be bound statically?
  2990. To: psl at HP-HULK
  2991. what is really gained by this?
  2992. I find it unreasonable that I can not do
  2993. (let ((out* (open "junk" 'output))) (princ ....))))
  2994. And if I can't do it this way, I have to use a catch to make sure that
  2995. out* is bound correctly after the body of the let is executed.
  2996. douglas
  2997. -------
  2998. 26-Aug-82 09:54:53-PDT,209;000000000000
  2999. Date: 26 Aug 1982 0857-PDT
  3000. From: douglas <LANAM>
  3001. Subject: you can do a funcall or apply on a code pointer.
  3002. To: perdue
  3003. Remailed-date: 26 Aug 1982 0954-PDT
  3004. Remailed-from: Cris Perdue <Perdue>
  3005. -------
  3006. 26-Aug-82 11:00:24-PDT,545;000000000000
  3007. Mail-From: FILMAN created at 26-Aug-82 10:58:53
  3008. Date: 26 Aug 1982 1058-PDT
  3009. From: FILMAN at HP-HULK
  3010. Subject: yet another bug complaint
  3011. To: psl at HP-HULK
  3012. This is a subtle one, that most lisp's get wrong.
  3013. In PSL, macros eat stack. For example, the sequence
  3014. (setq x 1000)
  3015. (dm awhile (l)(cond ((eval (cadr l)) (eval (caddr l)) l)
  3016. (t nil)))
  3017. (awhile (greaterp x 0) (setq x (sub1 x)))
  3018. gets a stack overflow; it needn't. I believe that stanford 1.6 lisp
  3019. does this right, while uci-lisp does it wrong.
  3020. Bob
  3021. -------
  3022. 26-Aug-82 11:25:30-PDT,812;000000000000
  3023. Mail-From: LANAM created at 26-Aug-82 11:23:54
  3024. Date: 26 Aug 1982 1123-PDT
  3025. From: douglas <LANAM at HP-HULK>
  3026. Subject: bugs in emode.
  3027. To: psl at HP-HULK
  3028. try the following:
  3029. @psl
  3030. 1 lisp> (emode)
  3031. ^\e^L
  3032. (that is type meta-e, cntl-l as the first input to emode).
  3033. --------
  3034. What is the replace string command?
  3035. What is the global replace string command?
  3036. --------
  3037. The manual says escape will work as a meta key. It does not.
  3038. --------
  3039. I got into a 3 window mode where one was a break window.
  3040. I could not figure out how to use it.
  3041. Is there any documentation on it?
  3042. --------
  3043. meta-x is mentioned in the manual. It does not exist.
  3044. --------
  3045. is the list of commands in the manual complete?
  3046. --------
  3047. can ctrl-h work the same as ^b ? It does in emacs.
  3048. douglas
  3049. -------
  3050. 26-Aug-82 11:55:25-PDT,354;000000000000
  3051. Mail-From: FILMAN created at 26-Aug-82 11:54:50
  3052. Date: 26 Aug 1982 1154-PDT
  3053. From: FILMAN at HP-HULK
  3054. Subject: emode and mm
  3055. To: psl at HP-HULK
  3056. If you're in emode, and call mm, the exit from mm leaves emode confused.
  3057. The various controll characters to the screen get printed. Doing an ^x^s
  3058. and a continue psl fixes the problem.
  3059. Bob
  3060. -------
  3061. 26-Aug-82 12:00:25-PDT,232;000000000000
  3062. Mail-From: FILMAN created at 26-Aug-82 11:55:32
  3063. Date: 26 Aug 1982 1155-PDT
  3064. From: FILMAN at HP-HULK
  3065. Subject: last bug
  3066. To: psl at HP-HULK
  3067. Excuse me, that's if you do an ^x^z in emode to get back to the exec.
  3068. Bob
  3069. -------
  3070. 26-Aug-82 12:15:25-PDT,430;000000000000
  3071. Mail-From: FILMAN created at 26-Aug-82 12:12:28
  3072. Date: 26 Aug 1982 1212-PDT
  3073. From: FILMAN at HP-HULK
  3074. Subject: defstruct
  3075. To: psl at HP-HULK
  3076. The defstruct documentation in the psl manual does not correspond to the
  3077. implementation in psl. For example, defstructp doesn't exist. Chris
  3078. assures me that the defstruct in psl is lisp machine defstruct. Perhaps
  3079. the manual could be adjusted for this reality.
  3080. Bob
  3081. -------
  3082. 26-Aug-82 12:15:27-PDT,403;000000000000
  3083. Mail-From: FILMAN created at 26-Aug-82 12:14:36
  3084. Date: 26 Aug 1982 1214-PDT
  3085. From: FILMAN at HP-HULK
  3086. Subject: closures
  3087. To: psl at HP-HULK
  3088. I was pleased to see the documentation on closures on page 10.9 of the psl
  3089. manual. Unfortunately, this stuff is not implemented. Perhaps a better
  3090. warning than "[??? Not yet connected to V3 ???]" could be associated with this
  3091. material.
  3092. Bob
  3093. -------
  3094. 26-Aug-82 15:30:31-PDT,315;000000000000
  3095. Mail-From: FILMAN created at 26-Aug-82 15:27:19
  3096. Date: 26 Aug 1982 1527-PDT
  3097. From: FILMAN at HP-HULK
  3098. Subject: ***** Unexpected EOF while reading {99}
  3099. To: psl at HP-HULK
  3100. I get the above message in a break, and all the ^q's I give it don't pop.
  3101. Is there some sure way back to the top level?
  3102. Bob
  3103. -------
  3104. 26-Aug-82 16:39:38-PDT,470;000000000000
  3105. Date: 26 Aug 1982 1639-PDT
  3106. From: Cris Perdue <Perdue>
  3107. Subject: Re: ***** Unexpected EOF while reading {99}
  3108. To: FILMAN
  3109. In-Reply-To: Your message of 26-Aug-82 1527-PDT
  3110. Say "a" rather than "q" to get out. There is a menu that tends to come
  3111. up these days, even when you don't want it. When you don't want it,
  3112. use ^XO to get out of it. A couple of ^XOs and it will even disappear
  3113. from the screen. We'll get rid of that menu altogether in a day or so.
  3114. -------
  3115. 26-Aug-82 16:45:32-PDT,312;000000000000
  3116. Date: 26 Aug 1982 16:35-PDT (Thursday)
  3117. Full-Name: Steve Hiebert
  3118. Subject: Bug in "apply" function
  3119. To: hp-pcd!psl@HP-Hewey
  3120. Cc: hp-pcd!Steve@HP-Hewey
  3121. When the function "(apply 'plus '(1 2 3))" is entered, psl returns a line
  3122. of the form
  3123. #<Unknown:15602127320>
  3124. rather than the result "6".
  3125. 26-Aug-82 17:49:47-PDT,572;000000000000
  3126. Date: 26 Aug 1982 1749-PDT
  3127. From: Cris Perdue <Perdue>
  3128. Subject: Re: Bug in "apply" function
  3129. To: hp-pcd!steve at HP-HEWEY
  3130. In-Reply-To: Your message of 26-Aug-82 1645-PDT
  3131. PLUS is a MACRO, so you don't get what you expect as an answer.
  3132. In general, applying a macro causes it to perform macro expansion
  3133. but not to evaluate the expanded form. Probably applying a macro
  3134. ought to either be an error. In some LISPs (apply fn arglist)
  3135. is equivalent to (eval (cons fn arglist)) when fn is a macro, but
  3136. these are not equivalent when fn is a normal function.
  3137. -------
  3138. 26-Aug-82 18:40:21-PDT,1160;000000000001
  3139. Date: 26 Aug 1982 17:21-PDT (Thursday)
  3140. Full-Name: Ching-Chao Liu
  3141. Subject: bug report
  3142. To: hp-pcd!psl@HP-Hewey
  3143. We run psl on VAX/750 under UNIX.
  3144. The problems are
  3145. (1) I first defined a function "x". Then I initialized the property
  3146. list of "x" by using "SetProp" which turned my function definition
  3147. into "NIL".
  3148. (2) I went on typing my function definition again. Then I looked at
  3149. my property list. It has my function definition with some other
  3150. goodies in it.
  3151. I'll imagine the function cell and the property cell are two seperate
  3152. entities. So, these side effects are unexpected and undesired.
  3153. Following is a sample of the problems.
  3154. 1 lisp> (de x (y) (car y))
  3155. X
  3156. 2 lisp> (pp x)
  3157. (DE X (Y) (CAR Y))
  3158. T
  3159. 3 lisp> (setprop 'x '((color . red)))
  3160. ((COLOR . RED))
  3161. 4 lisp> (prop 'x)
  3162. ((COLOR . RED))
  3163. 5 lisp> (pp x)
  3164. *** X has ill-formed definition.
  3165. (DE X NIL)
  3166. T
  3167. 6 lisp> (de x (y) (car y))
  3168. Do you really want to redefine the system function `X'?(Y or N)y
  3169. *** Function `X' has been redefined
  3170. X
  3171. 7 lisp> (pp x)
  3172. (DE X (Y) (CAR Y))
  3173. T
  3174. 8 lisp> (prop 'x)
  3175. ((*LAMBDALINK LAMBDA (Y) (CAR Y)) USER (COLOR . RED))
  3176. 26-Aug-82 18:48:35-PDT,546;000000000000
  3177. Date: 26 Aug 1982 1848-PDT
  3178. From: Cris Perdue <Perdue>
  3179. Subject: Function cells and property lists
  3180. To: hp-pcd!tw at HP-HEWEY, hp-pcd!liu at HP-HEWEY
  3181. Thanks for the good observation. It turns out that the
  3182. function cell in PSL always contains a machine instruction,
  3183. so the lambda expression can't be stored there. PSL stores
  3184. the lambda expression on the property list. I don't believe
  3185. this fact is documented.
  3186. TW: I'm sending this to you also in case my guess for Liu's
  3187. username is wrong. Please forward. Thanks. -Cris
  3188. -------
  3189. 27-Aug-82 14:56:00-PDT,350;000000000000
  3190. Mail-From: LANAM created at 27-Aug-82 14:55:33
  3191. Date: 27 Aug 1982 1455-PDT
  3192. From: douglas <LANAM at HP-HULK>
  3193. Subject: file function needed.
  3194. To: psl at HP-HULK
  3195. Is there a function which can tell me when a file was last written to
  3196. the disk? I could use such a function.
  3197. (I know this is machine/operating system dependent).
  3198. douglas
  3199. -------
  3200. 27-Aug-82 15:01:00-PDT,449;000000000000
  3201. Mail-From: AS created at 27-Aug-82 14:58:45
  3202. Date: 27 Aug 1982 1458-PDT
  3203. From: Alan Snyder <AS at HP-HULK>
  3204. Subject: Re: file function needed.
  3205. To: LANAM at HP-HULK
  3206. cc: psl at HP-HULK, AS at HP-HULK
  3207. In-Reply-To: Your message of 27-Aug-82 1455-PDT
  3208. The file <HP-PSL.EMODE>DIRECTORY.SL has functions that almost
  3209. do what you want. Take the part of FILE-DELETED-STATUS that
  3210. does at GTJFN to get a JFN, then pass that to JFN-WRITE-DATE.
  3211. -------
  3212. 27-Aug-82 16:10:59-PDT,231;000000000000
  3213. Mail-From: LANAM created at 27-Aug-82 16:09:05
  3214. Date: 27 Aug 1982 1609-PDT
  3215. From: douglas <LANAM at HP-HULK>
  3216. Subject: strange print bug in psl
  3217. To: psl at HP-HULK
  3218. @psl
  3219. 1 lisp> '(quote a b)
  3220. 'A
  3221. 2 lisp>
  3222. douglas
  3223. -------
  3224. 28-Aug-82 04:01:02-PDT,616;000000000000
  3225. Mail-From: LANAM created at 28-Aug-82 03:56:46
  3226. Date: 28 Aug 1982 0356-PDT
  3227. From: douglas <LANAM at HP-HULK>
  3228. Subject: vector print length limit.
  3229. To: psl at HP-HULK
  3230. There should be a special variable (say *printlength) which is set to
  3231. the maximum number of elements in a vector, list, (half-words vectors),
  3232. which are printed out. The rest could be printed ... .
  3233. This variable could be reset by the user (nil for no limit). But I
  3234. think there should be a limit in the system (say 25-30?), often I
  3235. get a strange error in compiled code which results in the endless
  3236. printing of a vector.
  3237. douglas
  3238. -------
  3239. 28-Aug-82 04:01:04-PDT,359;000000000000
  3240. Mail-From: LANAM created at 28-Aug-82 03:57:53
  3241. Date: 28 Aug 1982 0357-PDT
  3242. From: douglas <LANAM at HP-HULK>
  3243. Subject: interrupt and dumpsave.
  3244. To: psl at HP-HULK
  3245. If you do
  3246. (load interrupt)
  3247. (savesystem "xxx.exe")
  3248. (quit)
  3249. @xxx.exe
  3250. The interrupts will not work in xxx.exe, but the system will think the
  3251. file was already loaded.
  3252. douglas
  3253. -------
  3254. 30-Aug-82 10:36:42-PDT,202;000000000000
  3255. Mail-From: FILMAN created at 30-Aug-82 10:34:10
  3256. Date: 30 Aug 1982 1034-PDT
  3257. From: FILMAN at HP-HULK
  3258. Subject: break window
  3259. To: psl at HP-HULK
  3260. What happened to the break window?
  3261. Bob
  3262. -------
  3263. 30-Aug-82 13:41:35-PDT,273;000000000000
  3264. Mail-From: FILMAN created at 30-Aug-82 13:38:40
  3265. Date: 30 Aug 1982 1338-PDT
  3266. From: FILMAN at HP-HULK
  3267. Subject: emode, breaks and "a"
  3268. To: psl at HP-HULK
  3269. Giving an "a" from emode inside a break seems to confuse the emode
  3270. page printing routines some.
  3271. Bob
  3272. -------
  3273. 30-Aug-82 15:36:37-PDT,511;000000000000
  3274. Mail-From: FILMAN created at 30-Aug-82 15:34:57
  3275. Date: 30 Aug 1982 1534-PDT
  3276. From: FILMAN at HP-HULK
  3277. Subject: break and emode
  3278. To: psl at HP-HULK
  3279. When trying to "q" from a break in emode, the cursor goes to the end of
  3280. the second following line, not the next line. That is, if the screen is:
  3281. (cursor shown by *)
  3282. q*
  3283. first line
  3284. second line
  3285. and you execute a meta-e, you get:
  3286. q
  3287. first line
  3288. second line*
  3289. not what you should get, which is:
  3290. q
  3291. first line*
  3292. second line
  3293. Bob
  3294. -------
  3295. 31-Aug-82 10:47:00-PDT,562;000000000000
  3296. Mail-From: LANAM created at 31-Aug-82 10:46:17
  3297. Date: 31 Aug 1982 1046-PDT
  3298. From: douglas <LANAM at HP-HULK>
  3299. Subject: feature in print.
  3300. To: psl at HP-HULK
  3301. It would be nice if print could know about readmacrochars that
  3302. do as follows ^lisp-expression => (tag lisp-expression).
  3303. An example is quote.
  3304. Note: it should make sure the tagged list is of length 2 before
  3305. doing the special print(at least in the case of quote).
  3306. I found the variable idescapechar* and was able to change the
  3307. character that psl prints as the escape character.
  3308. douglas
  3309. -------
  3310. 31-Aug-82 11:16:55-PDT,826;000000000000
  3311. Mail-From: LANAM created at 31-Aug-82 11:14:18
  3312. Date: 31 Aug 1982 1114-PDT
  3313. From: douglas <LANAM at HP-HULK>
  3314. Subject: delcaration of functions and variables.
  3315. To: psl at HP-HULK
  3316. I think it is better to have a declaration statement to declare
  3317. something as a fexpr or as a nexpr, if you wish to use it before
  3318. defining it in compiled code.
  3319. Currently the manual says to write a dummy version.
  3320. But something like :
  3321. (declare (*fexpr x) (*nexpr x)) would be better.
  3322. It could also be used in compiling files that reference other
  3323. files but that you don't wish to load everything in to compile it.
  3324. Also,
  3325. (fluid x) should not set x to nil.
  3326. and there should be two property list names for function type and
  3327. variable type, not one, you should be able to use a name as a
  3328. global variable and a fexpr.
  3329. douglas
  3330. -------
  3331. 1-Sep-82 11:51:56-PDT,333;000000000000
  3332. Mail-From: LANAM created at 1-Sep-82 11:49:33
  3333. Date: 1 Sep 1982 1149-PDT
  3334. From: douglas <LANAM at HP-HULK>
  3335. Subject: if you do a (br func) and func is a fexpr:
  3336. To: psl at HP-HULK
  3337. The system asks how many arguments does func take.
  3338. What is the correct answer (1)?? If so, why does it ask?
  3339. If not, what should I type?
  3340. -------
  3341. 1-Sep-82 11:56:56-PDT,276;000000000000
  3342. Mail-From: LANAM created at 1-Sep-82 11:52:25
  3343. Date: 1 Sep 1982 1152-PDT
  3344. From: douglas <LANAM at HP-HULK>
  3345. Subject: compiletime
  3346. To: psl at HP-HULK
  3347. do
  3348. @psl
  3349. (compiletime (setq a 1))
  3350. a
  3351. You will get that a has been set to 1. I do not think this is right.
  3352. -------
  3353. 1-Sep-82 11:56:59-PDT,268;000000000000
  3354. Mail-From: LANAM created at 1-Sep-82 11:53:16
  3355. Date: 1 Sep 1982 1153-PDT
  3356. From: douglas <LANAM at HP-HULK>
  3357. Subject: correction on br error message.
  3358. To: psl at HP-HULK
  3359. func was a macro, not a fexpr, but the same question still applies.
  3360. sorry, douglas
  3361. -------
  3362. 1-Sep-82 11:57:01-PDT,305;000000000000
  3363. Mail-From: LANAM created at 1-Sep-82 11:55:03
  3364. Date: 1 Sep 1982 1155-PDT
  3365. From: douglas <LANAM at HP-HULK>
  3366. Subject: further correction on br and macro.
  3367. To: psl at HP-HULK
  3368. the func was a compiled macro. But why should it ask the number of
  3369. arguments on a macro or fexpr, compiled or not?
  3370. -------
  3371. 1-Sep-82 12:02:00-PDT,523;000000000000
  3372. Mail-From: LANAM created at 1-Sep-82 12:01:03
  3373. Date: 1 Sep 1982 1201-PDT
  3374. From: douglas <LANAM at HP-HULK>
  3375. Subject: br does not work with macros.
  3376. To: psl at HP-HULK
  3377. If you have a function x which is a macro. Say
  3378. (dm x (y) (rplaca y 'princ))
  3379. then do (br x) .
  3380. Before the call to br,
  3381. (x 'a) typed into the interpretor will execute the princ and return a.
  3382. After the call to br,
  3383. typeing (x 'a) to the interpretor will cause the expression
  3384. (princ 'a) to be returned but not evaluated.
  3385. douglas
  3386. -------
  3387. 1-Sep-82 12:11:58-PDT,643;000000000000
  3388. Mail-From: FILMAN created at 1-Sep-82 12:08:02
  3389. Date: 1 Sep 1982 1208-PDT
  3390. From: FILMAN at HP-HULK
  3391. Subject: circular structure bugs
  3392. To: psl at HP-HULK
  3393. 1) Printx doesn't handle circular vector structures. Since defstruct
  3394. makes vectors, this is a serious problem
  3395. 2) Consider the following sequence:
  3396. (setq bbb '[a b c d])
  3397. (indx bbb 3) --> d
  3398. (setindx bbb 3 bbb) --> prints the appropriate circular structure
  3399. (indx bbb 3) --> an infinite structure
  3400. (indx (indx bbb 3) 3) --> produces a push down overflow error
  3401. (indx (indx (indx bbb 3) 3) 1) --> also produces a push down overflow error
  3402. What gives?
  3403. Bob
  3404. -------
  3405. 1-Sep-82 12:12:10-PDT,241;000000000000
  3406. Mail-From: FILMAN created at 1-Sep-82 12:11:34
  3407. Date: 1 Sep 1982 1211-PDT
  3408. From: FILMAN at HP-HULK
  3409. Subject: last bug report
  3410. To: psl at HP-HULK
  3411. The last bug i sent (on index mistakes) doesn't seem to be repeatable.
  3412. Bob
  3413. -------
  3414. 1-Sep-82 17:03:50-PDT,268;000000000000
  3415. Mail-From: FILMAN created at 1-Sep-82 17:00:41
  3416. Date: 1 Sep 1982 1700-PDT
  3417. From: FILMAN at HP-HULK
  3418. Subject: trace
  3419. To: psl at HP-HULK
  3420. The function "trace" is defined but doesn't trace; nor is it documented in
  3421. my version of the documentation.
  3422. Bob
  3423. -------
  3424. 1-Sep-82 23:00:30-PDT,1067;000000000000
  3425. Mail-From: LANAM created at 1-Sep-82 22:55:56
  3426. Date: 1 Sep 1982 2255-PDT
  3427. From: douglas <LANAM at HP-HULK>
  3428. Subject: macros in compile mode.
  3429. To: psl at HP-HULK
  3430. HP-PSL 3.0, 27-Aug-82
  3431. 1 lisp> (bothtimes (setq x 2))
  3432. 2
  3433. 2 lisp> x
  3434. 2
  3435. 3 lisp> (dm x (y) `(bothtimes (setq . ,(cdr y)))
  3436. 3 lisp> )
  3437. X
  3438. 4 lisp> (x z 4)
  3439. 4
  3440. 5 lisp> z
  3441. 4
  3442. 6 lisp> (faslout "junk")
  3443. FASLOUT: (DSKIN files) or type in expressions
  3444. When all done execute (FASLEND)
  3445. T
  3446. 7 lisp> (bothtimes (setq a 3))
  3447. 3
  3448. 8 lisp> (x b 4)
  3449. 9 lisp> (faslend)
  3450. *** Init code length is 2
  3451. *** A declared fluid
  3452. *** B declared fluid
  3453. **FASL**INITCODE**NIL
  3454. 10 lisp> a
  3455. 3
  3456. 11 lisp> b
  3457. NIL
  3458. 12 lisp> (quit)
  3459. I do not think this is correct, the call to x on line 8 should be expanded
  3460. by the compiler and then the system should notice that it is a bothtimes
  3461. clause and should be executed at compile time and compiled. Instead it
  3462. appears to be just compiled.
  3463. The x is expanded (it is just not executed at compile time like it
  3464. is suppose to be).
  3465. Can you fix this soon?
  3466. thanks,
  3467. douglas
  3468. -------
  3469. 1-Sep-82 23:00:33-PDT,294;000000000000
  3470. Mail-From: LANAM created at 1-Sep-82 22:58:44
  3471. Date: 1 Sep 1982 2258-PDT
  3472. From: douglas <LANAM at HP-HULK>
  3473. Subject: what is defn* and *defn?
  3474. To: psl at HP-HULK
  3475. and what is dfprint*
  3476. They are on page 19.3. They seem important yet are pretty much undocumented.
  3477. What are they.
  3478. -------
  3479. 1-Sep-82 23:00:36-PDT,247;000000000000
  3480. Mail-From: LANAM created at 1-Sep-82 23:00:12
  3481. Date: 1 Sep 1982 2300-PDT
  3482. From: douglas <LANAM at HP-HULK>
  3483. Subject: faslout change
  3484. To: psl at HP-HULK
  3485. Did someone change faslout? It use to echo input, but now it doesn't
  3486. seem to.
  3487. -------
  3488. 1-Sep-82 23:05:30-PDT,321;000000000000
  3489. Mail-From: LANAM created at 1-Sep-82 23:02:45
  3490. Date: 1 Sep 1982 2302-PDT
  3491. From: douglas <LANAM at HP-HULK>
  3492. Subject: Can you change faslout back to echoing input that is just
  3493. To: psl at HP-HULK
  3494. passed to the fasl file. I can not figure out easily when I finish typing
  3495. an expression to faslout any more.
  3496. -------
  3497. 2-Sep-82 01:59:59-PDT,741;000000000000
  3498. Mail-From: LANAM created at 2-Sep-82 01:58:26
  3499. Date: 2 Sep 1982 0158-PDT
  3500. From: douglas <LANAM at HP-HULK>
  3501. Subject: break package and returning new values.
  3502. To: psl at HP-HULK
  3503. I have read through the break package, and tried a few things, and can
  3504. not find how I can do something that means
  3505. (return value) where value is a lisp-expression to be evaluated and become
  3506. the value of the call to break(or conterror), without calling
  3507. the editor. I would like to be able to return a value or evaluate an
  3508. expression that may not be similar to the expression that caused the
  3509. error and return that value back from the break point (similar to
  3510. what one can do in maclisp/franz/lisp machine lisp).
  3511. How do I do this?
  3512. douglas
  3513. -------
  3514. 2-Sep-82 08:24:59-PDT,374;000000000000
  3515. Mail-From: AS created at 2-Sep-82 08:20:49
  3516. Date: 2 Sep 1982 0820-PDT
  3517. From: Alan Snyder <AS at HP-HULK>
  3518. Subject: Re: break package and returning new values.
  3519. To: LANAM at HP-HULK
  3520. cc: psl at HP-HULK, AS at HP-HULK
  3521. In-Reply-To: Your message of 2-Sep-82 0158-PDT
  3522. Just type the expression at the break handler, then type 'C' for
  3523. "continue using last value".
  3524. -------
  3525. 2-Sep-82 10:45:03-PDT,290;000000000000
  3526. Mail-From: LANAM created at 2-Sep-82 10:43:26
  3527. Date: 2 Sep 1982 1043-PDT
  3528. From: douglas <LANAM at HP-HULK>
  3529. Subject: continuable break.
  3530. To: psl at HP-HULK
  3531. Is there a function that would be (contbreak) ?
  3532. Which is something to (break) as (conterror) is to (error)?
  3533. douglas
  3534. -------
  3535. 2-Sep-82 10:55:00-PDT,490;000000000000
  3536. Mail-From: FILMAN created at 2-Sep-82 10:53:48
  3537. Date: 2 Sep 1982 1053-PDT
  3538. From: FILMAN at HP-HULK
  3539. Subject: atomic rules
  3540. To: psl at HP-HULK
  3541. In PSL, (atom x) == (not (pairp x)). Thus, vectors, code pointers
  3542. strings, etc are all atoms.
  3543. I know that this is documented. However, it is counter-intuitive
  3544. (counter-intuitive == the other lisps I've played with don't do it this
  3545. way). Not having read the fine print, I spent an afternoon discovering this
  3546. fact.
  3547. Bob
  3548. -------
  3549. 2-Sep-82 11:10:01-PDT,273;000000000000
  3550. Mail-From: AS created at 2-Sep-82 11:05:43
  3551. Date: 2 Sep 1982 1105-PDT
  3552. From: Alan Snyder <AS at HP-HULK>
  3553. Subject: PSL bug
  3554. To: PSL at HP-HULK
  3555. cc: AS at HP-HULK
  3556. Char-UpCase and Char-DownCase return NIL instead of their
  3557. argument when no conversion is done.
  3558. -------
  3559. 2-Sep-82 11:50:02-PDT,615;000000000000
  3560. Mail-From: FILMAN created at 2-Sep-82 11:45:35
  3561. Date: 2 Sep 1982 1145-PDT
  3562. From: FILMAN at HP-HULK
  3563. Subject: printing circular structures to depth
  3564. To: gadol at HP-HULK, psl at HP-HULK
  3565. Unfortunately, PSL doesn't have a printlevel function (that prints a structure
  3566. only to a certain depth). Nor does the circular printing function deal with
  3567. circularity in vectors.
  3568. I've written a (not deeply thought-out) depth-limited printing function of my
  3569. own. Since PSL doesn't come with the most complete set of user utilities, how
  3570. about a user-utility function area for such contributions?
  3571. Bob
  3572. -------
  3573. 2-Sep-82 12:15:00-PDT,281;000000000000
  3574. Mail-From: LANAM created at 2-Sep-82 12:13:04
  3575. Date: 2 Sep 1982 1213-PDT
  3576. From: douglas <LANAM at HP-HULK>
  3577. Subject: flag that should be documented.
  3578. To: psl at HP-HULK
  3579. I found a flag *continuableerror which should be documented in the manual.
  3580. (It is very useful).
  3581. -------
  3582. 2-Sep-82 12:59:59-PDT,245;000000000000
  3583. Mail-From: AS created at 2-Sep-82 12:56:54
  3584. Date: 2 Sep 1982 1256-PDT
  3585. From: Alan Snyder <AS at HP-HULK>
  3586. Subject: TAGS
  3587. To: PSL at HP-HULK
  3588. cc: AS at HP-HULK
  3589. I extended <HP-PSL>TAGS.EXE to recognize DS, DEFFLAVOR, and DEFMETHOD.
  3590. -------
  3591. 2-Sep-82 15:20:08-PDT,821;000000000000
  3592. Mail-From: AS created at 2-Sep-82 15:17:00
  3593. Date: 2 Sep 1982 1517-PDT
  3594. From: Alan Snyder <AS at HP-HULK>
  3595. Subject: Feature request
  3596. To: PSL at HP-HULK
  3597. cc: AS at HP-HULK
  3598. I would like to have the GC starting and ending messages printed by specific
  3599. functions that are invoked at the beginning and ending of each garbage
  3600. collection. These functions should take as arguments all information that they
  3601. use to construct an appropriate message. This change would allow me to alter
  3602. the form of announcement without mucking with the GC itself. In particular, I
  3603. don't want to have to make an altered copy of the GC code or access its private
  3604. variables. I realize that the GC-start function would have to be written to
  3605. not allocate any storage. I need this feature to display a GC announcement in
  3606. NMODE.
  3607. -------
  3608. 3-Sep-82 04:54:48-PDT,837;000000000000
  3609. Mail-From: LANAM created at 3-Sep-82 04:52:14
  3610. Date: 3 Sep 1982 0452-PDT
  3611. From: douglas <LANAM at HP-HULK>
  3612. Subject: can you change princ,
  3613. To: psl at HP-HULK
  3614. Can you change the printing of the following by princ, so that the open
  3615. parens are on the beginning of the line, not the end? I think that
  3616. this would be more pleasant to look at.
  3617. Currently:
  3618. (THING (WCHEM-CLASS (WCH) (WCHO (C-O-STRETCH-ALCOHOL) (O-H-DEFORMATION (
  3619. (THING (WCHEM-CLASS (WCH) (WCHO (C-O-STRETCH-ALCOHOL) (O-H-DEFORMATION (
  3620. O-H-STRETCH-FREE-OH-ALCOHOL) (O-H-STRETCH-INTRAMOLECULAR-H-BONDED-ALCOHOL) (
  3621. O-H-STRETCH-POLYMERIC-ALCOHOL) (O-H-STRETCH-DIMERIC-ALCOHOL)) (
  3622. C=O-STRETCH-OVERTONE) (C=O-STRETCH))))
  3623. (Actually I tried to copy this off my terminal and one line got mixed up,
  3624. but it still displays what is currently done.
  3625. douglas
  3626. -------
  3627. 3-Sep-82 09:20:07-PDT,377;000000000000
  3628. Mail-From: BENSON created at 3-Sep-82 09:17:11
  3629. Date: 3 Sep 1982 0917-PDT
  3630. From: Eric Benson <BENSON at HP-HULK>
  3631. Subject: Re: can you change princ,
  3632. To: Lanam at HP-HULK
  3633. cc: psl at HP-HULK
  3634. In-Reply-To: Your message of 3-Sep-82 0452-PDT
  3635. That's what PRETTYPRINT is for. It has been suggested that the top loop
  3636. use PRETTYPRINT instead of PRINT. Any opinions?
  3637. -------
  3638. 3-Sep-82 12:00:08-PDT,253;000000000000
  3639. Mail-From: PERDUE created at 3-Sep-82 11:57:28
  3640. Date: 3 Sep 1982 1157-PDT
  3641. From: Cris Perdue <Perdue at HP-HULK>
  3642. Subject: STEP bug
  3643. To: psl at HP-HULK
  3644. Try (step '(plus 3 4)). Step using ^N. The stepper breaks after
  3645. a couple of steps.
  3646. -------
  3647. 3-Sep-82 13:10:08-PDT,321;000000000001
  3648. Mail-From: FILMAN created at 3-Sep-82 13:06:38
  3649. Date: 3 Sep 1982 1306-PDT
  3650. From: FILMAN at HP-HULK
  3651. Subject: emode and []
  3652. To: psl at HP-HULK
  3653. The s-expression functions in emode don't seem to know about []'s.
  3654. Since these are the default construction of defstruct, this is a serious
  3655. deficiency.
  3656. Bob
  3657. -------
  3658. 9-Sep-82 14:29:54-PDT,289;000000000001
  3659. Mail-From: LANAM created at 9-Sep-82 14:29:09
  3660. Date: 9 Sep 1982 1429-PDT
  3661. From: douglas <LANAM at HP-HULK>
  3662. Subject: change not have same name for fluid and macro.
  3663. To: psl at HP-HULK
  3664. Please fix this soon. It is a very annoying restriction that
  3665. shouldn't exist.
  3666. douglas
  3667. -------
  3668. 9-Sep-82 14:34:55-PDT,687;000000000001
  3669. Mail-From: LANAM created at 9-Sep-82 14:32:52
  3670. Date: 9 Sep 1982 1432-PDT
  3671. From: douglas <LANAM at HP-HULK>
  3672. Subject: Does the following mean the whole phrase was not compiled or
  3673. To: psl at HP-HULK
  3674. just the car was not compiled.
  3675. *** (car (merge-comment (*i-put-datum (frame ($local type)) (get-field-location 'nil ($local key1)) '3 '(insert-frame (fname :frame))) 'finherit: 'continue))
  3676. not compiled.
  3677. If the first, it is very, very wrong since all of these functions are my
  3678. own and do side effects (set property lists).
  3679. If the second, the message should be changed to something like, return
  3680. value of car is not used and thus car is not being compiled.
  3681. douglas
  3682. -------
  3683. 9-Sep-82 14:39:53-PDT,373;000000000001
  3684. Mail-From: BENSON created at 9-Sep-82 14:37:54
  3685. Date: 9 Sep 1982 1437-PDT
  3686. From: Eric Benson <BENSON at HP-HULK>
  3687. Subject: Re: Does the following mean the whole phrase was not compiled or
  3688. To: LANAM at HP-HULK, psl at HP-HULK
  3689. In-Reply-To: Your message of 9-Sep-82 1432-PDT
  3690. It means just the CAR was not compiled. I'll see what I can do about
  3691. the message.
  3692. -------
  3693. 9-Sep-82 15:09:52-PDT,322;000000000001
  3694. Mail-From: LANAM created at 9-Sep-82 15:08:09
  3695. Date: 9 Sep 1982 1508-PDT
  3696. From: douglas <LANAM at HP-HULK>
  3697. Subject: psl on the vax.
  3698. To: psl at HP-HULK
  3699. Could the psl on the vax be reconfigured so that there is 100K words of
  3700. bps free at its startup (currently it is approx 46K words)?
  3701. thanks,
  3702. douglas
  3703. -------
  3704. 10-Sep-82 09:10:13-PDT,472;000000000001
  3705. Mail-From: LANAM created at 10-Sep-82 09:07:36
  3706. Date: 10 Sep 1982 0907-PDT
  3707. From: douglas <LANAM at HP-HULK>
  3708. Subject: warnings by compiler.
  3709. To: psl at HP-HULK
  3710. When the compiler says something is declared fluid, could you include the function that caused this on the same line in the message. Due to the fast number of
  3711. lisp systems, I have a hard time remembering whether yours does it before it
  3712. prints the function name concerning it or after.
  3713. douglas
  3714. -------
  3715. 10-Sep-82 10:25:21-PDT,728;000000000001
  3716. Mail-From: LANAM created at 10-Sep-82 10:22:02
  3717. Date: 10 Sep 1982 1022-PDT
  3718. From: douglas <LANAM at HP-HULK>
  3719. Subject: feature that needs to be documented and fix in documentation.
  3720. To: psl at HP-HULK
  3721. I found if you set the value of breakfunction on the propertylist of
  3722. an atom, and type the atom at the break level, it will execute
  3723. that function. This needs to be documented somewhere. Also the
  3724. help file printed at the level should be able to be updated to
  3725. reflect any changes the user may make. I am not sure I like having
  3726. atoms automatically changed into functions at type in, but I do like
  3727. being able to change the break system to take control characters
  3728. instead of alphabetic characters.
  3729. douglas
  3730. -------
  3731. 10-Sep-82 10:50:12-PDT,341;000000000001
  3732. Mail-From: LANAM created at 10-Sep-82 10:49:18
  3733. Date: 10 Sep 1982 1049-PDT
  3734. From: douglas <LANAM at HP-HULK>
  3735. Subject: configuration of bps and heap on 20
  3736. To: psl at HP-HULK
  3737. Can the configuration of the above in psl be changed by moving approx.
  3738. 20K-30K of heap space from heap to bps in bare-psl and psl?
  3739. thanks,
  3740. douglas
  3741. -------
  3742. 10-Sep-82 16:10:12-PDT,748;000000000001
  3743. Date: 10 Sep 1982 1606-PDT
  3744. From: Alan Snyder <AS at HP-HULK>
  3745. Subject: complaint
  3746. To: PSL at HP-HULK
  3747. cc: AS at HP-HULK
  3748. The manual states that (APPLY x (LIST a b c...)) is compiled in such a way that
  3749. the list (LIST a b c ...) is not actually constructed. This is a very useful
  3750. optimization that I rely upon to make message passing efficient in my OBJECTS
  3751. package. However, I was recently surprised to discover that the optimization
  3752. is not performed if there are six or more elements in the list. I surmise that
  3753. this is somehow related to the number of real (as opposed to virtual) registers
  3754. in the DEC-20 implementation, but don't see any reason why this should prevent
  3755. the optimization from being carried out. What gives?
  3756. -------
  3757. 10-Sep-82 16:25:33-PDT,351;000000000001
  3758. Mail-From: BENSON created at 10-Sep-82 16:20:11
  3759. Date: 10 Sep 1982 1620-PDT
  3760. From: Eric Benson <BENSON at HP-HULK>
  3761. Subject: Re: complaint
  3762. To: AS at HP-HULK, PSL at HP-HULK
  3763. In-Reply-To: Your message of 10-Sep-82 1610-PDT
  3764. It's a nasty interaction between optimized compilation of LIST and
  3765. optimized compilation of APPLY. I can fix it.
  3766. -------
  3767. 11-Sep-82 11:00:18-PDT,242;000000000001
  3768. Mail-From: LANAM created at 11-Sep-82 10:57:56
  3769. Date: 11 Sep 1982 1057-PDT
  3770. From: douglas <LANAM at HP-HULK>
  3771. To: psl at HP-HULK
  3772. how do I convert "23" or |23| into 23 in psl?
  3773. I need to be able to do this.
  3774. thanks,
  3775. douglas
  3776. -------
  3777. 12-Sep-82 10:28:05-PDT,361;000000000000
  3778. Mail-From: LANAM created at 12-Sep-82 10:24:22
  3779. Date: 12 Sep 1982 1024-PDT
  3780. From: douglas <LANAM at HP-HULK>
  3781. Subject: what are the strange numbers after error. ex: {99}.
  3782. To: psl at HP-HULK
  3783. Do they have a meaning? If so, can that be printed instead?
  3784. If it is just an internal meaning or little help to the user, could
  3785. they be removed?
  3786. douglas
  3787. -------
  3788. 13-Sep-82 12:50:42-PDT,194;000000000001
  3789. Date: 13 Sep 1982 1249-PDT
  3790. From: Alan Snyder <AS at HP-HULK>
  3791. Subject: bug in COMMON.SL
  3792. To: PSL at HP-HULK
  3793. Make-String in compiled form creates a string with 1 too many elements.
  3794. -------
  3795. 16-Sep-82 11:42:52-PDT,708;000000000001
  3796. Date: 16 Sep 1982 1141-PDT
  3797. From: Kendzierski at HP-HULK (Nancy)
  3798. Subject: bug in UNION clause of FOR
  3799. To: psl at HP-HULK
  3800. The manual states that "(UNION EXP) is similar to (COLLECT EXP), but
  3801. only adds an element to the list if it is not equal to anything already
  3802. there." However, I get the following results with COLLECT and UNION:
  3803. -----------------------------
  3804. (for (from i 1 4)
  3805. (collect (cond ((= i 1) 1)
  3806. ((= i 2) 1)
  3807. ((= i 3) 3)
  3808. ((= i 4) 3))
  3809. ))
  3810. Returned: (1 1 3 3)
  3811. -----------------------------
  3812. (for (from i 1 4)
  3813. (union (cond ((= i 1) 1)
  3814. ((= i 2) 1)
  3815. ((= i 3) 3)
  3816. ((= i 4) 3))
  3817. ))
  3818. Returned: 3
  3819. -----------------------------
  3820. -------
  3821. 16-Sep-82 11:49:09-PDT,240;000000000000
  3822. Date: 16 Sep 1982 1149-PDT
  3823. From: Cris Perdue <Perdue>
  3824. Subject: Re: bug in UNION clause of FOR
  3825. To: Kendzierski
  3826. In-Reply-To: Your message of 16-Sep-82 1142-PDT
  3827. Actually, UNION is similar to JOIN rather than COLLECT. Thanks.
  3828. -------
  3829. 17-Sep-82 02:47:09-PDT,1466;000000000000
  3830. Mail-From: LANAM created at 17-Sep-82 02:46:17
  3831. Date: 17 Sep 1982 0246-PDT
  3832. From: douglas <LANAM at HP-HULK>
  3833. Subject: proposal for inum/wnum arithmetic.
  3834. To: benson at HP-HULK
  3835. cc: psl at HP-HULK, rosENBERG at HP-HULK, lanam at HP-HULK
  3836. I have thought of a reason for having both i and w commands.
  3837. I think the w should be what both are now (just do the machine
  3838. operation and dont worry about tags).
  3839. But the i commands (iplus, ishift, ilor, etc.) could take their
  3840. arguments make sure they are working on a full word (either
  3841. go down the pointer to the integer object or move the immediate
  3842. number into a full word (or register), play with it there, then
  3843. if the number if to be passed to another procedure or used outside
  3844. the context of the i num arithmetic functions, to be send to
  3845. a function that would convert the word back to psl format.
  3846. If small, convert to immediate format, if big, return the pointer
  3847. to the object. This way I could have access to a full word
  3848. on any machine, and be able to produce efficient open code,
  3849. and not have to worry about the psl tag bits.
  3850. The proposal would be if the system sees
  3851. (ilor (ishift x n) (iland a b)), that x, n, a, and b would be converted
  3852. first, then the operations done, and then the one result would be
  3853. converted back. No type checking would be done (if it is an immediate
  3854. number, the pointer would be followed and its location used, for
  3855. efficiency.).
  3856. How does this idea sound?
  3857. -------
  3858. 17-Sep-82 02:57:07-PDT,1143;000000000000
  3859. Mail-From: LANAM created at 17-Sep-82 02:52:52
  3860. Date: 17 Sep 1982 0252-PDT
  3861. From: douglas <LANAM at HP-HULK>
  3862. Subject: compiler conversions to apply.
  3863. To: benson at HP-HULK, psl at HP-HULK
  3864. cc: ROSENBERG at HP-HULK
  3865. In the interpreter, if you have
  3866. (x y z) and x is a local variable and a function, the function x gets
  3867. evaluated.
  3868. In the compiler, it produces code that causes x to be evaluated first.
  3869. (in the case of
  3870. (de x (list) (list list)) , the compiler goes into an endless
  3871. loop trying to perform this conversion for no apparent reason (it endlessly
  3872. prints error messages.))
  3873. I would like the compiler to not make this optimization, since I think
  3874. this is why apply is provided in the first place. Also it makes it
  3875. hard to test code interpretively and then easily compile it.
  3876. Finally, alot of old frl code that I wish to bring up has this style
  3877. in it (frame is used as an argument and a function name in many
  3878. places, along with rule, and domain).
  3879. If it isn't possible to remove it, is it possible to have a flag that
  3880. when set or unset causes the system not to do such an optimization?
  3881. thanks,
  3882. douglas
  3883. -------
  3884. 17-Sep-82 09:57:05-PDT,749;000000000000
  3885. Mail-From: AS created at 17-Sep-82 09:54:27
  3886. Date: 17 Sep 1982 0954-PDT
  3887. From: Alan Snyder <AS at HP-HULK>
  3888. Subject: Complaint
  3889. To: PSL at HP-HULK
  3890. cc: AS at HP-HULK
  3891. If I forget the ending " on a string in a file, then I get one message
  3892. "string continued over EOL" for every succeeding line in the file
  3893. when the file is read in. There should be only one message given.
  3894. Furthermore, if you believe that multi-line strings are bad (which I
  3895. do), then you should probably generate an Error so that you don't
  3896. read the remainder of the file in "reverse polarity" (in terms of
  3897. what is inside vs. outside of string literals).
  3898. (Manual note: I couldn't find anything in my manual that addresses
  3899. the issue of multi-line string literals.)
  3900. -------
  3901. 17-Sep-82 10:17:05-PDT,301;000000000000
  3902. Mail-From: PERDUE created at 17-Sep-82 10:15:26
  3903. Date: 17 Sep 1982 1015-PDT
  3904. From: Cris Perdue <Perdue at HP-HULK>
  3905. Subject: Re: compiler conversions to apply.
  3906. To: LANAM at HP-HULK
  3907. cc: psl at HP-HULK
  3908. In-Reply-To: Your message of 17-Sep-82 0252-PDT
  3909. We already had a discussion of this.
  3910. -------
  3911. 17-Sep-82 11:17:03-PDT,560;000000000000
  3912. Mail-From: AS created at 17-Sep-82 11:14:26
  3913. Date: 17 Sep 1982 1114-PDT
  3914. From: Alan Snyder <AS at HP-HULK>
  3915. Subject: Compiler Error Message
  3916. To: PSL at HP-HULK
  3917. cc: AS at HP-HULK
  3918. What does the message "($FLUID FOO) not compiled" mean? It sounds
  3919. like the compiler has broken or something, although the program
  3920. seems to work. Furthermore, why shouldn't it be compiled?
  3921. Did the compiler run out of registers or something?
  3922. Suggested fix: either fix the compiler to compile it, or change
  3923. the error message to be more informative to naive users.
  3924. -------
  3925. 17-Sep-82 11:42:00-PDT,1150;000000000000
  3926. Mail-From: AS created at 17-Sep-82 11:40:31
  3927. Date: 17 Sep 1982 1140-PDT
  3928. From: Alan Snyder <AS at HP-HULK>
  3929. Subject: PSL cleanup
  3930. To: PSL at HP-HULK
  3931. cc: AS at HP-HULK, Griss at HP-HULK
  3932. As part of the current effort to "clean up" PSL, I would like to
  3933. suggest that an effort be made to reduce or eliminate the use
  3934. of fluid variables as "optional" or "implied" arguments, by defining
  3935. new functions with explicit arguments. For example, instead of
  3936. having SpecialReadFunction*, SpecialWriteFunction*, and SpecialCloseFunction*,
  3937. there should be an additional function OpenSpecial that takes four
  3938. arguments, the filename, and the three functions. Another example
  3939. is DumpFileName*: currently there is no way to save a PSL that does
  3940. not have DumpFileName* bound to the name of the file it was dumped
  3941. to. In the case of "system" programs, the default dump file should
  3942. probably be "PSL.EXE" (i.e., something that would write in the
  3943. user's directory). There should be a variant of DumpLisp that
  3944. takes the filename as an argument (and does NOT bind DumpFileName*).
  3945. These are the two examples that come to mind, there may be others.
  3946. -------
  3947. 17-Sep-82 15:27:23-PDT,488;000000000000
  3948. Mail-From: BENSON created at 17-Sep-82 15:25:21
  3949. Date: 17 Sep 1982 1525-PDT
  3950. From: Eric Benson <BENSON at HP-HULK>
  3951. Subject: Re: bug in UNION clause of FOR
  3952. To: Kendzierski at HP-HULK, psl at HP-HULK
  3953. In-Reply-To: Your message of 16-Sep-82 1142-PDT
  3954. The bug here is in the manual, not in FOR. It should refer to the
  3955. ADJOIN clause, not the UNION clause. UNION expects each expression to
  3956. be a list, then they are combined using UNION. Actually, UNION is
  3957. analogous to JOIN.
  3958. -------
  3959. 18-Sep-82 15:54:54-PDT,218;000000000000
  3960. Mail-From: LANAM created at 18-Sep-82 15:54:10
  3961. Date: 18 Sep 1982 1554-PDT
  3962. From: douglas <LANAM at HP-HULK>
  3963. Subject: what does #<Code:0> mean?
  3964. To: psl at HP-HULK
  3965. Why is this the return value of faslin?
  3966. -------
  3967. 20-Sep-82 08:59:15-PDT,233;000000000000
  3968. Mail-From: GRISS created at 20-Sep-82 08:56:08
  3969. Date: 20 Sep 1982 0856-PDT
  3970. From: GRISS at HP-HULK
  3971. Subject: Re: PSL cleanup
  3972. To: AS at HP-HULK, PSL at HP-HULK
  3973. In-Reply-To: Your message of 17-Sep-82 1140-PDT
  3974. I agree.
  3975. -------
  3976. 20-Sep-82 09:09:15-PDT,509;000000000000
  3977. Mail-From: BENSON created at 20-Sep-82 09:06:06
  3978. Date: 17 Sep 1982 1717-PDT
  3979. From: PAULSON
  3980. Subject: Bug reports
  3981. To: BENSON
  3982. Remailed-date: 20 Sep 1982 0906-PDT
  3983. Remailed-from: Eric Benson <BENSON at HP-HULK>
  3984. Remailed-to: psl at HP-HULK
  3985. Two problems:
  3986. (1) Read macros are apparently not attached to read tables. Therefore
  3987. a read macro for one read table may interfere with other read tables,
  3988. including the system read table.
  3989. (2) the function BUG bombs on directory access privileges.
  3990. -------
  3991. 20-Sep-82 10:44:18-PDT,869;000000000000
  3992. Mail-From: AS created at 20-Sep-82 10:43:11
  3993. Date: 20 Sep 1982 1043-PDT
  3994. From: Alan Snyder <AS at HP-HULK>
  3995. Subject: Complaint
  3996. To: PSL at HP-HULK
  3997. cc: AS at HP-HULK
  3998. I have found when writing functions designed to "replace" MAIN, that it
  3999. is necessary for those functions to initialize the variables
  4000. CurrentReadMacroIndicator* and CurrentScanTable*, otherwise after a
  4001. SaveSystem when the program comes up, the scan table will be in a
  4002. very strange state. I believe that this initialization should be
  4003. performed by a "pre-main" procedure and that user-written "main"
  4004. procedures should be spared these details, which tend to be system-dependent.
  4005. Your source code for Main claims "Redefine this function to call whatever
  4006. top loop is desired." I agree, except that "this function" should be
  4007. one that does nothing except invoke the "standard" top loop.
  4008. -------
  4009. 20-Sep-82 11:09:20-PDT,359;000000000000
  4010. Mail-From: AS created at 20-Sep-82 11:07:38
  4011. Date: 20 Sep 1982 1107-PDT
  4012. From: Alan Snyder <AS at HP-HULK>
  4013. Subject: Complaint
  4014. To: PSL at HP-HULK
  4015. cc: AS at HP-HULK
  4016. When compiling a file, extra right parens should produce
  4017. a warning message, as (in my case) they often are the result
  4018. of a paren mismatch in the middle of a function definition.
  4019. -------
  4020. 20-Sep-82 15:52:33-PDT,307;000000000000
  4021. Mail-From: LANAM created at 20-Sep-82 15:50:44
  4022. Date: 20 Sep 1982 1550-PDT
  4023. From: douglas <LANAM at HP-HULK>
  4024. Subject: bug in scanner
  4025. To: psl at HP-HULK
  4026. 1.2xa is read as two tokens 1.2 and xa.
  4027. 1.2ea gives a error message that the exponent is missing.
  4028. same with 1.2x-a and 1.2e-a
  4029. douglas
  4030. -------
  4031. 20-Sep-82 15:52:44-PDT,272;000000000000
  4032. Mail-From: LANAM created at 20-Sep-82 15:51:29
  4033. Date: 20 Sep 1982 1551-PDT
  4034. From: douglas <LANAM at HP-HULK>
  4035. Subject: continued bug in psl scanner.
  4036. To: psl at HP-HULK
  4037. 1xa is two atoms 1 and xa.
  4038. 1ea says that the exponent in the float is missing.
  4039. douglas
  4040. -------
  4041. 21-Sep-82 09:46:42-PDT,275;000000000000
  4042. Mail-From: LANAM created at 21-Sep-82 09:45:48
  4043. Date: 21 Sep 1982 0945-PDT
  4044. From: douglas <LANAM at HP-HULK>
  4045. Subject: does the compiler have to complain about too many )'s?
  4046. To: psl at HP-HULK
  4047. Currently it complains and breaks. It would be nicer if it didn't.
  4048. -------
  4049. 21-Sep-82 10:26:32-PDT,540;000000000000
  4050. Mail-From: AS created at 21-Sep-82 10:24:22
  4051. Date: 21 Sep 1982 1024-PDT
  4052. From: Alan Snyder <AS at HP-HULK>
  4053. Subject: Re: does the compiler have to complain about too many )'s?
  4054. To: LANAM at HP-HULK
  4055. cc: psl at HP-HULK
  4056. In-Reply-To: Your message of 21-Sep-82 0945-PDT
  4057. I think its important that the compiler complain about extra )'s.
  4058. I have been screwed a number of times because I had mismatched
  4059. parens in the middle of a function but no one told me. It's not
  4060. necessary that it break, however. Is that what you object to?
  4061. -------
  4062. 21-Sep-82 10:36:37-PDT,508;000000000000
  4063. Mail-From: LANAM created at 21-Sep-82 10:31:52
  4064. Date: 21 Sep 1982 1031-PDT
  4065. From: douglas <LANAM at HP-HULK>
  4066. Subject: Re: does the compiler have to complain about too many )'s?
  4067. To: AS at HP-HULK
  4068. cc: psl at HP-HULK
  4069. In-Reply-To: Your message of 21-Sep-82 1024-PDT
  4070. I am getting screwed now, that my files dont compile because
  4071. of two many extra parenthesis (they load fine).
  4072. The message I can ignore, but I object greatly to the breaking,
  4073. (especially when I compile files in batch commands).
  4074. -------
  4075. 22-Sep-82 15:38:39-PDT,256;000000000000
  4076. Mail-From: LANAM created at 22-Sep-82 15:34:38
  4077. Date: 22 Sep 1982 1534-PDT
  4078. From: douglas <LANAM at HP-HULK>
  4079. Subject: bug in do
  4080. To: psl at HP-HULK
  4081. do still returns t when there are no clauses after the test.
  4082. the manual says it returns nil.
  4083. -------
  4084. 22-Sep-82 15:44:02-PDT,306;000000000000
  4085. Mail-From: BENSON created at 22-Sep-82 15:39:55
  4086. Date: 22 Sep 1982 1539-PDT
  4087. From: Eric Benson <BENSON at HP-HULK>
  4088. Subject: Re: bug in do
  4089. To: LANAM at HP-HULK
  4090. cc: psl at HP-HULK
  4091. In-Reply-To: Your message of 22-Sep-82 1534-PDT
  4092. I fixed the source but haven't rebuilt yet. I'll do that now.
  4093. -------
  4094. 22-Sep-82 15:58:26-PDT,297;000000000000
  4095. Mail-From: BENSON created at 22-Sep-82 15:56:23
  4096. Date: 22 Sep 1982 1556-PDT
  4097. From: Eric Benson <BENSON at HP-HULK>
  4098. Subject: Re: bug in do
  4099. To: LANAM at HP-HULK
  4100. cc: psl at HP-HULK
  4101. In-Reply-To: Your message of 22-Sep-82 1539-PDT
  4102. USEFUL has been rebuilt and presumably DO is correct.
  4103. -------
  4104. 23-Sep-82 15:30:17-PDT,439;000000000000
  4105. Mail-From: LANAM created at 23-Sep-82 15:26:13
  4106. Date: 23 Sep 1982 1526-PDT
  4107. From: douglas <LANAM at HP-HULK>
  4108. Subject: bug in backtrace.
  4109. To: psl at HP-HULK
  4110. I found if you have
  4111. (x (y (z a))) and you get an error evaluating (z a), you might find x and
  4112. y on the backtrace stack even though you haven't executed it yet.
  4113. Worse, if you trace y, y will never say it is entered but will be on
  4114. the backtrace stack.
  4115. douglas
  4116. -------
  4117. 24-Sep-82 03:54:43-PDT,394;000000000000
  4118. Mail-From: LANAM created at 24-Sep-82 03:52:46
  4119. Date: 24 Sep 1982 0352-PDT
  4120. From: douglas <LANAM at HP-HULK>
  4121. Subject: other thing different about bare-psl.
  4122. To: psl at HP-HULK
  4123. It no longer tells the operating system that the process should be
  4124. kept when you exit and run another process. When you do that,
  4125. the fork disappears. Previously the fork use to stay around.
  4126. douglas
  4127. -------
  4128. 27-Sep-82 12:00:02-PDT,249;000000000000
  4129. Date: 27 Sep 1982 03:54:51-PDT
  4130. From: douglas at HP-Hewey
  4131. To: psl@hulk
  4132. Subject: bugs in vax version of psl
  4133. % ~psl/bin/psl
  4134. PSL 3.0, 22-Sep-82
  4135. 1 lisp> (load nstruct)
  4136. ***** Segmentation violation {99}
  4137. Break loop
  4138. 2 lisp break>> q
  4139. douglas
  4140. 27-Sep-82 12:00:03-PDT,207;000000000000
  4141. Date: 27 Sep 1982 03:57:05-PDT
  4142. From: douglas at HP-Hewey
  4143. To: psl@hulk
  4144. Subject: vax version and prettyprint
  4145. The module prettyprint does not exist on the vax
  4146. (only the older module pretty).
  4147. douglas
  4148. 27-Sep-82 12:00:04-PDT,339;000000000000
  4149. Date: 27 Sep 1982 04:26:52-PDT
  4150. From: douglas at HP-Hewey
  4151. To: psl@hulk
  4152. Subject: faslin on vax psl.
  4153. If you say
  4154. (faslout "filename")
  4155. define some functions here.
  4156. (faslend)
  4157. and do (faslin "filename.b") in either this psl or a new copy,
  4158. you will get a segmentation violation in the new version in
  4159. ~psl/new-dist/bare-psl
  4160. douglas
  4161. 27-Sep-82 12:00:05-PDT,458;000000000000
  4162. Mail-From: FILMAN created at 24-Sep-82 14:20:40
  4163. Date: 24 Sep 1982 1420-PDT
  4164. From: FILMAN at HP-HULK
  4165. Subject: page and section numbers
  4166. To: psl at HP-HULK
  4167. I find confusing the fact that (in the PSL manual) page and section numbers
  4168. are annotated the same way. When the index refers to 8.5, I don't know
  4169. whether to rush off to section 8.5 (wrong) or page 8.5 . How about 8.5 for
  4170. sections and 8-5 for pages, or something like that?
  4171. Bob
  4172. -------
  4173. 27-Sep-82 12:00:06-PDT,308;000000000000
  4174. Mail-From: AS created at 27-Sep-82 09:02:49
  4175. Date: 27 Sep 1982 0902-PDT
  4176. From: Alan Snyder <AS at HP-HULK>
  4177. Subject: Bug or documentation error
  4178. To: PSL at HP-HULK
  4179. cc: AS at HP-HULK
  4180. The manual says that ChannelRead will catch $READ$ and return
  4181. $EOF$. This is false; only Read does the catch.
  4182. -------
  4183. 27-Sep-82 12:00:08-PDT,422;000000000000
  4184. Mail-From: LANAM created at 27-Sep-82 04:33:32
  4185. Date: 27 Sep 1982 0433-PDT
  4186. From: douglas <LANAM at HP-HULK>
  4187. Subject: speed of psl
  4188. To: ROSENBERG at HP-HULK
  4189. cc: psl at HP-HULK
  4190. I am finding psl on the vax to be much slower than psl on the 20.
  4191. Is this true? Is there any reason for this?
  4192. (Things are noticiable a factor of 4 slower with equivalent
  4193. load averages - but I did not do any timings).
  4194. douglas
  4195. -------
  4196. 27-Sep-82 12:00:09-PDT,361;000000000001
  4197. Mail-From: PERDUE created at 27-Sep-82 11:27:15
  4198. Date: 27 Sep 1982 1127-PDT
  4199. From: Cris Perdue <Perdue at HP-HULK>
  4200. Subject: EOF handling
  4201. To: psl at HP-HULK
  4202. There appears to be no documentation in the reference manual
  4203. concerning end of file handling, except for the case of READ.
  4204. It appears to be undocumented for ChannelReadChar in particular.
  4205. -------
  4206. 27-Sep-82 13:04:59-PDT,302;000000000001
  4207. Mail-From: AS created at 27-Sep-82 13:01:31
  4208. Date: 27 Sep 1982 1301-PDT
  4209. From: Alan Snyder <AS at HP-HULK>
  4210. Subject: Complaint
  4211. To: PSL at HP-HULK
  4212. cc: AS at HP-HULK
  4213. The error "Undefined function FOO called from compiled code" should
  4214. (i.e., ought to be, for the user's sake) continuable.
  4215. -------
  4216. 28-Sep-82 09:13:55-PDT,420;000000000001
  4217. Mail-From: BENSON created at 28-Sep-82 09:09:49
  4218. Date: 28 Sep 1982 0909-PDT
  4219. From: Eric Benson <BENSON at HP-HULK>
  4220. Subject: Re: Complaint
  4221. To: psl at HP-HULK
  4222. In-Reply-To: Your message of 27-Sep-82 1301-PDT
  4223. Yes, that would be one benefit of loading a register with the number of
  4224. arguments being passed to a function. The problem now is not knowing
  4225. how many arguments to put in the list to be evaluated.
  4226. -------
  4227. 28-Sep-82 11:05:36-PDT,432;000000000001
  4228. Mail-From: PERDUE created at 28-Sep-82 11:01:15
  4229. Date: 28 Sep 1982 1101-PDT
  4230. From: Cris Perdue <Perdue at HP-HULK>
  4231. Subject: Documentation update for CopyStringToFrom
  4232. To: psl at HP-HULK
  4233. Copy all characters from OLD into NEW. This operation is destructive.
  4234. If the lengths of OLD and NEW differ, only the lesser number of
  4235. characters is copied. If NEW is longer than OLD, the part not
  4236. copied into is left unchanged.
  4237. -------
  4238. 28-Sep-82 11:20:36-PDT,441;000000000001
  4239. Mail-From: AS created at 28-Sep-82 11:19:30
  4240. Date: 28 Sep 1982 1119-PDT
  4241. From: Alan Snyder <AS at HP-HULK>
  4242. Subject: RETURN complaint
  4243. To: PSL at HP-HULK
  4244. cc: AS at HP-HULK
  4245. The PSL compiler now produces an error message if it
  4246. encounters a RETURN with no arguments. This is fine.
  4247. However, it still generates an invocation of "NIL".
  4248. It should be possible to avoid generating garbage code
  4249. when there are errors in the source.
  4250. -------
  4251. 28-Sep-82 13:55:41-PDT,572;000000000001
  4252. Mail-From: PERDUE created at 28-Sep-82 13:50:35
  4253. Date: 28 Sep 1982 1350-PDT
  4254. From: Cris Perdue <Perdue at HP-HULK>
  4255. Subject: CompileTime and DskIn
  4256. To: psl at HP-HULK
  4257. (CompileTime (dskin "blah.sl")) has the effect of treating the
  4258. contents of blah.sl as though they were textually embedded in
  4259. the file with the CompileTime form. (CompileTime (load blah))
  4260. on the other hand causes the definitions in blah.b to be made
  4261. available at compile time. Even if there is a text file blah.lap
  4262. rather than binary blah.b, "load" seems to only load the
  4263. definitions.
  4264. -------
  4265. 28-Sep-82 14:00:38-PDT,519;000000000001
  4266. Mail-From: PERDUE created at 28-Sep-82 13:59:41
  4267. Date: 28 Sep 1982 1359-PDT
  4268. From: Cris Perdue <Perdue at HP-HULK>
  4269. Subject: CompileTime, Load, DskIn
  4270. To: psl at HP-HULK
  4271. Hmm. It seems if I put (CompileTime (load foo)) into a source
  4272. file and compile the source file, and if foo.lap (another source
  4273. file) exists rather than foo.b, then the contents of foo.lap
  4274. are effectively included in the source file I am trying to compile.
  4275. This is a difference in behavior between compiled and non-compiled
  4276. files.
  4277. -------
  4278. 28-Sep-82 17:00:39-PDT,171;000000000001
  4279. Mail-From: YDUJ created at 28-Sep-82 16:59:53
  4280. Date: 28 Sep 1982 1659-PDT
  4281. From: yduJ at HP-HULK (Judy Anderson)
  4282. Subject: testing 1 2 3
  4283. To: psl at HP-HULK
  4284. -------
  4285. 28-Sep-82 17:50:14-PDT,3097;000000000001
  4286. Date: 28 Sep 1982 1750-PDT
  4287. From: Alan Snyder <AS>
  4288. Subject: new PSL!!!!
  4289. To: PSL-News: ;, PSL-Users: ;
  4290. cc: AS
  4291. Important Change to PSL!
  4292. We have installed a new version of PSL on HULK. It contains a number of
  4293. significant changes which are described here. In addition, you must change
  4294. your LOGIN.CMD file to TAKE PSL:LOGICAL-NAMES.CMD instead of
  4295. <PSL>LOGICAL-NAMES.CMD. The <PSL> directory will disappear soon, so make this
  4296. change right away!
  4297. [These changes, except for NMODE, will appear on THOR and HEWEY shortly. There
  4298. are no immediate plans to move NMODE to the Vax.]
  4299. Summary of changes:
  4300. * If you run "PSL", you will now get a PSL that contains the NMODE editor,
  4301. which is a replacement for EMODE. PSL will start up in the editor, instead of
  4302. the PSL listen loop. You can easily get back to the PSL listen loop from NMODE
  4303. by typing C-] L. NMODE is a decent subset of EMACS, so if you are familiar
  4304. with EMACS you should be able to use NMODE without too much difficulty. If you
  4305. are familiar with EMODE, you should read the file PSL:NMODE-GUIDE.TXT, which
  4306. explains the differences between NMODE and EMODE. A printed copy of this memo,
  4307. including the NMODE command chart, is available in the documentation area next
  4308. to Helen Asakawa's office.
  4309. * The "PSL" program (what you get when you say "PSL" to EXEC) no longer
  4310. contains the PSL compiler. Instead, there is a separate program for compiling
  4311. (Lisp) files. To compile a file "FOO.SL", give the command "PSLCOMP FOO" to
  4312. EXEC. PSLCOMP will produce a binary file "FOO.B" that can then be LOADed or
  4313. FASLINed. To run the compiler interactively, just say "PSLCOMP" to EXEC.
  4314. * The PSL directories that contain the source and binaries for all PSL modules
  4315. have been moved to a private structure called SS: (the directories are now
  4316. SS:<PSL*>). The old PSL directories (PS:<PSL*>) will disappear soon. In
  4317. addition, the new directories have been reorganized somewhat to better reflect
  4318. the structure of the implementation. The file PSL:-THIS-.DIRECTORY contains a
  4319. brief description of the new structure. If you have used logical names to
  4320. refer to PSL directories, then this change should not cause too many problems.
  4321. * A number of small bug fixes and improvements have been made. The most
  4322. notable improvements are (1) a more readable backtrace, (2) a better
  4323. prettyprinter, and (3) the definition of a "complete" set of I/O functions
  4324. taking an explicit channel argument (these functions all have names like
  4325. ChannelTerpri, where Terpri is an example of an I/O function that uses the
  4326. default I/O channels). The file PSL:BUG-FIX.LOG contains an exhaustive listing
  4327. of the recent changes.
  4328. The documentation has been updated to reflect these changes. The following new
  4329. or revised documents are available in the documentation area next to Helen
  4330. Asakawa's office:
  4331. Notes on PSL at HP
  4332. DEC-20 PSL New Users' Guide
  4333. NMODE for EMODE Users
  4334. How to customize NMODE
  4335. We have made "documentation packets" containing copies of these documents.
  4336. Users are encouraged to pick up a copy!
  4337. -------
  4338. 28-Sep-82 20:42:48-PDT,488;000000000001
  4339. Mail-From: LANAM created at 28-Sep-82 20:39:17
  4340. Date: 28 Sep 1982 2039-PDT
  4341. From: douglas <LANAM at HP-HULK>
  4342. Subject: new psl
  4343. To: as at HP-HULK, psl at HP-HULK
  4344. I strongly object to psl starting out in the editor. Now if you had an init
  4345. file, you would give people a choice. Starting in the editor makes it
  4346. harder to run shell scripts with do or submit with psl.
  4347. Why wasn't any USERS asked if they would like or want this change?
  4348. When was this discussed?
  4349. douglas
  4350. -------
  4351. 28-Sep-82 20:57:45-PDT,504;000000000001
  4352. Mail-From: LANAM created at 28-Sep-82 20:53:45
  4353. Date: 28 Sep 1982 2053-PDT
  4354. From: douglas <LANAM at HP-HULK>
  4355. Subject: new psl and reset.
  4356. To: as at HP-HULK, psl at HP-HULK
  4357. do (reset) and now you get into the editor.
  4358. I object strongly to this. This is not lisp.
  4359. Why not have a program nmode and a program psl?
  4360. Or at least have an init file that allows me to
  4361. start up in lisp if I like.
  4362. douglas
  4363. ps: how do I change the prompt in psl??
  4364. If i set promptstring*, the system resets it.
  4365. -------
  4366. 28-Sep-82 21:02:45-PDT,704;000000000001
  4367. Mail-From: LANAM created at 28-Sep-82 20:59:41
  4368. Date: 28 Sep 1982 2059-PDT
  4369. From: douglas <LANAM at HP-HULK>
  4370. Subject: close all parenthsis to a particular level.
  4371. To: psl at HP-HULK
  4372. How about adding the ability of ] to close all parenthesis (as in franz,
  4373. maclisp, ucilisp). It would be nice if it could stop at [ (as in franz,
  4374. maclisp, ucilisp). But I realize you use [] for reading arrayes, thus
  4375. maybe you could use {} for this type of bracketing. It would be nice
  4376. to type } to close an expression instead of )))))) (and have to count
  4377. them also, or wait for the editor to match them flipping the screen
  4378. at 1200 baud (That process is a pain to go through in the editor).
  4379. douglas
  4380. -------
  4381. 29-Sep-82 09:26:46-PDT,257;000000000001
  4382. Mail-From: PERDUE created at 29-Sep-82 09:23:08
  4383. Date: 29 Sep 1982 0923-PDT
  4384. From: Cris Perdue <Perdue at HP-HULK>
  4385. Subject: Testing
  4386. To: psl at HP-HULK
  4387. Is this better? I changed the distribution list to mention
  4388. ss:<psl>bug-mail.txt by name.
  4389. -------
  4390. 29-Sep-82 09:56:46-PDT,254;000000000001
  4391. Mail-From: AS created at 29-Sep-82 09:53:14
  4392. Date: 29 Sep 1982 0953-PDT
  4393. From: Alan Snyder <AS at HP-HULK>
  4394. Subject: testing
  4395. To: PSL at HP-HULK
  4396. cc: AS at HP-HULK
  4397. Perhaps this will work. I changed the file protection
  4398. on PSL:BUG-MAIL.TXT.
  4399. -------
  4400. 29-Sep-82 10:01:44-PDT,197;000000000001
  4401. Mail-From: AS created at 29-Sep-82 09:58:22
  4402. Date: 29 Sep 1982 0958-PDT
  4403. From: Alan Snyder <AS at HP-HULK>
  4404. Subject: testing
  4405. To: PSL at HP-HULK
  4406. cc: AS at HP-HULK
  4407. another test, sorry
  4408. -------
  4409. 29-Sep-82 10:01:48-PDT,456;000000000001
  4410. Mail-From: LANAM created at 29-Sep-82 10:01:01
  4411. Date: 29 Sep 1982 1001-PDT
  4412. From: douglas <LANAM at HP-HULK>
  4413. Subject: bug in nmode
  4414. To: as at HP-HULK, psl at HP-HULK
  4415. If you type
  4416. (expression)
  4417. cntrl-] E.
  4418. where the cntrl-] E is on the start of a new line,
  4419. you get
  4420. Exiting NMODE Lisp
  4421. End of File read!,
  4422. shouldn't it execute the last expression? Why should typing a carriage
  4423. return before the cntrl-] E make a difference?
  4424. douglas
  4425. -------
  4426. 29-Sep-82 10:11:45-PDT,175;000000000001
  4427. Date: 29 Sep 1982 1010-PDT
  4428. From: Alan Snyder <AS at HP-HULK>
  4429. Subject: more testing
  4430. To: PSL at HP-HULK
  4431. cc: AS at HP-HULK
  4432. sorry, folks, but it still don't work
  4433. -------
  4434. 29-Sep-82 10:41:43-PDT,197;000000000001
  4435. Mail-From: ELDREDGE created at 29-Sep-82 10:41:35
  4436. Date: 29 Sep 1982 1041-PDT
  4437. From: Tim Eldredge <ELDREDGE at HP-HULK>
  4438. Subject: test
  4439. To: psl at HP-HULK
  4440. please igonore this message.
  4441. -------
  4442. 29-Sep-82 10:56:43-PDT,350;000000000001
  4443. Mail-From: LANAM created at 29-Sep-82 10:55:54
  4444. Date: 29 Sep 1982 1055-PDT
  4445. From: douglas <LANAM at HP-HULK>
  4446. Subject: <psl>bug-mail.txt at HP-HULK
  4447. To: psl at HP-HULK
  4448. Could someone please correct the mail forwarding of psl that
  4449. goes to this file so that one does not get mail back saying
  4450. the file does not exist? thanks,
  4451. douglas
  4452. -------
  4453. 29-Sep-82 11:36:44-PDT,284;000000000001
  4454. Mail-From: LANAM created at 29-Sep-82 11:34:48
  4455. Date: 29 Sep 1982 1134-PDT
  4456. From: douglas <LANAM at HP-HULK>
  4457. Subject: upon exit of psl (or interrupt with ^c).
  4458. To: psl at HP-HULK
  4459. Can the terminal keys be restored upon exit of psl-nmode
  4460. (or interrupt with ^c)?
  4461. dougla
  4462. -------
  4463. 29-Sep-82 11:51:45-PDT,321;000000000001
  4464. Mail-From: LANAM created at 29-Sep-82 11:47:14
  4465. Date: 29 Sep 1982 1147-PDT
  4466. From: douglas <LANAM at HP-HULK>
  4467. Subject: add to things psl should do when ^c is typed.
  4468. To: psl at HP-HULK
  4469. Add to things psl should do when ^c is typed:
  4470. restore cntl-s. (This should be possible since emacs does this).
  4471. douglas
  4472. -------
  4473. 29-Sep-82 14:21:10-PDT,90;000000000001
  4474. Date: 29 Sep 1982 1421-PDT
  4475. From: Cris Perdue <Perdue>
  4476. Subject: testing
  4477. foo
  4478. -------
  4479. 30-Sep-82 09:01:44-PDT,149;000000000001
  4480. Date: 30 Sep 1982 0901-PDT
  4481. From: Tim Eldredge <ELDREDGE at HP-THOR>
  4482. Subject: testing
  4483. To: psl at HP-HULK
  4484. This message came from THOR.
  4485. -------
  4486. 30-Sep-82 09:15:05-PDT,113;000000000001
  4487. Date: 30 Sep 1982 09:11:14-PDT
  4488. From: twe at HP-Hewey
  4489. To: psl@hulk
  4490. Subject: testing
  4491. This came from the vax
  4492. 30-Sep-82 09:15:11-PDT,196;000000000001
  4493. Mail-From: ELDREDGE created at 30-Sep-82 09:15:00
  4494. Date: 30 Sep 1982 0915-PDT
  4495. From: Tim Eldredge <ELDREDGE at HP-HULK>
  4496. Subject: testing
  4497. To: psl at HP-HULK
  4498. This is yet another test
  4499. -------
  4500. 30-Sep-82 09:44:14-PDT,179;000000000000
  4501. Date: 30 Sep 1982 0940-PDT
  4502. From: Alan Snyder <AS at HP-HULK>
  4503. Subject: test
  4504. To: PSL at HP-HULK
  4505. cc: AS at HP-HULK
  4506. Tim now says it will work "for sure".
  4507. Let's see!
  4508. -------
  4509. 30-Sep-82 11:14:01-PDT,639;000000000000
  4510. Mail-From: AS created at 30-Sep-82 11:09:01
  4511. Date: 30 Sep 1982 1109-PDT
  4512. From: Alan Snyder <AS at HP-HULK>
  4513. Subject: Request
  4514. To: PSL at HP-HULK
  4515. cc: AS at HP-HULK
  4516. I would like to reiterate a request made previously, I believe, by
  4517. Doug to get rid of the "FOO already loaded" messages. If you
  4518. feel strongly that some sort of warning is needed when people
  4519. type (LOAD FOO) by hand, then I would suggest having LOAD return
  4520. a string that would be printed by the Read-Eval-Print loop.
  4521. I don't think there is any need to print these messages when
  4522. the LOAD is contained in a file (either source or object) that
  4523. is being read.
  4524. -------
  4525. 30-Sep-82 19:33:45-PDT,423;000000000000
  4526. Date: 30 Sep 1982 19:15:53-PDT
  4527. From: douglas at HP-Hewey
  4528. To: benson@hulk, psl@hulk
  4529. Subject: problems with faslin and psl on the vax.
  4530. I still have the problem with any file I create with (faslout) - (faslend).
  4531. I can not load the object file in without getting in to a Break loop
  4532. because of some segmentation violation or bus error.
  4533. There are no calls to load or faslin in my files any more (on the vax).
  4534. douglas
  4535. 1-Oct-82 11:24:42-PDT,333;000000000000
  4536. Mail-From: AS created at 1-Oct-82 11:23:53
  4537. Date: 1 Oct 1982 1123-PDT
  4538. From: Alan Snyder <AS at HP-HULK>
  4539. Subject: Printing
  4540. To: PSL at HP-HULK
  4541. cc: AS at HP-HULK
  4542. The atom - prints as !- in Lisp mode.
  4543. The atom + prints as !+ in Lisp mode.
  4544. I believe this is a mistake.
  4545. The printer should not insert unnecessary !'s.
  4546. -------
  4547. 2-Oct-82 12:47:59-PDT,613;000000000000
  4548. Mail-From: LANAM created at 2-Oct-82 12:46:12
  4549. Date: 2 Oct 1982 1246-PDT
  4550. From: douglas <LANAM at HP-HULK>
  4551. Subject: please do not have psl come up in the editor.
  4552. To: psl at HP-HULK
  4553. This is not a desired start up position.
  4554. 1) Reading logs of background jobs is very difficult, if you can get
  4555. them to work at all.
  4556. 2) Nmode does not work on a lot of terminals. (including the ever
  4557. popular chipmunk.
  4558. 3) The first thing I want to do in a lisp is dskin or fasl in my
  4559. files, not edit a command to do this.
  4560. 4) It is even difficult to run do's with this type of mode.
  4561. (shell scripts).
  4562. douglas
  4563. -------
  4564. 2-Oct-82 12:52:58-PDT,491;000000000000
  4565. Mail-From: LANAM created at 2-Oct-82 12:48:03
  4566. Date: 2 Oct 1982 1248-PDT
  4567. From: douglas <LANAM at HP-HULK>
  4568. Subject: princ does too much.
  4569. To: psl at HP-HULK
  4570. Princ should not check the position of the line to determine
  4571. whether or not the atom will fit. There should be a higher
  4572. level function with that property. I thought princ should
  4573. just print the atom. (or is there a lower level princ with
  4574. out that check and possibly added carriage return not printed).
  4575. douglas
  4576. -------
  4577. 2-Oct-82 14:17:45-PDT,646;000000000000
  4578. Mail-From: LANAM created at 2-Oct-82 14:15:18
  4579. Date: 2 Oct 1982 1415-PDT
  4580. From: douglas <LANAM at HP-HULK>
  4581. Subject: suggestion about printing of error messages in compiler.
  4582. To: psl at HP-HULK
  4583. Could the error messages that are longer than one line, be indented about 1 tab
  4584. stop (5-8 spaces on the 2nd and succeeding lines so that they stand out and
  4585. are easier to distinguish and read). An example would be
  4586. *** Car in (car (foo 'foo1 (foo2 (foo3 'ffo4 (foo4 'xjks) 'sdjkl) (append (foo2 'x) (apply 'foo3 '4))))), not used, therefore not compiled.
  4587. Due to macros, a number of these come up in my program.
  4588. thanks,
  4589. douglas
  4590. -------
  4591. 5-Oct-82 15:11:47-PDT,314;000000000000
  4592. Mail-From: PERDUE created at 5-Oct-82 15:11:06
  4593. Date: 5 Oct 1982 1511-PDT
  4594. From: Cris Perdue <Perdue at HP-HULK>
  4595. Subject: Documentation for REPEAT
  4596. To: psl at HP-HULK
  4597. Documentation for REPEAT is still incorrect in the latest
  4598. PSL reference manual. The syntax is:
  4599. Repeat ([S:form], E:form): nil
  4600. -------
  4601. 5-Oct-82 16:31:29-PDT,659;000000000000
  4602. Date: 5 Oct 1982 1628-PDT
  4603. From: Alan Snyder <AS at HP-HULK>
  4604. Subject: PSL compiler bug
  4605. To: PSL at HP-HULK
  4606. The PSL compiler still has a bug related to fast vector access:
  4607. (de foo (v)
  4608. (cons
  4609. (+ (igetv v 0) (igetv v 1))
  4610. (+ (igetv v 2) (igetv v 3))
  4611. ))
  4612. FOO
  4613. (setf v [1 2 3 4])
  4614. [1 2 3 4]
  4615. (foo v)
  4616. (3 . 7)
  4617. (compile '(foo))
  4618. *** (FOO): base 460253, length 6 words
  4619. NIL
  4620. (foo v)
  4621. (0 . 7)
  4622. (*ENTRY FOO EXPR 1)
  4623. (*ALLOC 0)
  4624. (*MOVE (MEMORY (REG 1) (WCONST 4)) (REG 2))
  4625. (*WPLUS2 (REG 2) (MEMORY (REG 1) (WCONST 3)))
  4626. (*MOVE (MEMORY (REG 1) (WCONST 1)) (REG 1))
  4627. (*WPLUS2 (REG 1) (MEMORY (REG 1) (WCONST 2)))
  4628. (*LINKE 0 CONS EXPR 2)
  4629. -------
  4630. 5-Oct-82 17:51:56-PDT,279;000000000000
  4631. Mail-From: FILMAN created at 5-Oct-82 17:47:25
  4632. Date: 5 Oct 1982 1747-PDT
  4633. From: FILMAN at HP-HULK
  4634. Subject: apply and list
  4635. To: psl at HP-HULK
  4636. Apply doesn't seem to work with list. I.e.:
  4637. (apply 'list '(3 4 5)) ==> nil
  4638. Is this a feature or a bug?
  4639. Bob
  4640. -------
  4641. 6-Oct-82 09:19:11-PDT,303;000000000000
  4642. Mail-From: BENSON created at 6-Oct-82 09:16:25
  4643. Date: 6 Oct 1982 0916-PDT
  4644. From: Eric Benson <BENSON at HP-HULK>
  4645. Subject: Re: apply and list
  4646. To: FILMAN at HP-HULK
  4647. cc: psl at HP-HULK
  4648. In-Reply-To: Your message of 5-Oct-82 1747-PDT
  4649. Only EXPRs can be APPLYed correctly. LIST is a FEXPR.
  4650. -------
  4651. 6-Oct-82 10:04:09-PDT,521;000000000000
  4652. Mail-From: FILMAN created at 6-Oct-82 10:00:11
  4653. Date: 6 Oct 1982 1000-PDT
  4654. From: FILMAN at HP-HULK
  4655. Subject: Re: apply and list
  4656. To: BENSON at HP-HULK
  4657. cc: psl at HP-HULK
  4658. In-Reply-To: Your message of 6-Oct-82 0916-PDT
  4659. If only EXPRs can be correctly applied, then you need to fix the
  4660. documentation, where it says:
  4661. "We permit macros and fexprs to be applied;"
  4662. though the rest of the sentence presents a confusing disclaimer.
  4663. In any case, why can FEXPRs and MACROS be correctly applied?
  4664. Bob
  4665. -------
  4666. 6-Oct-82 10:48:51-PDT,1181;000000000001
  4667. Mail-From: BENSON created at 6-Oct-82 10:44:23
  4668. Date: 6 Oct 1982 1044-PDT
  4669. From: Eric Benson <BENSON at HP-HULK>
  4670. Subject: Re: apply and list
  4671. To: FILMAN at HP-HULK
  4672. cc: psl at HP-HULK
  4673. In-Reply-To: Your message of 6-Oct-82 1000-PDT
  4674. They can be applied, but the result of Apply(FexprOrMacro, X) is the same as
  4675. Apply(cdr getd FexprOrMacro, X). That means that the code is treated as though
  4676. it were an EXPR. FEXPRs take a single argument, which is a list of unevaluated
  4677. parameters. In the case of EXPRs, Apply(X, Y) is the same as
  4678. Eval(cons(X, for each U in Y collect list('QUOTE, U))). This is not the
  4679. case for FEXPRs or macros. In the case of macros, Apply can be used to
  4680. perform macro expansion, i.e.
  4681. (apply 'let '((let ((x y)) z))) returns ((lambda (x) z) y). In the case
  4682. of FEXPRs, the list given to APPLY should have one element, which is the
  4683. formal parameter to the function, e.g. if x=1, y=2 and z=3, then
  4684. (apply 'list '((x y z))) returns (1 2 3). This type of thing is only
  4685. dome in unusual situations, e.g. in Eval. It is generally not recommended
  4686. that macros and fexprs be given to APPLY. The function which does what
  4687. you want is EVAL.
  4688. -------
  4689. 7-Oct-82 15:18:50-PDT,707;000000000001
  4690. Mail-From: AS created at 7-Oct-82 15:17:52
  4691. Date: 7 Oct 1982 1517-PDT
  4692. From: Alan Snyder <AS at HP-HULK>
  4693. Subject: Bug
  4694. To: PSL at HP-HULK
  4695. cc: AS at HP-HULK
  4696. PSL is apparently using a reserved location in an improper way.
  4697. The location ".JBSYM" (whatever that is) is supposed to point
  4698. to a symbol table, but it apparently does not contain a proper
  4699. value, since if you ask EXEC to print out locations in symbolic
  4700. mode, the EXEC will blow up trying to do a symbol table lookup.
  4701. Please fix this bug. (I have noticed NDDT get screwed up doing
  4702. symbol table lookup also; perhaps this is the cause of that
  4703. problem as well.) (This analysis is based on information provided
  4704. by Tim Eldredge.)
  4705. -------
  4706. 9-Oct-82 12:16:55-PDT,798;000000000001
  4707. Mail-From: LANAM created at 9-Oct-82 12:14:25
  4708. Date: 9 Oct 1982 1214-PDT
  4709. From: douglas <LANAM at HP-HULK>
  4710. Subject: terminal interrupt (^B) error
  4711. To: benson at HP-HULK, psl at HP-HULK
  4712. Similar to the one on the vax, on the 20 it also tries to reexecute previously
  4713. typed in expressions.
  4714. 8 lisp> (show 'thing)
  4715. (thing (ako ($if-added (add-instance)) ($if-removed (remove-instance)))
  4716. (instance ($value (request) (domain) (rule))
  4717. ($if-added (add-ako))
  4718. ($if-removed (remove-ako)))
  4719. (self ($value (%(fname :frame)))))
  4720. nil
  4721. Time: 120 ms
  4722. 9 lisp> *** Break in cleario at 43316
  4723. Break loop
  4724. ***** `show' is an unbound ID
  4725. ***** Continuation requires a value for `show'
  4726. Break loop
  4727. thing
  4728. Time: 1 ms
  4729. 12 lisp break>>> ^C
  4730. douglas
  4731. -------
  4732. 15-Oct-82 11:35:28-PDT,282;000000000001
  4733. Date: 15 Oct 1982 1131-PDT
  4734. From: PERDUE at HP-HULK
  4735. Subject: Make-String
  4736. To: PSL at HP-HULK
  4737. The reference manual claims that the first argument to make-string
  4738. is the upper limit for indices into the string, but in fact it
  4739. is the number of characters in the string.
  4740. -------
  4741. 18-Oct-82 12:32:59-PDT,1010;000000000001
  4742. Mail-From: AS created at 18-Oct-82 12:29:47
  4743. Date: 18 Oct 1982 1229-PDT
  4744. From: Alan Snyder <AS at HP-HULK>
  4745. Subject: compiler bug
  4746. To: PSL at HP-HULK
  4747. The compiler incorectly compiles the first clause of the COND in the function
  4748. below. It compiles to return M2, rather than M1.
  4749. (de foo (i1 i2)
  4750. (let ((m1 (> i1 3))
  4751. (m2 (> i2 4))
  4752. )
  4753. (cond ((not (eq m1 m2))
  4754. m1)
  4755. (t
  4756. (+ i1 i2))
  4757. )))
  4758. (*ENTRY FOO EXPR 2)
  4759. (*ALLOC 3)
  4760. (*MOVE (REG 1) (FRAME 1))
  4761. (*MOVE (REG 2) (FRAME 2))
  4762. (*MOVE (QUOTE 4) (REG 2))
  4763. (*MOVE (FRAME 2) (REG 1))
  4764. (*LINK GREATERP EXPR 2)
  4765. (*MOVE (REG 1) (FRAME 3)) -- REG 1 contains M2
  4766. (*MOVE (QUOTE 3) (REG 2))
  4767. (*MOVE (FRAME 1) (REG 1))
  4768. (*LINK GREATERP EXPR 2)
  4769. (*MOVE (REG 1) (REG 2)) -- REG 1 contains M1
  4770. (*MOVE (FRAME 3) (REG 1))
  4771. (*JUMPNOTEQ (LABEL G0001) (REG 2) (REG 1))
  4772. (CAME (REG 2) (REG 1))
  4773. (JRST (LABEL G0001))
  4774. (*MOVE (FRAME 2) (REG 2))
  4775. (*MOVE (FRAME 1) (REG 1))
  4776. (*LINKE 3 PLUS2 EXPR 2)
  4777. (*LBL (LABEL G0001))
  4778. (*EXIT 3)
  4779. -------
  4780. 22-Oct-82 09:42:02-PDT,455;000000000001
  4781. Mail-From: LANAM created at 22-Oct-82 09:38:48
  4782. Date: 22 Oct 1982 0938-PDT
  4783. From: douglas <LANAM at HP-HULK>
  4784. Subject: function timings.
  4785. To: psl at HP-HULK
  4786. Is it possible to make a version of psl that gives me a profile
  4787. of all the lisp functions called and how much cpu time was spent
  4788. in each. (I would assume since this involves some overhead, it
  4789. should not be put in the standard psl). It would be preferable
  4790. to have this on the vax.
  4791. -------
  4792. 27-Oct-82 17:16:40-PDT,335;000000000001
  4793. Mail-From: LANAM created at 27-Oct-82 17:16:07
  4794. Date: 27 Oct 1982 1716-PDT
  4795. From: douglas <LANAM at HP-HULK>
  4796. Subject: bug in psl - (tr get)
  4797. To: psl at HP-HULK
  4798. Do (tr get) in psl, and you get an endless message:
  4799. ***** Undefined function 'GET' called from compiled code
  4800. over and over and over and over ...
  4801. douglas
  4802. -------
  4803. 30-Oct-82 18:51:17-PDT,1012;000000000001
  4804. Mail-From: LANAM created at 30-Oct-82 18:49:42
  4805. Date: 30 Oct 1982 1849-PDT
  4806. From: douglas <LANAM at HP-HULK>
  4807. Subject: difference in apply betwen compiled and interpreted code.
  4808. To: psl at HP-HULK
  4809. Dealing with apply to nexprs.:
  4810. 18 lisp> (dn nexpr (a) (princ a) (terpri))
  4811. NEXPR
  4812. 19 lisp> (de calling-function (arg) (apply (function nexpr) (list arg))
  4813. 19 lisp> )
  4814. CALLING-FUNCTION
  4815. 20 lisp> (calling-function 'a)
  4816. A
  4817. NIL
  4818. 21 lisp> (calling-function '(a b))
  4819. (A B)
  4820. NIL
  4821. 22 lisp> (compile '(calling-function))
  4822. *** Function `CALLING-FUNCTION' has been redefined
  4823. *** (CALLING-FUNCTION): base 257007, length 3 words
  4824. NIL
  4825. 23 lisp> (calling-function '(a b))
  4826. ((A B))
  4827. NIL
  4828. 24 lisp> (calling-function 'a)
  4829. (A)
  4830. NIL
  4831. 25 lisp> ^C
  4832. --------
  4833. Note: This bug does not exist on the vax. On the vax, this function
  4834. runs the same interpretively and compiled. (The interpretive
  4835. version on the 20 is the same definition as that on the vax). This
  4836. use to work on the 20 until about 3 weeks ago.
  4837. douglas
  4838. -------
  4839. 1-Nov-82 15:01:41-PST,352;000000000001
  4840. Mail-From: PERDUE created at 1-Nov-82 14:56:40
  4841. Date: 1 Nov 1982 1456-PST
  4842. From: Cris Perdue <Perdue at HP-HULK>
  4843. Subject: APPEND
  4844. To: psl at HP-HULK
  4845. In PSL the function APPEND now takes exactly 2 arguments.
  4846. Could it be extended to take an arbitrary number. Probably
  4847. 0 and 1 should also be legitimate numbers of arguments.
  4848. What say?
  4849. -------
  4850. 2-Nov-82 09:05:28-PST,247;000000000001
  4851. Mail-From: BENSON created at 2-Nov-82 09:03:58
  4852. Date: 2 Nov 1982 0903-PST
  4853. From: Eric Benson <BENSON at HP-HULK>
  4854. Subject: Re: APPEND
  4855. To: Perdue at HP-HULK, psl at HP-HULK
  4856. In-Reply-To: Your message of 1-Nov-82 1456-PST
  4857. Someday...
  4858. -------
  4859. 10-Nov-82 13:42:47-PST,217;000000000001
  4860. Date: 10 Nov 1982 1340-PST
  4861. From: AS at HP-HULK
  4862. Subject: documentation deficiency
  4863. To: PSL at HP-HULK
  4864. cc: AS at HP-HULK
  4865. The manual says that InternP takes an ID argument.
  4866. It also will accept a string.
  4867. -------
  4868. 10-Nov-82 16:27:48-PST,2142;000000000001
  4869. Mail-From: LANAM created at 10-Nov-82 16:22:56
  4870. Date: 10 Nov 1982 1622-PST
  4871. From: douglas <LANAM at HP-HULK>
  4872. Subject: new package to time functions.
  4873. To: psl at HP-HULK
  4874. Package name: time-fnc
  4875. To load it, do : (load time-fnc)
  4876. Source: pu:time-fnc.sl
  4877. Object: pul:time-fnc.b
  4878. Purpose: Will record the total time spent from beginning to end in a function
  4879. and the number of calls to the function. (Works on all functions,
  4880. compiled and interpreted).
  4881. Side-effect: Over all execution time is slowed down when this information
  4882. is recorded. Thus functions that are called by a function being
  4883. timed, should not be timed at the same time that the calling
  4884. function is being timed.
  4885. Description of the package and how to use it:
  4886. Time-fnc.sl : code to time function calls.
  4887. Usage:
  4888. do
  4889. (timef function-name-1 function-name-2 ...)
  4890. Timef is a fexpr.
  4891. It will redefine the functions named so that timing information is
  4892. kept on these functions.
  4893. This information is kept on the property list of the function name.
  4894. The properties used are `time' and `number-of-calls'.
  4895. (get function-name 'time) gives you the total time in the function.
  4896. (not counting gc time).
  4897. Note, this is the time from entrance to exit.
  4898. The timef function redefines the function with an
  4899. unwind-protect, so calls that are interrupted
  4900. by *throws are counted.
  4901. (get function-name 'number-of-calls) gives you the number of times
  4902. the function is called.
  4903. To stop timing do :
  4904. (untimef function-name1 ..)
  4905. or do (untimef) for all functions.
  4906. (untimef) is a fexpr.
  4907. To print timing information do
  4908. (print-time-info function-name-1 function-name-2 ..)
  4909. or do (print-time-info) for timing information on all function names.
  4910. special variables used:
  4911. *timed-functions* : list of all functions currently being timed.
  4912. *all-timed-functions* : list of all functions ever timed in the
  4913. current session.
  4914. Comment: if tr is called on a called on a function that is already
  4915. being timed, and then untimef is called on the function, the
  4916. function will no longer be traced.
  4917. -------
  4918. douglas
  4919. -------
  4920. 10-Nov-82 17:02:48-PST,389;000000000001
  4921. Mail-From: LANAM created at 10-Nov-82 17:02:00
  4922. Date: 10 Nov 1982 1702-PST
  4923. From: douglas <LANAM at HP-HULK>
  4924. Subject: new package: time-fnc
  4925. To: psl at HP-HULK
  4926. The package now subtracts out time spent in timing functions.
  4927. Thus one timed function that calls another timed function will get
  4928. the correct time (the same as if the called function had not been timed).
  4929. douglas
  4930. -------
  4931. 12-Nov-82 18:23:36-PST,478;000000000001
  4932. Mail-From: LANAM created at 12-Nov-82 18:22:33
  4933. Date: 12 Nov 1982 1822-PST
  4934. From: douglas <LANAM at HP-HULK>
  4935. Subject: new prettyprinter
  4936. To: benson at HP-HULK
  4937. cc: psl at HP-HULK
  4938. I have modified pp for frl to handle vectors, and readmacros better.
  4939. The new version is in psl syntax and runs in psl, so I have put it
  4940. in pul:.
  4941. The names of the files are newpp.sl, and newpp.b .
  4942. Note: It may still need a little work with lambda, and prog expressions.
  4943. douglas
  4944. -------
  4945. 12-Nov-82 19:28:23-PST,466;000000000001
  4946. Date: 12 Nov 1982 19:23:11-PST
  4947. From: douglas at HP-Hewey
  4948. To: psl@hulk
  4949. Subject: printing without carriage returns.
  4950. If you do
  4951. (let ()
  4952. (princ 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
  4953. (princ 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb))
  4954. The system automatically puts a carriage return between because the
  4955. second atom (bbb..), is longer than the space on the line left.
  4956. I need to be able to turn this off? How do I do that?
  4957. douglas
  4958. 12-Nov-82 19:28:31-PST,223;000000000001
  4959. Date: 12 Nov 1982 19:26:06-PST
  4960. From: douglas at HP-Hewey
  4961. To: psl@hulk
  4962. Subject: linelength
  4963. Is there a way to turn off automatic line feeds without making the
  4964. function (linelength) return some large number?
  4965. douglas
  4966. 14-Nov-82 09:34:39-PST,279;000000000001
  4967. Mail-From: GRISS created at 14-Nov-82 09:33:51
  4968. Date: 14 Nov 1982 0933-PST
  4969. From: GRISS at HP-HULK
  4970. Subject: .B
  4971. To: psl at HP-HULK
  4972. Pehaps we should cleanup the .B needed/omitted in the FASLOUT and FASLIN
  4973. pair. I guess I would make the .B explicit in the FASLOUT ?
  4974. -------
  4975. 15-Nov-82 09:27:28-PST,256;000000000001
  4976. Mail-From: BENSON created at 15-Nov-82 09:26:24
  4977. Date: 15 Nov 1982 0926-PST
  4978. From: Eric Benson <BENSON at HP-HULK>
  4979. Subject: Re: .B
  4980. To: GRISS at HP-HULK, psl at HP-HULK
  4981. In-Reply-To: Your message of 14-Nov-82 0933-PST
  4982. Yes, an excellent idea.
  4983. -------
  4984. 15-Nov-82 10:47:24-PST,311;000000000001
  4985. Mail-From: PERDUE created at 15-Nov-82 10:44:09
  4986. Date: 15 Nov 1982 1044-PST
  4987. From: Cris Perdue <Perdue at HP-HULK>
  4988. Subject: LispVars in SysLisp code
  4989. To: psl at HP-HULK
  4990. In the section of the manual on SYSLISP there is really no discussion
  4991. of the use of "LispVar". It only appears in an example.
  4992. -------
  4993. 15-Nov-82 10:52:25-PST,255;000000000001
  4994. Mail-From: PERDUE created at 15-Nov-82 10:51:48
  4995. Date: 15 Nov 1982 1051-PST
  4996. From: Cris Perdue <Perdue at HP-HULK>
  4997. Subject: SysLisp FOR loop
  4998. To: psl at HP-HULK
  4999. There is no discussion in my manual of what can be done in a
  5000. SysLisp FOR loop.
  5001. -------
  5002. 15-Nov-82 12:12:31-PST,282;000000000001
  5003. Mail-From: PERDUE created at 15-Nov-82 12:09:38
  5004. Date: 15 Nov 1982 1209-PST
  5005. From: Cris Perdue <Perdue at HP-HULK>
  5006. Subject: RLISP (SysLisp?) parser
  5007. To: psl at HP-HULK
  5008. I had an excess "end;" in a source file and the parser (compiler?)
  5009. didn't complain about it. Boo!
  5010. -------
  5011. 15-Nov-82 23:48:56-PST,389;000000000001
  5012. Date: 15 Nov 1982 23:44:12-PST
  5013. From: douglas at HP-Hewey
  5014. To: psl@hulk
  5015. Subject: behaviour in printing with prinlevel.
  5016. It appears that the print function used by tr knows about circular lists.
  5017. It uses %L1: , etc. But if you have prinlength or prinlevel set, there
  5018. are times that the definition of %L1: is not shown, only references to it
  5019. all over the place are printed.
  5020. douglas
  5021. 16-Nov-82 16:42:20-PST,372;000000000001
  5022. Mail-From: PERDUE created at 16-Nov-82 16:41:53
  5023. Date: 16 Nov 1982 1641-PST
  5024. From: Cris Perdue <Perdue at HP-HULK>
  5025. Subject: INDX
  5026. To: psl at HP-HULK
  5027. Caution: The "indx" function doesn't do the same thing in SysLISP
  5028. that it does in regular lisp. In SysLISP it just does the
  5029. "obvious" address arithmetic without accounting for the header
  5030. word of a vector.
  5031. -------
  5032. 17-Nov-82 17:44:15-PST,379;000000000001
  5033. Mail-From: PERDUE created at 17-Nov-82 17:40:43
  5034. Date: 17 Nov 1982 1740-PST
  5035. From: Cris Perdue <Perdue at HP-HULK>
  5036. Subject: WCONSTs for tags, etc.
  5037. To: psl at HP-HULK
  5038. Is there a proper way to make sure that various system WCONSTs are
  5039. defined with the correct values? I am thinking particularly of the
  5040. constants representing the values of the tags for LISP data.
  5041. -------
  5042. 18-Nov-82 09:58:58-PST,387;000000000001
  5043. Date: 18 Nov 1982 0957-PST
  5044. From: AS at HP-HULK
  5045. Subject: documentation deficiency
  5046. To: PSL at HP-HULK
  5047. cc: AS at HP-HULK
  5048. My manual does not describe the following Printf formats (which are
  5049. documented in the code):
  5050. %b - print the specified number of blanks
  5051. %f - start a fresh line if not at the beginning of the line
  5052. %t - print blanks until the specified column
  5053. -------
  5054. 18-Nov-82 20:29:52-PST,158;000000000001
  5055. Date: 18 Nov 1982 20:25:01-PST
  5056. From: douglas at HP-Hewey
  5057. To: psl@hulk
  5058. Subject: question
  5059. how do I find out how much id space is left?
  5060. thanks,
  5061. Doug
  5062. 19-Nov-82 11:38:32-PST,789;000000000001
  5063. Mail-From: LANAM created at 19-Nov-82 11:38:01
  5064. Date: 19 Nov 1982 1138-PST
  5065. From: douglas <LANAM at HP-HULK>
  5066. Subject: Re: Length of ID free list
  5067. To: Perdue at HP-HULK
  5068. cc: psl at HP-HULK
  5069. In-Reply-To: Your message of 19-Nov-82 1131-PST
  5070. I was told they need to write a function. I am not sure how urgent it is,
  5071. as I then to run out at times, but I can recover the space anyways. It would
  5072. tell me wether I should not bother to continue working in the current copy
  5073. of psl (for certain long task that generate many id's, and this would be
  5074. useful.)
  5075. More useful things and much more needed are (on the vax);
  5076. Make interrupt (^c) a continuable break.
  5077. Make interrupt not reexecute that last thing that was typed into the input
  5078. buffer (and already evaled!).
  5079. douglas
  5080. -------
  5081. 19-Nov-82 12:03:31-PST,490;000000000001
  5082. Mail-From: PERDUE created at 19-Nov-82 12:00:28
  5083. Date: 19 Nov 1982 1200-PST
  5084. From: Cris Perdue <Perdue at HP-HULK>
  5085. Subject: Fast vector and string operations
  5086. To: psl at HP-HULK
  5087. The vector and string operations beginning with "i" (igetv, iputv, etc.)
  5088. are more or less documented in the reference manual (igets and iputs
  5089. were penciled into the original mine was made from). These are
  5090. only available through a library, though, and that fact is not
  5091. mentioned in the manual.
  5092. -------
  5093. 20-Nov-82 07:28:39-PST,259;000000000001
  5094. Mail-From: GRISS created at 20-Nov-82 07:26:13
  5095. Date: 20 Nov 1982 0726-PST
  5096. From: GRISS at HP-HULK
  5097. Subject: (concat s v)
  5098. To: psl at HP-HULK
  5099. Error message when trying to concat a string and a vector only refers to one
  5100. of the offeding elements.
  5101. -------
  5102. 22-Nov-82 11:03:16-PST,304;000000000001
  5103. Mail-From: PERDUE created at 22-Nov-82 10:58:08
  5104. Date: 22 Nov 1982 1058-PST
  5105. From: Cris Perdue <Perdue at HP-HULK>
  5106. Subject: The HCONS package
  5107. To: psl at HP-HULK
  5108. The HCONS package is documented but only the package itself is
  5109. referred to in the index, not any of the functions it provides.
  5110. -------
  5111. 22-Nov-82 14:09:43-PST,189;000000000001
  5112. Date: 22 Nov 1982 1405-PST
  5113. From: Cris Perdue <Perdue at HP-HULK>
  5114. Subject: IF-SYSTEM
  5115. To: psl at HP-HULK
  5116. IF_SYSTEM is documented as being a CMACRO, but it is really
  5117. a macro.
  5118. -------
  5119. 23-Nov-82 10:07:53-PST,460;000000000001
  5120. Mail-From: SOREFF created at 23-Nov-82 10:07:12
  5121. Date: 23 Nov 1982 1007-PST
  5122. From: SOREFF at HP-HULK
  5123. Subject: possible bug
  5124. To: psl at HP-HULK
  5125. cc: soreff at HP-HULK
  5126. In the course of debugging a piece of software, I noticed that when
  5127. (list2string '(a b . c)) is executed, no error is flagged and [a b]
  5128. is returned. Is this an intentional feature? It would seem reasonable
  5129. to treat the argument as being of the wrong type. -Jeff (Soreff@Hulk)
  5130. -------
  5131. 23-Nov-82 10:22:50-PST,348;000000000001
  5132. Mail-From: BENSON created at 23-Nov-82 10:21:51
  5133. Date: 23 Nov 1982 1021-PST
  5134. From: Eric Benson <BENSON at HP-HULK>
  5135. Subject: Re: possible bug
  5136. To: SOREFF at HP-HULK, psl at HP-HULK
  5137. In-Reply-To: Your message of 23-Nov-82 1007-PST
  5138. Nearly every program in PSL which deals with lists uses ATOM to test for
  5139. end-of-list, rather than NULL.
  5140. -------
  5141. 23-Nov-82 10:27:51-PST,362;000000000001
  5142. Mail-From: BENSON created at 23-Nov-82 10:26:56
  5143. Date: 23 Nov 1982 1026-PST
  5144. From: Eric Benson <BENSON at HP-HULK>
  5145. Subject: Re: possible bug
  5146. To: SOREFF at HP-HULK, psl at HP-HULK
  5147. In-Reply-To: Your message of 23-Nov-82 1021-PST
  5148. Of course I meant function, not program. These could be changed to cause
  5149. an error, but I don't think it's important.
  5150. -------
  5151. 23-Nov-82 16:51:38-PST,1406;000000000001
  5152. Date: 23 Nov 1982 1651-PST
  5153. From: Cris Perdue <Perdue>
  5154. Subject: LOAD vs. IMPORTS
  5155. To: PSL-Users: ;
  5156. This note may be IMPORTANT TO YOU!!
  5157. Do your PSL programs use a lot of space? Do you use the function
  5158. LOAD in your source files? Then you can probably save space
  5159. by using IMPORTS instead!
  5160. The IMPORTS function is little known, but quite similar in effect
  5161. to LOAD. IMPORTS is mentioned in the reference manual in the same
  5162. section, but not described, so here goes:
  5163. Call: (imports <files>)
  5164. The argument to IMPORTS should evaluate to a list of atoms or
  5165. strings which are treated as references to files in the same way
  5166. as is done by LOAD. If not already loaded, those load modules
  5167. are loaded. This is the same behavior as LOAD, but loading
  5168. requested by IMPORTS may be delayed until after all the
  5169. initializations specified in the source file have been performed.
  5170. Note: When compiling a file, code of two sorts is generated: code
  5171. for compiled functions (etc.) and code for initialization.
  5172. Initialization code includes code to install the definitions of
  5173. compiled functions and code to perform any other actions
  5174. specified by "top level" expressions in the file.
  5175. Allowing delay in the loading specified by IMPORTS makes it
  5176. possible to reclaim some space used for the process of loading.
  5177. This space is in fact precisely the space occupied by the
  5178. initialization code.
  5179. -------
  5180. 24-Nov-82 11:02:25-PST,208;000000000001
  5181. Date: 24 Nov 1982 1058-PST
  5182. From: PERDUE at HP-HULK
  5183. Subject: READ-UTILS
  5184. To: PSL at HP-HULK
  5185. The library module READ-UTILS is documented in the reference
  5186. manual as being named READ-TABLE-UTILS.
  5187. -------
  5188. 25-Nov-82 07:17:32-PST,212;000000000001
  5189. Mail-From: GRISS created at 25-Nov-82 07:14:46
  5190. Date: 25 Nov 1982 0714-PST
  5191. From: GRISS at HP-HULK
  5192. Subject: ExitLISP for 20
  5193. To: psl at HP-HULK, psl-bugs at UTAH-20
  5194. We need an ExitLISP stub for 20.
  5195. -------
  5196. 29-Nov-82 07:37:24-PST,763;000000000001
  5197. Mail-From: GRISS created at 29-Nov-82 07:34:53
  5198. Date: 29 Nov 1982 0734-PST
  5199. From: GRISS at HP-HULK
  5200. Subject: FLAG->SWITCH
  5201. To: hearn at RAND-UNIX
  5202. cc: psl at HP-HULK, uscg at UTAH-20
  5203. I propose renaming the things we have been calling FLAGS (!*ECHO, etc)
  5204. into SWITCHEs. This is more consistent with the ON/OFF functions that
  5205. change them, and avoids confusion the FLAG operations that put atoms on
  5206. property lists.
  5207. Thus SWITCHs are a special case of global/fluids; by convetion they
  5208. have a * at the front of their names, other globals have * at end.
  5209. ON xx,yy,xx; turns on the SWITCH's *XX,*YY,*ZZ.
  5210. Perhaps we could make ON also accept with the *:
  5211. ON *xx,*yy.
  5212. Should the SIMPFG property be really on the XXX or the *XXX for consistency?
  5213. -------
  5214. 29-Nov-82 10:52:17-PST,266;000000000001
  5215. Date: 29 Nov 1982 1049-PST
  5216. From: AS at HP-HULK
  5217. Subject: feature request
  5218. To: PSL at HP-HULK
  5219. cc: AS at HP-HULK
  5220. Although the Common Lisp manual doesn't say so, I think that PRINLENGTH
  5221. (or some variable) should control the printing of strings as well.
  5222. -------
  5223. 29-Nov-82 13:07:08-PST,313;000000000001
  5224. Mail-From: LANAM created at 29-Nov-82 13:03:40
  5225. Date: 29 Nov 1982 1303-PST
  5226. From: douglas <LANAM at HP-HULK>
  5227. Subject: capitalization function.
  5228. To: psl at HP-HULK
  5229. Is there a function that takes a word and prints it so that the
  5230. first letter is in upper case and the rest is in lower case?
  5231. douglas
  5232. -------
  5233. 29-Nov-82 15:54:42-PST,467;000000000001
  5234. Mail-From: BENSON created at 29-Nov-82 15:50:21
  5235. Date: 29 Nov 1982 1550-PST
  5236. From: Eric Benson <BENSON at HP-HULK>
  5237. Subject: Re: capitalization function.
  5238. To: LANAM at HP-HULK, psl at HP-HULK
  5239. In-Reply-To: Your message of 29-Nov-82 1303-PST
  5240. STRING-CAPITALIZE takes a string argument and returns a string with all "words"
  5241. capitalized from the argument. A "word" is any sequence of alphanumeric
  5242. characters. See the Common Lisp manual for more details.
  5243. -------
  5244. 30-Nov-82 01:13:56-PST,714;000000000001
  5245. Mail-From: GRISS created at 30-Nov-82 01:09:04
  5246. Date: 30 Nov 1982 0109-PST
  5247. From: GRISS at HP-HULK
  5248. Subject: draft of portions of new PSL manual
  5249. To: psl at HP-HULK
  5250. I am enaged in editing the latest PSL manual with people at Utah.
  5251. I have some chapters down here on <griss> as *.lpt. Please feel free
  5252. to look at an comment on these. They may lag a day or two behind those at
  5253. Utah. We have made extensive additions based on 3.1 additions, and corrections.
  5254. Also we are trying to use LISP syntax, rather than RLISP (or at least a mix).
  5255. I will be viitng Utah Thursday/Friday, would likew to give as much feedback.
  5256. Volunteers to help improve manual welcome (yes, I heard some of you complain...)
  5257. M
  5258. -------
  5259. 1-Dec-82 11:02:17-PST,385;000000000001
  5260. Date: 1 Dec 1982 10:54:24-PST
  5261. From: douglas at HP-Hewey
  5262. To: benson@hulk, psl@hulk
  5263. Subject: change in printing ports of compiler.
  5264. Can all printing be done to one port on the vax, please.
  5265. I get a message like, cannot convert <#XXyy> into string, and have
  5266. no idea which function it is in, because the compiler does not print
  5267. the function names at any reasonable time.
  5268. douglas
  5269. 1-Dec-82 15:42:23-PST,370;000000000001
  5270. Mail-From: BENSON created at 1-Dec-82 15:39:39
  5271. Date: 1 Dec 1982 1539-PST
  5272. From: Eric Benson <BENSON at HP-HULK>
  5273. Subject: Bug in compiler in &PaApply
  5274. To: psl at HP-HULK
  5275. The line
  5276. if first third U = 'LIST then
  5277. should be changed to
  5278. if EqCar(third U, 'LIST) then
  5279. (It sometimes takes the CAR of an atom. EqCar checks to be sure it's a
  5280. pair.)
  5281. -------
  5282. 2-Dec-82 08:21:20-PST,1267;000000000001
  5283. Mail-From: GRISS created at 2-Dec-82 08:16:43
  5284. Date: 2 Dec 1982 0816-PST
  5285. From: GRISS at HP-HULK
  5286. Subject: Duplicate functionality
  5287. To: psl at HP-HULK, psl at UTAH-20
  5288. Folks, its time to make some decisions/gather information on
  5289. the various duplicate functionality modules we now have: Let
  5290. me list some, and solicit more examples:
  5291. DEFSTRUCT and NSTRUCT
  5292. PRETTY and PRETTYPRINT and (? one other?
  5293. EMODE and NMODE
  5294. EDITOR and MINI-EDITOR
  5295. TRACE/DEBUG and MINI-TRACE
  5296. In some cases, we either had the early simple module, and inherited
  5297. a second module with other packages (the various pretty's), or
  5298. managed to get a more official version (LISPM NSTRUCT) converted to
  5299. PSL via a compatibility package, or a new woeker, following the NIH
  5300. syndrome made changes and renamed.
  5301. We cant afford to support this "chaos" much longer, w cant afford
  5302. to document all variants, and be responsible for maintaining all
  5303. versions on all machines.
  5304. Please send me MAIL on other examples of duplication, and
  5305. your feelings why a certain module has a clone, rather than being
  5306. repaired.
  5307. I would like to trim the set of files for the upcoming distributions.
  5308. We could always relgate the "unofficial" versions to an UNSUPPORTED
  5309. random junk directory.
  5310. -------
  5311. 2-Dec-82 09:27:20-PST,565;000000000001
  5312. Date: 2 Dec 1982 0925-PST
  5313. From: AS at HP-HULK
  5314. Subject: suggestion
  5315. To: PSL at HP-HULK
  5316. cc: AS at HP-HULK
  5317. I would like to suggest adding primitives
  5318. vector-trim (v, new-length)
  5319. string-trim (s, new-length)
  5320. that would reduce the length of existing vector and string objects.
  5321. This would be done by adjusting the size field in the header word
  5322. and, if necessary, making the "freed" space at the end of the object
  5323. look like some sort of object so that heap scanning would still work.
  5324. The "freed" space would them be reclaimed by the next GC.
  5325. -------
  5326. 2-Dec-82 11:17:21-PST,877;000000000001
  5327. Mail-From: BENSON created at 2-Dec-82 11:15:15
  5328. Date: 2 Dec 1982 1115-PST
  5329. From: Eric Benson <BENSON at HP-HULK>
  5330. Subject: Re: Duplicate functionality
  5331. To: GRISS at HP-HULK, psl at HP-HULK, psl at UTAH-20
  5332. In-Reply-To: Your message of 2-Dec-82 0816-PST
  5333. My feeling is that some of the small versions of things should be retained,
  5334. but only for the bootstrapping phase for new machines. It has been very
  5335. useful to have both MINI-EDITOR and MINI-TRACE while debugging the HP9836
  5336. PSL. It would be highly impractical (beyond consideration) to include
  5337. DEBUG and ZPEDIT in a cross-compilation. The lightweight versions should
  5338. not be included in any released system, however, and therefore need not be
  5339. documented in the manual. It might be worthwhile to make sure that the
  5340. mini versions of things are true subsets, rather than slightly incompatible
  5341. versions.
  5342. -------
  5343. 2-Dec-82 11:17:41-PST,307;000000000001
  5344. Mail-From: BENSON created at 2-Dec-82 11:16:25
  5345. Date: 2 Dec 1982 1116-PST
  5346. From: Eric Benson <BENSON at HP-HULK>
  5347. Subject: Re: suggestion
  5348. To: AS at HP-HULK, PSL at HP-HULK
  5349. In-Reply-To: Your message of 2-Dec-82 0927-PST
  5350. Something equivalent to this already exists, in the module VECTOR-FIX.
  5351. -------
  5352. 3-Dec-82 10:17:56-PST,301;000000000001
  5353. Date: 3 Dec 1982 1013-PST
  5354. From: PERDUE at HP-HULK
  5355. Subject: Re: suggestion
  5356. To: AS at HP-HULK
  5357. cc: psl at HP-HULK
  5358. In-Reply-To: Your message of 3 Dec 1982 01:39:41-PST
  5359. In the module PU:VECTOR-FIX, the function TruncateVector provides
  5360. what you want for vectors, though not for strings.
  5361. -------
  5362. 3-Dec-82 18:13:54-PST,648;000000000001
  5363. Date: 3 Dec 1982 1809-PST
  5364. From: PERDUE at HP-HULK
  5365. Subject: Compiling boolean expressions for value
  5366. To: PSL at HP-HULK
  5367. cc: Feldman at HP-HULK
  5368. Samuel Feldman discovered that boolean expressions do not always
  5369. return the same value in compiled code that they do in interpreted
  5370. code. In particular, things like double negations get optimized
  5371. completely away, but this results in an expression that may return
  5372. something other than T or NIL.
  5373. After consulting Eric Benson, I have tested out a patch to the
  5374. compiler to fix this and have changed the sources correspondingly. The
  5375. compiler should do this right in the next release.
  5376. -------
  5377. 8-Dec-82 14:24:32-PST,729;000400000001
  5378. Date: 8 Dec 1982 1420-PST
  5379. From: PERDUE at HP-HULK
  5380. Subject: Internals of BREAK
  5381. To: psl at HP-HULK
  5382. These remarks apply just to system internals, I guess, but here goes
  5383. anyway:
  5384. The hooks in BREAK do not connect RLISP up to the BREAK loop. Why
  5385. not? If there is a decent reason, should the hooks be removed from
  5386. BREAK? Should they be removed in any case?
  5387. The function BREAK is not documented as a function for the user to
  5388. call. Such a thing would be useful: BREAK could serve to provide
  5389. breakpoints. If it is to stand somewhat on its own, its interrelation
  5390. with ERROR, CONTINUABLEERROR, etc. must certainly be cleaned up.
  5391. Responsiblity for various actions and messages is very poorly
  5392. distributed.
  5393. -------
  5394. 8-Dec-82 14:24:46-PST,478;000400000001
  5395. Date: 8 Dec 1982 1423-PST
  5396. From: PERDUE at HP-HULK
  5397. Subject: BREAK loop documentation
  5398. To: psl at HP-HULK
  5399. The variables breakreader*, breakevaluator*, and breakprinter* are
  5400. mythical. BREAK now in fact uses toploopread*, toploopeval*, and
  5401. toploopprint*, though it isn't clear that this is a viable and/or
  5402. permanent feature of BREAK. (Technically, toploopeval* is only called
  5403. after a check that toploopread* has not returned an atom that is a
  5404. break command.)
  5405. -------
  5406. 9-Dec-82 18:14:45-PST,425;000400000001
  5407. Date: 9 Dec 1982 1811-PST
  5408. From: PERDUE at HP-HULK
  5409. Subject: Documentation of ContinuableError
  5410. To: PSL at HP-HULK
  5411. The documentation of ContinuableError and the break loop is aimed at
  5412. situations where there is an error in interpreted code. The
  5413. documentation of ContinuableError should say explicitly that the value
  5414. of the retry form or of the explicit continuation value is returned
  5415. from ContinuableError.
  5416. -------
  5417. 10-Dec-82 17:45:15-PST,530;000000000001
  5418. Date: 10 Dec 1982 1740-PST
  5419. From: PERDUE at HP-HULK
  5420. Subject: [Forwarded:] trace facilities in PSL
  5421. To: PSL at HP-HULK
  5422. Date: 10 Dec 1982 1500-PST
  5423. From: SOREFF
  5424. Subject: trace facilities in PSL
  5425. To: perdue
  5426. cc: soreff
  5427. I think that there is a bug in the PSL trace facilities. Trst appears to
  5428. drop the first element of vectors that it displays. -Jeff
  5429. 3 NMODE Lisp> (de echo (x) x)
  5430. ECHO
  5431. 4 NMODE Lisp> (trst echo)
  5432. (ECHO)
  5433. 5 NMODE Lisp> (echo [a])
  5434. ECHO being entered
  5435. X: []
  5436. ECHO = []
  5437. [A]
  5438. 6 NMODE Lisp>
  5439. -------
  5440. 11-Dec-82 18:23:10-PST,256;000000000001
  5441. Date: 11 Dec 1982 18:19:42-PST
  5442. From: douglas at HP-Hewey
  5443. To: benson@hulk, psl@hulk
  5444. Subject: question about tr .
  5445. What does it mean when tr starts putting "*"'s at the beginning of each
  5446. line of the trace information printed out?
  5447. thanks,
  5448. douglas
  5449. 12-Dec-82 13:17:09-PST,329;000000000001
  5450. Date: 12 Dec 1982 13:10:36-PST
  5451. From: douglas at HP-Hewey
  5452. To: benson@hulk, griss@hulk, psl@hulk
  5453. Subject: bug in garbage collection
  5454. Interrupts should be turned off during garbage collection.
  5455. I and a few others (Mark, Carl, etc), have had very, very strange
  5456. things happen after interrupting a garbage collection.
  5457. douglas
  5458. 13-Dec-82 12:06:55-PST,484;000000000001
  5459. Mail-From: SOREFF created at 13-Dec-82 12:04:12
  5460. Date: 13 Dec 1982 1204-PST
  5461. From: SOREFF at HP-HULK
  5462. Subject: bug in trst
  5463. To: psl at HP-HULK
  5464. cc: soreff at HP-HULK
  5465. Trst seems to have a bug in it that is sensitive to the formal parameters
  5466. of the function(s) being traced. -Jeff
  5467. (de tst1 (x y z)
  5468. (cond (x
  5469. (setq y z))))
  5470. (de tst2 (pop y z)
  5471. (cond (pop
  5472. (setq y z))))
  5473. (trst tst1) % OK
  5474. (trst tst2) % blows up, differs from tst1 only in formal parameter name
  5475. -------
  5476. 13-Dec-82 14:01:56-PST,402;000000000001
  5477. Mail-From: SOREFF created at 13-Dec-82 13:57:36
  5478. Date: 13 Dec 1982 1357-PST
  5479. From: SOREFF at HP-HULK
  5480. Subject: representing control characters
  5481. To: psl at HP-HULK
  5482. cc: soreff at HP-HULK
  5483. Is there a simple way to represent control characters in a PSL source file
  5484. which does not require actual control characters in the file, allowing it
  5485. to be printed without fouling up the printer? -Jeff
  5486. -------
  5487. 13-Dec-82 15:01:59-PST,715;000400000001
  5488. Date: 13 Dec 1982 1456-PST
  5489. From: PERDUE at HP-HULK
  5490. Subject: CHAR and "#\"
  5491. To: PSL at HP-HULK
  5492. cc: Soreff at HP-HULK
  5493. The CHAR macro is apparently documented in the wrong place and the
  5494. documentation for the "#\" (extended) read macro needs to be fleshed
  5495. out. CHAR is actually in the kernel in spite of being documented in
  5496. the section on SYSLISP, and the kernel seems like a reasonable place for
  5497. it. "#\" is actually an extended version of CHAR (redefine DOCHAR,
  5498. which does the work for CHAR), and the names defined for characters need
  5499. to appear in the documentation, not just the source code.
  5500. The set of names supplied with #\ in PU:READ-MACROS is also quite
  5501. excessive and I will trim it.
  5502. -------
  5503. 19-Dec-82 17:47:56-PST,738;000000000001
  5504. Date: 19 Dec 1982 17:34:47-PST
  5505. From: douglas at HP-VENUS
  5506. To: griss@hulk, psl@hulk
  5507. Subject: deficiency in psl (dealing with remainders and modular arithmetic).
  5508. I find remainder is not complete in its present definition in psl.
  5509. I need to always do:
  5510. (let ((a (remainder arg1 arg2)))
  5511. (cond ((>= a 0) a)
  5512. (t (minus a)))),
  5513. I could find no function that corresponds to the above.
  5514. Nor could I find a function which returns a/b mod c in a range
  5515. other than (-c,c). It is useful to have integer remainder functions
  5516. that return in the ranges [0,c), and (-c/2,c/2] (or was is [-c/2,c/2).)
  5517. Do such functions exist?
  5518. Wremainder and Iremainder both act the same as remainder (except only
  5519. on integers).
  5520. douglas
  5521. 20-Dec-82 06:52:41-PST,363;000000000001
  5522. Mail-From: GRISS created at 20-Dec-82 06:49:28
  5523. Date: 20 Dec 1982 0649-PST
  5524. From: GRISS at HP-HULK
  5525. Subject: RCREF "bug"
  5526. To: psl at HP-HULK
  5527. Need to install LPOSN for line number counters in RCREF.
  5528. Need to install information about FOREACH and other "standard" macros
  5529. (or make them expand) so that variables in FOREACH dont behave as
  5530. functions.
  5531. -------
  5532. 20-Dec-82 07:27:34-PST,426;000000000001
  5533. Mail-From: GRISS created at 20-Dec-82 07:24:34
  5534. Date: 20 Dec 1982 0724-PST
  5535. From: GRISS at HP-HULK
  5536. Subject: RCREF
  5537. To: psl at HP-HULK
  5538. I have flagged some functions EXPAND (FOR, FOREACH, WHILE and REPEAT)
  5539. and taught RCREF about NEXPRs and SMACROS.
  5540. Still need to carfully check the various standard functionlists
  5541. to suppress printing of "uninteresting" functions. Eg, GEQ, LEQ should
  5542. be added to such lists.
  5543. -------
  5544. 20-Dec-82 18:29:00-PST,406;000000000001
  5545. Mail-From: GRISS created at 20-Dec-82 18:27:47
  5546. Date: 20 Dec 1982 1827-PST
  5547. From: GRISS at HP-HULK
  5548. Subject: RCREF
  5549. To: psl at HP-HULK
  5550. We need to teach RCREF about functions such as PRINTF and BLDMSG that
  5551. take a variable # of arguments. perhaps relate to better NEXPR/LEXPR
  5552. model.
  5553. We need to teach RCREF how to use .BUILD file(s) to cref modules with
  5554. appropriate support modules laoded.
  5555. -------
  5556. 21-Dec-82 14:55:00-PST,4447;000000000001
  5557. Mail-From: BENSON created at 21-Dec-82 14:50:08
  5558. Date: 21 Dec 1982 1450-PST
  5559. From: Eric Benson <BENSON at HP-HULK>
  5560. Subject: PSL problems
  5561. To: psl at HP-HULK
  5562. A perusal of PSL:BUG-MAIL.TXT revealed the following outstanding problems
  5563. with PSL:
  5564. No checking for number of arguments in compiled code, not even for
  5565. interpreted code calling compiled code. A related problem is the inability
  5566. to define functions which take a variable number of arguments which can be
  5567. FUNCALLed effectively.
  5568. The distinction between fluids and globals is not useful in PSL. Its only
  5569. function is to print annoying messages about globals which can't become
  5570. fluids. Perhaps the warning message should be suppresed.
  5571. There is no general function for type coercion. Also there is no function
  5572. TYPE-OF which returns the name of a data type, or TYPECASE which dispatches
  5573. on the type. In general, the name of a data type is not really used by the
  5574. system.
  5575. Debugging tools leave much to be desired. Some features requested are:
  5576. A backtrace for bindings of fluid variables.
  5577. A means of examining stack frames of compiled functions.
  5578. A better interface to the STEP function, such as being able to step just
  5579. within a certain function, similar to TRST.
  5580. The structure editor ZPEDIT, obtained from IMSSS has bugs in the A, N and
  5581. BO commands. These are probably caused by miscompilation due to evaluation
  5582. order problems.
  5583. There are several deficiencies with input and output:
  5584. RDS and WRS are considered to be poor means to direct input and output
  5585. to different places, as opposed to functions which take optional stream
  5586. arguments.
  5587. The representation of channels as small integers means that there are a
  5588. limited number of streams which can be active. Also, there can be no predicate
  5589. stream-p with this arrangement.
  5590. The method of opening special channels is messy. It should be changed
  5591. to use a separate function OPEN-SPECIAL.
  5592. The token scanner is insufficiently general. Read macros are tied to
  5593. property lists instead of scanner tables.
  5594. + and - print as !+ and !-.
  5595. Characters are represented as integers instead of being a separate data
  5596. type.
  5597. FASLOUT adds a ".b" to the filename given, while FASLIN does not.
  5598. The arguments to MAP, MAPC, etc. are in the wrong order wrt
  5599. Maclisp/Commonlisp compatibility.
  5600. The separation of error output and standard output into 2 channels on Unix
  5601. has proven to be undesirable. They should be combined into 1 channel.
  5602. There should be user-controllable hooks before and after garbage
  5603. collection. Also, interrupts should be disabled during GC.
  5604. Some system functions cannot be traced without destroying the system, e.g.
  5605. GET.
  5606. There is no way to circumvent the automatic line breaks produced by PRIN1
  5607. and PRIN2 before long atoms.
  5608. The interface to BREAK is poor, with the single character atoms which do
  5609. magic things. Also, the inheritance of the top loop read/eval/print is
  5610. undesirable.
  5611. There are 2 different interfaces to Rlisp, one from the PSL top loop,
  5612. obtained with the function RLISP, and one from Reduce, with the BEGIN
  5613. function. These are slightly incompatible and produce different results
  5614. when a break loop is entered (see above comment).
  5615. The small-integer-only functions IPLUS2, IDIFFERENCE, etc. are not
  5616. documented.
  5617. The PRINTX function used for printing parameters of traced functions does
  5618. not interact well with PRINLEVEL and/or PRINLENGTH.
  5619. The most negative integer is not properly handled by the printer. An
  5620. infinite stream of - signs is produced. The solution is to do all
  5621. arithmetic on negative numbers in printing routines, since -n exists for
  5622. all positive n in 2's complement number systems.
  5623. The function ERRORSET must call EVAL on its form argument. This causes the
  5624. usual problems with calling EVAL. The only other way to trap errors is
  5625. with UNWIND-PROTECT, but that doesn't stop BREAK from being called. ERRSET
  5626. exists but it doesn't seem to be what is desired, being essentially just a
  5627. special form version of ERRORSET.
  5628. The %e format specifier in PRINTF has the same problem as ERRORSET, a call
  5629. to EVAL.
  5630. Compilation of constant expressions is sometimes wrong, e.g. (eq 3 3).
  5631. Code space cannot be reclaimed, even though compiled functions may no
  5632. longer be available.
  5633. UNTR doesn't change a function back to its original definition, but leaves
  5634. a silently traced definition.
  5635. -------
  5636. 21-Dec-82 22:27:35-PST,124;000000000001
  5637. Date: 21 Dec 1982 2227-PST
  5638. From: Cris Perdue <Perdue>
  5639. Subject: Test
  5640. To: Benson, PSL-Buggees: ;
  5641. Just a test.
  5642. -------
  5643. 21-Dec-82 22:34:04-PST,127;000000000001
  5644. Date: 21 Dec 1982 2231-PST
  5645. From: Cris Perdue <Perdue at HP-HULK>
  5646. Subject: Test
  5647. To: psl at HP-HULK
  5648. another test
  5649. -------
  5650. 22-Dec-82 10:03:43-PST,563;000000000001
  5651. Mail-From: GRISS created at 22-Dec-82 09:59:11
  5652. Date: 22 Dec 1982 0959-PST
  5653. From: GRISS at HP-HULK
  5654. Subject: BIGNUM/LAP problem on HP9836
  5655. To: psl at HP-HULK
  5656. Apparently LAP and BIGNUM inmteract badly on HP9836. This beacuse INUM
  5657. range decreased when BIGNUMs present, but some code in LAP must be
  5658. cavalierly passing Generic arith output, assumed to be INUM, to INUM
  5659. routines.
  5660. Should track down and fix in LAP.
  5661. Alternative fix (longer term), is to make BIGNUM and GENERIC rith
  5662. use double word operations to correctly permit full sized INUMs.
  5663. -------
  5664. 24-Nov-82 01:48:48-PST,471;000000000005
  5665. Date: 24 Nov 1982 01:43:46-PST
  5666. From: daemon at HP-Hewey
  5667. Via: utah-cs
  5668. Date: 23 Nov 1982 0736-MST
  5669. From: Robert R. Kessler <KESSLER at UTAH-20>
  5670. To: psl-bugs at UTAH-20
  5671. It doesn't seem to function properly. IN RLISP mode, !*echo is ignored,
  5672. and only depends on whether or not there is a ; or $.
  5673. I propose: If !*echo on then go by the ; or $, otherwise with !*echo off
  5674. then don't echo.
  5675. ? The fix is easy, do people agree with the change?
  5676. Bob.
  5677. -------
  5678. 14-Dec-82 01:37:05-PST,418;000000000005
  5679. Date: 14 Dec 1982 01:35:34-PST
  5680. From: daemon at HP-Hewey
  5681. Via: utah-cs
  5682. Date: 13 Dec 1982 2146-MST
  5683. From: William Galway <Galway at UTAH-20>
  5684. Subject: Bug in COMMON module
  5685. To: PSL-BUGS at UTAH-20
  5686. There is a bug in the CopyList and CopyAlist utilities defined in
  5687. PU:COMMON.LSP, causing the first thing in the list to be copied twice.
  5688. I've fixed the source code and put it onto <PSL.UTIL.NEWVERSIONS>.
  5689. -------
  5690. 23-Dec-82 14:00:02-PST,792;000000000001
  5691. Date: 23 Dec 1982 12:36:18-PST
  5692. From: GRISS@HP-HULK at HP-VENUS
  5693. Via: utah-cs
  5694. Date: Thu Dec 23 00:37:24 1982
  5695. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0033-MST
  5696. Date: 22 Dec 1982 0959-PST
  5697. From: GRISS at HP-HULK
  5698. Subject: BIGNUM/LAP problem on HP9836
  5699. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5700. Via: HP-Labs; 22 Dec 82 23:07-PDT
  5701. Apparently LAP and BIGNUM inmteract badly on HP9836. This beacuse INUM
  5702. range decreased when BIGNUMs present, but some code in LAP must be
  5703. cavalierly passing Generic arith output, assumed to be INUM, to INUM
  5704. routines.
  5705. Should track down and fix in LAP.
  5706. Alternative fix (longer term), is to make BIGNUM and GENERIC rith
  5707. use double word operations to correctly permit full sized INUMs.
  5708. -------
  5709. 23-Dec-82 14:00:11-PST,778;000000000001
  5710. Date: 23 Dec 1982 12:52:47-PST
  5711. From: SOREFF@HP-HULK at HP-VENUS
  5712. Via: utah-cs
  5713. Date: Thu Dec 23 00:42:22 1982
  5714. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0036-MST
  5715. Date: 13 Dec 1982 1204-PST
  5716. From: SOREFF at HP-HULK
  5717. Subject: bug in trst
  5718. To: psl at HP-HULK, SOREFF@at, @, SOREFF@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5719. cc: soreff at HP-HULK, SOREFF@at, @, SOREFF@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5720. Via: HP-Labs; 22 Dec 82 23:09-PDT
  5721. Trst seems to have a bug in it that is sensitive to the formal parameters
  5722. of the function(s) being traced. -Jeff
  5723. (de tst1 (x y z)
  5724. (cond (x
  5725. (setq y z))))
  5726. (de tst2 (pop y z)
  5727. (cond (pop
  5728. (setq y z))))
  5729. (trst tst1) % OK
  5730. (trst tst2) % blows up, differs from tst1 only in formal parameter name
  5731. -------
  5732. 23-Dec-82 14:00:18-PST,696;000000000001
  5733. Date: 23 Dec 1982 12:53:11-PST
  5734. From: SOREFF@HP-HULK at HP-VENUS
  5735. Via: utah-cs
  5736. Date: Thu Dec 23 00:42:41 1982
  5737. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0038-MST
  5738. Date: 13 Dec 1982 1357-PST
  5739. From: SOREFF at HP-HULK
  5740. Subject: representing control characters
  5741. To: psl at HP-HULK, SOREFF@at, @, SOREFF@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5742. cc: soreff at HP-HULK, SOREFF@at, @, SOREFF@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5743. Via: HP-Labs; 22 Dec 82 23:10-PDT
  5744. Is there a simple way to represent control characters in a PSL source file
  5745. which does not require actual control characters in the file, allowing it
  5746. to be printed without fouling up the printer? -Jeff
  5747. -------
  5748. 23-Dec-82 14:00:28-PST,932;000000000001
  5749. Date: 23 Dec 1982 12:53:33-PST
  5750. From: PERDUE@HP-HULK at HP-VENUS
  5751. Via: utah-cs
  5752. Date: Thu Dec 23 00:43:01 1982
  5753. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0038-MST
  5754. Date: 13 Dec 1982 1456-PST
  5755. From: PERDUE at HP-HULK
  5756. Subject: CHAR and "#\"
  5757. To: PSL at HP-HULK
  5758. cc: Soreff at HP-HULK
  5759. Via: HP-Labs; 22 Dec 82 23:11-PDT
  5760. The CHAR macro is apparently documented in the wrong place and the
  5761. documentation for the "#\" (extended) read macro needs to be fleshed
  5762. out. CHAR is actually in the kernel in spite of being documented in
  5763. the section on SYSLISP, and the kernel seems like a reasonable place for
  5764. it. "#\" is actually an extended version of CHAR (redefine DOCHAR,
  5765. which does the work for CHAR), and the names defined for characters need
  5766. to appear in the documentation, not just the source code.
  5767. The set of names supplied with #\ in PU:READ-MACROS is also quite
  5768. excessive and I will trim it.
  5769. -------
  5770. 23-Dec-82 14:01:19-PST,957;000000000001
  5771. Date: 23 Dec 1982 12:53:57-PST
  5772. From: douglas@HP-VENUS at HP-VENUS
  5773. Via: utah-cs
  5774. Date: Thu Dec 23 00:52:28 1982
  5775. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  5776. Date: 19 Dec 1982 17:34:47-PST
  5777. From: douglas at HP-VENUS
  5778. To: griss@hulk, psl@hulk
  5779. Subject: deficiency in psl (dealing with remainders and modular arithmetic).
  5780. Via: HP-Labs; 22 Dec 82 23:28-PDT
  5781. I find remainder is not complete in its present definition in psl.
  5782. I need to always do:
  5783. (let ((a (remainder arg1 arg2)))
  5784. (cond ((>= a 0) a)
  5785. (t (minus a)))),
  5786. I could find no function that corresponds to the above.
  5787. Nor could I find a function which returns a/b mod c in a range
  5788. other than (-c,c). It is useful to have integer remainder functions
  5789. that return in the ranges [0,c), and (-c/2,c/2] (or was is [-c/2,c/2).)
  5790. Do such functions exist?
  5791. Wremainder and Iremainder both act the same as remainder (except only
  5792. on integers).
  5793. douglas
  5794. 23-Dec-82 14:01:32-PST,592;000000000001
  5795. Date: 23 Dec 1982 12:54:19-PST
  5796. From: GRISS@HP-HULK at HP-VENUS
  5797. Via: utah-cs
  5798. Date: Thu Dec 23 00:52:48 1982
  5799. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  5800. Date: 20 Dec 1982 0649-PST
  5801. From: GRISS at HP-HULK
  5802. Subject: RCREF "bug"
  5803. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5804. Via: HP-Labs; 22 Dec 82 23:29-PDT
  5805. Need to install LPOSN for line number counters in RCREF.
  5806. Need to install information about FOREACH and other "standard" macros
  5807. (or make them expand) so that variables in FOREACH dont behave as
  5808. functions.
  5809. -------
  5810. 23-Dec-82 14:01:40-PST,655;000000000001
  5811. Date: 23 Dec 1982 12:54:40-PST
  5812. From: GRISS@HP-HULK at HP-VENUS
  5813. Via: utah-cs
  5814. Date: Thu Dec 23 00:53:10 1982
  5815. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  5816. Date: 20 Dec 1982 0724-PST
  5817. From: GRISS at HP-HULK
  5818. Subject: RCREF
  5819. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5820. Via: HP-Labs; 22 Dec 82 23:29-PDT
  5821. I have flagged some functions EXPAND (FOR, FOREACH, WHILE and REPEAT)
  5822. and taught RCREF about NEXPRs and SMACROS.
  5823. Still need to carfully check the various standard functionlists
  5824. to suppress printing of "uninteresting" functions. Eg, GEQ, LEQ should
  5825. be added to such lists.
  5826. -------
  5827. 23-Dec-82 14:01:48-PST,635;000000000001
  5828. Date: 23 Dec 1982 12:55:00-PST
  5829. From: GRISS@HP-HULK at HP-VENUS
  5830. Via: utah-cs
  5831. Date: Thu Dec 23 01:37:20 1982
  5832. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0131-MST
  5833. Date: 20 Dec 1982 1827-PST
  5834. From: GRISS at HP-HULK
  5835. Subject: RCREF
  5836. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5837. Via: HP-Labs; 22 Dec 82 23:35-PDT
  5838. We need to teach RCREF about functions such as PRINTF and BLDMSG that
  5839. take a variable # of arguments. perhaps relate to better NEXPR/LEXPR
  5840. model.
  5841. We need to teach RCREF how to use .BUILD file(s) to cref modules with
  5842. appropriate support modules laoded.
  5843. -------
  5844. 23-Dec-82 14:01:57-PST,4678;000000000001
  5845. Date: 23 Dec 1982 12:55:28-PST
  5846. From: BENSON@HP-HULK at HP-VENUS
  5847. Via: utah-cs
  5848. Date: Thu Dec 23 01:42:22 1982
  5849. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0134-MST
  5850. Date: 21 Dec 1982 1450-PST
  5851. From: Eric Benson <BENSON at HP-HULK>
  5852. Subject: PSL problems
  5853. To: psl at HP-HULK, BENSON@at, @, BENSON@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5854. Via: HP-Labs; 22 Dec 82 23:39-PDT
  5855. A perusal of PSL:BUG-MAIL.TXT revealed the following outstanding problems
  5856. with PSL:
  5857. No checking for number of arguments in compiled code, not even for
  5858. interpreted code calling compiled code. A related problem is the inability
  5859. to define functions which take a variable number of arguments which can be
  5860. FUNCALLed effectively.
  5861. The distinction between fluids and globals is not useful in PSL. Its only
  5862. function is to print annoying messages about globals which can't become
  5863. fluids. Perhaps the warning message should be suppresed.
  5864. There is no general function for type coercion. Also there is no function
  5865. TYPE-OF which returns the name of a data type, or TYPECASE which dispatches
  5866. on the type. In general, the name of a data type is not really used by the
  5867. system.
  5868. Debugging tools leave much to be desired. Some features requested are:
  5869. A backtrace for bindings of fluid variables.
  5870. A means of examining stack frames of compiled functions.
  5871. A better interface to the STEP function, such as being able to step just
  5872. within a certain function, similar to TRST.
  5873. The structure editor ZPEDIT, obtained from IMSSS has bugs in the A, N and
  5874. BO commands. These are probably caused by miscompilation due to evaluation
  5875. order problems.
  5876. There are several deficiencies with input and output:
  5877. RDS and WRS are considered to be poor means to direct input and output
  5878. to different places, as opposed to functions which take optional stream
  5879. arguments.
  5880. The representation of channels as small integers means that there are a
  5881. limited number of streams which can be active. Also, there can be no predicate
  5882. stream-p with this arrangement.
  5883. The method of opening special channels is messy. It should be changed
  5884. to use a separate function OPEN-SPECIAL.
  5885. The token scanner is insufficiently general. Read macros are tied to
  5886. property lists instead of scanner tables.
  5887. + and - print as !+ and !-.
  5888. Characters are represented as integers instead of being a separate data
  5889. type.
  5890. FASLOUT adds a ".b" to the filename given, while FASLIN does not.
  5891. The arguments to MAP, MAPC, etc. are in the wrong order wrt
  5892. Maclisp/Commonlisp compatibility.
  5893. The separation of error output and standard output into 2 channels on Unix
  5894. has proven to be undesirable. They should be combined into 1 channel.
  5895. There should be user-controllable hooks before and after garbage
  5896. collection. Also, interrupts should be disabled during GC.
  5897. Some system functions cannot be traced without destroying the system, e.g.
  5898. GET.
  5899. There is no way to circumvent the automatic line breaks produced by PRIN1
  5900. and PRIN2 before long atoms.
  5901. The interface to BREAK is poor, with the single character atoms which do
  5902. magic things. Also, the inheritance of the top loop read/eval/print is
  5903. undesirable.
  5904. There are 2 different interfaces to Rlisp, one from the PSL top loop,
  5905. obtained with the function RLISP, and one from Reduce, with the BEGIN
  5906. function. These are slightly incompatible and produce different results
  5907. when a break loop is entered (see above comment).
  5908. The small-integer-only functions IPLUS2, IDIFFERENCE, etc. are not
  5909. documented.
  5910. The PRINTX function used for printing parameters of traced functions does
  5911. not interact well with PRINLEVEL and/or PRINLENGTH.
  5912. The most negative integer is not properly handled by the printer. An
  5913. infinite stream of - signs is produced. The solution is to do all
  5914. arithmetic on negative numbers in printing routines, since -n exists for
  5915. all positive n in 2's complement number systems.
  5916. The function ERRORSET must call EVAL on its form argument. This causes the
  5917. usual problems with calling EVAL. The only other way to trap errors is
  5918. with UNWIND-PROTECT, but that doesn't stop BREAK from being called. ERRSET
  5919. exists but it doesn't seem to be what is desired, being essentially just a
  5920. special form version of ERRORSET.
  5921. The %e format specifier in PRINTF has the same problem as ERRORSET, a call
  5922. to EVAL.
  5923. Compilation of constant expressions is sometimes wrong, e.g. (eq 3 3).
  5924. Code space cannot be reclaimed, even though compiled functions may no
  5925. longer be available.
  5926. UNTR doesn't change a function back to its original definition, but leaves
  5927. a silently traced definition.
  5928. -------
  5929. 23-Dec-82 14:02:04-PST,666;000000000001
  5930. Date: 23 Dec 1982 12:55:52-PST
  5931. From: SOREFF@HP-HULK at HP-VENUS
  5932. Via: utah-cs
  5933. Date: Thu Dec 23 01:42:43 1982
  5934. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0135-MST
  5935. Date: 21 Dec 1982 1728-PST
  5936. From: SOREFF at HP-HULK
  5937. Subject: compiler
  5938. To: psl at HP-HULK, SOREFF@at, @, SOREFF@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5939. cc: soreff at HP-HULK, SOREFF@at, @, SOREFF@HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  5940. Via: HP-Labs; 22 Dec 82 23:41-PDT
  5941. What does "Compiler bug: expression too complicated, please simplify" mean?!!!
  5942. What sort of sexp is too complex for the compiler to handle, what sort of
  5943. rewrite is needed to eliminate it? -Jeff
  5944. -------
  5945. 24-Dec-82 01:49:00-PST,1029;000000000001
  5946. Date: 24 Dec 1982 01:43:25-PST
  5947. From: daemon at HP-VENUS
  5948. Via: utah-cs
  5949. Date: Thu Dec 23 21:22:27 1982
  5950. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2113-MST
  5951. Date: 23 Dec 1982 12:36:18-PST
  5952. From: GRISS@HP-HULK at HP-VENUS
  5953. Via: utah-cs
  5954. Date: Thu Dec 23 00:37:24 1982
  5955. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0033-MST
  5956. Date: 22 Dec 1982 0959-PST
  5957. From: GRISS at HP-HULK
  5958. Subject: BIGNUM/LAP problem on HP9836
  5959. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs, @, GRISS@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  5960. Via: HP-Labs; 22 Dec 82 23:07-PDT
  5961. Via: HP-Labs; 23 Dec 82 19:49-PDT
  5962. Apparently LAP and BIGNUM inmteract badly on HP9836. This beacuse INUM
  5963. range decreased when BIGNUMs present, but some code in LAP must be
  5964. cavalierly passing Generic arith output, assumed to be INUM, to INUM
  5965. routines.
  5966. Should track down and fix in LAP.
  5967. Alternative fix (longer term), is to make BIGNUM and GENERIC rith
  5968. use double word operations to correctly permit full sized INUMs.
  5969. -------
  5970. 24-Dec-82 01:49:07-PST,1047;000000000001
  5971. Date: 24 Dec 1982 01:43:42-PST
  5972. From: daemon at HP-VENUS
  5973. Via: utah-cs
  5974. Date: Thu Dec 23 21:22:46 1982
  5975. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2113-MST
  5976. Date: 23 Dec 1982 12:52:47-PST
  5977. From: SOREFF@HP-HULK at HP-VENUS
  5978. Via: utah-cs
  5979. Date: Thu Dec 23 00:42:22 1982
  5980. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0036-MST
  5981. Date: 13 Dec 1982 1204-PST
  5982. From: SOREFF at HP-HULK
  5983. Subject: bug in trst
  5984. To: psl at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  5985. cc: soreff at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  5986. Via: HP-Labs; 22 Dec 82 23:09-PDT
  5987. Via: HP-Labs; 23 Dec 82 19:49-PDT
  5988. Trst seems to have a bug in it that is sensitive to the formal parameters
  5989. of the function(s) being traced. -Jeff
  5990. (de tst1 (x y z)
  5991. (cond (x
  5992. (setq y z))))
  5993. (de tst2 (pop y z)
  5994. (cond (pop
  5995. (setq y z))))
  5996. (trst tst1) % OK
  5997. (trst tst2) % blows up, differs from tst1 only in formal parameter name
  5998. -------
  5999. 24-Dec-82 01:49:13-PST,965;000000000001
  6000. Date: 24 Dec 1982 01:44:01-PST
  6001. From: daemon at HP-VENUS
  6002. Via: utah-cs
  6003. Date: Thu Dec 23 21:23:05 1982
  6004. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2114-MST
  6005. Date: 23 Dec 1982 12:53:11-PST
  6006. From: SOREFF@HP-HULK at HP-VENUS
  6007. Via: utah-cs
  6008. Date: Thu Dec 23 00:42:41 1982
  6009. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0038-MST
  6010. Date: 13 Dec 1982 1357-PST
  6011. From: SOREFF at HP-HULK
  6012. Subject: representing control characters
  6013. To: psl at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6014. cc: soreff at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6015. Via: HP-Labs; 22 Dec 82 23:10-PDT
  6016. Via: HP-Labs; 23 Dec 82 19:49-PDT
  6017. Is there a simple way to represent control characters in a PSL source file
  6018. which does not require actual control characters in the file, allowing it
  6019. to be printed without fouling up the printer? -Jeff
  6020. -------
  6021. 24-Dec-82 01:49:19-PST,1139;000000000001
  6022. Date: 24 Dec 1982 01:44:21-PST
  6023. From: daemon at HP-VENUS
  6024. Via: utah-cs
  6025. Date: Thu Dec 23 21:23:24 1982
  6026. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2114-MST
  6027. Date: 23 Dec 1982 12:53:33-PST
  6028. From: PERDUE@HP-HULK at HP-VENUS
  6029. Via: utah-cs
  6030. Date: Thu Dec 23 00:43:01 1982
  6031. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0038-MST
  6032. Date: 13 Dec 1982 1456-PST
  6033. From: PERDUE at HP-HULK
  6034. Subject: CHAR and "#\"
  6035. To: PSL at HP-HULK
  6036. cc: Soreff at HP-HULK
  6037. Via: HP-Labs; 22 Dec 82 23:11-PDT
  6038. Via: HP-Labs; 23 Dec 82 19:49-PDT
  6039. The CHAR macro is apparently documented in the wrong place and the
  6040. documentation for the "#\" (extended) read macro needs to be fleshed
  6041. out. CHAR is actually in the kernel in spite of being documented in
  6042. the section on SYSLISP, and the kernel seems like a reasonable place for
  6043. it. "#\" is actually an extended version of CHAR (redefine DOCHAR,
  6044. which does the work for CHAR), and the names defined for characters need
  6045. to appear in the documentation, not just the source code.
  6046. The set of names supplied with #\ in PU:READ-MACROS is also quite
  6047. excessive and I will trim it.
  6048. -------
  6049. 24-Dec-82 01:49:26-PST,1164;000000000001
  6050. Date: 24 Dec 1982 01:44:39-PST
  6051. From: daemon at HP-VENUS
  6052. Via: utah-cs
  6053. Date: Thu Dec 23 21:23:43 1982
  6054. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2114-MST
  6055. Date: 23 Dec 1982 12:53:57-PST
  6056. From: douglas@HP-VENUS at HP-VENUS
  6057. Via: utah-cs
  6058. Date: Thu Dec 23 00:52:28 1982
  6059. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  6060. Date: 19 Dec 1982 17:34:47-PST
  6061. From: douglas at HP-VENUS
  6062. To: griss@hulk, psl@hulk
  6063. Subject: deficiency in psl (dealing with remainders and modular arithmetic).
  6064. Via: HP-Labs; 22 Dec 82 23:28-PDT
  6065. Via: HP-Labs; 23 Dec 82 19:50-PDT
  6066. I find remainder is not complete in its present definition in psl.
  6067. I need to always do:
  6068. (let ((a (remainder arg1 arg2)))
  6069. (cond ((>= a 0) a)
  6070. (t (minus a)))),
  6071. I could find no function that corresponds to the above.
  6072. Nor could I find a function which returns a/b mod c in a range
  6073. other than (-c,c). It is useful to have integer remainder functions
  6074. that return in the ranges [0,c), and (-c/2,c/2] (or was is [-c/2,c/2).)
  6075. Do such functions exist?
  6076. Wremainder and Iremainder both act the same as remainder (except only
  6077. on integers).
  6078. douglas
  6079. 24-Dec-82 01:49:31-PST,829;000000000001
  6080. Date: 24 Dec 1982 01:44:58-PST
  6081. From: daemon at HP-VENUS
  6082. Via: utah-cs
  6083. Date: Thu Dec 23 21:24:02 1982
  6084. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2114-MST
  6085. Date: 23 Dec 1982 12:54:19-PST
  6086. From: GRISS@HP-HULK at HP-VENUS
  6087. Via: utah-cs
  6088. Date: Thu Dec 23 00:52:48 1982
  6089. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  6090. Date: 20 Dec 1982 0649-PST
  6091. From: GRISS at HP-HULK
  6092. Subject: RCREF "bug"
  6093. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs, @, GRISS@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6094. Via: HP-Labs; 22 Dec 82 23:29-PDT
  6095. Via: HP-Labs; 23 Dec 82 19:50-PDT
  6096. Need to install LPOSN for line number counters in RCREF.
  6097. Need to install information about FOREACH and other "standard" macros
  6098. (or make them expand) so that variables in FOREACH dont behave as
  6099. functions.
  6100. -------
  6101. 24-Dec-82 02:06:41-PST,892;000000000001
  6102. Date: 24 Dec 1982 01:45:18-PST
  6103. From: daemon at HP-VENUS
  6104. Via: utah-cs
  6105. Date: Thu Dec 23 21:24:22 1982
  6106. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2115-MST
  6107. Date: 23 Dec 1982 12:54:40-PST
  6108. From: GRISS@HP-HULK at HP-VENUS
  6109. Via: utah-cs
  6110. Date: Thu Dec 23 00:53:10 1982
  6111. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  6112. Date: 20 Dec 1982 0724-PST
  6113. From: GRISS at HP-HULK
  6114. Subject: RCREF
  6115. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs, @, GRISS@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6116. Via: HP-Labs; 22 Dec 82 23:29-PDT
  6117. Via: HP-Labs; 23 Dec 82 19:50-PDT
  6118. I have flagged some functions EXPAND (FOR, FOREACH, WHILE and REPEAT)
  6119. and taught RCREF about NEXPRs and SMACROS.
  6120. Still need to carfully check the various standard functionlists
  6121. to suppress printing of "uninteresting" functions. Eg, GEQ, LEQ should
  6122. be added to such lists.
  6123. -------
  6124. 24-Dec-82 02:06:53-PST,873;000000000001
  6125. Date: 24 Dec 1982 01:45:35-PST
  6126. From: daemon at HP-VENUS
  6127. Via: utah-cs
  6128. Date: Thu Dec 23 21:24:41 1982
  6129. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2115-MST
  6130. Date: 23 Dec 1982 12:55:00-PST
  6131. From: GRISS@HP-HULK at HP-VENUS
  6132. Via: utah-cs
  6133. Date: Thu Dec 23 01:37:20 1982
  6134. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0131-MST
  6135. Date: 20 Dec 1982 1827-PST
  6136. From: GRISS at HP-HULK
  6137. Subject: RCREF
  6138. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs, @, GRISS@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6139. Via: HP-Labs; 22 Dec 82 23:35-PDT
  6140. Via: HP-Labs; 23 Dec 82 19:50-PDT
  6141. We need to teach RCREF about functions such as PRINTF and BLDMSG that
  6142. take a variable # of arguments . perhaps relate to better NEXPR/LEXPR
  6143. model.
  6144. We need to teach RCREF how to use .BUILD file(s) to cref modules with
  6145. appropriate support modules laoded.
  6146. -------
  6147. 24-Dec-82 02:07:06-PST,4916;000000000001
  6148. Date: 24 Dec 1982 02:05:32-PST
  6149. From: daemon at HP-VENUS
  6150. Via: utah-cs
  6151. Date: Thu Dec 23 21:25:03 1982
  6152. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2115-MST
  6153. Date: 23 Dec 1982 12:55:28-PST
  6154. From: BENSON@HP-HULK at HP-VENUS
  6155. Via: utah-cs
  6156. Date: Thu Dec 23 01:42:22 1982
  6157. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0134-MST
  6158. Date: 21 Dec 1982 1450-PST
  6159. From: Eric Benson <BENSON at HP-HULK>
  6160. Subject: PSL problems
  6161. To: psl at HP-HULK, BENSON@at, @, BENSON@HP-labs, @, BENSON@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6162. Via: HP-Labs; 22 Dec 82 23:39-PDT
  6163. Via: HP-Labs; 23 Dec 82 19:51-PDT
  6164. A perusal of PSL:BUG-MAIL.TXT revealed the following outstanding problems
  6165. with PSL:
  6166. No checking for number of arguments in compiled code, not even for
  6167. interpreted code calling compiled code. A related problem is the inability
  6168. to define functions which take a variable number of arguments which can be
  6169. FUNCALLed effectively.
  6170. The distinction between fluids and globals is not useful in PSL. Its only
  6171. function is to print annoying messages about globals which can't become
  6172. fluids. Perhaps the warning message should be suppresed.
  6173. There is no general function for type coercion. Also there is no function
  6174. TYPE-OF which returns the name of a data type, or TYPECASE which dispatches
  6175. on the type. In general, the name of a data type is not really used by the
  6176. system.
  6177. Debugging tools leave much to be desired. Some features requested are:
  6178. A backtrace for bindings of fluid variables.
  6179. A means of examining stack frames of compiled functions.
  6180. A better interface to the STEP function, such as being able to step just
  6181. within a certain function, similar to TRST.
  6182. The structure editor ZPEDIT, obtained from IMSSS has bugs in the A, N and
  6183. BO commands. These are probably caused by miscompilation due to evaluation
  6184. order problems.
  6185. There are several deficiencies with input and output:
  6186. RDS and WRS are considered to be poor means to direct input and output
  6187. to different places, as opposed to functions which take optional stream
  6188. arguments.
  6189. The representation of channels as small integers means that there are a
  6190. limited number of streams which can be active. Also, there can be no predicate
  6191. stream-p with this arrangement.
  6192. The method of opening special channels is messy. It should be changed
  6193. to use a separate function OPEN-SPECIAL.
  6194. The token scanner is insufficiently general. Read macros are tied to
  6195. property lists instead of scanner tables.
  6196. + and - print as !+ and !-.
  6197. Characters are represented as integers instead of being a separate data
  6198. type.
  6199. FASLOUT adds a ".b" to the filename given, while FASLIN does not.
  6200. The arguments to MAP, MAPC, etc. are in the wrong order wrt
  6201. Maclisp/Commonlisp compatibility.
  6202. The separation of error output and standard output into 2 channels on Unix
  6203. has proven to be undesirable. They should be combined into 1 channel.
  6204. There should be user-controllable hooks before and after garbage
  6205. collection. Also, interrupts should be disabled during GC.
  6206. Some system functions cannot be traced without destroying the system, e.g.
  6207. GET.
  6208. There is no way to circumvent the automatic line breaks produced by PRIN1
  6209. and PRIN2 before long atoms.
  6210. The interface to BREAK is poor, with the single character atoms which do
  6211. magic things. Also, the inheritance of the top loop read/eval/print is
  6212. undesirable.
  6213. There are 2 different interfaces to Rlisp, one from the PSL top loop,
  6214. obtained with the function RLISP, and one from Reduce, with the BEGIN
  6215. function. These are slightly incompatible and produce different results
  6216. when a break loop is entered (see above comment).
  6217. The small-integer-only functions IPLUS2, IDIFFERENCE, etc. are not
  6218. documented.
  6219. The PRINTX function used for printing parameters of traced functions does
  6220. not interact well with PRINLEVEL and/or PRINLENGTH.
  6221. The most negative integer is not properly handled by the printer. An
  6222. infinite stream of - signs is produced. The solution is to do all
  6223. arithmetic on negative numbers in printing routines, since -n exists for
  6224. all positive n in 2's complement number systems.
  6225. The function ERRORSET must call EVAL on its form argument. This causes the
  6226. usual problems with calling EVAL. The only other way to trap errors is
  6227. with UNWIND-PROTECT, but that doesn't stop BREAK from being called. ERRSET
  6228. exists but it doesn't seem to be what is desired, being essentially just a
  6229. special form version of ERRORSET.
  6230. The %e format specifier in PRINTF has the same problem as ERRORSET, a call
  6231. to EVAL.
  6232. Compilation of constant expressions is sometimes wrong, e.g. (eq 3 3).
  6233. Code space cannot be reclaimed, even though compiled functions may no
  6234. longer be available.
  6235. UNTR doesn't change a function back to its original definition, but leaves
  6236. a silently traced definition.
  6237. -------
  6238. 24-Dec-82 02:17:27-PST,935;000000000001
  6239. Date: 24 Dec 1982 02:05:53-PST
  6240. From: daemon at HP-VENUS
  6241. Via: utah-cs
  6242. Date: Thu Dec 23 21:25:23 1982
  6243. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2116-MST
  6244. Date: 23 Dec 1982 12:55:52-PST
  6245. From: SOREFF@HP-HULK at HP-VENUS
  6246. Via: utah-cs
  6247. Date: Thu Dec 23 01:42:43 1982
  6248. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0135-MST
  6249. Date: 21 Dec 1982 1728-PST
  6250. From: SOREFF at HP-HULK
  6251. Subject: compiler
  6252. To: psl at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6253. cc: soreff at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6254. Via: HP-Labs; 22 Dec 82 23:41-PDT
  6255. Via: HP-Labs; 23 Dec 82 19:51-PDT
  6256. What does "Compiler bug: expression too complicated, please simplify" mean?!!!
  6257. What sort of sexp is too complex for the compiler to handle, what sort of
  6258. rewrite is needed to eliminate it? -Jeff
  6259. -------
  6260. 24-Dec-82 09:50:59-PST,1235;000000000001
  6261. Date: 24 Dec 1982 09:46:34-PST
  6262. From: daemon at HP-VENUS
  6263. Via: utah-cs
  6264. Date: Fri Dec 24 07:32:28 1982
  6265. Mail-from: ARPANET site RAND-RELAY rcvd at 24-Dec-82 0728-MST
  6266. Date: 24 Dec 1982 01:43:25-PST
  6267. From: daemon at HP-VENUS
  6268. Via: utah-cs
  6269. Date: Thu Dec 23 21:22:27 1982
  6270. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2113-MST
  6271. Date: 23 Dec 1982 12:36:18-PST
  6272. From: GRISS@HP-HULK at HP-VENUS
  6273. Via: utah-cs
  6274. Date: Thu Dec 23 00:37:24 1982
  6275. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0033-MST
  6276. Date: 22 Dec 1982 0959-PST
  6277. From: GRISS at HP-HULK
  6278. Subject: BIGNUM/LAP problem on HP9836
  6279. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs, @, GRISS@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6280. Via: HP-Labs; 22 Dec 82 23:07-PDT
  6281. Via: HP-Labs; 23 Dec 82 19:49-PDT
  6282. Via: HP-Labs; 24 Dec 82 6:16-PDT
  6283. Apparently LAP and BIGNUM inmteract badly on HP9836. This beacuse INUM
  6284. range decreased when BIGNUMs present, but some code in LAP must be
  6285. cavalierly passing Generic arith output, assumed to be INUM, to INUM
  6286. routines.
  6287. Should track down and fix in LAP.
  6288. Alternative fix (longer term), is to make BIGNUM and GENERIC rith
  6289. use double word operations to correctly permit full sized INUMs.
  6290. -------
  6291. 24-Dec-82 09:51:06-PST,1253;000000000001
  6292. Date: 24 Dec 1982 09:46:51-PST
  6293. From: daemon at HP-VENUS
  6294. Via: utah-cs
  6295. Date: Fri Dec 24 07:32:47 1982
  6296. Mail-from: ARPANET site RAND-RELAY rcvd at 24-Dec-82 0729-MST
  6297. Date: 24 Dec 1982 01:43:42-PST
  6298. From: daemon at HP-VENUS
  6299. Via: utah-cs
  6300. Date: Thu Dec 23 21:22:46 1982
  6301. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2113-MST
  6302. Date: 23 Dec 1982 12:52:47-PST
  6303. From: SOREFF@HP-HULK at HP-VENUS
  6304. Via: utah-cs
  6305. Date: Thu Dec 23 00:42:22 1982
  6306. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0036-MST
  6307. Date: 13 Dec 1982 1204-PST
  6308. From: SOREFF at HP-HULK
  6309. Subject: bug in trst
  6310. To: psl at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6311. cc: soreff at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6312. Via: HP-Labs; 22 Dec 82 23:09-PDT
  6313. Via: HP-Labs; 23 Dec 82 19:49-PDT
  6314. Via: HP-Labs; 24 Dec 82 6:16-PDT
  6315. Trst seems to have a bug in it that is sensitive to the formal parameters
  6316. of the function(s) being traced. -Jeff
  6317. (de tst1 (x y z)
  6318. (cond (x
  6319. (setq y z))))
  6320. (de tst2 (pop y z)
  6321. (cond (pop
  6322. (setq y z))))
  6323. (trst tst1) % OK
  6324. (trst tst2) % blows up, differs from tst1 only in formal parameter name
  6325. -------
  6326. 24-Dec-82 09:51:12-PST,1171;000000000001
  6327. Date: 24 Dec 1982 09:47:08-PST
  6328. From: daemon at HP-VENUS
  6329. Via: utah-cs
  6330. Date: Fri Dec 24 07:33:07 1982
  6331. Mail-from: ARPANET site RAND-RELAY rcvd at 24-Dec-82 0729-MST
  6332. Date: 24 Dec 1982 01:44:01-PST
  6333. From: daemon at HP-VENUS
  6334. Via: utah-cs
  6335. Date: Thu Dec 23 21:23:05 1982
  6336. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2114-MST
  6337. Date: 23 Dec 1982 12:53:11-PST
  6338. From: SOREFF@HP-HULK at HP-VENUS
  6339. Via: utah-cs
  6340. Date: Thu Dec 23 00:42:41 1982
  6341. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0038-MST
  6342. Date: 13 Dec 1982 1357-PST
  6343. From: SOREFF at HP-HULK
  6344. Subject: representing control characters
  6345. To: psl at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6346. cc: soreff at HP-HULK, SOREFF@at, @, SOREFF@HP-labs, @, SOREFF@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6347. Via: HP-Labs; 22 Dec 82 23:10-PDT
  6348. Via: HP-Labs; 23 Dec 82 19:49-PDT
  6349. Via: HP-Labs; 24 Dec 82 6:17-PDT
  6350. Is there a simple way to represent control characters in a PSL source file
  6351. which does not require actual control characters in the file, allowing it
  6352. to be printed without fouling up the printer? -Jeff
  6353. -------
  6354. 24-Dec-82 09:51:18-PST,1345;000000000001
  6355. Date: 24 Dec 1982 09:47:25-PST
  6356. From: daemon at HP-VENUS
  6357. Via: utah-cs
  6358. Date: Fri Dec 24 07:33:27 1982
  6359. Mail-from: ARPANET site RAND-RELAY rcvd at 24-Dec-82 0729-MST
  6360. Date: 24 Dec 1982 01:44:21-PST
  6361. From: daemon at HP-VENUS
  6362. Via: utah-cs
  6363. Date: Thu Dec 23 21:23:24 1982
  6364. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2114-MST
  6365. Date: 23 Dec 1982 12:53:33-PST
  6366. From: PERDUE@HP-HULK at HP-VENUS
  6367. Via: utah-cs
  6368. Date: Thu Dec 23 00:43:01 1982
  6369. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0038-MST
  6370. Date: 13 Dec 1982 1456-PST
  6371. From: PERDUE at HP-HULK
  6372. Subject: CHAR and "#\"
  6373. To: PSL at HP-HULK
  6374. cc: Soreff at HP-HULK
  6375. Via: HP-Labs; 22 Dec 82 23:11-PDT
  6376. Via: HP-Labs; 23 Dec 82 19:49-PDT
  6377. Via: HP-Labs; 24 Dec 82 6:17-PDT
  6378. The CHAR macro is apparently documented in the wrong place and the
  6379. documentation for the "#\" (extended) read macro needs to be fleshed
  6380. out. CHAR is actually in the kernel in spite of being documented in
  6381. the section on SYSLISP, and the kernel seems like a reasonable place for
  6382. it. "#\" is actually an extended version of CHAR (redefine DOCHAR,
  6383. which does the work for CHAR), and the names defined for characters need
  6384. to appear in the documentation, not just the source code.
  6385. The set of names supplied with #\ in PU:READ-MACROS is also quite
  6386. excessive and I will trim it.
  6387. -------
  6388. 24-Dec-82 09:51:24-PST,1370;000000000001
  6389. Date: 24 Dec 1982 09:47:42-PST
  6390. From: daemon at HP-VENUS
  6391. Via: utah-cs
  6392. Date: Fri Dec 24 07:33:46 1982
  6393. Mail-from: ARPANET site RAND-RELAY rcvd at 24-Dec-82 0730-MST
  6394. Date: 24 Dec 1982 01:44:39-PST
  6395. From: daemon at HP-VENUS
  6396. Via: utah-cs
  6397. Date: Thu Dec 23 21:23:43 1982
  6398. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2114-MST
  6399. Date: 23 Dec 1982 12:53:57-PST
  6400. From: douglas@HP-VENUS at HP-VENUS
  6401. Via: utah-cs
  6402. Date: Thu Dec 23 00:52:28 1982
  6403. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  6404. Date: 19 Dec 1982 17:34:47-PST
  6405. From: douglas at HP-VENUS
  6406. To: griss@hulk, psl@hulk
  6407. Subject: deficiency in psl (dealing with remainders and modular arithmetic).
  6408. Via: HP-Labs; 22 Dec 82 23:28-PDT
  6409. Via: HP-Labs; 23 Dec 82 19:50-PDT
  6410. Via: HP-Labs; 24 Dec 82 6:17-PDT
  6411. I find remainder is not complete in its present definition in psl.
  6412. I need to always do:
  6413. (let ((a (remainder arg1 arg2)))
  6414. (cond ((>= a 0) a)
  6415. (t (minus a)))),
  6416. I could find no function that corresponds to the above.
  6417. Nor could I find a function which returns a/b mod c in a range
  6418. other than (-c,c). It is useful to have integer remainder functions
  6419. that return in the ranges [0,c), and (-c/2,c/2] (or was is [-c/2,c/2).)
  6420. Do such functions exist?
  6421. Wremainder and Iremainder both act the same as remainder (except only
  6422. on integers).
  6423. douglas
  6424. 24-Dec-82 10:02:50-PST,1035;000000000001
  6425. Date: 24 Dec 1982 09:47:59-PST
  6426. From: daemon at HP-VENUS
  6427. Via: utah-cs
  6428. Date: Fri Dec 24 07:34:05 1982
  6429. Mail-from: ARPANET site RAND-RELAY rcvd at 24-Dec-82 0730-MST
  6430. Date: 24 Dec 1982 01:44:58-PST
  6431. From: daemon at HP-VENUS
  6432. Via: utah-cs
  6433. Date: Thu Dec 23 21:24:02 1982
  6434. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2114-MST
  6435. Date: 23 Dec 1982 12:54:19-PST
  6436. From: GRISS@HP-HULK at HP-VENUS
  6437. Via: utah-cs
  6438. Date: Thu Dec 23 00:52:48 1982
  6439. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  6440. Date: 20 Dec 1982 0649-PST
  6441. From: GRISS at HP-HULK
  6442. Subject: RCREF "bug"
  6443. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs, @, GRISS@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6444. Via: HP-Labs; 22 Dec 82 23:29-PDT
  6445. Via: HP-Labs; 23 Dec 82 19:50-PDT
  6446. Via: HP-Labs; 24 Dec 82 6:17-PDT
  6447. Need to install LPOSN for line number counters in RCREF.
  6448. Need to install information about FOREACH and other "standard" macros
  6449. (or make them expand) so that variables in FOREACH dont behave as
  6450. functions.
  6451. -------
  6452. 24-Dec-82 10:02:59-PST,1098;000000000001
  6453. Date: 24 Dec 1982 09:48:15-PST
  6454. From: daemon at HP-VENUS
  6455. Via: utah-cs
  6456. Date: Fri Dec 24 07:34:26 1982
  6457. Mail-from: ARPANET site RAND-RELAY rcvd at 24-Dec-82 0730-MST
  6458. Date: 24 Dec 1982 01:45:18-PST
  6459. From: daemon at HP-VENUS
  6460. Via: utah-cs
  6461. Date: Thu Dec 23 21:24:22 1982
  6462. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2115-MST
  6463. Date: 23 Dec 1982 12:54:40-PST
  6464. From: GRISS@HP-HULK at HP-VENUS
  6465. Via: utah-cs
  6466. Date: Thu Dec 23 00:53:10 1982
  6467. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0048-MST
  6468. Date: 20 Dec 1982 0724-PST
  6469. From: GRISS at HP-HULK
  6470. Subject: RCREF
  6471. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs, @, GRISS@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6472. Via: HP-Labs; 22 Dec 82 23:29-PDT
  6473. Via: HP-Labs; 23 Dec 82 19:50-PDT
  6474. Via: HP-Labs; 24 Dec 82 6:18-PDT
  6475. I have flagged some functions EXPAND (FOR, FOREACH, WHILE and REPEAT)
  6476. and taught RCREF about NEXPRs and SMACROS.
  6477. Still need to carfully check the various standard functionlists
  6478. to suppress printing of "uninteresting" functions. Eg, GEQ, LEQ should
  6479. be added to such lists.
  6480. -------
  6481. 24-Dec-82 10:03:06-PST,1079;000000000001
  6482. Date: 24 Dec 1982 09:48:33-PST
  6483. From: daemon at HP-VENUS
  6484. Via: utah-cs
  6485. Date: Fri Dec 24 07:34:46 1982
  6486. Mail-from: ARPANET site RAND-RELAY rcvd at 24-Dec-82 0730-MST
  6487. Date: 24 Dec 1982 01:45:35-PST
  6488. From: daemon at HP-VENUS
  6489. Via: utah-cs
  6490. Date: Thu Dec 23 21:24:41 1982
  6491. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 2115-MST
  6492. Date: 23 Dec 1982 12:55:00-PST
  6493. From: GRISS@HP-HULK at HP-VENUS
  6494. Via: utah-cs
  6495. Date: Thu Dec 23 01:37:20 1982
  6496. Mail-from: ARPANET site RAND-RELAY rcvd at 23-Dec-82 0131-MST
  6497. Date: 20 Dec 1982 1827-PST
  6498. From: GRISS at HP-HULK
  6499. Subject: RCREF
  6500. To: psl at HP-HULK, GRISS@at, @, GRISS@HP-labs, @, GRISS@HP-HULK, @, HP-VENUS@HP-labs, HP-VENUS at RAND-RELAY
  6501. Via: HP-Labs; 22 Dec 82 23:35-PDT
  6502. Via: HP-Labs; 23 Dec 82 19:50-PDT
  6503. Via: HP-Labs; 24 Dec 82 6:18-PDT
  6504. We need to teach RCREF about functions such as PRINTF and BLDMSG that
  6505. take a variable # of arguments . perhaps relate to better NEXPR/LEXPR
  6506. model.
  6507. We need to teach RCREF how to use .BUILD file(s) to cref modules with
  6508. appropriate support modules laoded.
  6509. -------
  6510. 28-Dec-82 14:17:25-PST,185;000000000001
  6511. Date: 28 Dec 1982 1414-PST
  6512. From: PERDUE at HP-HULK
  6513. Subject: Fix to TRST
  6514. To: PSL, Soreff
  6515. I have fixed the bug with TRST where (cond (pop (setq y z))) was
  6516. handled wrong.
  6517. -------
  6518. 28-Dec-82 16:33:40-PST,487;000000000001
  6519. Mail-From: GRISS created at 28-Dec-82 16:28:55
  6520. Date: 28 Dec 1982 1628-PST
  6521. From: GRISS at HP-HULK
  6522. Subject: Misc
  6523. To: psl at HP-HULK
  6524. a) I am working on major cleanup of compiler. Copy on <griss>new-compiler.red
  6525. _Please dont change COMPILER.RED on PC:
  6526. b) Some new .MSS files for manual. I put on <psl-distribution.rsm>,
  6527. new one are nn-name.mss, so can compare with old, and R'd versions.
  6528. This is not latest set, but much closer ow to what we have at Utah.
  6529. -------
  6530. 29-Dec-82 13:16:59-PST,156;000000000001
  6531. Date: 29 Dec 1982 1316-PST
  6532. From: PERDUE at HP-HULK
  6533. Subject: LPOSN
  6534. To: PSL
  6535. I have modified source files to implement LPOSN and CHANNELLPOSN.
  6536. -------
  6537. 29-Dec-82 14:50:40-PST,265;000000000001
  6538. Mail-From: GRISS created at 29-Dec-82 14:42:07
  6539. Date: 29 Dec 1982 1442-PST
  6540. From: GRISS at HP-HULK
  6541. Subject: Latest Printx
  6542. To: psl at HP-HULK
  6543. try trst of foo x;
  6544. procedure foo x; 1;
  6545. and call foo '[]; seems to put in the %L1: stuff unneccesarily.
  6546. -------
  6547. 29-Dec-82 15:22:00-PST,327;000000000001
  6548. Date: 29 Dec 1982 15:06:10-PST
  6549. From: douglas at HP-VENUS
  6550. To: benson@HP-VENUS, benson@hulk, psl@hulk
  6551. Subject: psl bug on vax.
  6552. When you start psl on the vax now, you get the message:
  6553. ***** `READ-INIT-FILE' is an undefined function
  6554. ***** Continuation requires a value for `(READ-INIT-FILE "psl")'
  6555. Break loop
  6556. Douglas
  6557. 30-Dec-82 01:42:07-PST,703;000000000001
  6558. Date: 30 Dec 1982 01:35:47-PST
  6559. From: daemon at HP-VENUS
  6560. Via: utah-cs
  6561. Date: Wed Dec 29 22:32:11 1982
  6562. Mail-from: ARPANET site RAND-RELAY rcvd at 29-Dec-82 2225-MST
  6563. Date: 28 Dec 1982 1628-PST
  6564. From: GRISS at HP-HULK
  6565. Subject: Misc
  6566. To: psl at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  6567. Via: HP-Labs; 28 Dec 82 19:57-PDT
  6568. a) I am working on major cleanup of compiler. Copy on <griss>new-compiler.red
  6569. _Please dont change COMPILER.RED on PC:
  6570. b) Some new .MSS files for manual. I put on <psl-distribution.rsm>,
  6571. new one are nn-name.mss, so can compare with old, and R'd versions.
  6572. This is not latest set, but much closer ow to what we have at Utah.
  6573. -------
  6574. 30-Dec-82 01:42:08-PST,450;000000000001
  6575. Date: 30 Dec 1982 01:35:55-PST
  6576. From: daemon at HP-VENUS
  6577. Via: utah-cs
  6578. Date: Wed Dec 29 22:32:18 1982
  6579. Mail-from: ARPANET site RAND-RELAY rcvd at 29-Dec-82 2224-MST
  6580. Date: 28 Dec 1982 1414-PST
  6581. From: PERDUE at HP-HULK
  6582. Subject: Fix to TRST
  6583. To: PERDUE@PSL, @, HP-labs@HP-VENUS, PERDUE@Soreff, @, HP-labs@HP-VENUS
  6584. Via: HP-Labs; 28 Dec 82 19:56-PDT
  6585. I have fixed the bug with TRST where (cond (pop (setq y z))) was
  6586. handled wrong.
  6587. -------
  6588. 30-Dec-82 01:42:10-PST,393;000000000001
  6589. Date: 30 Dec 1982 01:36:03-PST
  6590. From: daemon at HP-VENUS
  6591. Via: utah-cs
  6592. Date: Wed Dec 29 22:57:12 1982
  6593. Mail-from: ARPANET site RAND-RELAY rcvd at 29-Dec-82 2253-MST
  6594. Date: 29 Dec 1982 1316-PST
  6595. From: PERDUE at HP-HULK
  6596. Subject: LPOSN
  6597. To: PERDUE@PSL, @, HP-labs@HP-VENUS
  6598. Via: HP-Labs; 29 Dec 82 19:12-PDT
  6599. I have modified source files to implement LPOSN and CHANNELLPOSN.
  6600. -------
  6601. 30-Dec-82 01:42:12-PST,481;000000000001
  6602. Date: 30 Dec 1982 01:36:15-PST
  6603. From: daemon at HP-VENUS
  6604. Via: utah-cs
  6605. Date: Wed Dec 29 22:57:20 1982
  6606. Mail-from: ARPANET site RAND-RELAY rcvd at 29-Dec-82 2253-MST
  6607. Date: 29 Dec 1982 1442-PST
  6608. From: GRISS at HP-HULK
  6609. Subject: Latest Printx
  6610. To: psl at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  6611. Via: HP-Labs; 29 Dec 82 19:12-PDT
  6612. try trst of foo x;
  6613. procedure foo x; 1;
  6614. and call foo '[]; seems to put in the %L1: stuff unneccesarily.
  6615. -------
  6616. 30-Dec-82 01:42:14-PST,536;000000000001
  6617. Date: 30 Dec 1982 01:36:25-PST
  6618. From: daemon at HP-VENUS
  6619. Via: utah-cs
  6620. Date: Wed Dec 29 22:57:29 1982
  6621. Mail-from: ARPANET site RAND-RELAY rcvd at 29-Dec-82 2253-MST
  6622. Date: 29 Dec 1982 15:06:10-PST
  6623. From: douglas at HP-VENUS
  6624. To: benson@HP-VENUS, benson@hulk, psl@hulk
  6625. Subject: psl bug on vax.
  6626. Via: HP-Labs; 29 Dec 82 19:12-PDT
  6627. When you start psl on the vax now, you get the message:
  6628. ***** `READ-INIT-FILE' is an undefined function
  6629. ***** Continuation requires a value for `(READ-INIT-FILE "psl")'
  6630. Break loop
  6631. Douglas
  6632. 30-Dec-82 06:56:29-PST,579;000000000001
  6633. Mail-From: GRISS created at 30-Dec-82 06:56:02
  6634. Date: 30 Dec 1982 0656-PST
  6635. From: GRISS at HP-HULK
  6636. Subject: HELP
  6637. To: psl at HP-HULK
  6638. a) Need to change HELP file syntax to be LISP syntax in example, ala
  6639. manual headers
  6640. b) Need to fix the HELP(); and HELP HELP; problems.
  6641. Perhaps HELP should NOT be an RLISP parsing function, or at least
  6642. should only work to suppress argument parsing functions, so that
  6643. HELP(a,b,c); is the model. Needs a new kind of RLISx parsing function.
  6644. c) Need to update the HELP.TBL for more important GLOBALS and switches.
  6645. -------
  6646. 30-Dec-82 07:11:02-PST,458;000000000001
  6647. Mail-From: GRISS created at 30-Dec-82 07:07:50
  6648. Date: 30 Dec 1982 0707-PST
  6649. From: GRISS at HP-HULK
  6650. Subject: Mathlib
  6651. To: psl at HP-HULK
  6652. It references some constants, Smallest-Flonum, etc. These
  6653. are MACHINE dependent (ie, FLOAT implementation dependent).
  6654. They should be move to the MATHLIB.BUILD file, and IF_SYSTEMs
  6655. added for each machine.
  6656. These constants are really more globally interesting. Check common-LISP
  6657. environment enquiries.
  6658. -------
  6659. 30-Dec-82 09:41:12-PST,794;000000000001
  6660. Date: 30 Dec 1982 09:36:01-PST
  6661. From: daemon at HP-VENUS
  6662. Via: utah-cs
  6663. Date: Thu Dec 30 08:47:08 1982
  6664. Mail-from: ARPANET site RAND-RELAY rcvd at 30-Dec-82 0839-MST
  6665. Date: 30 Dec 1982 0656-PST
  6666. From: GRISS at HP-HULK
  6667. Subject: HELP
  6668. To: psl at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  6669. Via: HP-Labs; 30 Dec 82 7:12-PDT
  6670. a) Need to change HELP file syntax to be LISP syntax in example, ala
  6671. manual headers
  6672. b) Need to fix the HELP(); and HELP HELP; problems.
  6673. Perhaps HELP should NOT be an RLISP parsing function, or at least
  6674. should only work to suppress argument parsing functions, so that
  6675. HELP(a,b,c); is the model. Needs a new kind of RLISx parsing function.
  6676. c) Need to update the HELP.TBL for more important GLOBALS and switches.
  6677. -------
  6678. 30-Dec-82 09:41:14-PST,673;000000000001
  6679. Date: 30 Dec 1982 09:36:09-PST
  6680. From: daemon at HP-VENUS
  6681. Via: utah-cs
  6682. Date: Thu Dec 30 08:47:15 1982
  6683. Mail-from: ARPANET site RAND-RELAY rcvd at 30-Dec-82 0839-MST
  6684. Date: 30 Dec 1982 0707-PST
  6685. From: GRISS at HP-HULK
  6686. Subject: Mathlib
  6687. To: psl at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  6688. Via: HP-Labs; 30 Dec 82 7:12-PDT
  6689. It references some constants, Smallest-Flonum, etc. These
  6690. are MACHINE dependent (ie, FLOAT implementation dependent).
  6691. They should be move to the MATHLIB.BUILD file, and IF_SYSTEMs
  6692. added for each machine.
  6693. These constants are really more globally interesting. Check common-LISP
  6694. environment enquiries.
  6695. -------
  6696. 30-Dec-82 12:03:23-PST,328;000000000001
  6697. Date: 30 Dec 1982 1159-PST
  6698. From: AS at HP-HULK
  6699. Subject: manual suggestion
  6700. To: PSL
  6701. cc: AS
  6702. It is not clear that the arguments to compiletime, bothtimes, and loadtime
  6703. should not be quoted, since they are described as Exprs. In any case, I would
  6704. prefer that they be macros and take an arbitrary number of forms.
  6705. -------
  6706. 30-Dec-82 12:18:55-PST,277;000000000001
  6707. Date: 30 Dec 1982 12:12:26-PST
  6708. From: douglas at HP-VENUS
  6709. To: as@hulk, griss@hulk, psl@hulk
  6710. Subject: new manual mistake (br, unbr):
  6711. The manual lists the functions br, and unbr on page 2-5.
  6712. These functions do not exist in psl on the vax.
  6713. (in psl or in debug).
  6714. Douglas
  6715. 30-Dec-82 16:13:50-PST,480;000000000001
  6716. Date: 30 Dec 1982 16:07:17-PST
  6717. From: douglas at HP-VENUS
  6718. To: griss@hulk, psl@hulk, tracy@Hulk
  6719. Subject: psl chipmunk compiler bug.
  6720. In the function wconstevaluable: If it is given an argument (frame 1):
  6721. If no function frame exists ( (getd 'frame) = nil),
  6722. The correct code is produced.
  6723. If the user has define a function frame (getd 'frame ) <> nil ,
  6724. The system proceeds to call the function "frame".
  6725. This does not take place on the vax and/or hulk.
  6726. Douglas
  6727. 30-Dec-82 16:14:00-PST,415;000000000001
  6728. Date: 30 Dec 1982 16:09:11-PST
  6729. From: douglas at HP-VENUS
  6730. To: griss@hulk, psl@hulk
  6731. Subject: clarification to last letter on psl chipmunk compiler.
  6732. The bug happens when you compile a simple function that causes
  6733. the compiler to call its internal function "wconstevaluatable"
  6734. with an argument "(frame 1)".
  6735. Normal arguments to wconstevaluable seem to include "frame x",
  6736. "(reg x)", "(minus x)", etc.
  6737. Douglas
  6738. 31-Dec-82 00:56:36-PST,1109;000000000001
  6739. Date: 31 Dec 1982 00:56:17-PST
  6740. From: douglas at HP-VENUS
  6741. To: psl@hulk
  6742. Subject: psl compiler bug .
  6743. % psl
  6744. PSL 3.1, 29-Dec-82
  6745. 1 lisp> (load compiler)
  6746. NIL
  6747. 2 lisp> (defun reg (x) t)
  6748. REG
  6749. 3 lisp> (de x (y z) (iplus2 y z))
  6750. X
  6751. 4 lisp> (compile '(x))
  6752. ***** Unknown label `T' in LAP
  6753. Break loop
  6754. Note, I have found that defining the functions:
  6755. "frame", & "reg" causes the compiler to produce just plain
  6756. strange code in all versions of psl.
  6757. These functions do not exist in psl anywhere.
  6758. It appears that the function "wconstevaluable" in the psl compiler
  6759. is too general about how it goes about evalualating its arguments.
  6760. It appears that it tries to see if something is a constant at compile
  6761. time, and if it is, it evaluates it and puts it in place of its contents.
  6762. This function appears to be passed operands in lap code. ( (reg 1) (wconst 1),
  6763. and (frame 1) , etc.)
  6764. To my understanding,
  6765. A correction to this function should tell which small
  6766. subset of functions are correct to expand and which are not real functions
  6767. but labels or tags in the lap code.
  6768. Douglas
  6769. 31-Dec-82 02:01:25-PST,585;000000000000
  6770. Date: 31 Dec 1982 02:01:20-PST
  6771. From: daemon at HP-VENUS
  6772. Via: utah-cs
  6773. Date: Fri Dec 31 00:57:08 1982
  6774. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0053-MST
  6775. Date: 30 Dec 1982 1159-PST
  6776. From: AS at HP-HULK
  6777. Subject: manual suggestion
  6778. To: AS@PSL, @, HP-labs@HP-VENUS
  6779. cc: AS@AS, @, HP-labs@HP-VENUS
  6780. Via: HP-Labs; 30 Dec 82 23:46-PDT
  6781. It is not clear that the arguments to compiletime, bothtimes, and loadtime
  6782. should not be quoted, since they are described as Exprs. In any case, I would
  6783. prefer that they be macros and take an arbitrary number of forms.
  6784. -------
  6785. 31-Dec-82 02:01:27-PST,486;000000000000
  6786. Date: 31 Dec 1982 02:01:27-PST
  6787. From: daemon at HP-VENUS
  6788. Via: utah-cs
  6789. Date: Fri Dec 31 00:57:15 1982
  6790. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0053-MST
  6791. Date: 30 Dec 1982 12:12:26-PST
  6792. From: douglas at HP-VENUS
  6793. To: as@hulk, griss@hulk, psl@hulk
  6794. Subject: new manual mistake (br, unbr):
  6795. Via: HP-Labs; 30 Dec 82 23:46-PDT
  6796. The manual lists the functions br, and unbr on page 2-5.
  6797. These functions do not exist in psl on the vax.
  6798. (in psl or in debug).
  6799. Douglas
  6800. 31-Dec-82 02:01:29-PST,689;000000000000
  6801. Date: 31 Dec 1982 02:01:33-PST
  6802. From: daemon at HP-VENUS
  6803. Via: utah-cs
  6804. Date: Fri Dec 31 01:32:08 1982
  6805. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0128-MST
  6806. Date: 30 Dec 1982 16:07:17-PST
  6807. From: douglas at HP-VENUS
  6808. To: griss@hulk, psl@hulk, tracy@Hulk
  6809. Subject: psl chipmunk compiler bug.
  6810. Via: HP-Labs; 30 Dec 82 23:55-PDT
  6811. In the function wconstevaluable: If it is given an argument (frame 1):
  6812. If no function frame exists ( (getd 'frame) = nil),
  6813. The correct code is produced.
  6814. If the user has define a function frame (getd 'frame ) <> nil ,
  6815. The system proceeds to call the function "frame".
  6816. This does not take place on the vax and/or hulk.
  6817. Douglas
  6818. 31-Dec-82 02:01:31-PST,624;000000000000
  6819. Date: 31 Dec 1982 02:01:39-PST
  6820. From: daemon at HP-VENUS
  6821. Via: utah-cs
  6822. Date: Fri Dec 31 01:32:16 1982
  6823. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0128-MST
  6824. Date: 30 Dec 1982 16:09:11-PST
  6825. From: douglas at HP-VENUS
  6826. To: griss@hulk, psl@hulk
  6827. Subject: clarification to last letter on psl chipmunk compiler.
  6828. Via: HP-Labs; 30 Dec 82 23:55-PDT
  6829. The bug happens when you compile a simple function that causes
  6830. the compiler to call its internal function "wconstevaluatable"
  6831. with an argument "(frame 1)".
  6832. Normal arguments to wconstevaluable seem to include "frame x",
  6833. "(reg x)", "(minus x)", etc.
  6834. Douglas
  6835. 31-Dec-82 06:05:34-PST,519;000000000000
  6836. Mail-From: GRISS created at 31-Dec-82 06:00:42
  6837. Date: 31 Dec 1982 0600-PST
  6838. From: GRISS at HP-HULK
  6839. Subject: Re: new manual mistake (br, unbr):
  6840. To: douglas at HP-VENUS, as at HP-HULK, psl at HP-HULK
  6841. In-Reply-To: Your message of 30-Dec-82 1218-PST
  6842. Actually, BR and UNBR in the MINI-TRACE used to be in KERNELand then
  6843. DEBUG loaded over it. Recent cleanups must have put FULL debug (autload stub)
  6844. in kernel.
  6845. Ideal is that MINI-TRACE be true subset of DEBUG, rest loaded in
  6846. if needed for FULL debug.
  6847. -------
  6848. 31-Dec-82 06:05:43-PST,537;000000000000
  6849. Mail-From: GRISS created at 31-Dec-82 06:01:14
  6850. Date: 31 Dec 1982 0601-PST
  6851. From: GRISS at HP-HULK
  6852. Subject: [douglas at HP-VENUS: missing line in manual (page 2-5) Factorial Function.]
  6853. To: psl at HP-HULK
  6854. ---------------
  6855. Date: 30 Dec 1982 12:19:26-PST
  6856. From: douglas at HP-VENUS
  6857. To: as@hulk, griss@hulk
  6858. Subject: missing line in manual (page 2-5) Factorial Function.
  6859. After the line
  6860. 8 NMODE Lisp> (Cond ((Eq 1)
  6861. Should be the missing line:
  6862. 8 NMODE Lisp> 1)
  6863. ---------------
  6864. -------
  6865. 31-Dec-82 06:20:32-PST,753;000000000000
  6866. Mail-From: GRISS created at 31-Dec-82 06:19:46
  6867. Date: 31 Dec 1982 0619-PST
  6868. From: GRISS at HP-HULK
  6869. Subject: Wconst Evaluable Fix
  6870. To: psl at HP-HULK
  6871. Fix is not to flag those functions that are compiled as is, but rather
  6872. to INSIST that for a (FOOO x y z) to get WCONST processing, it always
  6873. has a special property on FOOOO. Right nowe the model used is that
  6874. if x y z are wconst expressions, and if FOOO is a defined function, do it.
  6875. Need to change WconstEvaluable and WconstExpression in Pc:ANYREG-CMACRO.SL,
  6876. and to determine the set of functions that WCONSTxxx expects. Actually,
  6877. its more an issue of WHAT functions have been used in sources.
  6878. PLUS, WPLUS2, TIMES, WTIMES2, LSH etc come to mind, but we have to scan
  6879. all code.
  6880. -------
  6881. 31-Dec-82 06:25:31-PST,291;000000000000
  6882. Mail-From: GRISS created at 31-Dec-82 06:20:50
  6883. Date: 31 Dec 1982 0620-PST
  6884. From: GRISS at HP-HULK
  6885. Subject: WCONST..
  6886. To: psl at HP-HULK
  6887. actually, we should also detrimin what flags FRAME has to avoid this on 20
  6888. and VAX, and fail on HP9836. Probably something like TERMINAL..
  6889. -------
  6890. 31-Dec-82 09:39:55-PST,1318;000000000000
  6891. Date: 31 Dec 1982 09:35:53-PST
  6892. From: daemon at HP-VENUS
  6893. Via: utah-cs
  6894. Date: Fri Dec 31 07:47:12 1982
  6895. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0742-MST
  6896. Date: 31 Dec 1982 00:56:17-PST
  6897. From: douglas at HP-VENUS
  6898. To: psl@hulk
  6899. Subject: psl compiler bug .
  6900. Via: HP-Labs; 31 Dec 82 6:37-PDT
  6901. % psl
  6902. PSL 3.1, 29-Dec-82
  6903. 1 lisp> (load compiler)
  6904. NIL
  6905. 2 lisp> (defun reg (x) t)
  6906. REG
  6907. 3 lisp> (de x (y z) (iplus2 y z))
  6908. X
  6909. 4 lisp> (compile '(x))
  6910. ***** Unknown label `T' in LAP
  6911. Break loop
  6912. Note, I have found that defining the functions:
  6913. "frame", & "reg" causes the compiler to produce just plain
  6914. strange code in all versions of psl.
  6915. These functions do not exist in psl anywhere .
  6916. It appears that the function "wconstevaluable" in the psl compiler
  6917. is too general about how it goes about evalualating its arguments.
  6918. It appears that it tries to see if something is a constant at compile
  6919. time, and if it is, it evaluates it and puts it in place of its contents.
  6920. This function appears to be passed operands in lap code. ( (reg 1) (wconst 1),
  6921. and (frame 1) , etc.)
  6922. To my understanding,
  6923. A correction to this function should tell which small
  6924. subset of functions are correct to expand and which are not real functions
  6925. but labels or tags in the lap code.
  6926. Douglas
  6927. 31-Dec-82 09:39:57-PST,869;000000000000
  6928. Date: 31 Dec 1982 09:35:59-PST
  6929. From: daemon at HP-VENUS
  6930. Via: utah-cs
  6931. Date: Fri Dec 31 07:47:18 1982
  6932. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0742-MST
  6933. Date: 31 Dec 1982 0600-PST
  6934. From: GRISS at HP-HULK
  6935. Subject: Re: new manual mistake (br, unbr):
  6936. To: douglas at HP-VENUS, GRISS@at, @, HP-labs@HP-VENUS, GRISS@RAND-RELAY, @, HP-labs@HP-VENUS,
  6937. as at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY,
  6938. psl at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  6939. In-Reply-To: Your message of 30-Dec-82 1218-PST
  6940. Via: HP-Labs; 31 Dec 82 6:37-PDT
  6941. Actually, BR and UNBR in the MINI-TRACE used to be in KERNELand then
  6942. DEBUG loaded over it. Recent cleanups must have put FULL debug (autload stub)
  6943. in kernel.
  6944. Ideal is that MINI-TRACE be true subset of DEBUG, rest loaded in
  6945. if needed for FULL debug.
  6946. -------
  6947. 31-Dec-82 09:39:59-PST,752;000000000000
  6948. Date: 31 Dec 1982 09:36:04-PST
  6949. From: daemon at HP-VENUS
  6950. Via: utah-cs
  6951. Date: Fri Dec 31 07:47:25 1982
  6952. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0743-MST
  6953. Date: 31 Dec 1982 0601-PST
  6954. From: GRISS at HP-HULK
  6955. Subject: [douglas at HP-VENUS: missing line in manual (page 2-5) Factorial Function.]
  6956. To: psl at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  6957. Via: HP-Labs; 31 Dec 82 6:37-PDT
  6958. ---------------
  6959. Date: 30 Dec 1982 12:19:26-PST
  6960. From: douglas at HP-VENUS
  6961. To: as@hulk, griss@hulk
  6962. Subject: missing line in manual (page 2-5) Factorial Function.
  6963. After the line
  6964. 8 NMODE Lisp> (Cond ((Eq 1)
  6965. Should be the missing line:
  6966. 8 NMODE Lisp> 1)
  6967. ---------------
  6968. -------
  6969. 31-Dec-82 09:40:01-PST,968;000000000000
  6970. Date: 31 Dec 1982 09:36:09-PST
  6971. From: daemon at HP-VENUS
  6972. Via: utah-cs
  6973. Date: Fri Dec 31 07:47:32 1982
  6974. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0743-MST
  6975. Date: 31 Dec 1982 0619-PST
  6976. From: GRISS at HP-HULK
  6977. Subject: Wconst Evaluable Fix
  6978. To: psl at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  6979. Via: HP-Labs; 31 Dec 82 6:37-PDT
  6980. Fix is not to flag those functions that are compiled as is, but rather
  6981. to INSIST that for a (FOOO x y z) to get WCONST processing, it always
  6982. has a special property on FOOOO. Right nowe the model used is that
  6983. if x y z are wconst expressions, and if FOOO is a defined function, do it.
  6984. Need to change WconstEvaluable and WconstExpression in Pc:ANYREG-CMACRO.SL,
  6985. and to determine the set of functions that WCONSTxxx expects. Actually,
  6986. its more an issue of WHAT functions have been used in sources.
  6987. PLUS, WPLUS2, TIMES, WTIMES2, LSH etc come to mind, but we have to scan
  6988. all code.
  6989. -------
  6990. 31-Dec-82 09:40:03-PST,506;000000000000
  6991. Date: 31 Dec 1982 09:36:14-PST
  6992. From: daemon at HP-VENUS
  6993. Via: utah-cs
  6994. Date: Fri Dec 31 07:47:39 1982
  6995. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 0743-MST
  6996. Date: 31 Dec 1982 0620-PST
  6997. From: GRISS at HP-HULK
  6998. Subject: WCONST..
  6999. To: psl at HP-HULK, GRISS@at, @, HP-labs@HP-VENUS, HP-VENUS at RAND-RELAY
  7000. Via: HP-Labs; 31 Dec 82 6:37-PDT
  7001. actually, we should also detrimin what flags FRAME has to avoid this on 20
  7002. and VAX, and fail on HP9836. Probably something like TERMINAL..
  7003. -------
  7004. 31-Dec-82 15:35:28-PST,299;000000000000
  7005. Date: 31 Dec 1982 15:33:06-PST
  7006. From: douglas at HP-VENUS
  7007. To: GRISS@HP-HULK, as@HP-HULK, douglas@HP-VENUS, psl@HP-HULK
  7008. Subject: Re: new manual mistake (br, unbr):
  7009. Martin,
  7010. Are you saying that "br" and "unbr" exist still? I am unable
  7011. to find them in psl / bare-psl / or debug.
  7012. Douglas
  7013. 31-Dec-82 18:44:49-PST,551;000000000000
  7014. Date: 31 Dec 1982 18:44:48-PST
  7015. From: douglas at HP-VENUS
  7016. To: psl@hulk
  7017. Subject: question about manual notation.
  7018. When you describe functions:
  7019. as in : (example from page 16-3).
  7020. (Br [Fname:id]) : Undefined macro
  7021. In general, it seems to me that it may be hard to know
  7022. whether or not the macro needs to have its arguments
  7023. quoted. This probably should be stated somehow.
  7024. Also, Martin seems to imply that Br still exists. I can not find it.
  7025. If it does, please tell me where, as I would like to use it. Thanks.
  7026. Douglas
  7027. 31-Dec-82 18:49:47-PST,268;000000000000
  7028. Date: 31 Dec 1982 18:46:28-PST
  7029. From: douglas at HP-VENUS
  7030. To: psl@hulk
  7031. Subject: picture rlisp question
  7032. Does rlisp need to be loaded into psl for picture rlisp to work?
  7033. (And thus its name?) Does it only work in rlisp? Will it work fine
  7034. in psl without rlisp?
  7035. 31-Dec-82 21:34:19-PST,261;000000000000
  7036. Date: 31 Dec 1982 21:18:58-PST
  7037. From: douglas at HP-VENUS
  7038. To: griss@hulk, psl@hulk
  7039. Subject: chipmunk non recursive garbage collector
  7040. Cc: benson@hulk, tracy@hulk
  7041. I have found that it is working fine for me, and handles the frl
  7042. structures well.
  7043. Douglas
  7044. 1-Jan-83 01:34:55-PST,507;000000000000
  7045. Date: 1 Jan 1983 01:34:51-PST
  7046. From: daemon at HP-VENUS
  7047. Via: utah-cs
  7048. Date: Fri Dec 31 21:19:21 1982
  7049. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 2115-MST
  7050. Date: 31 Dec 1982 15:33:06-PST
  7051. From: douglas at HP-VENUS
  7052. To: GRISS@HP-HULK, as@HP-HULK, douglas@HP-VENUS, psl@HP-HULK
  7053. Subject: Re: new manual mistake (br, unbr):
  7054. Via: HP-Labs; 31 Dec 82 19:43-PDT
  7055. Martin,
  7056. Are you saying that "br" and "unbr" exist still? I am unable
  7057. to find them in psl / bare-psl / or debug.
  7058. Douglas
  7059. 1-Jan-83 01:34:56-PST,759;000000000000
  7060. Date: 1 Jan 1983 01:34:56-PST
  7061. From: daemon at HP-VENUS
  7062. Via: utah-cs
  7063. Date: Fri Dec 31 21:19:38 1982
  7064. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 2116-MST
  7065. Date: 31 Dec 1982 18:44:48-PST
  7066. From: douglas at HP-VENUS
  7067. To: psl@hulk
  7068. Subject: question about manual notation.
  7069. Via: HP-Labs; 31 Dec 82 19:43-PDT
  7070. When you describe functions:
  7071. as in : (example from page 16-3).
  7072. (Br [Fname:id]) : Undefined macro
  7073. In general, it seems to me that it may be hard to know
  7074. whether or not the macro needs to have its arguments
  7075. quoted. This probably should be stated somehow.
  7076. Also, Martin seems to imply that Br still exists. I can not find it.
  7077. If it does, please tell me where, as I would like to use it. Thanks.
  7078. Douglas
  7079. 1-Jan-83 01:34:58-PST,476;000000000000
  7080. Date: 1 Jan 1983 01:35:01-PST
  7081. From: daemon at HP-VENUS
  7082. Via: utah-cs
  7083. Date: Fri Dec 31 21:19:53 1982
  7084. Mail-from: ARPANET site RAND-RELAY rcvd at 31-Dec-82 2116-MST
  7085. Date: 31 Dec 1982 18:46:28-PST
  7086. From: douglas at HP-VENUS
  7087. To: psl@hulk
  7088. Subject: picture rlisp question
  7089. Via: HP-Labs; 31 Dec 82 19:43-PDT
  7090. Does rlisp need to be loaded into psl for picture rlisp to work?
  7091. (And thus its name?) Does it only work in rlisp? Will it work fine
  7092. in psl without rlisp?
  7093. 1-Jan-83 10:38:14-PST,420;000000000000
  7094. Mail-From: GRISS created at 1-Jan-83 10:36:33
  7095. Date: 1 Jan 1983 1036-PST
  7096. From: GRISS at HP-HULK
  7097. Subject: RLISP hooks
  7098. To: psl at HP-HULK
  7099. Need to change DEFINEROP to be a macro, so that it creates PUT's
  7100. in files for RLISP parser calls. Then files will load into PSL
  7101. without RLISP, and work when RLISP loaded.
  7102. Need to examine Pu:RLISP-PARSER.RED.
  7103. Alternativ is to haved DEFINEROP etc in "kernel".
  7104. -------
  7105. 1-Jan-83 11:23:02-PST,389;000000000000
  7106. Mail-From: LANAM created at 1-Jan-83 11:21:26
  7107. Date: 1 Jan 1983 1121-PST
  7108. From: douglas <LANAM at HP-HULK>
  7109. Subject: Thanks for help in getting pfrl to run on chipmunk.
  7110. To: griss at HP-HULK, benson at HP-HULK, tracy at HP-HULK, osnos at HP-HULK
  7111. cc: psl at HP-HULK
  7112. Thank you all for you help in my getting pfrl to run on the chipmunk.
  7113. I appreciate it very much.
  7114. Douglas
  7115. -------
  7116. 3-Jan-83 07:20:00-PST,206;000000000000
  7117. Mail-From: GRISS created at 3-Jan-83 07:16:14
  7118. Date: 3 Jan 1983 0716-PST
  7119. From: GRISS at HP-HULK
  7120. Subject: ExitLISP on 20
  7121. To: psl at HP-HULK
  7122. Need to add Exitlisp (as alias for Quit?) on 20.
  7123. -------
  7124. 3-Jan-83 10:50:40-PST,535;000000000000
  7125. Date: 3 Jan 1983 10:46:01-PST
  7126. From: douglas at HP-VENUS
  7127. To: psl@hulk
  7128. Subject: compiler bug
  7129. (de x (a b)
  7130. (cons a (igetv b a)))
  7131. Compiles fine.
  7132. (de x (a b)
  7133. (cond ((igetv b a) (cons a (igetv b a)))))
  7134. Compiles fine.
  7135. But:
  7136. The following does not:
  7137. (de x (a b)
  7138. (and (igetv b a) (cons a (igetv b a))))
  7139. It gives the following error message:
  7140. *****
  7141. Unknown LAP operand `(wplus2 (wshift (wplus2 ($local a) (wconst 1)) (
  7142. immediate 2)) (field ($local b) (wconst 5) (wconst 27)))'
  7143. Break loop
  7144. 6 lisp break>>
  7145. 3-Jan-83 14:36:52-PST,431;000000000000
  7146. Date: 3 Jan 1983 14:35:17-PST
  7147. From: douglas at HP-MARS
  7148. To: psl@hulk
  7149. Subject: bug in psl on chipmunk (in fasl and RESTORE).
  7150. If I have the filer preloaded into my Chipmunk pascal environment,
  7151. and I try (load strings) or (load compiler), I get
  7152. some kind of illegal memory / bus error.
  7153. Everything works fine if I don't preload the filer.
  7154. I made sure there was enough bps and heap space to load these modules in.
  7155. Douglas
  7156. 4-Jan-83 07:26:02-PST,969;000000000000
  7157. Mail-From: GRISS created at 4-Jan-83 07:23:11
  7158. Date: 4 Jan 1983 0723-PST
  7159. From: GRISS at HP-HULK
  7160. Subject: Picture RLISP
  7161. To: PSL-Users: ;
  7162. cc: psl at HP-HULK
  7163. In response to a number of requests, I have made some changes to
  7164. PictureRLISP so that It can now be run under PSL (without INFIX
  7165. syntax) as well as RLISP. I have also fixed some bugs that somehow
  7166. crept in over the past few months.
  7167. See the files on pnew, shortly to be moved to PU:, PL: and PH:
  7168. PRLISP.HLP and PRLISP2D.HLP describe briefly how to run the
  7169. 3D and 2D versions on the HP2648a.
  7170. PR-DEMO.RED, PR-DEMO.SL PR2D-DEMO.RED and PR2D-DEMO.SL are
  7171. appropriate demo files.
  7172. The files PRLISP.LAP and PRLISP2D.LAP load the appropriate
  7173. .B files.
  7174. I had make some significant changes to the RLISP parser to permit
  7175. both .RED and .SL versions to coexist... the RLISP itself has
  7176. not yet been moved to pnew:, but these files should work.
  7177. BUGS/COMPLAINTS/QURIES to <griss>@hulk.
  7178. -------
  7179. 4-Jan-83 12:37:05-PST,484;000000000000
  7180. Date: 4 Jan 1983 12:34:27-PST
  7181. From: daemon at HP-VENUS
  7182. Via: utah-cs
  7183. Date: Tue Jan 4 13:19:18 1983
  7184. Received: from UTAH-20 by UTAH-20; Tuesday, 4 Jan 83 12:15:19-MST
  7185. Date: 4 Jan 1983 1215-MST
  7186. From: Robert R. Kessler <KESSLER at UTAH-20>
  7187. Subject: This is a test message
  7188. To: Psl-Bugs at UTAH-20
  7189. This is a test to make sure that we do not have any cycles in our psl bug
  7190. reporting. This should go to all local buggee's and send off to hp's
  7191. local bugees.
  7192. Bob.
  7193. -------
  7194. 5-Jan-83 11:55:45-PST,826;000000000000
  7195. Date: 5 Jan 1983 11:51:03-PST
  7196. From: douglas at HP-VENUS
  7197. To: localpsl@hulk
  7198. >From Mailer@HP-HULK Wed Jan 5 11:44:40 1983
  7199. Date: 5 Jan 1983 1145-PST
  7200. From: The Mailer Daemon <Mailer at HP-HULK>
  7201. To: douglas at HP-VENUS
  7202. Subject: Message of 5-Jan-83 11:37:56
  7203. Status: R
  7204. Message failed for the following:
  7205. ! Equivalent to localpsl here! -localpsl ! Local distribution list at HP-HULK: No such mailbox
  7206. no network forwarding! at HP-HULK: No such mailbox
  7207. ------------
  7208. Date: 5 Jan 1983 11:36:42-PST
  7209. From: douglas at HP-VENUS
  7210. To: psl@hulk
  7211. Subject: strange uniqueness to chipmunk psl (in prompt).
  7212. Why does the prompt gain a ">" with each dumplisp performed?
  7213. (when the dump'd object is restored, the prompt has one more">" than
  7214. it did in the running psl in which it was dumped.)
  7215. Douglas
  7216. -------
  7217. 5-Jan-83 11:55:47-PST,1043;000000000000
  7218. Date: 5 Jan 1983 11:51:15-PST
  7219. From: douglas at HP-VENUS
  7220. To: localpsl@hulk
  7221. >From Mailer@HP-HULK Wed Jan 5 11:44:43 1983
  7222. Date: 5 Jan 1983 1145-PST
  7223. From: The Mailer Daemon <Mailer at HP-HULK>
  7224. To: douglas at HP-VENUS
  7225. Subject: Message of 5-Jan-83 11:40:20
  7226. Status: R
  7227. Message failed for the following:
  7228. ! Equivalent to localpsl here! -localpsl ! Local distribution list at HP-HULK: No such mailbox
  7229. no network forwarding! at HP-HULK: No such mailbox
  7230. ------------
  7231. Date: 5 Jan 1983 11:39:06-PST
  7232. From: douglas at HP-VENUS
  7233. To: psl@hulk
  7234. Subject: prompt in psl
  7235. Is there any easy way to change the prompt in psl? As in the c-shell, where
  7236. you can say (setq prompt "My new prompt") or (setq prompt "My new prompt !$")
  7237. where !$ gets replaced with the current history number? (My memory of csh
  7238. is not too good in this case, I know there is a character sequence which
  7239. means substitute the current history number, but I do not remember what it
  7240. is so I used !$ above.)
  7241. Thanks,
  7242. Douglas
  7243. -------
  7244. 5-Jan-83 16:52:02-PST,192;000000000000
  7245. Date: 5 Jan 1983 1649-PST
  7246. From: PERDUE at HP-HULK
  7247. Subject: ExitLISP on the DEC-20
  7248. To: PSL
  7249. I have added ExitLISP to the file P20:system-extras.red. It is a
  7250. synonym for QUIT.
  7251. -------
  7252. 5-Jan-83 17:12:04-PST,310;000000000000
  7253. Date: 5 Jan 1983 1710-PST
  7254. From: PERDUE at HP-HULK
  7255. Subject: BR and UNBR documentation
  7256. To: PSL
  7257. cc: Lanam
  7258. Doug Lanam has pointed out that BR and UNBR do not exist on the VAX.
  7259. These do not exist on the DEC-20 either, and in fact our PSL NEWS file
  7260. says they have been entirely removed from PSL.
  7261. -------
  7262. 6-Jan-83 06:26:03-PST,461;000000000000
  7263. Mail-From: GRISS created at 6-Jan-83 06:22:32
  7264. Date: 6 Jan 1983 0622-PST
  7265. From: GRISS at HP-HULK
  7266. Subject: Gsort.red
  7267. To: kendZIERSKI at HP-HULK, perduE at HP-HULK
  7268. cc: psl at HP-HULK
  7269. I have a faster GSORT from Galway, but it uses COMMON, USEFUL, etc,
  7270. ]and causes problems with some of RCREF, since FOR gets redefined, and
  7271. so the FOR analysis function needs to be corrected. I think we need to
  7272. make ALL the FOR's compatible syntax, semantics.
  7273. -------
  7274. 6-Jan-83 08:45:40-PST,306;000000000000
  7275. Date: 6 Jan 1983 0842-PST
  7276. From: AS at HP-HULK
  7277. Subject: bug
  7278. To: PSL
  7279. cc: AS
  7280. If PSL is interrupted (e.g. ^C'ed) while a garbage collection is in progress,
  7281. then if it is restarted (as opposed to CONTINUED), the garbage collection should
  7282. be resumed and completed before resetting the world.
  7283. -------
  7284. 6-Jan-83 12:37:24-PST,441;000000000000
  7285. Date: 6 Jan 1983 12:34:28-PST
  7286. From: daemon at HP-VENUS
  7287. Via: utah-cs
  7288. Date: 6 Jan 1983 1135-MST
  7289. From: Robert R. Kessler <KESSLER at UTAH-20>
  7290. Subject: Rlisp Parser Bug
  7291. To: psl-bugs at UTAH-20
  7292. The following code will not parse (in file <kessler.psl>quit.red):
  7293. % Neither of the following will work. When loading them, you must say yes to
  7294. % continue.
  7295. procedure foo;
  7296. <<quit()>>;
  7297. procedure foo;
  7298. <<quit>>;
  7299. end;
  7300. -------
  7301. 6-Jan-83 14:42:25-PST,360;000000000000
  7302. Date: 6 Jan 1983 14:31:06-PST
  7303. From: douglas at HP-MARS
  7304. To: griss@Hulk, psl@hulk
  7305. Subject: psl on the vax
  7306. Can the psl on the vax be remade with the bps increased by 50000 words. I
  7307. do not mind if this is taken out of heap space.
  7308. As heap space is very, very large at present.
  7309. This is needed to provide a psl which can fit all of frl and gpsg.
  7310. Douglas
  7311. 6-Jan-83 16:57:27-PST,716;000000000000
  7312. Date: 6 Jan 1983 16:55:34-PST
  7313. From: OTHMER@UTAH-20 at HP-VENUS
  7314. Via: utah-cs
  7315. Date: 6 Jan 1983 1449-MST
  7316. From: Bobbie Othmer <OTHMER at UTAH-20>
  7317. Subject: bug in putd
  7318. To: psl-bugs at UTAH-20
  7319. There is a small bug in PutD. The property indicator TYPE is no
  7320. longer used to record whether an id is global or fluid. The following
  7321. test is always false. This won't cause any problems but should
  7322. probably be fixed next time somebody builds the kernel.
  7323. else begin scalar VarType, PrintRedefinedMessage, OldIN, PromptString!*,
  7324. QueryResponse;
  7325. if (VarType := get(FnName, 'TYPE))
  7326. and (VarType = 'FLUID or VarType = 'GLOBAL) then
  7327. ErrorPrintF("*** %r is a non-local variable", FnName)
  7328. -------
  7329. 7-Jan-83 17:23:30-PST,204;000000000000
  7330. Mail-From: PERDUE created at 7-Jan-83 17:22:04
  7331. Date: 7 Jan 1983 1722-PST
  7332. From: Cris Perdue <Perdue at HP-HULK>
  7333. Subject: Test
  7334. To: PSL at HP-HULK
  7335. Test of the bug reporter function (bug).
  7336. -------
  7337. 7-Jan-83 17:33:28-PST,145;000000000000
  7338. Date: 7 Jan 1983 1728-PST
  7339. From: Cris Perdue <Perdue at HP-HULK>
  7340. Subject: Another test
  7341. To: PSL at HP-HULK
  7342. Another test of "bug".
  7343. -------
  7344. 8-Jan-83 17:56:40-PST,630;000000000000
  7345. Date: 8 Jan 1983 17:54:51-PST
  7346. From: douglas at HP-VENUS
  7347. To: psl@hulk
  7348. Subject: recursive garbage collection
  7349. I have just gotten a garbage collection that kept saying:
  7350. *** Garbage collection starting
  7351. *** Garbage collection starting
  7352. *** Garbage collection starting
  7353. *** Garbage collection starting
  7354. *** Garbage collection starting
  7355. *** Garbage collection starting
  7356. *** Garbage collection starting
  7357. *** Garbage collection starting
  7358. *** Garbage collection starting
  7359. Over and over and over.
  7360. I think I can reproduce it, but not without running the ic demo.
  7361. This occurs on the vax (not known if it occurs anywhere else).
  7362. 9-Jan-83 01:41:36-PST,486;000000000000
  7363. Date: 9 Jan 1983 01:36:14-PST
  7364. From: daemon at HP-VENUS
  7365. Via: utah-cs
  7366. Date: Sat Jan 8 22:38:41 1983
  7367. Received: from UDEL-RELAY by UTAH-20; Saturday, 8 Jan 83 22:36:14-MST
  7368. Return-Path: <mmdf@udel-relay>
  7369. Date: 3 Jan 1983 0716-PST
  7370. From: GRISS@HP-HULK
  7371. Subject: ExitLISP on 20
  7372. To: psl@HP-HULK, GRISS@@, @, HP-labs@HP-VENUS, HP-VENUS@RAND-RELAY
  7373. Via: HP-Labs; 3 Jan 83 19:26-PDT
  7374. Via: rand-relay; 4 Jan 83 21:50-EST
  7375. Need to add Exitlisp (as alias for Quit?) on 20.
  7376. -------
  7377. 9-Jan-83 01:41:38-PST,815;000000000000
  7378. Date: 9 Jan 1983 01:36:19-PST
  7379. From: daemon at HP-VENUS
  7380. Via: utah-cs
  7381. Date: Sat Jan 8 22:39:18 1983
  7382. Received: from UDEL-RELAY by UTAH-20; Saturday, 8 Jan 83 22:36:55-MST
  7383. Return-Path: <mmdf@udel-relay>
  7384. Date: 3 Jan 1983 10:46:01-PST
  7385. From: douglas@HP-VENUS
  7386. Subject: compiler bug
  7387. To: psl@hulk
  7388. Via: HP-Labs; 3 Jan 83 19:26-PDT
  7389. Via: rand-relay; 4 Jan 83 21:50-EST
  7390. (de x (a b)
  7391. (cons a (igetv b a)))
  7392. Compiles fine.
  7393. (de x (a b)
  7394. (cond ((igetv b a) (cons a (igetv b a)))))
  7395. Compiles fine.
  7396. But:
  7397. The following does not:
  7398. (de x (a b)
  7399. (and (igetv b a) (cons a (igetv b a))))
  7400. It gives the following error message:
  7401. *****
  7402. Unknown LAP operand `(wplus2 (wshift (wplus2 ($local a) (wconst 1)) (
  7403. immediate 2)) (field ($local b) (wconst 5) (wconst 27)))'
  7404. Break loop
  7405. 6 lisp break>>
  7406. 9-Jan-83 01:41:40-PST,711;000000000000
  7407. Date: 9 Jan 1983 01:36:24-PST
  7408. From: daemon at HP-VENUS
  7409. Via: utah-cs
  7410. Date: Sat Jan 8 22:39:56 1983
  7411. Received: from UDEL-RELAY by UTAH-20; Saturday, 8 Jan 83 22:38:53-MST
  7412. Return-Path: <mmdf@udel-relay>
  7413. Date: 3 Jan 1983 14:35:17-PST
  7414. From: douglas@HP-MARS
  7415. Subject: bug in psl on chipmunk (in fasl and RESTORE).
  7416. To: psl@hulk
  7417. Via: HP-Labs; 3 Jan 83 19:27-PDT
  7418. Via: rand-relay; 4 Jan 83 21:51-EST
  7419. If I have the filer preloaded into my Chipmunk pascal environment,
  7420. and I try (load strings) or (load compiler), I get
  7421. some kind of illegal memory / bus error.
  7422. Everything works fine if I don't preload the filer.
  7423. I made sure there was enough bps and heap space to load these modules in.
  7424. Douglas
  7425. 9-Jan-83 01:41:42-PST,540;000000000000
  7426. Date: 9 Jan 1983 01:36:30-PST
  7427. From: daemon at HP-VENUS
  7428. Via: utah-cs
  7429. Date: Sat Jan 8 22:56:14 1983
  7430. Received: from UDEL-RELAY by UTAH-20; Saturday, 8 Jan 83 22:54:16-MST
  7431. Return-Path: <mmdf@udel-relay>
  7432. Date: 31 Dec 1982 21:18:58-PST
  7433. From: douglas@HP-VENUS
  7434. Subject: chipmunk non recursive garbage collector
  7435. To: griss@hulk, psl@hulk
  7436. Cc: benson@hulk, tracy@hulk
  7437. Via: HP-Labs; 1 Jan 83 6:41-PDT
  7438. Via: rand-relay; 2 Jan 83 18:29-EST
  7439. I have found that it is working fine for me, and handles the frl
  7440. structures well.
  7441. Douglas
  7442. 9-Jan-83 01:41:44-PST,700;000000000000
  7443. Date: 9 Jan 1983 01:36:34-PST
  7444. From: daemon at HP-VENUS
  7445. Via: utah-cs
  7446. Date: Sat Jan 8 22:58:39 1983
  7447. Received: from UDEL-RELAY by UTAH-20; Saturday, 8 Jan 83 22:57:30-MST
  7448. Return-Path: <mmdf@udel-relay>
  7449. Date: 1 Jan 1983 1036-PST
  7450. From: GRISS@HP-HULK
  7451. Subject: RLISP hooks
  7452. To: psl@HP-HULK, GRISS@@, @, HP-labs@HP-VENUS, HP-VENUS@RAND-RELAY
  7453. Via: HP-Labs; 1 Jan 83 19:14-PDT
  7454. Via: rand-relay; 2 Jan 83 18:33-EST
  7455. Need to change DEFINEROP to be a macro, so that it creates PUT's
  7456. in files for RLISP parser calls. Then files will load into PSL
  7457. without RLISP, and work when RLISP loaded.
  7458. Need to examine Pu:RLISP-PARSER.RED.
  7459. Alternativ is to haved DEFINEROP etc in "kernel".
  7460. -------
  7461. 9-Jan-83 01:41:46-PST,855;000000000000
  7462. Date: 9 Jan 1983 01:36:39-PST
  7463. From: daemon at HP-VENUS
  7464. Via: utah-cs
  7465. Date: Sat Jan 8 22:59:16 1983
  7466. Received: from UDEL-RELAY by UTAH-20; Saturday, 8 Jan 83 22:57:47-MST
  7467. Return-Path: <mmdf@udel-relay>
  7468. Date: 1 Jan 1983 1121-PST
  7469. From: douglas <LANAM@HP-HULK>
  7470. Subject: Thanks for help in getting pfrl to run on chipmunk.
  7471. ,
  7472. To: griss@HP-HULK, LANAM@@@HP-labs, HP-VENUS@RAND-RELAY, benson@HP-HULKc3
  7473. ,
  7474. LANAM@@@HP-labs, HP-VENUS@RAND-RELAY, tracy@HP-HULK, LANAM@@@HP-labs|
  7475. ,
  7476. HP-VENUS@RAND-RELAY, osnos@HP-HULK, LANAM@@@HP-labs, LANAM@@@HP-labs|
  7477. HP-VENUS@RAND-RELAY
  7478. Cc: psl@HP-HULK, LANAM@@@HP-labs, HP-VENUS@RAND-RELAY
  7479. Via: HP-Labs; 1 Jan 83 19:14-PDT
  7480. Via: rand-relay; 2 Jan 83 18:33-EST
  7481. Thank you all for you help in my getting pfrl to run on the chipmunk.
  7482. I appreciate it very much.
  7483. Douglas
  7484. -------
  7485. 9-Jan-83 01:41:48-PST,1284;000000000000
  7486. Date: 9 Jan 1983 01:36:44-PST
  7487. From: daemon at HP-VENUS
  7488. Via: utah-cs
  7489. Date: Sat Jan 8 23:29:32 1983
  7490. Received: from UDEL-RELAY by UTAH-20; Saturday, 8 Jan 83 23:28:13-MST
  7491. Return-Path: <mmdf@udel-relay>
  7492. Date: 4 Jan 1983 0723-PST
  7493. From: GRISS@HP-HULK
  7494. Subject: Picture RLISP
  7495. To: PSL-Users.@HP-labs, GRISS@;, @, HP-labs@HP-VENUS
  7496. Cc: psl@HP-HULK, GRISS@@, @, HP-labs@HP-VENUS, HP-VENUS@RAND-RELAY
  7497. Via: HP-Labs; 4 Jan 83 23:21-PDT
  7498. Via: rand-relay; 5 Jan 83 12:31-EST
  7499. In response to a number of requests, I have made some changes to
  7500. PictureRLISP so that It can now be run under PSL (without INFIX
  7501. syntax) as well as RLISP. I have also fixed some bugs that somehow
  7502. crept in over the past few months.
  7503. See the files on pnew, shortly to be moved to PU:, PL: and PH:
  7504. PRLISP.HLP and PRLISP2D.HLP describe briefly how to run the
  7505. 3D and 2D versions on the HP2648a.
  7506. PR-DEMO.RED, PR-DEMO.SL PR2D-DEMO.RED and PR2D-DEMO.SL are
  7507. appropriate demo files.
  7508. The files PRLISP.LAP and PRLISP2D.LAP load the appropriate
  7509. B files.
  7510. I had make some significant changes to the RLISP parser to permit
  7511. both .RED and .SL versions to coexist... the RLISP itself has
  7512. not yet been moved to pnew:, but these files should work.
  7513. BUGS/COMPLAINTS/QURIES to <griss>@hulk.
  7514. -------
  7515. 9-Jan-83 01:41:50-PST,437;000000000000
  7516. Date: 9 Jan 1983 01:36:49-PST
  7517. From: daemon at HP-VENUS
  7518. Via: utah-cs
  7519. Date: Sun Jan 9 01:19:31 1983
  7520. Received: from UDEL-RELAY by UTAH-20; Sunday, 9 Jan 83 01:18:30-MST
  7521. Return-Path: <mmdf@udel-relay>
  7522. Date: 9 Jan 83 1:46:33-EST (Sun)
  7523. From: G. B. Reilly <reilly@udel-relay>
  7524. Subject: Information
  7525. To: psl-bugs@utah-20
  7526. Could you please send me some information about the current state of PSL?
  7527. Thanks,
  7528. Brendan Reilly
  7529. 10-Jan-83 12:38:59-PST,631;000000000000
  7530. Date: 10 Jan 1983 12:34:39-PST
  7531. From: daemon at HP-VENUS
  7532. Via: utah-cs
  7533. Date: 10 Jan 1983 0801-MST
  7534. From: Robert R. Kessler <KESSLER at UTAH-20>
  7535. Subject: Floats
  7536. To: psl-bugs at UTAH-20
  7537. Floats with a large number of digits after the decimal point are really weird:
  7538. [PHOTO: Recording initiated Mon 10-Jan-83 7:59AM]
  7539. @rlisp
  7540. PSL Rlisp
  7541. Exiting rlisp
  7542. PSL 3.1 Rlisp, 27-Oct-82
  7543. [1] 1.1234567890;
  7544. 1.1234568
  7545. [2] 12.1234567890;
  7546. 12.123457
  7547. [3] 123.1234567890;
  7548. 20.044242
  7549. [4] 123.123456789;
  7550. 20.044242
  7551. [5] 123.12345678;
  7552. 123.12346
  7553. [6] quit;
  7554. @po
  7555. [PHOTO: Recording terminated Mon 10-Jan-83 8:00AM]
  7556. Bob.
  7557. -------
  7558. 10-Jan-83 12:39:02-PST,356;000000000000
  7559. Date: 10 Jan 1983 12:34:46-PST
  7560. From: daemon at HP-VENUS
  7561. Via: utah-cs
  7562. Date: 10 Jan 1983 0907-MST
  7563. From: Robert R. Kessler <KESSLER at UTAH-20>
  7564. Subject: Possible Compiler Bug
  7565. To: psl-bugs at UTAH-20
  7566. It seems that the compiler gets a Label NIL not found error when compiling
  7567. something of the form: (EQ (FOO X)) within a cond..
  7568. Bob.
  7569. -------
  7570. 10-Jan-83 15:46:42-PST,568;000000000000
  7571. Date: 10 Jan 1983 15:40:58-PST
  7572. From: douglas at HP-VENUS
  7573. To: psl@hulk
  7574. Subject: psl bug in readch and readchar on vax.
  7575. Cc: '@HP-VENUS
  7576. If you do
  7577. (Setq x (readchar))^D<cr> where ^D is a cntrl-d and <cr> is a return,
  7578. you should get x set to 4. Instead you get x set to 10. It seems
  7579. the eof is ignored by readchar.
  7580. Readch works similar.
  7581. If you type:
  7582. (setq x (readchar))^D^D, then x will get set to 4.
  7583. This only seems to appear on the vax. On the hulk, it seems to work fine
  7584. to type:
  7585. (setq x (readchar))^Z<cr>.
  7586. (X will get set to 26).
  7587. Douglas
  7588. 11-Jan-83 14:18:03-PST,236;000000000000
  7589. Date: 11 Jan 1983 1414-PST
  7590. From: PERDUE at HP-HULK
  7591. Subject: Re: Floats
  7592. To: PSL
  7593. In-Reply-To: Your message of 10-Jan-83
  7594. Bob Kessler's bug concerning input of floating point numbers has
  7595. already been fixed by Eric Benson.
  7596. -------
  7597. 11-Jan-83 15:38:05-PST,482;000000000000
  7598. Date: 11 Jan 1983 1536-PST
  7599. From: PERDUE at HP-HULK
  7600. Subject: Re: psl bug in readch and readchar on vax.
  7601. To:
  7602. cc: PSL
  7603. In-Reply-To: Your message of 10-Jan-83
  7604. I have the following information from Ken Greer:
  7605. When reading from the terminal (and not in "raw mode"), no Unix
  7606. program "sees" ^D's in the input buffer. A ^D causes the "read"
  7607. system call to return, but does not itself appear in the input buffer.
  7608. The phenomenon you noticed is not a PSL bug.
  7609. -------
  7610. -------
  7611. 11-Jan-83 15:43:14-PST,321;000000000000
  7612. Date: 11 Jan 1983 1542-PST
  7613. From: AS at HP-HULK
  7614. Subject: problem with On
  7615. To: PSL
  7616. cc: AS
  7617. A top-level form (ON FOO) is ineffective at load time unless enclosed in
  7618. BothTimes or LoadTime. The manual gives no hint that this is the case.
  7619. I'm not sure that the present behavior is the "right thing", however.
  7620. -------
  7621. 11-Jan-83 23:50:12-PST,303;000000000000
  7622. Date: 11 Jan 1983 23:53:36-PST
  7623. From: douglas at HP-MARS
  7624. To: psl@hulk
  7625. Subject: compiler check
  7626. If psl has a function already existing in memory and compiles a call
  7627. to it, could the compiler check that the correct number of arguments are
  7628. given (This would only be in the case of exprs).
  7629. Douglas
  7630. 12-Jan-83 13:54:38-PST,296;000000000000
  7631. Date: 12 Jan 1983 1353-PST
  7632. From: PERDUE at HP-HULK
  7633. Subject: Re: compiler check
  7634. To: douglas at HP-MARS
  7635. cc: PSL
  7636. In-Reply-To: Your message of 11-Jan-83
  7637. Argument number checking in the compiler would be a darned good idea.
  7638. Extensive work on the compiler will soon be done at Utah.
  7639. -------
  7640. 12-Jan-83 21:20:07-PST,771;000000000000
  7641. Mail-From: GRISS created at 12-Jan-83 21:17:04
  7642. Date: 12 Jan 1983 2117-PST
  7643. From: GRISS at HP-HULK
  7644. Subject: VAX
  7645. To: psl at HP-HULK
  7646. I have rebuilt VAX system, incorporating essentially all of the
  7647. changes made recetnly to the 20, such as continuable errors from]
  7648. compiled code, better format Errors, LPOSN, etc. ALso included are
  7649. the new comands from Utah, for CD("..."), GETENV("...") and PWD().
  7650. The system includes a command to get the command line as a vector,
  7651. which can be used to make PSLCOMP work like the 20. Unfortunately,
  7652. this still seems to get only 1 argument, the program name itself.
  7653. Perhaps a UTah fix will be forthcoming soon.
  7654. Next step to rebuild all of $PU, test and then attempt to move latest
  7655. system to MARS (mercury?)
  7656. M
  7657. -------
  7658. 13-Jan-83 18:54:51-PST,395;000000000000
  7659. Date: 13 Jan 1983 1851-PST
  7660. From: PERDUE at HP-HULK
  7661. Subject: Re: Possible Compiler Bug
  7662. To:
  7663. cc: PSL
  7664. In-Reply-To: Your message of 10-Jan-83
  7665. There certainly is a bug in the compiler with (EQ (FOO X)). Martin
  7666. has some code well underway to provide rather general checking of
  7667. number of arguments, so I'll just say the problem will cease sometime
  7668. not too long from now.
  7669. -------
  7670. -------
  7671. 13-Jan-83 20:09:36-PST,315;000000000000
  7672. Date: 13 Jan 1983 20:13:10-PST
  7673. From: douglas at HP-MARS
  7674. To: psl@hulk
  7675. Subject: psl bug with files.
  7676. If you say
  7677. (setq out* xx)
  7678. Where xx is not a legal port,
  7679. The system just does
  7680. ***** Segmentation violation
  7681. ***** Segmentation violation
  7682. At the least, a warning about this should be put in the manual.
  7683. 13-Jan-83 21:14:24-PST,193;000000000000
  7684. Date: 13 Jan 1983 21:16:48-PST
  7685. From: douglas at HP-MARS
  7686. To: psl@hulk
  7687. Subject: eof flag
  7688. Can a flag be added that prevents eof (sent from a terminal only) from
  7689. exiting lisp on the vax?
  7690. 14-Jan-83 09:08:08-PST,171;000000000000
  7691. Date: 14 Jan 1983 0903-PST
  7692. From: PERDUE at HP-HULK
  7693. Subject: Bug in PUTD
  7694. To: PSL
  7695. I have updated the source for PUTD in response to Bobbie Othmer's
  7696. report.
  7697. -------
  7698. 16-Jan-83 10:06:12-PST,463;000000000000
  7699. Mail-From: GRISS created at 16-Jan-83 10:04:10
  7700. Date: 16 Jan 1983 1004-PST
  7701. From: GRISS at HP-HULK
  7702. Subject: laod vs Imports
  7703. To: psl at HP-HULK
  7704. I suggest that IMPORTS be flushed. I belive that now LOAD in a file works
  7705. just fine, ie LOADs immediately if file is .SL, .RED, but defers on a pending
  7706. stack if this is .B file, to avould FASLIN inside FASLIN. This is what
  7707. IMPORTS currently does, except that IMPORTS doenst work in interpreted code.
  7708. -------
  7709. 17-Jan-83 17:11:51-PST,625;000000000000
  7710. Mail-From: ROSENBERG created at 17-Jan-83 17:08:32
  7711. Date: 17 Jan 1983 1708-PST
  7712. From: Steven <ROSENBERG at HP-HULK>
  7713. Subject: trace, step
  7714. To: psl at HP-HULK
  7715. 1. There should be a command that untraces everything without having to
  7716. specify a list of functions.
  7717. 2. I tried (untr <function>) on various functions. It only seems to work
  7718. half the time.
  7719. 3. I tried step. Afterwards it seemd to screw up the orfinary top-level
  7720. read-eval loop.
  7721. 4. There should be a step mode where you turn it on for a function, and when
  7722. in t he course of normal events that function gets called, you are then stepping
  7723. it.
  7724. -------
  7725. 18-Jan-83 18:48:09-PST,289;000000000000
  7726. Date: 18 Jan 1983 18:50:41-PST
  7727. From: douglas at HP-MARS
  7728. To: psl@hulk
  7729. Subject: flag to kill eof exiting
  7730. I need to be able to shut off the feature that eof (^D) at top
  7731. level exits psl. This is annoying when a ^D is accidently sent and
  7732. I loose 30 minutes or more of work.
  7733. Douglas
  7734. 19-Jan-83 11:53:36-PST,100;000000000000
  7735. Date: 19 Jan 1983 11:57:45-PST
  7736. From: perdue at HP-MARS
  7737. To: psl@HP-MARS
  7738. Subject: foo
  7739. Testing.
  7740. 19-Jan-83 15:03:49-PST,929;000000000000
  7741. Date: 19 Jan 1983 15:08:42-PST
  7742. From: douglas at HP-MARS
  7743. To: psl@hulk
  7744. Subject: inconsistensy with explode.
  7745. Explode acts differently whether or not the flag *lower is set.
  7746. It should do the same thing in either case. I thought *lower is only
  7747. used for lowercasing output.
  7748. Note: if *lower is t, explode makes its list with the letters
  7749. actually being the lower case letters. (Thus I can not say
  7750. that any letter
  7751. is equal to any
  7752. letter I can type in).
  7753. Explode should not lower casify the letters in the id name
  7754. (unless they already are in lower case (in the id table)).
  7755. Douglas
  7756. 1 lisp> (Setq a 'abcd)
  7757. ABCD
  7758. 2 lisp> (explode a)
  7759. (A B C D)
  7760. 3 lisp> (setq *lower t)
  7761. t
  7762. 4 lisp> (explode a)
  7763. (a b c d)
  7764. 5 lisp> (equal (ans 2) (ans 4))
  7765. nil
  7766. 6 lisp> (equal (car (ans 2)) 'a)
  7767. t
  7768. 7 lisp> (equal (car (ans 4)) 'a)
  7769. nil
  7770. 8 lisp> (equal (car (ans 4)) 'A)
  7771. nil
  7772. 9 lisp> Exiting lisp
  7773. 19-Jan-83 15:23:35-PST,243;000000000000
  7774. Date: 19 Jan 1983 15:25:36-PST
  7775. From: douglas at HP-MARS
  7776. To: psl@hulk
  7777. Subject: correct definition of explode
  7778. If you do
  7779. (let ((*lower nil))
  7780. (explode ..)))
  7781. where .. is your argument, you get a correct definition of explode.
  7782. Douglas
  7783. 21-Jan-83 14:37:41-PST,525;000000000000
  7784. Date: 21 Jan 1983 14:40:43-PST
  7785. From: douglas at HP-MARS
  7786. To: psl@hulk
  7787. Subject: why two gc's when dumplisp is called?
  7788. *** Garbage collection starting
  7789. *** GC 9: time 1343 ms, 8303 recovered, 386655 free
  7790. *** Garbage collection starting
  7791. *** GC 10: time 1462 ms, 0 recovered, 386656 free
  7792. Always when I call dumplisp, 2 gc's are performed. The second always seems to have done
  7793. nothing useful. Why does this happen? Is it possible to
  7794. eliminate the second gc?
  7795. (This behaviour is noticed on the vax).
  7796. Douglas
  7797. 21-Jan-83 16:17:37-PST,1172;000000000000
  7798. Date: 21 Jan 1983 16:22:24-PST
  7799. From: douglas at HP-MARS
  7800. To: psl@hulk
  7801. Subject: the following does not work correctly compiled:
  7802. Cc: gawron@HP-MARS
  7803. Function:
  7804. (macro proog (l)
  7805. (list 'prog (list 'var)
  7806. (list 'setq 'var 2)
  7807. (setq Loope (gensym))
  7808. (list 'cond (list (list 'eq 'var 0)
  7809. (list 'return 'var))
  7810. (list t nil))
  7811. (list 'prin1 ''HI)
  7812. (list 'setq 'var (list 'sub1 'var))
  7813. (list 'go loope)))
  7814. Expansion of (proog) with proog running interpretively:
  7815. (PROG (VAR)
  7816. (SETQ VAR 2)
  7817. G0004
  7818. (COND ((EQ VAR 0) (RETURN VAR)) (T NIL))
  7819. (PRIN1 'HI)
  7820. (SETQ VAR (SUB1 VAR))
  7821. (GO G0004))
  7822. This above works fine over and over if proog is not compiled:
  7823. Next we compile proog:
  7824. Expansion of (proog) with proog running compiled:
  7825. (PROG (VAR)
  7826. (SETQ VAR 2)
  7827. G0020
  7828. (COND ((EQ VAR 0) (RETURN VAR)) (T NIL))
  7829. (PRIN1 'HI)
  7830. (SETQ VAR (SUB1 VAR))
  7831. (GO G0004))
  7832. Note, the difference. I think it has something to do with declaring
  7833. loope to be special. It makes the change for the go part, but does
  7834. not produce the special/fluid reference for the assignment part.
  7835. Douglas
  7836. 24-Jan-83 12:38:44-PST,2733;000000000000
  7837. Date: 24 Jan 1983 12:35:28-PST
  7838. From: daemon at HP-VENUS
  7839. Via: utah-cs
  7840. Date: 24 Jan 1983 0941-MST
  7841. From: Robert R. Kessler <KESSLER@UTAH-20>
  7842. Subject: Compiler Bug
  7843. To: psl-bugs@UTAH-20
  7844. When an argument to a function is named W, and eqcar is called, the fails to
  7845. generate the correct code. Somehow it doesn't save the value of the W
  7846. argument:
  7847. Notice that in the second example, reg 1 is saved in reg 4:
  7848. [PHOTO: Recording initiated Mon 24-Jan-83 9:37AM]
  7849. @psl
  7850. PSL 3.1, 18-Jan-83
  7851. 1 lisp> (on comp plap pgwd)
  7852. NIL
  7853. 2 lisp> (de foo (u v w) (eqcar u 'foo))
  7854. (*ENTRY FOO EXPR 3)
  7855. (*ALLOC 0)
  7856. (*JUMPTYPE (LABEL G0004) (REG 1) PAIR)
  7857. (*MOVE (QUOTE NIL) (REG 1))
  7858. (*JUMP (LABEL G0005))
  7859. (*LBL (LABEL G0004))
  7860. (*MOVE (QUOTE T) (REG 1))
  7861. (*LBL (LABEL G0005))
  7862. (*JUMPEQ (LABEL G0001) (REG 1) (QUOTE NIL))
  7863. (*MOVE (CAR (REG 3)) (REG 1))
  7864. (*JUMPEQ (LABEL G0006) (REG 1) (QUOTE FOO))
  7865. (*MOVE (QUOTE NIL) (REG 1))
  7866. (*EXIT 0)
  7867. (*LBL (LABEL G0006))
  7868. (*MOVE (QUOTE T) (REG 1))
  7869. (*LBL (LABEL G0001))
  7870. (*EXIT 0)
  7871. (FULLWORD 3)
  7872. (*ENTRY FOO EXPR 3)
  7873. (LDB (REG T6) "L0001")
  7874. (CAIN (REG T6) 9)
  7875. (JRST G0004)
  7876. (MOVE (REG 1) (REG NIL))
  7877. (JRST G0005)
  7878. G0004 (MOVE (REG 1) (FLUID T))
  7879. G0005 (CAMN (REG 1) (REG NIL))
  7880. (JRST G0001)
  7881. (MOVE (REG 1) (INDEXED (REG 3) 0))
  7882. (CAMN (REG 1) "L0002")
  7883. (JRST G0006)
  7884. (MOVE (REG 1) (REG NIL))
  7885. (POPJ (REG ST) 0)
  7886. G0006 (MOVE (REG 1) (FLUID T))
  7887. G0001 (POPJ (REG ST) 0)
  7888. L0001 (FULLWORD (FIELDPOINTER (REG 1) 0 5))
  7889. L0002 (FULLWORD (MKITEM 30 (IDLOC FOO)))
  7890. *** (FOO): base 261717, length 18 words
  7891. FOO
  7892. 3 lisp> (de fee (u v ww) (eqcar u 'foo))
  7893. (*ENTRY FEE EXPR 3)
  7894. (*ALLOC 0)
  7895. (*MOVE (REG 1) (REG 4))
  7896. (*JUMPTYPE (LABEL G0004) (REG 1) PAIR)
  7897. (*MOVE (QUOTE NIL) (REG 1))
  7898. (*JUMP (LABEL G0005))
  7899. (*LBL (LABEL G0004))
  7900. (*MOVE (QUOTE T) (REG 1))
  7901. (*LBL (LABEL G0005))
  7902. (*JUMPEQ (LABEL G0001) (REG 1) (QUOTE NIL))
  7903. (*MOVE (CAR (REG 4)) (REG 1))
  7904. (*JUMPEQ (LABEL G0006) (REG 1) (QUOTE FOO))
  7905. (*MOVE (QUOTE NIL) (REG 1))
  7906. (*EXIT 0)
  7907. (*LBL (LABEL G0006))
  7908. (*MOVE (QUOTE T) (REG 1))
  7909. (*LBL (LABEL G0001))
  7910. (*EXIT 0)
  7911. (FULLWORD 3)
  7912. (*ENTRY FEE EXPR 3)
  7913. (MOVE (REG 4) (REG 1))
  7914. (LDB (REG T6) "L0003")
  7915. (CAIN (REG T6) 9)
  7916. (JRST G0004)
  7917. (MOVE (REG 1) (REG NIL))
  7918. (JRST G0005)
  7919. G0004 (MOVE (REG 1) (FLUID T))
  7920. G0005 (CAMN (REG 1) (REG NIL))
  7921. (JRST G0001)
  7922. (MOVE (REG 1) (INDEXED (REG 4) 0))
  7923. (CAMN (REG 1) "L0004")
  7924. (JRST G0006)
  7925. (MOVE (REG 1) (REG NIL))
  7926. (POPJ (REG ST) 0)
  7927. G0006 (MOVE (REG 1) (FLUID T))
  7928. G0001 (POPJ (REG ST) 0)
  7929. L0003 (FULLWORD (FIELDPOINTER (REG 1) 0 5))
  7930. L0004 (FULLWORD (MKITEM 30 (IDLOC FOO)))
  7931. *** (FEE): base 261745, length 19 words
  7932. FEE
  7933. 4 lisp> (quit)
  7934. @po
  7935. [PHOTO: Recording terminated Mon 24-Jan-83 9:40AM]
  7936. -------
  7937. 24-Jan-83 12:58:59-PST,1419;000000000000
  7938. Date: 24 Jan 1983 1256-PST
  7939. From: PERDUE at HP-HULK
  7940. Subject: Compiler problem
  7941. To: PSL-Users
  7942. cc: PSL
  7943. The PSL compiler has a misfeature that may cause obscure bugs in
  7944. your programs. Except for forms like COND and PROGN, evaluation
  7945. of subexpressions is not guaranteed to occur in left-to-right
  7946. order. In fact whether it was intended or not, in complex
  7947. expressions the subexpressions may be evaluated in any order
  7948. whatsoever. A warning of sorts exists in the reference manual,
  7949. but should be made much more strongly. (There is a flag that is
  7950. supposed to turn off the misfeature, but Martin Griss believes
  7951. that it does not work, and the manual echoes this belief.)
  7952. Here are two examples of actual compiler (mis)behavior:
  7953. (de frag () (list (setq x (bletch)) x))
  7954. In this example bletch is called first, then the second
  7955. element of the list is determined, then x is altered and the
  7956. first element of the list determined. If initially x=1, while
  7957. bletch sets x to 2 and returns 3, the value of frag is the list
  7958. (3 2).
  7959. (de scrog () (list (rplaca x (bletch)) (car x)))
  7960. In this example (bletch) gets evaluated first, then (car x), then
  7961. the rplaca is done and its value used. If initially x = (1 2)
  7962. and bletch sets x to (3) while returning 4, the value of scrog
  7963. will be ((4) 3), with x = (4).
  7964. This note is in response to a problem found by Mark Gawron and
  7965. reported by Doug Lanam.
  7966. -------
  7967. 24-Jan-83 15:40:09-PST,734;000000000000
  7968. Date: 24 Jan 1983 1535-PST
  7969. From: PERDUE at HP-HULK
  7970. Subject: Re: Compiler Bug
  7971. To: PSL
  7972. In-Reply-To: Your message of 24-Jan-83
  7973. Concerning the compiler bug with eqcar, that's a mean little bug.
  7974. We have patched our CMACRO definition for eqcar in the compiler.
  7975. (Martin just changed the name "W" to something obscure.)
  7976. The problem you noticed is evidently one with handling of open
  7977. lambdas by the compiler, but I don't have time to try to fix it
  7978. given that Martin believes it to be nontrivial. Your example
  7979. also shows that the compiler is not doing a good job with AND and
  7980. OR used for value. All but the last subform of AND should be
  7981. compiled for test, not value. Again I must pass on fixing this
  7982. one for now.
  7983. -------
  7984. 24-Jan-83 15:50:16-PST,197;000000000000
  7985. Date: 24 Jan 1983 1546-PST
  7986. From: PERDUE at HP-HULK
  7987. Subject: *PWRDS switch
  7988. To: PSL
  7989. This compiler switch (flag) is documented as being initially NIL
  7990. where in fact it is initially T.
  7991. -------
  7992. 25-Jan-83 01:35:55-PST,626;000000000000
  7993. Date: 25 Jan 1983 01:34:21-PST
  7994. From: daemon at HP-VENUS
  7995. Via: utah-cs!utah-gr
  7996. Date: Mon Jan 24 14:07:39 1983
  7997. Received: from UTAH-CS by UTAH-20; Mon 24 Jan 83 14:05:45-MST
  7998. Date: 24 Jan 1983 13:19-MST
  7999. From: Russ Fish <utah-gr!fish@UTAH-CS>
  8000. Subject: Exhausting heap space.
  8001. To: utah-gr!psl-bugs@UTAH-CS
  8002. "gtHeap" should be able to do better than a FatalError if there is still not
  8003. sufficient space after garbage collecting. Like a non-continuable error
  8004. breakloop or at least a reset to keep the whole session from going down the
  8005. tubes! I got bit by (an erroneous) huge mkVect which was hard to find.
  8006. -Russ
  8007. 25-Jan-83 16:30:35-PST,397;000000000000
  8008. Date: 25 Jan 1983 1628-PST
  8009. From: PERDUE at HP-HULK
  8010. Subject: Make!-String function
  8011. To: PSL
  8012. The definition of the function Make-String has been deleted from
  8013. the kernel module "sequence". A conflicting definition exists in
  8014. the STRINGS module, and people here depend on that other
  8015. definition being in force. Martin agrees: hope this causes
  8016. miminal pain to people at other sites.
  8017. -------
  8018. 26-Jan-83 17:18:09-PST,125;000000000000
  8019. Date: 26 Jan 1983 1715-PST
  8020. From: PERDUE at HP-HULK
  8021. Subject: Testing
  8022. To: PSL
  8023. Testing the UUCP mail path . . .
  8024. -------
  8025. 26-Jan-83 18:23:04-PST,412;000000000000
  8026. Date: 26 Jan 1983 1822-PST
  8027. From: PERDUE at HP-HULK
  8028. Subject: Load vs Imports
  8029. To: PSL
  8030. Martin sent a note suggesting that IMPORTS may be obsolete, that
  8031. it doesn't work in interpreted code, and that LOAD delays if
  8032. doing the LOAD would result in a recursive FASLIN. All of these
  8033. seem to be false based on a mixture of tests including reading of
  8034. code and testing of examples. Keep using IMPORTS.
  8035. -------
  8036. 27-Jan-83 14:13:22-PST,771;000000000000
  8037. Date: 27 Jan 1983 1409-PST
  8038. From: PERDUE at HP-HULK
  8039. Subject: Re: trace, step
  8040. To: ROSENBERG at HP-HULK, PSL
  8041. In-Reply-To: Your message of 17-Jan-83
  8042. At last a response to your mail about trace and step!
  8043. 1. Contrary to what the documentation says, the function RESTR
  8044. takes no arguments and untraces everything, plus removes overhead
  8045. and forgets some information. This is essentially what you asked
  8046. for.
  8047. 2. Untr works OK for me.
  8048. 3. Step also has worked OK for me, and I have actually used step
  8049. some for real. If you can show me how it fails, I'll certainly
  8050. look closer.
  8051. 4. I agree with you on the idea of having stepping turned on for
  8052. a particular function. Unfortunately we are not really doing
  8053. anything in the line of enhancements now.
  8054. -------
  8055. 27-Jan-83 14:43:20-PST,265;000000000000
  8056. Date: 27 Jan 1983 1440-PST
  8057. From: PERDUE at HP-HULK
  8058. Subject: LineLength of 0
  8059. To: PSL
  8060. cc: Lanam
  8061. I've put in Bob Kessler's change to I/O so that in the future if
  8062. LineLength of 0 has been done on a channel, printing routines
  8063. won't stick in any EOLs.
  8064. -------
  8065. 27-Jan-83 16:18:17-PST,400;000000000000
  8066. Date: 27 Jan 1983 1616-PST
  8067. From: PERDUE at HP-HULK
  8068. Subject: WVectors
  8069. To: PSL
  8070. The semantics of WVectors are out of control. In compiled code
  8071. with igetv or syslisp code, it's clear enough, but in interpreted
  8072. code it's random. Word-sized quantities can be stored and
  8073. retrieved with no checking or conversion. WVectors also are
  8074. initialized to NIL rather than 0. All pretty weird.
  8075. -------
  8076. 27-Jan-83 17:23:19-PST,401;000000000000
  8077. Date: 27 Jan 1983 1721-PST
  8078. From: PERDUE at HP-HULK
  8079. Subject: Re: psl bug with files.
  8080. To: PSL
  8081. cc: Lanam
  8082. In-Reply-To: Your message of 13-Jan-83
  8083. I have made changes to the sources to fix Doug Lanam's problem
  8084. that I/O functions didn't check that I/O channel arguments were
  8085. legitimate. ChannelReadChar, ChannelWriteChar, and Close are
  8086. affected. If I/O is slowed down too much, . . .
  8087. -------
  8088. 28-Jan-83 11:23:48-PST,725;000000000000
  8089. Date: 28 Jan 1983 1122-PST
  8090. From: PERDUE at HP-HULK
  8091. Subject: Intp, etc.
  8092. To: PSL
  8093. It turns out that the functions intp, posintp, and negintp are
  8094. not defined as such. Only the compiler knows about them.
  8095. Posintp and negintp are currently the type tag testing functions,
  8096. with intp and posintp synonymous. Historically, intp was for
  8097. testing the old integer tag.
  8098. It makes some sense not to document these for general users
  8099. because the relationship between the user's notion of
  8100. "integer-ness" and low-level typing is somewhat fluid in LISP.
  8101. Interpretive definitions will belong in a package of interpretive
  8102. definitions of Syslisp functions, and these should certainly be
  8103. documented as part of Syslisp.
  8104. -------
  8105. 28-Jan-83 12:38:02-PST,833;000000000000
  8106. Date: 28 Jan 1983 12:35:02-PST
  8107. From: daemon at HP-VENUS
  8108. Via: utah-cs
  8109. Date: Fri Jan 28 04:31:55 1983
  8110. Received: from RAND-RELAY by UTAH-20; Fri 28 Jan 83 04:29:10-MST
  8111. Date: Thursday, 27 Jan 1983 09:28-PST
  8112. To: PSL-BUGS at UTAH-20
  8113. Cc: lseward at RAND-RELAY, hearn at RAND-RELAY, marti at RAND-RELAY
  8114. Subject: Difference between new and old RLISP.
  8115. From: marti at RAND-RELAY
  8116. The new RLISP parser requires a semicolon after the last statement in a
  8117. BEGIN...END block and does not require such in a <<...>> block. The old
  8118. RLISP parser did not require the semicolon in the BEGIN...END block. The
  8119. symptoms of this problem are that RLISP gobbles up the entire program after
  8120. the missing semicolon and doesn't warn you about it. The manual I have
  8121. (March 1981) does not specifically state that a semicolon is needed.
  8122. Jed Marti.
  8123. 28-Jan-83 12:38:04-PST,702;000000000000
  8124. Date: 28 Jan 1983 12:35:07-PST
  8125. From: daemon at HP-VENUS
  8126. Via: utah-cs
  8127. Date: Fri Jan 28 04:32:26 1983
  8128. Received: from RAND-RELAY by UTAH-20; Fri 28 Jan 83 04:29:50-MST
  8129. Date: Thursday, 27 Jan 1983 13:00-PST
  8130. To: PSL-BUGS at UTAH-20
  8131. Cc: lseward at RAND-RELAY, hearn at RAND-RELAY, marti at RAND-RELAY
  8132. Subject: New "bug" is more subtle than that.
  8133. From: marti at RAND-RELAY
  8134. The previously reported semicolon bug is the result of an odd interaction
  8135. with RLISTAT functions that the old parser did not have. The basic rule
  8136. to remember is encapsulated in Marti's thirthfourth law:
  8137. "A statement label in a BEGIN...END block shall not be the name of a
  8138. previously declared RLISTAT function"
  8139. 28-Jan-83 12:38:06-PST,725;000000000000
  8140. Date: 28 Jan 1983 12:35:12-PST
  8141. From: daemon at HP-VENUS
  8142. Via: utah-cs
  8143. Date: Fri Jan 28 10:31:34 1983
  8144. Received: from RAND-RELAY by UTAH-20; Fri 28 Jan 83 10:29:44-MST
  8145. Date: Friday, 28 Jan 1983 09:17-PST
  8146. To: marti at RAND-RELAY
  8147. Cc: PSL-BUGS at UTAH-20, lseward at RAND-RELAY, hearn at RAND-RELAY,
  8148. griss.hplabs at UDEL-RELAY, griss at UTAH-20
  8149. Subject: Re: Difference between new and old RLISP.
  8150. In-reply-to: Your message of Thursday, 27 Jan 1983 09:28-PST.
  8151. From: hearn at RAND-RELAY
  8152. Jed, the RLISP definition does NOT require that final (pre-END) semicolon.
  8153. If the "new" RLISP parser (I assume you mean the one on the PSL tape)
  8154. requires it, then it can't parse most of REDUCE!
  8155. Martin, what do you think?
  8156. 28-Jan-83 15:55:25-PST,701;000000000000
  8157. Date: 28 Jan 1983 1553-PST
  8158. From: PERDUE at HP-HULK
  8159. Subject: LoadExtensions*
  8160. To: PSL-Project, PSL
  8161. Achtung! The new value for LoadExtensions* combines with the
  8162. current procedures for building the compiler
  8163. and cross compiler to cause incorrect generation of those
  8164. systems. The problem is that one is expected to connect to the
  8165. directory containing the source, while one wants to LOAD the file
  8166. on pl:. Nancy K. will fix the DEC20 .CTL files; when building on
  8167. other machines, also be sure not to connect to "pc" or "p20c",
  8168. "pvc", etc. when generating compilers. LOAD will probably be
  8169. enhanced yet again so its behavior in searching for a file to
  8170. load can be better fine-tuned.
  8171. -------
  8172. 28-Jan-83 20:39:42-PST,205;000000000000
  8173. Date: 28 Jan 1983 2034-PST
  8174. From: PERDUE at HP-HULK
  8175. Subject: Dipthong -> Diphthong
  8176. To: PSL
  8177. I have changed source code to make dipthong become diphthong in
  8178. response to Will Galway's report.
  8179. -------
  8180. 31-Jan-83 08:04:48-PST,366;000000000000
  8181. Mail-From: GRISS created at 31-Jan-83 08:01:04
  8182. Date: 31 Jan 1983 0801-PST
  8183. From: GRISS at HP-HULK
  8184. Subject: Mini BUG
  8185. To: psl at HP-HULK
  8186. A small bug seems to have crept into mini. Seems to relate to an
  8187. OLD version of mini. Please rebuild MINI on VAX and 20, and problem will
  8188. disappear.
  8189. (problem was related to &variables being incorrectly bound).
  8190. -------
  8191. 31-Jan-83 16:17:38-PST,224;000000000000
  8192. Date: 31 Jan 1983 1616-PST
  8193. From: PERDUE at HP-HULK
  8194. Subject: Automatic EOLs in PRINT, etc.
  8195. To: PSL
  8196. Note that all integers are assumed to take up 10 print positions,
  8197. regardless of their actual length (crock).
  8198. -------
  8199. 2-Feb-83 08:39:43-PST,318;000000000000
  8200. Date: 2 Feb 1983 0835-PST
  8201. From: AS at HP-HULK
  8202. Subject: testing for open channels
  8203. To: PSL
  8204. cc: AS
  8205. I have looked through the I/O chapter of the PSL manual and have not
  8206. been able to find any function that I could use to test to see if
  8207. a channel is open or not. Is there one? If not, there should be.
  8208. -------
  8209. 2-Feb-83 20:00:43-PST,199;000000000000
  8210. Mail-From: GRISS created at 2-Feb-83 19:59:31
  8211. Date: 2 Feb 1983 1959-PST
  8212. From: GRISS at HP-HULK
  8213. Subject: 16#0 missprints
  8214. To: psl at HP-HULK
  8215. try 0 in outputbase!* 16, prints as 16#
  8216. -------
  8217. 3-Feb-83 10:09:19-PST,461;000000000000
  8218. Date: 3 Feb 1983 1008-PST
  8219. From: AS at HP-HULK
  8220. Subject: bad error message
  8221. To: PSL
  8222. cc: AS
  8223. When the catch stack overflows, the error message says that
  8224. the binding stack overflowed. This is because the catchpush
  8225. macro in catch-throw.red calls the function bstackoverflow
  8226. to report overflow. This situation needs to be fixed promptly.
  8227. People are occasionally getting binding stack overflow errors
  8228. and we need to know which stack overflowed.
  8229. -------
  8230. 3-Feb-83 10:54:22-PST,587;000000000000
  8231. Date: 3 Feb 1983 10:59:25-PST
  8232. From: douglas at HP-MARS
  8233. To: psl@hulk
  8234. Subject: xcons
  8235. According to the manual, "XCONS" is open compiled:
  8236. According to the running psl on the vax, it is not.
  8237. 9 lisp> (defun a2 (x y) (xcons x y))
  8238. (fullword 2)
  8239. (*entry a2 expr 2)
  8240. (jmp (entry xcons))
  8241. a2
  8242. Cpu time: 51 ms
  8243. 10 lisp> ^Z
  8244. Same remarks apply to ncons:
  8245. 10 lisp> (defun a3 (x) (ncons x))
  8246. (fullword 1)
  8247. (*entry a3 expr 1)
  8248. (jmp (entry ncons))
  8249. a3
  8250. Cpu time: 17 ms
  8251. 11 lisp> ^Z
  8252. Douglas
  8253. 3-Feb-83 10:59:21-PST,434;000000000000
  8254. Date: 3 Feb 1983 11:02:41-PST
  8255. From: douglas at HP-MARS
  8256. To: psl@hulk
  8257. Subject: missing set functions: Setminus and Setminus2
  8258. If a, b and c are sets.
  8259. The following function is missing from the set of psl set functions:
  8260. (Setminus a b c) { Delete all elements of b and c from a }
  8261. which is equivalent to
  8262. (setminus2 (setminus2 a b) c)
  8263. Now one must write a loop which deletes each element of b and c from a.
  8264. Douglas
  8265. 5-Feb-83 07:49:13-PST,485;000000000000
  8266. Date: 5 Feb 1983 07:45:20-PST
  8267. From: Galway@UTAH-20 at HP-VENUS
  8268. Via: utah-cs
  8269. Date: 5 Feb 1983 0400-MST
  8270. From: William Galway <Galway@UTAH-20>
  8271. Subject: non-decimal output base
  8272. To: PSL-BUGS@UTAH-20
  8273. When printing a number with OUTPUTBASE!* equal to some number other
  8274. than ten, leading zeros are omitted to the extent that zero itself
  8275. is not printed properly. For example, when trying to print
  8276. '(0 1 2 3)
  8277. in octal, what's actually printed is
  8278. (8# 8#1 8#2 8#3)
  8279. -------
  8280. 7-Feb-83 10:39:50-PST,258;000000000000
  8281. Mail-From: LANAM created at 7-Feb-83 10:37:55
  8282. Date: 7 Feb 1983 1037-PST
  8283. From: douglas <LANAM at HP-HULK>
  8284. Subject: spelling correction to page 10-6 of manual
  8285. To: psl at HP-HULK
  8286. on the third line uner Flambdalinkp, "cals" should be "calls".
  8287. -------
  8288. 7-Feb-83 11:04:52-PST,318;000000000000
  8289. Mail-From: LANAM created at 7-Feb-83 11:02:04
  8290. Date: 7 Feb 1983 1102-PST
  8291. From: douglas <LANAM at HP-HULK>
  8292. Subject: set and setq in manual
  8293. To: psl at HP-HULK
  8294. The comment about the compiler declaring variables in setq fluid, should
  8295. be in the section about the compiler, not in the section about setq.
  8296. -------
  8297. 7-Feb-83 18:31:54-PST,712;000000000000
  8298. Date: 7 Feb 1983 18:33:02-PST
  8299. From: douglas at HP-MARS
  8300. To: psl@hulk
  8301. Subject: how does one change a prompt before doing a dumplisp
  8302. which is picked up in the dumplisped version.
  8303. I have tried redefine the variable toploopname*.
  8304. I have tried redefining the function standardlisp.
  8305. I have tried setting init code which sets the variable toploopname*.
  8306. None of these work to change the prompt in the dumped file:
  8307. (setq toploopname* "dumped frl")
  8308. (dumplisp "a.out")
  8309. (quit)
  8310. % a.out
  8311. PSL
  8312. 1 lisp>
  8313. But I wanted it to say:
  8314. % a.out
  8315. PSL
  8316. 1 dumped frl>
  8317. I can not seem to get this at all. How do I do this. I looked at
  8318. the code for main and it seems to keep redefining everything.
  8319. Douglas
  8320. 8-Feb-83 10:20:31-PST,507;000000000000
  8321. Date: 8 Feb 1983 10:24:08-PST
  8322. From: douglas at HP-MARS
  8323. To: psl@hulk
  8324. Subject: init forms evaluated at start up time.
  8325. It would be nice if the evaluation of init-forms when a dumplisp'd file is
  8326. started up was after all the internal variables (such as toploopname*, and
  8327. the variable which determines what is the main top loop function or something
  8328. like that) are set. Currently it is done before any of this, and thus you
  8329. can not customise the dump lisp system easily by using init forms.
  8330. Douglas
  8331. 8-Feb-83 14:47:52-PST,598;000000000000
  8332. Date: 8 Feb 1983 14:41:58-PST
  8333. From: neil at HP-VENUS
  8334. Via: utah-cs
  8335. Date: Tue Feb 8 11:54:23 1983
  8336. Received: from RAND-UNIX by UTAH-20; Tue 8 Feb 83 11:48:50-MST
  8337. Date: Tuesday, 8 Feb 1983 10:35-PST
  8338. To: psl-bugs at UTAH-20
  8339. Cc: lseward at RAND-RELAY
  8340. Subject: CopyScanTable function.
  8341. From: marti at RAND-UNIX
  8342. I am unable to get the CopyScanTable function to work. When you give it
  8343. NIL as an argument it dies with an "CopyScanTable expects a valid read
  8344. table as an argument". The same is true when entering CURRENTSCANTABLE!*
  8345. or LISPSCANTABLE!* (both quoted and unquoted).
  8346. 8-Feb-83 14:47:54-PST,464;000000000000
  8347. Date: 8 Feb 1983 14:50:38-PST
  8348. From: douglas at HP-MARS
  8349. To: psl@hulk
  8350. Subject: missing read characater token type.
  8351. PSL is missing a read character token type.
  8352. It appears that if you wish to make a character be a single, delimiting token,
  8353. say make "," always be the atom ', as in `(a,b) = '(a , b) ,
  8354. not only do you need to make the char type 11 in the current scan table,
  8355. you need to remove all read macro definitions off the property list.
  8356. Douglas
  8357. 16-Feb-83 09:50:35-PST,1278;000000000000
  8358. Date: 16 Feb 1983 0950-PST
  8359. From: AS at HP-HULK
  8360. Subject: load
  8361. To: PSL
  8362. cc: AS
  8363. You might be interested to know that the recent change to Load to make it work
  8364. like Imports caused the Objects package to break. It turns out that Objects
  8365. and Common both define a Declare macro. Common is loaded by Objects, so that
  8366. if you loaded Objects, its definition of Declare would take precedence. Now
  8367. that any requested loads are done last, Common's definition takes precedence.
  8368. Since Declare is functionally a comment, this problem was not noticed
  8369. immediately. I discovered this problem only by running a timing test on
  8370. NMODE, which showed a significant and unexpected increase in refresh time. I
  8371. have fixed the problem by renaming my declare macro to declare-flavor, which
  8372. should have been done anyway.
  8373. Although the name conflict in this case was not intentional, it seems to me
  8374. that it is a valid programming technique to write a module FOO that loads
  8375. another module BAR and then redefines some of its functions. The way Load
  8376. currently works, this can be done only by using distinct function names and
  8377. invoking some setup function after loadtime to do the redefinitions. I would
  8378. therefore recommend that Load be restored to its previous definition.
  8379. -------
  8380. 16-Feb-83 11:00:33-PST,298;000000000000
  8381. Date: 16 Feb 1983 1057-PST
  8382. From: AS at HP-HULK
  8383. Subject: load
  8384. To: PSL
  8385. cc: AS
  8386. My previous message was in error. OBJECTS was actually using IMPORTS,
  8387. rather than LOAD. As Martin has informed me, the change to LOAD was not
  8388. made, for the reason I pointed out in my previous message.
  8389. -------
  8390. 16-Feb-83 13:55:33-PST,263;000000000000
  8391. From: rosenber at HP-MARS
  8392. Via: HP-MARS; 16 Feb 1983 13:57:52-PST
  8393. To: psl@hulk
  8394. Subject: binding stack overflow.
  8395. Can psl please break on binding stack overflow and allow some checking of
  8396. the stack, and variables. Currently it just does an automatic reset.
  8397. 16-Feb-83 13:57:11-PST,181;000000000000
  8398. From: rosenber at HP-MARS
  8399. Via: HP-MARS; 16 Feb 1983 13:58:48-PST
  8400. To: psl@hulk
  8401. Subject: last letter
  8402. That letter was from douglas@mars. Please respond there. Thanks, douglas
  8403. 17-Feb-83 06:53:56-PST,870;000000000000
  8404. From: KESSLER@UTAH-20 at HP-VENUS
  8405. Via: HP-VENUS; 17 Feb 1983 06:50:06-PST
  8406. Via: utah-cs
  8407. Date: 17 Feb 1983 0716-MST
  8408. From: Robert R. Kessler <KESSLER@UTAH-20>
  8409. Subject: Close()
  8410. To: psl-bugs@UTAH-20
  8411. cc: Keller@UTAH-20
  8412. Calling Close with no arguments causes an:
  8413. ***** undefined function NOCHANGE called from compiled code.
  8414. After some investigation, it turns out that the problem is that calling a
  8415. function with zero arguments (as opposed to with nil as the argument,
  8416. therefore foo(); is not equivalent to foo nil; although () and nil are
  8417. usually equivalent), access to the argument from within the body gets
  8418. the code pointer of the function (only happens with compiled code,
  8419. interpreted code checks argument match).
  8420. Is there any fix to this? (other than argument number checking?) Should
  8421. we make foo() equivalent to foo nil???
  8422. Bob.
  8423. -------
  8424. 17-Feb-83 09:29:45-PST,329;000000000000
  8425. Date: 17 Feb 1983 0925-PST
  8426. From: AS at HP-HULK
  8427. Subject: fluid
  8428. To: PSL
  8429. cc: AS
  8430. The manual describes the FLUID function as being a pure declaration.
  8431. However, in reality, it sometimes SETs the variable to NIL.
  8432. I recommend that FLUID be changed not to SET the variable.
  8433. (Global, of course, has the same property.)
  8434. -------
  8435. 17-Feb-83 09:29:55-PST,626;000000000000
  8436. Date: 17 Feb 1983 0927-PST
  8437. From: PERDUE at HP-HULK
  8438. Subject: Re: Close()
  8439. To: PSL
  8440. In-Reply-To: Your message of 17-Feb-83
  8441. In my opinion argument number checking is one of the most
  8442. attractive alternatives for dealing with the problem of garbage
  8443. values for unsupplied arguments. Individual functions checking
  8444. their arguments for validity is also attractive and solves a
  8445. somewhat different set of problems.
  8446. "Close" for example can check that its argument is an integer in
  8447. the appropriate range. Trying to make arguments default to NIL
  8448. looks less desirable to me than providing argument number
  8449. checking.
  8450. -------
  8451. 17-Feb-83 11:19:45-PST,177;000000000000
  8452. Date: 17 Feb 1983 1116-PST
  8453. From: AS at HP-HULK
  8454. Subject: backtrace
  8455. To: PSL
  8456. cc: AS
  8457. The function STACKCHECK (used on the 9836) should be omitted from
  8458. backtraces.
  8459. -------
  8460. 18-Feb-83 08:30:15-PST,648;000000000000
  8461. Mail-From: GRISS created at 18-Feb-83 08:25:52
  8462. Date: 18 Feb 1983 0825-PST
  8463. From: GRISS at HP-HULK
  8464. Subject: Lap-68000 bug
  8465. To: psl at HP-HULK
  8466. Apparently, LAP on teh 68000's doesnt check the validity of
  8467. Operator/operand cobinations as well as it should:
  8468. (MOVEA!.L (fluid NIL) (REG d0)) is actually
  8469. illegal, but went through fine..
  8470. I belive LAP can check, just is sloppy. If LAP is to be used much
  8471. as a tool for efficient code until the compiler/code-gens improve,
  8472. some effort should go into improving this.
  8473. The symptom was that we got random Bind stack overflows after calling
  8474. Wquotient, since NIL was not being reset..
  8475. -------
  8476. 20-Feb-83 01:36:42-PST,624;000000000000
  8477. From: daemon at HP-VENUS
  8478. Via: HP-VENUS; 20 Feb 1983 01:34:23-PST
  8479. Via: utah-cs
  8480. Date: 19 Feb 1983 2152-MST
  8481. From: Keller@UTAH-20 (Robert M. Keller)
  8482. Subject: pattern matching in mini
  8483. To: psl-bugs@UTAH-20
  8484. The pattern matching feature of mini seems really nice, but it is described
  8485. rather tersely in the psl manual. On looking at the rule for patterns in
  8486. mini.min, I get the feeling there are more goodies there, but can't quite
  8487. make out what they are on casual reading.
  8488. 1. Is this feature documented elsewhere?
  8489. 2. How about &identifier as well as &number for match variables.
  8490. Thanks.
  8491. Bob
  8492. -------
  8493. 21-Feb-83 10:48:30-PST,691;000000000000
  8494. From: douglas at HP-MARS
  8495. Via: HP-MARS; 21 Feb 1983 10:54:14-PST
  8496. To: psl@hulk
  8497. Subject: *echo
  8498. If i do
  8499. (setq *echo t) and then dskin a file.
  8500. I have found that a line is echod after it has been evaluated.
  8501. First you get all output generated by the command, then you see
  8502. the command echoed, then you see the return value, followed by an
  8503. extra carriage return (I don't know where this came from either).
  8504. Thus if we have a.sl:
  8505. (print "hello")
  8506. And did
  8507. (setq *echo t)
  8508. (dskin "a.sl")
  8509. We will see
  8510. "hello"
  8511. (print "hello")
  8512. "hello"
  8513. 2 lisp>
  8514. I think it would make more sense to see the input first than the
  8515. printed side effects and then the resulting value.
  8516. Douglas
  8517. 21-Feb-83 10:53:30-PST,595;000000000000
  8518. From: douglas at HP-MARS
  8519. Via: HP-MARS; 21 Feb 1983 10:57:59-PST
  8520. To: psl@Hulk
  8521. Subject: correction to last letter
  8522. I must say I made a mistake. I tried it out with print and
  8523. the system did things in the right order. The error comes
  8524. when I have (faslin ..") in a file. The redefining messages
  8525. come first, then the input line, and lastly the resulting value.
  8526. The real problem must be that output to stdout* is not flushed
  8527. before output is flushed from errout* (where the redefining
  8528. messages are sent). Thus the appearance that things are echoed
  8529. after they are executed.
  8530. Douglas
  8531. 21-Feb-83 11:03:37-PST,401;000000000000
  8532. Mail-From: GRISS created at 21-Feb-83 11:02:38
  8533. Date: 21 Feb 1983 1102-PST
  8534. From: GRISS at HP-HULK
  8535. Subject: Re: correction to last letter
  8536. To: douglas at HP-MARS
  8537. cc: GRISS at HP-HULK, psl at HP-HULK
  8538. In-Reply-To: Your message of 21-Feb-83 1053-PST
  8539. Yes, I think problem is that we are useing 2 different channels, STDOUT and ERROUT
  8540. ala unix... I think ERROUT!!* should be set to STDOUT
  8541. -------
  8542. 23-Feb-83 20:21:56-PST,734;000000000000
  8543. Date: 23 Feb 1983 20:23:30-PST
  8544. From: douglas@HP-MARS
  8545. To: psl@hulk
  8546. Subject: flush or drain
  8547. Cc: rosenber@HP-MARS
  8548. I need a function that will flush, drain, or clear an input buffer (stdin*).
  8549. What I want is to able to say (flush x) where
  8550. if x is an input (terminal port), then all input waiting is flushed and ignored.
  8551. If there is no waiting input, nothing is done.
  8552. if x is an output port, than all output is sent (the information is known to
  8553. be written to the file or port, but the port is not closed). At present, I
  8554. only know how to do this by closing the port.
  8555. Do such commands exist in psl?
  8556. If not, Can you please add them? I need them as soon as possible for the
  8557. frl i/o system.
  8558. Thanks,
  8559. Douglas
  8560. 23-Feb-83 20:31:57-PST,631;000000000000
  8561. Date: 23 Feb 1983 20:33:16-PST
  8562. From: douglas@HP-MARS
  8563. To: psl@Hulk
  8564. Subject: tyipeek
  8565. Cc: rosenber@HP-MARS
  8566. I also need a function that does a (tyipeek)
  8567. It will check if there is any character waiting in the input buffer (in*)
  8568. If yes, it will return it, (but not advance the input buffer).
  8569. If not, it will return nil. It will not wait for input.
  8570. At present, I can not find any function that does anything like this.
  8571. Does such a function exist in psl?
  8572. If not, can it be added as soon as possible?
  8573. This function is needed as soon as possible to make the frl i/o system
  8574. work correctly.
  8575. Thanks,
  8576. Douglas
  8577. 23-Feb-83 21:11:49-PST,460;000000000000
  8578. Date: 23 Feb 1983 21:13:19-PST
  8579. From: douglas@HP-MARS
  8580. To: psl@hulk
  8581. Subject: miscount in (posn)
  8582. If I output to stdout* some string, then either output a carriage-return
  8583. with no line feed (cntl-M) or output some backspaces (cntrl-H), the printing
  8584. is done correctly (backspacing on the screen and rewritting over), but
  8585. (posn) reports the position as if the backspace and carriage return were
  8586. the same as any other character (example: "a").
  8587. Douglas
  8588. 23-Feb-83 21:16:50-PST,283;000000000000
  8589. Date: 23 Feb 1983 21:21:14-PST
  8590. From: douglas@HP-MARS
  8591. To: psl@hulk
  8592. Subject: correction for (posn)
  8593. The correction that will make (posn) correct after backspaces and
  8594. carriage returns needs to be made in the file "char-io.red" in the
  8595. kernel, somewhere near line 50.
  8596. Douglas
  8597. 23-Feb-83 21:21:48-PST,347;000000000000
  8598. Date: 23 Feb 1983 21:26:15-PST
  8599. From: douglas@HP-MARS
  8600. To: psl@hulk
  8601. Subject: syslisp
  8602. What happened to the section in the manual on syslisp? It used to be right
  8603. after the compiler.
  8604. I need to know how do I access a variable which is declared in the kernel
  8605. with syslisp on, and was declared
  8606. external warray lineposition;
  8607. Douglas
  8608. 23-Feb-83 22:01:41-PST,416;000000000000
  8609. Date: 23 Feb 1983 22:03:38-PST
  8610. From: douglas@HP-MARS
  8611. To: psl@hulk
  8612. Subject: chipmunk psl bug
  8613. If you type an id name into psl on the chipmunk that is around
  8614. 4 line of screen or more long (maybe the limit is less), you will get
  8615. thrown out to the operating system (command: compiler ..) with
  8616. error -8: value range error.
  8617. Also how can I do relative cursor addressing on the chipmunk in psl?
  8618. Douglas
  8619. 24-Feb-83 12:41:03-PST,534;000000000000
  8620. Date: 24 Feb 1983 1042-MST
  8621. From: Keller@UTAH-20 (Robert M. Keller)
  8622. Received: by HPLABS via UUCP; 24 Feb 1983 12:36:15-PST (Thu)
  8623. Subject: trace package
  8624. To: psl-bugs@UTAH-20
  8625. Via: uucp host utah-cs; 24 Feb 1983 10:46:58-??? (Thu)
  8626. I still want to change the output format from trace. In particular, I would
  8627. like to change the linelength from its current 50-60 chars, and possibly
  8628. pretty-print. Can you tell me where I can access the trace definitions.
  8629. I could not find it by searching the directory.
  8630. Thanks.
  8631. -------
  8632. 24-Feb-83 12:41:07-PST,1076;000000000000
  8633. Date: 24 Feb 1983 1112-MST
  8634. From: Keller@UTAH-20 (Robert M. Keller)
  8635. Received: by HPLABS via UUCP; 24 Feb 1983 12:36:28-PST (Thu)
  8636. Subject: some suggestions for tracing
  8637. To: Othmer@UTAH-20
  8638. cc: psl-bugs@UTAH-20
  8639. Via: uucp host utah-cs; 24 Feb 1983 11:17:10-??? (Thu)
  8640. Please change the 50-60 char output lines used by the function trace facility,
  8641. or provide info to the user as to how he/she can change it.
  8642. I would suggest that a pretty-print of some kind be used for the trace output.
  8643. An even more useful (but complicated) trace would be to avoid printing
  8644. the same sub-structure time after time, as if printx were used over the entire
  8645. tracing session. Having to visually scan huge s-expressions is difficult.
  8646. I realize there are degrees to which individual users would like to have
  8647. this happen, but when expressions get really large, the current mode is almost
  8648. worthless. Pretty-printing would alleviate the visualization problem a little.
  8649. I will be happy to elaborate (e.g. by means of a demo) if you don't see what
  8650. I mean.
  8651. Thanks.
  8652. Bob
  8653. -------
  8654. 25-Feb-83 10:33:09-PST,300;000000000000
  8655. Mail-From: GRISS created at 25-Feb-83 10:29:03
  8656. Date: 25 Feb 1983 1029-PST
  8657. From: GRISS at HP-HULK
  8658. Subject: Writefloat bUG on VAX
  8659. To: psl at HP-HULK
  8660. .00001 prints incorrectly on the VAX, and can not be read in.
  8661. Either need to change the call to C, or replace by a PSL written routine
  8662. -------
  8663. 25-Feb-83 14:03:08-PST,207;000000000000
  8664. Date: 25 Feb 1983 14:05:08-PST
  8665. From: douglas@HP-MARS
  8666. To: nancyk@hulk, psl@HP-MARS
  8667. Subject: when will psl return on mars?
  8668. The object disappeared. I need it as soon as possible.
  8669. Thanks,
  8670. Douglas
  8671. 25-Feb-83 22:28:54-PST,487;000000000000
  8672. Date: 25 Feb 1983 1716-MST
  8673. From: William Galway <Galway@UTAH-20>
  8674. Received: by HPLABS via UUCP; 25 Feb 1983 22:22:48-PST (Fri)
  8675. Subject: Possible "bug"
  8676. To: PSL-BUGS@UTAH-20
  8677. Via: uucp host utah-cs; 25 Feb 1983 17:21:33-??? (Fri)
  8678. (LOAD foo) gives a warning message "foo already loaded" in the Vax
  8679. version of PSL, doesn't complain on the 20. (If, of course, foo is already
  8680. loaded.)
  8681. Looks like the Vax version is the older version of LOAD and should be
  8682. updated?
  8683. -------
  8684. 2-Mar-83 11:54:23-PST,356;000000000000
  8685. Date: 2 Mar 1983 1153-PST
  8686. From: PERDUE at HP-HULK
  8687. Subject: LShift
  8688. To: PSL
  8689. This is documented in the manual as an arithmetic shift and
  8690. implemented on the DEC-20 as a fullword logical shift. In
  8691. SYSLISP it maps to WSHIFT which is implemented via the LSH
  8692. instruction.
  8693. Is the implementation "fully correct" and the documentation
  8694. wrong?
  8695. -------
  8696. 3-Mar-83 06:28:19-PST,716;000000000000
  8697. Date: 2 Mar 1983 1746-MST
  8698. From: William Galway <Galway@UTAH-20>
  8699. Received: by HPLABS via UUCP; 3 Mar 1983 06:22:16-PST (Thu)
  8700. Subject: Can someone tell me ...
  8701. To: PSL-BUGS@UTAH-20
  8702. Via: uucp host utah-cs; 2 Mar 1983 17:51:23-??? (Wed)
  8703. ... about the SelectQ macro in our Common Lisp compatibility package?
  8704. It seems to correspond to the CASE macro described in the latest Common
  8705. Lisp manual. Is the name "SelectQ" inherited from an earlier version of
  8706. the Common Lisp manual, or was the name chosen to avoid conflict with some
  8707. other CASE function in PSL? I'm sure Eric Benson knows, but would anyone
  8708. else care to guess? Should we make some effort to convert "SelectQ" to
  8709. "case"?
  8710. Thanks.
  8711. -------
  8712. 4-Mar-83 01:01:20-PST,568;000000000000
  8713. Date: 4 Mar 1983 01:05:07-PST
  8714. From: douglas@HP-MARS
  8715. To: psl@hulk
  8716. Subject: long name problem in psl.
  8717. If I am in the directory ~psl/dist/util, and run psl and say
  8718. (load fast-int). This will fail because numeric-opeators.b is
  8719. not in fasl format. This is because the system tries to
  8720. load numeric-operators.b and finds a file numeric-operators in .
  8721. (. = current directory) , but this file is actually numeric-operators.sl.
  8722. It appears unix can only have 14 letters in a file name, and thus the
  8723. binary and source have the same name in this case.
  8724. Douglas
  8725. 4-Mar-83 01:51:11-PST,303;000000000000
  8726. Date: 4 Mar 1983 01:55:10-PST
  8727. From: douglas@HP-MARS
  8728. To: psl@hulk
  8729. Subject: *pgwd flag
  8730. In what psl source files is this flag declared and used?
  8731. I have grepped all files in the kernel, non-kernel, comp, and util and
  8732. can find no reference to this flag (upper or lower case).
  8733. Thanks,
  8734. Douglas
  8735. 4-Mar-83 09:31:17-PST,233;000000000000
  8736. Date: 4 Mar 1983 0927-PST
  8737. From: PERDUE at HP-HULK
  8738. Subject: SELECTQ documentation
  8739. To: PSL
  8740. There is now reference manual documentation for SELECTQ, but it
  8741. doesn't mention that SELECTQ is in the COMMON library module.
  8742. -------
  8743. 4-Mar-83 10:11:22-PST,778;000000000000
  8744. Date: 4 Mar 1983 1010-PST
  8745. From: PERDUE at HP-HULK
  8746. Subject: Compiler bug
  8747. To: PSL
  8748. I have fixed a compiler bug known to cause incorrect code
  8749. generation on the DEC-20 and the HP9836. The SUBPAT pattern (for
  8750. WDIFFERENCE code generation) was missing a case. The contents of
  8751. a .sl format patch file I created follows. The missing case was
  8752. the one with the "USESDEST".
  8753. (PUT 'SUBPAT 'PATTERN
  8754. '(NIL
  8755. ('*SET DEST (FN A1 A2))
  8756. ((DEST ANY) (MAC A1 A2))
  8757. ((ANY DEST) ('*WMINUS DEST DEST) ('*WPLUS2 A2 A1))
  8758. ((ANY USESDEST) ('*LOAD T1 A2) ('*LOAD DEST A1) (MAC DEST T1))
  8759. (ANY ('*LOAD DEST A1) (MAC DEST A2))))
  8760. The following example fails with the current SUBPAT patterns:
  8761. (de test (x) (wdifference 2048 (igetv x 4)))
  8762. -------
  8763. 4-Mar-83 10:46:20-PST,791;000000000000
  8764. Date: 4 Mar 1983 0149-MST
  8765. From: William Galway <Galway@UTAH-20>
  8766. Received: by HPLABS via UUCP; 4 Mar 1983 10:41:43-PST (Fri)
  8767. Subject: request for compiler
  8768. To: PSL-BUGS@UTAH-20
  8769. Via: uucp host utah-cs; 4 Mar 1983 01:49:48-??? (Fri)
  8770. The compiler needs to be more careful when expanding CMACROs. I've
  8771. just spent several hours discovering that I was calling SUBSTRING with
  8772. two arguments instead three. When the compiler tries to expand the
  8773. CMACRO, it calls the PAIR function with some bad arguments, thus
  8774. producing the informative message "Different length lists in PAIR".
  8775. Anyone care to attack the problem? It should be fairly easy, since
  8776. all the necessary information (the number of arguments needed, and the
  8777. number passed) are both available at compile time.
  8778. -------
  8779. 5-Mar-83 07:51:13-PST,441;000000000000
  8780. Mail-From: GRISS created at 5-Mar-83 07:48:23
  8781. Date: 5 Mar 1983 0746-PST
  8782. From: GRISS at HP-HULK
  8783. Subject: Re: *pgwd flag
  8784. To: douglas at HP-MARS
  8785. cc: GRISS
  8786. In-Reply-To: Your message of 4-Mar-83 0151-PST
  8787. Remailed-date: 5 Mar 1983 0748-PST
  8788. Remailed-from: GRISS at HP-HULK
  8789. Remailed-to: psl at HP-HULK
  8790. In principle, should be in LAP; my guess is now obselete; use PCMAC, or PLAP,
  8791. instead.
  8792. Also, call it SWITCH, not FLAG
  8793. -------
  8794. 7-Mar-83 09:46:38-PST,344;000000000000
  8795. Date: 7 Mar 1983 09:52:04-PST
  8796. From: douglas@HP-MARS
  8797. To: psl@hulk
  8798. Subject: left-expand undefined function
  8799. % psl
  8800. PSL 3.1, 25-Feb-83
  8801. 1 lisp> (- 3 4 5)
  8802. -6
  8803. 2 lisp> (load fast-int)
  8804. NIL
  8805. 3 lisp> (- 3 4 5)
  8806. ***** Undefined function `LEFT-EXPAND' called from compiled code
  8807. ***** Continuable error.
  8808. Break loop
  8809. 4 lisp break>> ^Z
  8810. Stopped
  8811. 7-Mar-83 11:23:52-PST,467;000000000000
  8812. Date: 7 Mar 1983 11:28:34-PST
  8813. From: douglas@HP-MARS
  8814. To: psl@hulk
  8815. Subject: locking chipmunk keyboard during garbage collection.
  8816. How can I prevent having to reboot if the system goes into endless
  8817. gc because of lack of space or gets an error during gc. Currently
  8818. shift-reset, shift-stop gets me out but does not unlock the keyboard(I seem
  8819. to only be able to get the next program started - like the filer, but can
  8820. not type input to this program).
  8821. Douglas
  8822. 7-Mar-83 13:53:52-PST,397;000000000000
  8823. Date: 7 Mar 1983 13:57:02-PST
  8824. From: douglas@HP-MARS
  8825. To: psl@hulk
  8826. Subject: flag
  8827. If you say (flag 'x 'y), nothing happens.
  8828. I mean you get no error message. The function acts like it worked.
  8829. But the function did nothing. Either it should produce an error
  8830. message that 'x is not a list, or it should accept the 'x and act like
  8831. it was give '(x). Personally, i prefer the second action.
  8832. 7-Mar-83 14:44:05-PST,544;000000000000
  8833. Date: 7 Mar 1983 14:48:38-PST
  8834. From: douglas@HP-MARS
  8835. To: psl@hulk
  8836. Subject: locked keyboard problem in chipmunk
  8837. I get a lot of locked keyboards with psl where I have to reboot.
  8838. This is very, very, very inconvienient.
  8839. The troubles come from when a stream file is executing psl and
  8840. does something wrong and I want to interrupt it and start over.
  8841. I interrupt and stop it and then find I can't get much to work for me.
  8842. (I can get the compiler, editor or filer started sometimes, but I can't
  8843. get any input typed into them).
  8844. Douglas
  8845. 7-Mar-83 14:53:56-PST,430;000000000000
  8846. Date: 7 Mar 1983 14:59:20-PST
  8847. From: douglas@HP-MARS
  8848. To: psl@hulk
  8849. Subject: chipmunk load bug
  8850. If you reset out* , stdout* and errout* to say (open "printer" 'output).
  8851. then if you do (faslin "xx.b") but xx.b does not exist.
  8852. Instead of getting a message on the "printer:" that xx.b can not be found
  8853. along with a break point, you get:
  8854. Error -10: (No I/o error reported)
  8855. Pc = #######
  8856. And thrown out of psl.
  8857. Douglas
  8858. 8-Mar-83 11:15:28-PST,227;000000000000
  8859. Date: 8 Mar 1983 1111-PST
  8860. From: SLUTZ at HP-THOR
  8861. Received: by HP-MARS via CHAOSNET; 8 Mar 1983 11:22:06-PST
  8862. Subject: Re: Tape drive
  8863. To: psl@HP-MARS
  8864. In-Reply-To: Your message of 8-Mar-83 1105-PST
  8865. finished
  8866. -------
  8867. 8-Mar-83 14:57:45-PST,352;000000000000
  8868. Date: 8 Mar 1983 15:00:17-PST
  8869. From: douglas@HP-MARS
  8870. To: psl@hulk
  8871. Subject: why do I need so many psl defined volumes?
  8872. Why can't I just work with say one for libraries and one for where the
  8873. objects are stored? (say SYS: and PU: on 9836)?
  8874. I don't use the others to my knowledge. There seems to be an overflowing
  8875. abundance of psl directories.
  8876. 8-Mar-83 17:37:12-PST,274;000000000000
  8877. Mail-From: GRISS created at 8-Mar-83 17:32:46
  8878. Date: 8 Mar 1983 1732-PST
  8879. From: GRISS at HP-HULK
  8880. Subject: negative Floats
  8881. To: psl at HP-HULK
  8882. -1.00 etc doesnt parse correctly in PSL, but OK in RLISP
  8883. Also, -5#3 and 5#-3 behave differently in PSL and RLISP
  8884. -------
  8885. 9-Mar-83 01:42:19-PST,561;000000000000
  8886. Date: 6 Mar 1983 1550-MST
  8887. From: JW-Peterson@UTAH-20 (John W. Peterson)
  8888. Received: by HPLABS via UUCP; 9 Mar 1983 01:38:47-PST (Wed)
  8889. Subject: vax psl bug.
  8890. To: griss@HP-VENUS, kesSLER@HP-VENUS
  8891. cc: galWAY@HP-VENUS
  8892. Remailed-date: 7 Mar 1983 0719-MST
  8893. Remailed-from: Martin.Griss <Griss@UTAH-20>
  8894. Remailed-to: psl-bugs@UTAH-20
  8895. Via: uucp host utah-cs; 7 Mar 1983 07:23:38-??? (Mon)
  8896. works o.k. on the 20...
  8897. 1 cs> rlisp
  8898. PSL 3.1 Rlisp, 3-Mar-83
  8899. [1] outputbase!*:=2;
  8900. 2#10
  8901. [2#10] 27;
  8902. 2#11011
  8903. [2#11] -27;
  8904. Illegal instruction
  8905. 2 cs>
  8906. -------
  8907. 9-Mar-83 01:42:20-PST,745;000000000000
  8908. Date: 6 Mar 1983 1721-MST
  8909. From: JW-Peterson@UTAH-20 (John W. Peterson)
  8910. Received: by HPLABS via UUCP; 9 Mar 1983 01:38:52-PST (Wed)
  8911. Subject: inconsistancy in base 2 output.
  8912. To: griss@HP-VENUS, kesSLER@HP-VENUS
  8913. cc: galWAY@HP-VENUS
  8914. Remailed-date: 7 Mar 1983 0720-MST
  8915. Remailed-from: Martin.Griss <Griss@UTAH-20>
  8916. Remailed-to: psl-bugs@UTAH-20
  8917. Via: uucp host utah-cs; 7 Mar 1983 07:24:25-??? (Mon)
  8918. hmm. this seems to be inconsistant across versions.
  8919. -27 ==>
  8920. Dec20:
  8921. 2#111111111111111111111111111111100101
  8922. Vax:
  8923. (dies w/illegal inst)
  8924. Apollo:
  8925. 2#-11011
  8926. (which, when parsed again by the reader, results in:
  8927. 2#-10101100000011)
  8928. not a drasticly important problem, but perhaps worth adding to the list.
  8929. -------
  8930. 9-Mar-83 03:37:09-PST,292;000000000000
  8931. Date: 8 Mar 1983 2009-MST
  8932. From: Martin.Griss <Griss@UTAH-20>
  8933. Received: by HPLABS via UUCP; 9 Mar 1983 03:31:20-PST (Wed)
  8934. Subject: TEST OF MAILING LIST FROM GRISS AT UTAH
  8935. To: PSL-BUGS@UTAH-20
  8936. cc: griss@UTAH-20
  8937. Via: uucp host utah-cs; 8 Mar 1983 20:14:32-??? (Tue)
  8938. RSVP
  8939. -------
  8940. 9-Mar-83 03:37:11-PST,292;000000000000
  8941. Date: 8 Mar 1983 2009-MST
  8942. From: Martin.Griss <Griss@UTAH-20>
  8943. Received: by HPLABS via UUCP; 9 Mar 1983 03:31:23-PST (Wed)
  8944. Subject: TEST OF MAILING LIST FROM GRISS AT UTAH
  8945. To: PSL-BUGS@UTAH-20
  8946. cc: griss@UTAH-20
  8947. Via: uucp host utah-cs; 8 Mar 1983 20:14:32-??? (Tue)
  8948. RSVP
  8949. -------
  8950. 9-Mar-83 05:36:41-PST,200;000000000000
  8951. Mail-From: GRISS created at 9-Mar-83 05:36:19
  8952. Date: 9 Mar 1983 0536-PST
  8953. From: GRISS at HP-HULK
  8954. Subject: Test of mailing| list
  8955. To: psl at HP-HULK
  8956. Sent from HP;RSVP, Utah especially.
  8957. -------
  8958. 9-Mar-83 10:06:07-PST,131;000000000000
  8959. Date: 9 Mar 1983 1001-PST
  8960. From: PERDUE at HP-HULK
  8961. Subject: Test
  8962. To: PSL
  8963. Testing. Bob Kessler please acknowledge.
  8964. -------
  8965. 9-Mar-83 10:31:02-PST,218;000000000000
  8966. Date: 9 Mar 1983 1029-PST
  8967. From: PERDUE at HP-HULK
  8968. Subject: Input of floating point numbers
  8969. To: PSL
  8970. Negative floating point numbers are read as positive numbers on
  8971. PSL on HULK. E.g. -3.5 becomes 3.5.
  8972. -------
  8973. 9-Mar-83 10:46:01-PST,753;000000000000
  8974. Date: 9 Mar 1983 10:47:22-PST
  8975. From: douglas@HP-MARS
  8976. To: psl@hulk
  8977. Subject: bugs in chipmunk psl dumplisp.
  8978. If the file that you are trying to dump into already exists,
  8979. you get an operating system error:
  8980. Error: -3 .
  8981. Also, how do I unset the keyboard if I get stuck in psl where shift-reset is
  8982. the only way out. I have found times when shift-stop is ignored and I
  8983. need to reset (especially if the gc breaks for some reason), or when I
  8984. get thrown out by operating system errors that are not continuable.
  8985. Then I have to turn my machine off (I don't trust "sb" anymore after
  8986. one day of strange things happening - files not being unlocked on the SRM,
  8987. and my losing memory that didn't come back until I turned my machine off).
  8988. Douglas
  8989. 9-Mar-83 13:12:50-PST,991;000000000000
  8990. Date: 7 Mar 1983 1616-MST
  8991. From: William Galway <Galway@UTAH-20>
  8992. Received: by HPLABS via UUCP; 9 Mar 1983 13:05:48-PST (Wed)
  8993. Subject: Re: inconsistancy in base 2 output.
  8994. To: JW-Peterson@HP-VENUS, griss@HP-VENUS, kesSLER@HP-VENUS
  8995. In-Reply-To: Your message of 6-Mar-83 1721-MST
  8996. Remailed-date: 9 Mar 1983 0707-MST
  8997. Remailed-from: Martin.Griss <Griss@UTAH-20>
  8998. Remailed-to: psl-bugs@UTAH-20
  8999. Via: uucp host utah-cs; 9 Mar 1983 07:10:14-??? (Wed)
  9000. To my mind, this word-sized dependent printing is WRONG. Negative numbers
  9001. should print as negative numbers. (I'd say that the correct model is the
  9002. BIGNUM stuff--except that's wrong too, at the moment. E.g. even with BIG
  9003. loaded, -10 prints as 8#777777777766 in radix 8, should print as -8#10.)
  9004. In fact, PSL really needs better utilities for radix conversion (both
  9005. printing and reading) and dealing with various sized words/bytes. Probably
  9006. a lot could be done by just making the current code a bit more accessible.
  9007. -------
  9008. 10-Mar-83 03:17:11-PST,1230;000000000000
  9009. Date: 9 Mar 1983 1512-MST
  9010. From: Harold Carr <CARR@UTAH-20>
  9011. Received: by HPLABS via UUCP; 10 Mar 1983 03:13:15-PST (Thu)
  9012. Subject: vax psl version 3.1 installation
  9013. To: psl-bugs@UTAH-20
  9014. cc: psi.krohnfeldt@UTAH-20
  9015. Via: uucp host utah-cs; 9 Mar 1983 15:16:02-??? (Wed)
  9016. We only ran into one bug in the installation procedure (other than some
  9017. others we caused ourselves by trying to be clever). In config there is the
  9018. line:
  9019. if !(-e $psys) mkdir $psys
  9020. further down the config file these are run:
  9021. $pvsup/make-bare-psl
  9022. $pvsup/make-psl
  9023. $pvsup/make-pslcomp
  9024. $pvsup/make-rlisp
  9025. In each of the above files there is a line similar to:
  9026. mv $psys/bare-psl $psys/old-bare-psl
  9027. but bare-psl, psl, etc all still live from the tape as ./psl, etc.
  9028. So, when you find that $psys does not exist, besides making the directory
  9029. you also need to move bare-psl, psl, rlisp, etc to the newly made $psys.
  9030. *****
  9031. Another small problem: you go to the trouble to make the psl-names file
  9032. which is used by config, but many of the other scripts and makefiles still
  9033. use relative path names. The should all source psl-names and use the
  9034. $ variables.
  9035. Harold and Jed
  9036. -------
  9037. 10-Mar-83 15:23:44-PST,282;000000000000
  9038. Date: 10 Mar 1983 15:27:39-PST
  9039. From: douglas@HP-MARS
  9040. To: psl@hulk
  9041. Subject: missing cmacro's. There seem to be cmacros missing for functions
  9042. like cadadr. Thus these functions are not open coded. (It seems
  9043. that functions with 3-4 letters are not all completely cmacrod).
  9044. 10-Mar-83 22:42:49-PST,289;000000000000
  9045. Date: 10 Mar 1983 22:47:12-PST
  9046. From: douglas@HP-MARS
  9047. To: psl@hulk
  9048. Subject: correction about cmacros and c..r functions
  9049. It seems that all functions c[ad][ad][ad][ad]r (4 a's or d's between
  9050. the c and r), do not have any information about for to be open
  9051. compiled in psl.
  9052. Douglas
  9053. 14-Mar-83 14:40:34-PST,509;000000000000
  9054. Date: 12 Mar 1983 10:49:44-??? (Sat)
  9055. From: utah-cs!hearn@RAND-RELAY
  9056. Received: by HP-VENUS via UUCP; 14 Mar 1983 14:40:40-PST (Mon)
  9057. Received: from RAND-RELAY by UTAH-20; Sat 12 Mar 83 10:48:38-MST
  9058. Date: Saturday, 12 Mar 1983 09:36-PST
  9059. To: Martin.Griss@HP-VENUS, <Griss@UTAH-20>
  9060. Cc: PSL-BUGS@UTAH-20
  9061. Subject: Re: TEST OF MAILING LIST FROM GRISS AT UTAH
  9062. In-reply-to: Your message of 8 Mar 1983 2009-MST.
  9063. From: hearn at RAND-RELAY
  9064. Via: uucp host utah-cs; 12 Mar 1983 10:49:44-??? (Sat)
  9065. Got it!
  9066. 14-Mar-83 14:45:43-PST,806;000000000000
  9067. Date: 14 Mar 1983 1428-MST
  9068. From: Gary Barbour <Barbour@UTAH-20>
  9069. Subject: Nmode and illegal item in Heap
  9070. To: PSL-Bugs@UTAH-20
  9071. Received: by HP-VENUS via UUCP; 14 Mar 1983 14:44:06-PST (Mon)
  9072. Via: uucp host utah-cs; 14 Mar 1983 14:30:11-??? (Mon)
  9073. While in Nmode, editing a Lisp file, the first Garbage Collecting
  9074. started, these errors appeared...... (whatever help it is)
  9075. ***** Fatal Error during garbage collecting, Illegal item in heap at 751255
  9076. ***** Flavor Teleray has no Method Raw-Mode.
  9077. ***** Flavor Teleray has no Method Ring-Bell.
  9078. And then the prompt below appeared and went across the screen, when
  9079. returns where entered, until no response at the end of the line.
  9080. 8 Rlisp>> 8 Rlisp>> 8 Rlisp>> 8 Rlisp>> 8 Rlisp>> 8 Rlisp>> 8 Rlisp >>
  9081. Gary...
  9082. -------
  9083. 15-Mar-83 08:29:38-PST,987;000000000000
  9084. Date: 14 Mar 1983 1502-MST
  9085. From: Jed Krohnfeldt <PSI.KROHNFELDT@UTAH-20>
  9086. Subject: reader problem(s)
  9087. To: psl-bugs@UTAH-20
  9088. cc: carr@UTAH-20
  9089. Received: by HP-VENUS via UUCP; 15 Mar 1983 08:28:28-PST (Tue)
  9090. Via: uucp host utah-cs; 14 Mar 1983 17:06:22-??? (Mon)
  9091. I changed the syntax of dot as follows:
  9092. (setindx currentscantable!* (char dot) 10)
  9093. This should have changed the interpretation of dot to "letter".
  9094. Indeed it did in most cases, as in (setq a.b 3). However, there
  9095. seem to be a few portions of the reader which insist on keeping
  9096. the old interpretation of dot. For example, I can still type
  9097. 34.5
  9098. and have it interpreted as a floating point number. Also,
  9099. (car '(a . b))
  9100. returns a. This does not seem right. Given my syntax change,
  9101. the two above cases should have been errors. There should not be
  9102. context-sensitive portions of the reader, such that a syntax
  9103. change takes effect in unpredictable ways. Is this correct?
  9104. -------
  9105. 15-Mar-83 10:00:58-PST,155;000000000000
  9106. Date: 15 Mar 1983 1000-PST
  9107. From: PERDUE at HP-HULK
  9108. Subject: Test
  9109. To: PSL
  9110. Again, Bob Kessler please forward this back if received. Thanks.
  9111. -------
  9112. 15-Mar-83 10:06:00-PST,243;000000000000
  9113. Date: 15 Mar 1983 1003-PST
  9114. From: PERDUE at HP-HULK
  9115. Subject: Testing, . . .
  9116. To: PSL
  9117. Testing the effect of lowercase "utah-cs" in the doublequoted
  9118. form of the mailing address. Bob Kessler please forward this
  9119. back if received.
  9120. -------
  9121. 16-Mar-83 03:37:00-PST,1451;000000000000
  9122. Date: 15 Mar 1983 1607-MST
  9123. From: Jed Krohnfeldt <PSI.KROHNFELDT@UTAH-20>
  9124. Subject: problem with loop macro
  9125. To: psl-bugs@UTAH-20
  9126. cc: carr@UTAH-20
  9127. Received: by HP-VENUS via UUCP; 16 Mar 1983 03:33:18-PST (Wed)
  9128. Via: uucp host utah-cs; 15 Mar 1983 16:10:12-??? (Tue)
  9129. In the loop macro package, there is a problem in the routine
  9130. loop-get-form. The code for this routine appears below - it is
  9131. identical to the code used in franz:
  9132. (defun loop-get-form ()
  9133. (do ((forms (list (pop loop-source-code)) (cons (pop loop-source-code) forms))
  9134. (nextform (car loop-source-code) (car loop-source-code)))
  9135. ((atom nextform)
  9136. (if (null (cdr forms)) (car forms)
  9137. (cons 'progn (nreverse forms))))))
  9138. It's purpose is to grab sexpressions from a global list
  9139. loop-source-code until an atom is encountered, and then to return
  9140. the constructed list of sexpressions grabbed, leaving the atom on
  9141. loop-source-code. This is part of the basic keyword recognition
  9142. code for loop.
  9143. There is a problem with the above code, however. It is written
  9144. such that it depends on the pop in the update of "forms" occuring
  9145. before the update of "nextform". This is not a safe assumption
  9146. when using do, since do is a parallel construct, both in franz
  9147. and in psl. It just happens to work correctly in franz by luck,
  9148. and not in psl. The do in the code above should be replaced with
  9149. do* which will make it work correctly in psl.
  9150. -------
  9151. 16-Mar-83 06:16:43-PST,832;000000000000
  9152. Date: 15 Mar 1983 2254-MST
  9153. From: Jed Krohnfeldt <PSI.KROHNFELDT@UTAH-20>
  9154. Subject: common lisp compatibility
  9155. To: psl-bugs@UTAH-20
  9156. Received: by HP-VENUS via UUCP; 16 Mar 1983 06:14:15-PST (Wed)
  9157. Via: uucp host utah-cs; 15 Mar 1983 22:57:35-??? (Tue)
  9158. In the file pu:clcomp1.sl there is a bug. A number of syntax changes
  9159. are done in this file. One of them makes ! (bang) a letter. Later
  9160. in the file, ! is used to escape the # character. This causes problems
  9161. with the load of clcomp1. The code that changes the syntax of ! should
  9162. be moved to the end of the file.
  9163. Also, since there is no clcomp.sl or clcomp.build I assume clcomp1.* has
  9164. replaced it. There are still several files on pu: that depend on
  9165. clcomp. They should be changed to depend on clcomp1 or clcomp1 should
  9166. be renamed back to clcomp.
  9167. -------
  9168. 16-Mar-83 17:37:17-PST,1415;000000000000
  9169. Date: 16 Mar 1983 1512-MST
  9170. From: Harold Carr <CARR@UTAH-20>
  9171. Subject: .pslrc
  9172. To: psl-bugs@UTAH-20
  9173. cc: psi.kroHNFELDT@UTAH-20
  9174. Received: by HP-VENUS via UUCP; 16 Mar 1983 17:35:45-PST (Wed)
  9175. Via: uucp host utah-cs; 16 Mar 1983 15:15:44-??? (Wed)
  9176. If there are errors in the .pslrc file this is what happens:
  9177. *****Couldn't open binary file for input
  9178. *****Segmentation violation
  9179. *****Illegal Instruction
  9180. *****Fatal error: Error not within ErrorSet
  9181. Stopped
  9182. This particular error is that I was trying to load a file it couldn't find.
  9183. You should probably catch this error and continue on to the top loop. At least
  9184. don't stop the job, kill it, if you don't go to the top loop.
  9185. Also, I have the form: (setq toploopname!* "") in my .pslrc but it does not
  9186. take effect. Once the system has started up if I enter the above it does.
  9187. Clearly, toploopname!* is being set after loading the init file. Too bad.
  9188. Also, I am still not too happy about the interaction between promptstring!*
  9189. and READ. If I want a prompt, I would rather PRINT it.
  9190. Also, when I did (help switches) I got:
  9191. ***Couldn't find help file '"$ph/switches.hlp"'
  9192. and when I looked on $ph, it indeed was not there. Should it be?
  9193. One question: is there some sort of global like: *no-exit-on-eof* that
  9194. when non-nil does not allow ^D to exit the system: getting out instead
  9195. with a function like (exit)?
  9196. Harold
  9197. -------
  9198. 16-Mar-83 17:37:25-PST,711;000000000000
  9199. Date: 16 Mar 1983 1631-MST
  9200. From: Harold Carr <CARR@UTAH-20>
  9201. Subject: .pslrc
  9202. To: psl-bugs@UTAH-20
  9203. cc: psi.krohNFELDT@UTAH-20
  9204. Received: by HP-VENUS via UUCP; 16 Mar 1983 17:36:37-PST (Wed)
  9205. Via: uucp host utah-cs; 16 Mar 1983 16:34:15-??? (Wed)
  9206. Could someone explain when and in what environment the init file gets loaded?
  9207. If I do a (setindx currentscantable* 59 12) in my .pslrc it crashes with a
  9208. bus error. However, removing the above form from the rc file and then entering
  9209. it to the top loop works just fine. The .pslrc file should be loaded in
  9210. an environment similar to what the top loop is executing in (of course, the
  9211. .pslrc file should be able to change the top loop). Harold
  9212. -------
  9213. 16-Mar-83 17:37:34-PST,596;000000000000
  9214. Date: 16 Mar 1983 1524-MST
  9215. From: William Galway <Galway@UTAH-20>
  9216. Subject: HELP function
  9217. To: PSL-BUGS@UTAH-20
  9218. Received: by HP-VENUS via UUCP; 16 Mar 1983 17:35:54-PST (Wed)
  9219. Via: uucp host utah-cs; 16 Mar 1983 15:25:33-??? (Wed)
  9220. Harold's message prompted me to try out the HELP function on the 20. It's
  9221. definitely broken. In response to
  9222. (help)
  9223. I get the response
  9224. ***** `DEFINEFLAG' is an undefined function
  9225. I wonder if part of the problem is a failure to complete the changeover
  9226. to our new terminology--where we use "switches" instead of calling them
  9227. "flags".
  9228. -------
  9229. 16-Mar-83 17:52:17-PST,383;000000000000
  9230. Date: 16 Mar 1983 1749-PST
  9231. From: PERDUE at HP-HULK
  9232. Subject: Re: HELP function
  9233. To: PSL
  9234. In-Reply-To: Your message of 16-Mar-83
  9235. The HELP function WORKS on the DEC-20 at HP. I am completely
  9236. unable to locate any use or definition of a function
  9237. `DEFINEFLAG'. It is not defined in PSL. It does not seem to
  9238. appear in any of our source files? Can anyone help on this?
  9239. -------
  9240. 21-Mar-83 10:49:55-PST,915;000000000000
  9241. Date: 21 Mar 1983 0739-MST
  9242. From: Robert R. Kessler <utah-cs!KESSLER@UTAH-20>
  9243. Subject: [John JW-Peterson <jwp@Utah-CS>: Fatel GC error]
  9244. Message-Id: <8303211445.AA13214@UTAH-CS.ARPA>
  9245. Received: by HP-VENUS via UUCP; 21 Mar 1983 10:45:11-PST (Mon)
  9246. Received: from UTAH-20 by UTAH-CS.ARPA (3.320/3.7)
  9247. id AA13214; 21 Mar 83 07:45:07 MST (Mon)
  9248. To: psl-bugs@UTAH-20
  9249. Via: uucp host utah-cs; 21 Mar 1983 07:45:07-??? (Mon)
  9250. I have seen this before. Anyone have any ideas?
  9251. ---------------
  9252. Return-path: <jwp@Utah-CS>
  9253. Received: from UTAH-CS by UTAH-20; Mon 21 Mar 83 02:49:32-MST
  9254. Date: 21 Mar 1983 02:46:17-MST
  9255. From: John JW-Peterson <jwp@Utah-CS>
  9256. To: kessler@Utah-CS
  9257. Subject: Fatel GC error
  9258. i just got a **** Fatal error: Unexpected tag found during garbage collection
  9259. on the vax. is there any known 'likely cause' for this (or any simple way
  9260. to track it down)?
  9261. thanks.
  9262. -------
  9263. 21-Mar-83 11:54:56-PST,445;000000000000
  9264. Date: 21 Mar 1983 1154-PST
  9265. From: PERDUE at HP-HULK
  9266. Subject: Re: [John JW-Peterson <jwp@Utah-CS>: Fatel GC error]
  9267. To: PSL, utah-cs!jwp at hp-venus
  9268. In-Reply-To: Your message of 21-Mar-83
  9269. A likely cause of your problem with "unexpected tag found" is use
  9270. of fast arithmetic, SYSLISP, etc. to create things, perhaps just
  9271. on the stack, that are out of "INUM" range, so they look like
  9272. pointers. Could be other things too.
  9273. -------
  9274. -------
  9275. 21-Mar-83 12:09:51-PST,600;000000000000
  9276. Date: 21 Mar 1983 1206-PST
  9277. From: PERDUE at HP-HULK
  9278. Subject: [Forwarded:] Re: [John JW-Peterson <jwp@Utah-CS>: Fatel GC error]
  9279. To: PSL
  9280. Date: 21 Mar 1983 1153-PST
  9281. From: PERDUE at HP-HULK
  9282. Subject: Re: [John JW-Peterson <jwp@Utah-CS>: Fatel GC error]
  9283. To: utah-cs!KESSLER at UTAH-20 at RAND-RELAY at HP-VENUS
  9284. In-Reply-To: Your message of 21-Mar-83
  9285. A likely cause of your problem with "unexpected tag found" is use
  9286. of fast arithmetic, SYSLISP, etc. to create things, perhaps just
  9287. on the stack, that are out of "INUM" range, so they look like
  9288. pointers. Could be other things too.
  9289. -------
  9290. 22-Mar-83 09:16:01-PST,318;000000000000
  9291. Date: 22 Mar 1983 0913-PST
  9292. From: PERDUE at HP-HULK
  9293. Subject: Floating point constants
  9294. To: PSL
  9295. There is an apparent bug in SysLISP where one must explicitly
  9296. quote floating point constants to cause correct LAP to be
  9297. generated.
  9298. I have apparently fixed the negative floating point number
  9299. reading bug.
  9300. -------
  9301. 23-Mar-83 07:45:09-PST,1449;000000000000
  9302. Date: Monday, 21 Mar 1983 10:08-PST
  9303. From: utah-cs!marti@rand-unix
  9304. Subject: GO TO problem in RLISP.
  9305. Return-Path: <marti@rand-unix>
  9306. Message-Id: <8303231442.AA12561@UTAH-CS.ARPA>
  9307. Received: by HP-VENUS via UUCP; 23 Mar 1983 07:44:54-PST (Wed)
  9308. Received: from RAND-UNIX by UTAH-20; Mon 21 Mar 83 11:28:38-MST
  9309. Received: from UTAH-20 by UTAH-CS.ARPA (3.320/3.7.2)
  9310. id AA12561; 23 Mar 83 07:42:07 MST (Wed)
  9311. To: griss@UTAH-20
  9312. Cc: lseward@RAND-RELAY, hearn@RAND-RELAY
  9313. Remailed-Date: 21 Mar 1983 1135-MST
  9314. Remailed-From: Martin.Griss <utah-cs!Griss@UTAH-20>
  9315. Remailed-To: kessLER
  9316. Remailed-Date: 23 Mar 1983 0738-MST
  9317. Remailed-From: Robert R. Kessler <utah-cs!KESSLER@UTAH-20>
  9318. Remailed-To: psl-bugs@UTAH-20
  9319. Via: uucp host utah-cs; 23 Mar 1983 07:42:07-??? (Wed)
  9320. The PSL RLISP parser has trouble with statement labels that are the
  9321. names of functions. This causes some very confusing symptoms:
  9322. GO TO OUT;
  9323. translates into (GO (OUT)). However:
  9324. GO TO OUT >> ...
  9325. translates into (GO (OUT !*RSQB!*)) and gobbles up the >> which causes
  9326. a missing >> error to occur much later.
  9327. This problem occurred during parsing or the Hearn-Norman prettyprinter.
  9328. I have fixed this code so it parses correctly under the new parser. There
  9329. is also an incompatibility in:
  9330. FOR I=...
  9331. which is evidently allowed under the old parser, but not the new. This I
  9332. also fixed and the file is rand-relay /r/marti/pretty.nrlisp.
  9333. Jed.
  9334. 23-Mar-83 17:33:38-PST,1047;000000000000
  9335. Date: 23 Mar 1983 17:34:32-PST
  9336. From: douglas@HP-MARS
  9337. To: psl@hulk
  9338. Subject: Unintern
  9339. Cc: rosenber@HP-MARS, ruspini@HP-MARS
  9340. Message-Id: <417317671.2685.hplabsc@HP-MARS>
  9341. How do I unintern an id?
  9342. Enrique has this problem that when frl runs and runs and runs for hours
  9343. (ekg program), we produce (event-1, event-2, event-3, event-4, etc.)
  9344. These are destroyed as they grow old. The id's are no longer used,
  9345. but they are still around. Eventually he runs out of id space.
  9346. FRL could try to reuse any id that is not a frame, say redo "event-1"
  9347. after it has been erased, but this will create a very strange order of
  9348. frame names created(An order that will be impossible to follow by the
  9349. user). The idea is event-n came after event-m when m < n. What could
  9350. solve this problem nicer is to be able to say (remove-id 'event-1) or
  9351. (unintern 'event-1) {Meaning take out of the id table}. Enrique
  9352. could call this function when he cleans up his frames knowing that
  9353. the id will no longer be used.
  9354. Is there such a function in frl?
  9355. Douglas
  9356. 24-Mar-83 12:08:59-PST,1147;000000000000
  9357. Date: 23 Mar 1983 1613-MST
  9358. From: Gary Barbour <utah-cs!Barbour@UTAH-20>
  9359. Subject: Illegal HEAP ITEM again.... In Nmode
  9360. Message-Id: <8303240002.AA00597@UTAH-CS.ARPA>
  9361. Received: by HP-VENUS via UUCP; 24 Mar 1983 12:05:28-PST (Thu)
  9362. Received: from UTAH-20 by UTAH-CS.ARPA (3.320/3.7.2)
  9363. id AA00597; 23 Mar 83 17:02:19 MST (Wed)
  9364. To: psl-bugs@UTAH-20
  9365. Cc: kessler@UTAH-20, barbour@UTAH-20
  9366. Via: uucp host utah-cs; 23 Mar 1983 17:02:19-??? (Wed)
  9367. To whoever: ( this was not sent to the other address, I forgot it.)
  9368. I was in nmode changing to the other window When GARBAGE
  9369. COLLECTING started and then
  9370. BOOMMMMMMM again ( see last message a week ago, similar error
  9371. message)
  9372. THEN something about teleray flavor and then below
  9373. ***** Fatal error during garbage collection
  9374. Illegal item in heap at 756323
  9375. ***** Fatal error during garbage collection
  9376. Illegal item in heap at 756323
  9377. ***** Fatal error during garbage collection
  9378. etc.... INFINITE LOOP ....
  9379. I missed the first part since it scrolled off the screen. I ctl C out of
  9380. nmode.
  9381. -------
  9382. 24-Mar-83 12:09:02-PST,1982;000000000000
  9383. Date: 23 Mar 1983 1718-MST
  9384. From: Gary Barbour <utah-cs!Barbour@UTAH-20>
  9385. Subject: Illegal ITEM in HEAP ... 4 more times
  9386. Message-Id: <8303240019.AA00756@UTAH-CS.ARPA>
  9387. Received: by HP-VENUS via UUCP; 24 Mar 1983 12:05:35-PST (Thu)
  9388. Received: from UTAH-20 by UTAH-CS.ARPA (3.320/3.7.2)
  9389. id AA00756; 23 Mar 83 17:19:18 MST (Wed)
  9390. To: psl-bugs@UTAH-20
  9391. Cc: kessler@UTAH-20, barbour@UTAH-20
  9392. Via: uucp host utah-cs; 23 Mar 1983 17:19:18-??? (Wed)
  9393. I though it was just chance, but noooooooo !
  9394. I was using nmode 4 more times and these are the conditions, i hope it
  9395. helps. I can not use debug features ie-- reclaim, since i lose terminal
  9396. input ( No method Raw-Mode)
  9397. These below statistics including the previous message of today.
  9398. - The garbage collection (GC) error does NOT happen on the same Nth GC
  9399. 2 times ...1st garbage collection
  9400. 2 times ...4rd garbage collection
  9401. 1 times ...7th or 8th garbage collection
  9402. - Two classes of Garbage collector errors
  9403. -----------------------------------------
  9404. TYPE 1 .... Infinite loop Illegal item in HEAP, as in previous
  9405. ------ message & of course the address is different.
  9406. 1 time ... 1st garbage collection
  9407. 1 time ... 3rd garbage collection
  9408. First loses Teleray flavor & then infinite loop on illegal
  9409. item in heap.
  9410. TYPE 2 .... No infinite loop & lose method Raw-Mode ( 3 times)
  9411. -------
  9412. ie.. **** Fatal Error during Garbage collection
  9413. **** Illegal item in heap at 624651 (& 743550 & 734631)
  9414. **** Flavor Teleray has no Raw-Mode
  9415. **** Flavor Teleray has no Ring-Bell
  9416. Then only Prompt across screen and to next lines,
  9417. when only returns key is hit.
  9418. ------------------------------------
  9419. Is their anything i can do to locate or search for this.
  9420. gary...
  9421. -------
  9422. 25-Mar-83 01:34:18-PST,604;000000000000
  9423. Date: 24 Mar 1983 2324-MST
  9424. From: utah-cs!Keller@UTAH-20 (Robert M. Keller)
  9425. Subject: Savesystem
  9426. Message-Id: <8303250630.AA11700@UTAH-CS.ARPA>
  9427. Received: by HP-VENUS via UUCP; 25 Mar 1983 01:34:13-PST (Fri)
  9428. Received: from UTAH-20 by UTAH-CS.ARPA (3.320.3/3.7.4)
  9429. id AA11700; 24 Mar 83 23:30:58 MST (Thu)
  9430. To: psl-bugs@UTAH-20
  9431. Via: uucp host utah-cs; 24 Mar 1983 23:30:58-??? (Thu)
  9432. Has it been changed? I get a message about DumpLisp requiring and
  9433. argument, yet funny things happen to the saved system when such is
  9434. provided. Please point me to the recent documentation.
  9435. Thanks
  9436. -------
  9437. 29-Mar-83 11:32:42-PST,453;000000000000
  9438. Date: 29 Mar 1983 11:36:04-PST
  9439. From: paulson@HP-MARS
  9440. To: psl@HP-MARS
  9441. Subject: bug report
  9442. Message-Id: <417814562.2585.hplabsc@HP-MARS>
  9443. Channelreadtokenwithhooks can't handle extremely long lines. The file
  9444. /users/gpsg/longline.sl (on SRM2) contains a long line that
  9445. channelreadtokenwithhooks chokes on. If you execute the code in
  9446. /users/gpsg/longread.sl (or dsk it in, I suppose), the bug shows up.
  9447. Anne
  9448. 29-Mar-83 11:33:07-PST,635;000000000000
  9449. Date: 29 Mar 1983 11:39:22-PST
  9450. From: paulson@HP-MARS
  9451. To: psl@HP-MARS
  9452. Subject: bug report
  9453. Message-Id: <417814761.2607.hplabsc@HP-MARS>
  9454. I've encountered a few things that the PSL compiler either can't compile
  9455. at all, or won't compile correctly. The file /users/gpsg/nocompile.sl
  9456. contains some. The function FOL-FORM in that file can't be compiled at
  9457. all; the compiler blows up. The two hash methods compile, but when
  9458. you try to run them, PSL finds an 32 bit multiply overflow. (The
  9459. rest of the stuff on hash objects, which does compile, is in
  9460. /users/gpsg/hash.sl & hash.b).
  9461. Anne
  9462. 29-Mar-83 13:18:34-PST,635;000000000000
  9463. Date: 29 Mar 1983 13:22:06-PST
  9464. From: douglas@HP-MARS
  9465. To: psl@hulk
  9466. Subject: psl suggestions.
  9467. Message-Id: <417820924.3068.hplabsc@HP-MARS>
  9468. It would be very nice if *time could have the time reported in
  9469. minutes and seconds when the time is over 60 sec. (60000 ms.) This
  9470. large number is very common in mine and anne's system on the chipmunk.
  9471. PSL manual suggestion:
  9472. If would be helpful if the three different index sections in the back
  9473. were either in different colors or were seperated by some kind of
  9474. divider (I can add this in for mine, this is just a suggestion when
  9475. manuals are given out to other places).
  9476. Douglas
  9477. 29-Mar-83 16:48:39-PST,209;000000000000
  9478. Date: 29 Mar 1983 1647-PST
  9479. From: AS at HP-HULK
  9480. Subject: manual bug
  9481. To: psl
  9482. cc: AS
  9483. In the FOR macro, UNION does not do what the manual says it does,
  9484. and ADJOIN and ADJOINQ are not documented.
  9485. -------
  9486. 31-Mar-83 08:46:00-PST,376;000000000000
  9487. Date: 31 Mar 1983 0843-PST
  9488. From: AS at HP-HULK
  9489. Subject: manual bug
  9490. To: psl
  9491. cc: AS
  9492. Section 8.4: The description of repeat is STILL totally wrong.
  9493. It should be:
  9494. (repeat [S:form] E:form): NIL
  9495. The S's are evaluated from left to right, and then E is evaluated.
  9496. This process is repeated until E evaluates to non-NIL, at which point
  9497. the Repeat returns NIL.
  9498. -------
  9499. 3-Apr-83 00:30:28-PST,942;000000000000
  9500. Date: 2 Apr 83 20:15:38 MST (Sat)
  9501. From: utah-cs!jwp@UTAH-CS (John JW-Peterson)
  9502. Received: by HP-VENUS via UUCP; 3 Apr 1983 00:30:13-PST (Sun)
  9503. Received: from UTAH-CS by UTAH-20; Sat 2 Apr 83 20:19:05-MST
  9504. Received: by UTAH-CS.ARPA (3.320.4/3.7.5)
  9505. id AA18174; 2 Apr 83 20:15:38 MST (Sat)
  9506. Received: from UTAH-20 by UTAH-CS.ARPA (3.320.4/3.7.5)
  9507. id AA18211; 2 Apr 83 20:23:50 MST (Sat)
  9508. To: galway@utah-20, psl-bugs@utah-20
  9509. Via: uucp host utah-cs; 2 Apr 1983 20:23:50-??? (Sat)
  9510. Subject: comp bug?
  9511. Message-Id: <8304030315.AA18174@UTAH-CS.ARPA>
  9512. the following code:
  9513. procedure kloo(x);
  9514. case x of
  9515. 2: print("hi");
  9516. 2: print("low");
  9517. end;
  9518. causes the error "Ambiguous case" to be generated when it's compiled.
  9519. unfortunatly it also causes LAP to croak with Unknown label '(IMMEDIATE NIL)'
  9520. on the vax and an access violation on the apollo (undoubtly because the
  9521. apollo can't take car/cdr of NIL like all the others can...)
  9522. 4-Apr-83 20:49:38-PST,1441;000000000000
  9523. Date: 4 Apr 1983 1418-MST
  9524. From: Gary Barbour <utah-cs!Barbour@UTAH-20>
  9525. Received: by HP-VENUS via UUCP; 4 Apr 1983 20:47:47-PST (Mon)
  9526. Received: from UTAH-20 by UTAH-CS.ARPA (3.320.5/3.7.6)
  9527. id AA29372; 4 Apr 83 14:23:49 MST (Mon)
  9528. To: psl-bugs@UTAH-20
  9529. Via: uucp host utah-cs; 4 Apr 1983 14:23:49-??? (Mon)
  9530. Subject: NMODE Using OUT,SHUT or OPEN, WRS
  9531. Message-Id: <8304042123.AA29372@UTAH-CS.ARPA>
  9532. Cc: barbour@UTAH-20
  9533. Please forward to whom-ever:
  9534. TOPIC
  9535. [ Using OUT,SHUT or OPEN, WRS, CLOSE in Nmode ]
  9536. --------------------------------------------------------
  9537. The OUT function does not work in nmode (lisp or rlisp mode). The
  9538. OUT file is opened although nothing is sent to this external file, except
  9539. NIL when it is SHUT.
  9540. Example below uses Rlisp with Bar.Rl being a rlisp file expanding
  9541. it to lisp, which should be sent to file Foo.RL .
  9542. (rlisp)
  9543. on defn;
  9544. out "foo.rl";
  9545. in "bar.rl" ( ; or $ )
  9546. shut "foo.rl";
  9547. Although the output data does appear in the output window, this
  9548. should be in addition to the data being sent to requested file.
  9549. (maybe only to the out file).
  9550. Also if you use OPEN, WRS and CLOSE to send the data to a external file
  9551. the same condition arises.
  9552. Is the above a bug or was the OUT function design to behave differently
  9553. from just executing PSL:Rlisp ( which is then useless in nmode )
  9554. Gary...
  9555. -------
  9556. 5-Apr-83 17:21:04-PST,241;000000000000
  9557. Date: 5 Apr 1983 1719-PST
  9558. From: PERDUE at HP-HULK
  9559. Subject: comfile
  9560. To: PSL
  9561. If the function "comfile" wasn't obsolete before, it should be
  9562. obsolete now with the upgraded compile-file function defined in
  9563. pu:pslcomp-main.sl.
  9564. -------
  9565. 6-Apr-83 02:06:14-PST,602;000000000000
  9566. Date: 6 Apr 1983 02:05:22-PST
  9567. From: douglas@HP-MARS
  9568. To: letsinger@hulk, psl@hulk, rosenber@HP-MARS
  9569. Subject: psl feature needed
  9570. Message-Id: <418471518.1252.hplabsc@HP-MARS>
  9571. I found I need errset to return whatever error message was generated
  9572. (preferably in a string). At present, all I get back is a number.
  9573. Is there anyway I can convert this number into its error message string?
  9574. This would be useful in my rewrite of dskin so that it can clean up --
  9575. I found there is no need for dskin to break if it can print a
  9576. reasonable error message itself (and the objectionable form).
  9577. Douglas
  9578. 6-Apr-83 11:21:11-PST,537;000000000000
  9579. Date: 6 Apr 1983 1116-PST
  9580. From: PERDUE at HP-HULK
  9581. Subject: NMODE-Unix interrupt key interaction
  9582. To: PSL, Galway at Utah-20 at RAND-RELAY at HP-VENUS, AS
  9583. NMODE uses C-^ as the prefix version of "control" for commands
  9584. such as C-> and C-<digit>. While NMODE is active on the VAX, C-^
  9585. is currently generating an interrupt. Using C-C for the
  9586. interrupt would be much better. Many of us at HP have C-C set up
  9587. as the kill signal already on VAXen. If C-C is unacceptable to
  9588. people at Utah, C-_ would be better than C-^.
  9589. -------
  9590. 6-Apr-83 11:21:29-PST,206;000000000000
  9591. Date: 6 Apr 1983 1117-PST
  9592. From: PERDUE at HP-HULK
  9593. Subject: RESET function
  9594. To: PSL
  9595. RESET does not work properly under the RLISP top level because
  9596. there is no CATCH for the RESET throw tag.
  9597. -------
  9598. 6-Apr-83 15:46:11-PST,266;000000000000
  9599. Date: 6 Apr 1983 15:43:42-PST
  9600. From: douglas@HP-MARS
  9601. To: psl@hulk
  9602. Subject: liter
  9603. Message-Id: <418520619.5434.hplabsc@HP-MARS>
  9604. is liter really defined as it says in the manual?
  9605. (if (memq u '(a b c d e f g h i j k .......)) t nil) ?
  9606. Isn't this inefficient?
  9607. 6-Apr-83 18:16:30-PST,497;000000000000
  9608. Date: 6 Apr 1983 18:17:05-PST
  9609. From: douglas@HP-MARS
  9610. To: psl@hulk
  9611. Subject: error message is wrong.
  9612. Message-Id: <418529822.6973.hplabsc@HP-MARS>
  9613. I used the flag 'lose to prevent a function from being redefined:
  9614. But it said the following when I tried to redefine the function:
  9615. 7 lisp> (defun a (b) b)
  9616. *** `a' has not been defined, because it is flagged LOSE
  9617. nil
  9618. Cpu time: 34 ms
  9619. 8 lisp> (pp a)
  9620. (de a (b)
  9621. 3)
  9622. t
  9623. This should say "redefined" if the function is already defined.
  9624. 8-Apr-83 07:20:25-PST,554;000000000000
  9625. Mail-From: GRISS created at 8-Apr-83 07:20:09
  9626. Date: 8 Apr 1983 0720-PST
  9627. From: GRISS@HP-HULK
  9628. Subject: EMSG!*
  9629. To: psl@HP-HULK
  9630. The variable EMSG!* i supposed to hold the error-message generated by the
  9631. last call to ERROR. When Break is OFF, seems to work fine; however,
  9632. with BREAK on, the EMSG!* is correct inside the BREAK loop, but gets
  9633. set to "exit to Errorset" if a Q is done. This seems wrong, since
  9634. user, by typing Q, is "giving up", so EMSG!* should either be as it was,
  9635. or have the "exit from Errorset" appended.
  9636. Opinions?
  9637. -------
  9638. 8-Apr-83 13:36:44-PST,269;000000000000
  9639. Date: 8 Apr 1983 1336-PST
  9640. From: PERDUE at HP-HULK
  9641. Subject: Re: EMSG!*
  9642. To: PSL
  9643. In-Reply-To: Your message of 8-Apr-83
  9644. I think that Quitting out of the break loop should cause the
  9645. original error to be resignalled, including the same value for
  9646. EMSG!*.
  9647. -------
  9648. 8-Apr-83 19:32:32-PST,847;000000000000
  9649. Date: 8 Apr 1983 1930-PST
  9650. From: PERDUE at HP-HULK
  9651. Subject: Token-scanner bug
  9652. To: psl
  9653. Apparently the VAX-Unix assembler assumes that the BASE operand
  9654. specifier of an EXTZV or related instruction fits into 8 bits if
  9655. it is a constant. Thus it screws up on operand specifiers of the
  9656. form $<large constant>+<label>. This means that in the kernel
  9657. one cannot take the info part of ordinary LISP constants, at
  9658. least not in the kernel. Does anyone know how faslout deals with
  9659. the issue of how big to make this particular kind of operand
  9660. specifier?
  9661. Also, in a sense we do not want to take the info part of a tagged
  9662. item that is a constant: that is really wasted effort, since the
  9663. info part of such a constant is just a related constant. Are
  9664. there any interesting idioms already existing that address this issue?
  9665. Thanks.
  9666. -------
  9667. 10-Apr-83 18:31:54-PST,391;000000000000
  9668. Date: 10 Apr 1983 18:28:17-PST
  9669. From: douglas@HP-MARS
  9670. To: psl@hulk
  9671. Subject: question about bps use.
  9672. Message-Id: <418876096.26991.hplabsc@HP-MARS>
  9673. What is bps used for besides binary program space?
  9674. I have noticed that when the ic rules are loaded in, that 4K of bps space
  9675. is used up. There is compiled code in the ic rules, and the compiler is
  9676. turned off.
  9677. Thanks,
  9678. Douglas
  9679. 10-Apr-83 21:26:22-PST,399;000000000000
  9680. Date: 10 Apr 1983 21:24:19-PST
  9681. From: douglas@HP-MARS
  9682. To: psl@Hulk
  9683. Subject: question about vax psl and dumped files
  9684. Message-Id: <418886658.27547.hplabsc@HP-MARS>
  9685. I noticed that when the heap size was increased, the size of dumped
  9686. files increased by approx. 50%. Since the increased heap is unused
  9687. space, I was wondering why it should affect the size of the dump lisp
  9688. file.
  9689. Douglas
  9690. 11-Apr-83 12:20:21-PST,646;000000000000
  9691. Date: 11 Apr 1983 12:17:40-PST
  9692. From: douglas@HP-MARS
  9693. To: psl@hulk
  9694. Subject: manual page 15-3 section 15.5
  9695. Message-Id: <418940258.695.hplabsc@HP-MARS>
  9696. The functions described on this page have a syntax different from the previous
  9697. page.
  9698. (Reset undefined):
  9699. should be
  9700. (Reset): undefined
  9701. (Time integer):
  9702. should be
  9703. (Time): integer
  9704. And the same with "Date", "Reclaim", and "%Reclaim".
  9705. Also is there a difference between "Undefined" and "Not defined". The
  9706. first is used with "Reset" and the second with "%Reclaim".
  9707. Does the second mean "any"? If so, why should %Reclaim return
  9708. something, why not return nil?
  9709. Douglas
  9710. 11-Apr-83 15:20:35-PST,970;000000000000
  9711. Date: 11 Apr 1983 1515-PST
  9712. From: Samuel <FELDMAN@HP-HULK>
  9713. Subject: PSL problems/requests
  9714. To: psl@HP-HULK
  9715. cc: feldman@HP-HULK,
  9716. beech@HP-HULK
  9717. In order to officialize:
  9718. 1. It seems that (open "" 'special) gets an index out of bounds on the
  9719. Vax, but not on the 20.
  9720. 2. It would be nice if a small effort were made to try to document
  9721. the function Compiletime, since it's so tricky. I don't ask for
  9722. perfection here; just a couple of extra sentences would be great.
  9723. 3. Applications often need the time as well as the date. Can such
  9724. a function please be added?
  9725. 4. How about a way to get at system calls (at least to use the same
  9726. function name for such a capability on the different systems)?
  9727. 5. Make sure that the Load function is set up with the proper
  9728. directory search path (so I don't have to do it by hand).
  9729. 6. Get utilities like String-Search and If over to the Vax.
  9730. Muchas gracias -- tu amigo, Samuel
  9731. -------
  9732. 12-Apr-83 13:52:06-PST,825;000000000000
  9733. Date: 12 Apr 1983 1351-PST
  9734. From: PERDUE at HP-HULK
  9735. Subject: Re: PSL problems/requests
  9736. To: FELDMAN at HP-HULK
  9737. cc: PSL
  9738. In-Reply-To: Your message of 11-Apr-83
  9739. 1. (open "" 'special) is fixed in the soruce code.
  9740. 2. . . .
  9741. 3. On the DEC20 see the function clocktimedate in the module p20u:exec.red.
  9742. The sources for the documentation are updated but not the actual
  9743. documentation. This will not be compatible with other implementations
  9744. of PSL.
  9745. 4. I do not see having a facility for doing system calls on different
  9746. machines as you suggest. We provide general functions on some
  9747. machines now, but with OS-specific names.
  9748. 5. You'll have to set up your own value of loaddirectories* if
  9749. you don't like what you're getting.
  9750. 6. Sttring-search and If should now be available on Vax.
  9751. -------