1 INFO-VAX	Sun, 07 Sep 2003	Volume 2003 : Issue 496       Contents:M Re: ??==Delete key only backspaces w/o delete from Telnet in Mac OSX Terminal ! Choosing between ASTs and Threads % Re: Choosing between ASTs and Threads  Re: DFG 2.7 error on IDE disk  Re: DFG 2.7 error on IDE disk  Re: DFG 2.7 error on IDE disk  RE: Do we need a DCL debugger? Re: Do we need a DCL debugger?1 Re: OpenVMS Hobbyist licence for layered products $ Re: [Q] Learning to use Queues in C.  F ----------------------------------------------------------------------   Date: 7 Sep 03 10:34:38 +0200 ) From: p_sture@elias.decus.ch (Paul Sture) V Subject: Re: ??==Delete key only backspaces w/o delete from Telnet in Mac OSX Terminal) Message-ID: <njMA9MhTVMKr@elias.decus.ch>   \ In article <bjckmd$lrb$1@news1.radix.net>, Thomas Dickey <dickey@saltmine.radix.net> writes:; > In comp.os.vms Paul Sture <p_sture@elias.decus.ch> wrote: _ >> In article <bj4mp3$30n$1@news1.radix.net>, Thomas Dickey <dickey@saltmine.radix.net> writes: = >>> In comp.os.vms Paul Sture <p_sture@elias.decus.ch> wrote: 2 >>>>     an input terminator, rendering it useless >>> K >>>> o - Using xterm from the OS X X11 kit from Apple sends ^H. Here again, K >>>>     it's a beta kit, so fine on my home system, not so keen elsewhere. P >>>>     According to an earlier post this behaviour can be overridden by use ofH >>>>     xmodmap. I haven't tried this yet but of course it only applies >>>>     to X11 applications.  >>> 3 >>> it can also be overridden by resource settings.  >>> O >>> (xmodmap is generally a bad solution, since it affects other applications).  >>>  > I >> You mention "resource settings" and "translations resource" at several 4 >> points in this and other threads found by Google. > 1 >> Can you please point me to where I find these?  > P > offhand - I've not had to look for this information since I've been developingL > with X for about 15 years, and have my own offline resources - the manpageH > for the X server gives an overview of resource settings, and the xtermO > manpage gives details on its "translations" resource.  I've got some examples I > in my xterm faq.  Looking for "translations" "resources" with google, I $ > see this page which looks helpful: > F > http://www.ccd.bnl.gov/xterminal/xterminal_support/vms_keyboard.html >    Thanks.    ------------------------------  # Date: Sun, 07 Sep 2003 07:47:52 GMT , From: Vince <vince@the[NOSPAM]berrymans.com>* Subject: Choosing between ASTs and Threads= Message-ID: <IoB6b.10527$lY2.9532@newssvr29.news.prodigy.com>   E I am new to VMS and am currently trying to learn some of the ways in  C which programming is unique on VMS.  One question I am looking for  E clarification on is the difference between using ASTs and threads on   systems with more than one CPU.   F If I read it right, a program designed around ASTs cannot make use of I more than one CPU at a time since only one AST can execute at a time and  ; the main program can't execute while an AST is in progress.   F With threads, however, it appears I can have as many sections of code  executing as there are CPUs.   Is my understanding correct?   ------------------------------   Date: 7 Sep 2003 08:12:00 -0500 - From: Kilgallen@SpamCop.net (Larry Kilgallen) . Subject: Re: Choosing between ASTs and Threads3 Message-ID: <gVx8o7y$eMMl@eisner.encompasserve.org>   l In article <IoB6b.10527$lY2.9532@newssvr29.news.prodigy.com>, Vince <vince@the[NOSPAM]berrymans.com> writes:G > I am new to VMS and am currently trying to learn some of the ways in  E > which programming is unique on VMS.  One question I am looking for  G > clarification on is the difference between using ASTs and threads on  ! > systems with more than one CPU.  > H > If I read it right, a program designed around ASTs cannot make use of K > more than one CPU at a time since only one AST can execute at a time and  = > the main program can't execute while an AST is in progress.  > H > With threads, however, it appears I can have as many sections of code  > executing as there are CPUs. >  > Is my understanding correct?   You are correct.  B If you know you are going to be exclusively using Multiprocessors,+ threads is an easier method of programming.   A The alternative for using ASTs would be to segment functions into  separate processes.   D If your application is totally homogenous and cannot be divided intoD separate processes you will have to use threads.  Note that you willB waste some amount of CPU time synchronizing between those threads.G But wasting that CPU time is not a big deal if you are happier spending H lots of money on hardware rather than doing the extra programming (which also costs money).   ------------------------------  $ Date: Sun, 7 Sep 2003 10:54:22 +0200+ From: "Rik Steenwinkel" <rsteenw@xs4all.nl> & Subject: Re: DFG 2.7 error on IDE disk: Message-ID: <Ysd2q9KROUC1-pn2-LeGdTDMGweKl@news.xs4all.nl>  A On Sun, 7 Sep 2003 04:37:24 UTC, moroney@world.std.spaamtrap.com   (Michael Moroney) wrote:  : } peter@langstoeger.at (Peter 'EPLAN' LANGSTOEGER) writes: } O } >5.) Replace the IDE drive (SCSI live 6-10 years, while IDE live 6-10 months)  } F } Why would this be true?  I would assume the most expensive part of aF } drive would be the HDA itself, and having two pairs of approx. XX GBJ } drives (one IDE and one SCSI) would be more expensive than one XX GB HDAN } that they could outfit with either a SCSI or an IDE logic board.  Apparently } this is not done.  Why?   C Indeed it is. But even while the actual HDA design is identical, a  B manufacturer could for instance manufacture them in batches using F cheaper parts for a batch destined to end up as IDE, saving money, or E pick the best ones out of QC/Testing to be fitted with SCSI. IDE has  B to be as cheap as they can be because few of the gazillion peecee F owners want to pay extra for reliability (if they even realise that to; be an issue), and they'll buy a competitor's model if it's   sufficiently cheaper.    --  > // Rik Steenwinkel  #  VMS mercenary  #  Enschede, Netherlands // 1024D/CDBAE5C1    ------------------------------  % Date: Sun, 07 Sep 2003 12:44:16 +0200 $ From: Michael Unger <unger@decus.de>& Subject: Re: DFG 2.7 error on IDE disk9 Message-ID: <bjfcc5$iijio$1@ID-152801.news.uni-berlin.de>   - On 2003-09-07 10:54, "Rik Steenwinkel" wrote:   C > On Sun, 7 Sep 2003 04:37:24 UTC, moroney@world.std.spaamtrap.com   > (Michael Moroney) wrote: > < > } peter@langstoeger.at (Peter 'EPLAN' LANGSTOEGER) writes: > } Q > } >5.) Replace the IDE drive (SCSI live 6-10 years, while IDE live 6-10 months)  > } H > } Why would this be true?  I would assume the most expensive part of aH > } drive would be the HDA itself, and having two pairs of approx. XX GBL > } drives (one IDE and one SCSI) would be more expensive than one XX GB HDAP > } that they could outfit with either a SCSI or an IDE logic board.  Apparently > } this is not done.  Why?   E I recently heard that *IDE* drives are intended to be used as "cheap" G drives in PCs for the normal business hours, i.e., 8 to 10 hours 5 days F of a week. They are *not* intended to be run 24x365, i.e., in *server*
 applications.   E > Indeed it is. But even while the actual HDA design is identical, a  D > manufacturer could for instance manufacture them in batches using H > cheaper parts for a batch destined to end up as IDE, saving money, or G > pick the best ones out of QC/Testing to be fitted with SCSI. IDE has  D > to be as cheap as they can be because few of the gazillion peecee H > owners want to pay extra for reliability (if they even realise that to= > be an issue), and they'll buy a competitor's model if it's   > sufficiently cheaper.   G Reliability and tight tolerances (bearings!) are a major cost factor of A course. But quality can not be "tested", it has to be "built in".    Michael    --  ; Real names enhance the probability of getting real answers. @ Please do *not* send "Security Patch Notifications" or "SecurityA Updates"; this system isn't running a Micro$oft operating system. = And don't annoy me <mailto:postmaster@[127.0.0.1]> please ;-)    ------------------------------  $ Date: Sun, 7 Sep 2003 17:38:46 +0100( From: "John Travell" <john@jomatech.com>& Subject: Re: DFG 2.7 error on IDE disk9 Message-ID: <bjfn4n$ihd72$1@ID-120847.news.uni-berlin.de>   1 "Michael Unger" <unger@decus.de> wrote in message 3 news:bjfcc5$iijio$1@ID-152801.news.uni-berlin.de... G > I recently heard that *IDE* drives are intended to be used as "cheap" I > drives in PCs for the normal business hours, i.e., 8 to 10 hours 5 days H > of a week. They are *not* intended to be run 24x365, i.e., in *server* > applications.  > G Perhaps being switched off frequently is a cause of the short disk life ' allegedly seen by some with IDE drives. I The ONLY time my PC gets switched off is when I am going to mess with the D hardware. It does however need to be rebooted FAR more often than my Alphaserver.     -- John Travell" Independent VMS crashdump analyst. john- at - jomatech - dot - com  +44-(0)23-92552229 http://www.jomatech.com/       --- & Outgoing mail is certified Virus Free.: Checked by AVG anti-virus system (http://www.grisoft.com).A Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003    ------------------------------   Date: 7 Sep 03 08:58:07 +0200 ) From: p_sture@elias.decus.ch (Paul Sture) ' Subject: RE: Do we need a DCL debugger? ) Message-ID: <itm38pZT9ctL@elias.decus.ch>   _ In article <CIEJLCMNHNNDLLOOGNJIIELGHOAA.tom@kednos.com>, "Tom Linden" <tom@kednos.com> writes:  >  >  >>-----Original Message-----6 >>From: Marc Van Dyck [mailto:marc.vandyck@brutele.be], >>Sent: Saturday, September 06, 2003 5:16 AM >>To: Info-VAX@Mvb.Saic.Com ) >>Subject: Re: Do we need a DCL debugger?  >> >> >>Another few suggestions :  >>0 >>- Automatic command completion, like in Bash ; > M > Yes that is a good idea, and I know others have had this on their wish list K > in the past.  Now speaking of bash,  one of the things I like about it is  > the L > ability to do command line editing using commands from either vi or emacs, > in my case the latter. >  > B >>- DCL language definition for LSE - get the DCl procedures right; >>  from start, rather than have to debug them afterwards ! $ >>- Symbol substitution in prompts . >  > do you mean like > 8 > $ set prompt="''f$edit(f$getsyi("scsnode"),"trim")'> " > ? F > If so, I think this properly belongs in the login.com, which is also. > similar to the way in which bash handles it. >   I I read that as being a request for the prompt string to be evaluated each C time it is displayed, for example to display the current device and 
 directory.     J > A powerful set of (readable) builtin functions as well as the ability to > write L > user functions (like bash) would be useful.  The REXX char string builtins > is a good start. >  >>   ------------------------------   Date: 7 Sep 2003 06:41:54 GMT / From: "Dave Weatherall" <djweath@attglobal.net> ' Subject: Re: Do we need a DCL debugger? 5 Message-ID: <DTiotGxQ0bj6-pn2-jpT513sf4pGb@localhost>   0 On Fri, 5 Sep 2003 08:32:40 UTC, Phillip Helbig + <HELBPHI@sysdev.deutsche-boerse.com> wrote:   O > > >> } OTOH, I don't see the point for FOR and WHILE or UNTIL loops, that can # > > >> } easily be made with GOTOs,  > > > N > > >If you implement FOR, WHILE , UNTIL loops, you should also implement someM > > >BREAK statement that allows you to break out of the loop prematurely. Or 3 > > >something less conventional, but more elegant:  > > >  > > >JUMPOUT label" > > If you do this, please call it > > L > > LEAVE [label] (if label is not supplied it drops to the first executable > > after the loop) I > > so as not to superfluosly introduce yet another term into programming  >  > What language uses LEAVE.  > K > Again, Fortran95 (and 90) got it right.  Model this stuff on EXIT {label}    Not in DCL Phillip :-)  C $ EXIT   0          ! Don't know a suitable hex code of the top my   head :-)   --   Cheers - Dave.   ------------------------------   Date: 7 Sep 03 09:15:20 +0200 ) From: p_sture@elias.decus.ch (Paul Sture) : Subject: Re: OpenVMS Hobbyist licence for layered products) Message-ID: <wWKA3qiIDTYf@elias.decus.ch>   V In article <3F5A1F57.71FC3C3D@istop.com>, JF Mezei <jfmezei.spamnot@istop.com> writes: > "Bradford J. Hamilton" wrote: O >> It might actually be easier to register *all* the licenses, whether they are Q >> needed or not - trying to edit the resulting command file could get ugly fast.  >> :-) >  > I > But at the end of the year, it becomes a real pain to remove/delete the  > expired licences.   E Not really. Several solutions have been provided here in the last few  days.    ------------------------------  % Date: Sun, 07 Sep 2003 09:02:18 +0200 2 From: martin@radiogaga.harz.de (Martin Vorlaender)- Subject: Re: [Q] Learning to use Queues in C. ; Message-ID: <3f5ad7fa.524144494f47414741@radiogaga.harz.de>   ( Carl Perkins (carl@gerg.tamu.edu) wrote:> > This would indicate that each element in the 5 element array? > "freelist" is not quad aligned. The array itself is, but that > > is just the first element, the 2nd element isn't. Neither is= > the 4th element. The 3rd and 5th elements are. It works out < > that way because the elements are each 1.5 quadwords long.  ( Makes sense. Thanks for the explanation.   [...] B > On the other hand, you can do it using an array of pointers. TheB > reason it works without difficulty is because malloc() allocates= > memory on quadword boundaries - not a well documented fact.   C Yup. Using malloc() to allocate the entries makes the program work.   G That's why I like VMS - after 14 years with it, I still learn something  new about it every day.    Thanks,    Martin --  G So long, and thanks        | Martin Vorlaender  |  VMS & WNT programmer 4 for all the books...       | work: mv@pdv-systeme.deK In Memoriam Douglas Adams  |       http://www.pdv-systeme.de/users/martinv/ ;             1952-2001      | home: martin@radiogaga.harz.de    ------------------------------   End of INFO-VAX 2003.496 ************************                                                                                          E&N{3[؂L983rl9װNu)*ocو.rRzw˝;4	_2=X`ߋ{1/1yXo?ۏ㏋]i=4>R9W5~x
