From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdd80,769bc7b1925998af X-Google-Attributes: gidfdd80,public X-Google-Thread: 10cebf,55be15e14d3dee4e X-Google-Attributes: gid10cebf,public X-Google-Thread: 1164f8,769bc7b1925998af X-Google-Attributes: gid1164f8,public X-Google-Thread: ffc31,8d2315bbfec7d11 X-Google-Attributes: gidffc31,public From: Tim Shoppa Subject: Re: Contest: Year 2258 and RT-11 :-) Date: 1998/10/18 Message-ID: <3629D824.4C776D03@trailing-edge.com>#1/1 X-Deja-AN: 402511485 Content-Transfer-Encoding: 7bit References: <3613A881.ED0E72FC@idirect.com> <70b49p$plo$1@andros.cygnus.com> <3629DFA3.3B6B5C2F@idirect.com> <3629B1AE.6A6CE160@trailing-edge.com> <362a0ab4.0@news.wizvax.net> Content-Type: text/plain; charset=us-ascii X-Trace: audrey2.cais.com 908726880 198.232.144.27 (Sun, 18 Oct 1998 12:08:00 EDT) Organization: Trailing Edge Technology MIME-Version: 1.0 NNTP-Posting-Date: Sun, 18 Oct 1998 12:08:00 EDT Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec,comp.sys.dec.micro John Wilson wrote: > > In article <3629B1AE.6A6CE160@trailing-edge.com>, > Tim Shoppa wrote: > >It turns out that the changes made to the RT-11 utilities > >in 5.7 for Y2K compliance are small compared to what'll have > >to be done to parse CSI command lines with the year 2258 > >(decimal) in them. I'm offering a free set of RT-11 DECUS SIG > >tapes to the first poster who correctly recognizes the > >significance of this "date" and who demonstrates exactly why > >this year is *already* recognized by the pre-5.7 RT-11 utilities > >PIP, DIR, and QUEMAN, but in an odd way, for example: > > You've got to make it harder than this! 2258. is ^RAPR, Impressive how years of MACRO-11 programming make RAD50 to decimal translations obvious, huh? (More likely you have a good knowledge of how CSI works!) > >Hints: the next "magic date" after 2258 is 2447. > > is ^RAUG, and they conflict with the /DATE (etc.) switch which when > translated to CSI, makes use of the fact that CSI encodes switch values > as RAD50 if they're not numeric (like "/D:18.:OCT:98.). Since that was so easy for you, John, here's an extra credit question: how would *you* modify the way that PIP, DIR, etc., parse dates to avoid confusion between 2258. and APR? Is there an easier way than looking at the actual ASCII buffer? Remember, it's a documented feature of these utilities that you can leave out any field and it will default to the current date, so you want to tell the difference between DIR/SINCE:2258 and DIR/SINCE:APR, for example? Tim.