n7W~LY26w&O>;d;ks:	DL34{B|kS਷)._=|g#=7"ya~߈igޝłWϷ/6J)dƦ
*b֟-/[#g>u}	CNfjqS:87ģLȣO5 *B%"r!D5yT5ȣjqSr6_s	P*_RhBd1ܩ0O /ۀ?4Ѓs$Oؓf+dSn8?[W\lW@ w{<	E:w+ccCn]Vi=ԃ=݌ܹv^̻33E܁L/io#~odQ/c=?]$qq[LRfR ~,jV:Wpo
;K|)%M7mEpυ0T<OׅxuXAA.Vƙ;~Jam?	*gĽa䀭MGp^?E(g
Ebd{)p1L r?ك6\ӇxC>] 5G2?M[2:l1p:Ck-GBOVw(bRpwAG2T+,E;0yw2?mSSU0:!uAR~ȏ<xlt[x9}1D,eet4/;IE\
_45@Ow'=SM[Wy?g({ܿ[Ok7~5!{@vEU00'}Dm<J"\SG4́mDEEP(J#5KXͺŽKU;
o|QZ! *G|/H+g}cMiD9q4|p< #$8K#_A7lFIBDw[>;I#(΃vKt[w*>~il՞R.FȽsQ6ŕ*}.3:?m9"Mk="u{Aw4[bI@Mp}(4΃O>t}"1_'w~K'd>õ['oQ~S.\˧va.Ӆy0O<'1IL?'1$~Qi:0S~
Oaz`z`z`z`:HMދ齘ދ齘ދ齘~c:}"gRG騩s#sR|K%#.?슿>:#vz.Ee	:g<g&I_DX?z|nI?
#'}*^uU8r㸒7ַpu:;ODW=,\Y6ۀv\wu׏^\w;p<_4?wtƩ(l
e(7xx_ xW{zuuxe:*[&Q歑Vb /8Tٽ|(Ga3TԔȓeOFfà~1	׏7}Z<.QEH7{7)rJ 츄ϤdM}OmKp	pNG<-ngp8.ZU$RmK=\<>VyiO	gM1qz-*')C#bՆA0/`DDo/A95/8'ۍ