From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,5e74e0b23842db90 X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.96.225 with SMTP id dv1mr3080877wib.6.1366252698619; Wed, 17 Apr 2013 19:38:18 -0700 (PDT) Path: p18ni78755wiv.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.138.MISMATCH!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.nobody.at!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail From: paramucho@hotmail.com (paramucho) Newsgroups: alt.sys.pdp11,vmsnet.pdp-11,comp.sys.dec Subject: Re: Access to RSTS/E IOPAGE Registers Date: Sun, 14 Apr 2013 16:48:13 GMT Organization: Aioe.org NNTP Server Message-ID: <516ad94c.41223435@nntp.aioe.org> References: <511e442b.137696544@nntp.aioe.org> <5120d34f.47638789@nntp.aioe.org> <512385cb.224392072@nntp.aioe.org> <512a1f3b.52491122@nntp.aioe.org> <51375fe9.58270507@nntp.aioe.org> <51498b34.39612647@nntp.aioe.org> Reply-To: paramucho@hotmail.com NNTP-Posting-Host: yPe0Vz9rK3epnEf2vEo6yg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 1.5/32.451 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Wed, 20 Mar 2013 22:42:46 +0100, Johnny Billquist wrote: >On 2013-03-20 14:01, Johnny Billquist wrote: >> On 2013-03-20 11:15, paramucho wrote: >>> On Thu, 07 Mar 2013 00:51:26 +0100, Johnny Billquist >>> wrote: >>> >>> >>>> RT11SH.SYS on the other hand is by default expected to be found in >>>> LB:[1,1]. >>>> >>>> The moving of system independent tasks only came about in M+. Before >>>> that there was only SYSUIC, and everything was expected to sit there. >>> >>> What I need is a simple default location, so I guess I'll use [1,1]. >>> >> >> For things similar to RT11SH.SYS, [1,1] is a pretty reasonable place. >> >>> Is there anyway for a task to determine the directory from which the >>> task was run? I can find the device and unit using "OV", but I can't >>> see anyway to work out the directory. I want to use this information >>> to automatically find related files--for example, when RTX.TSK is >>> activated I want to be able to read "RTX.INI" from the same directory >>> and to access "RTX.DSK" likewise from the same directory. >> >> Unfortunately, the answer is "no". Running a task that is installed >> don't have a directory associated with it. Installed tasks just "are". > >By the way, depending on what is in those files, you might want to >reconsider. >If it is content that different users might want to configure >differently, then you should either try to figure out there login >directory, or possibly just use the current directory. >And if we're talking about system global configuration files and >whatnot, then the common solution is to use a known directory. For >example [1,1], but there are many directories that might make sense, >depending on what it is. Also, you could create your own directory that >you use. No need to necessarily use any already existing directory. It is configurable (although I don't expect to find many users :-), but I like simple, sensible defaults so that no setup is required most of the time. I haven't found any information about standard directories for tasks etc other than [1,1] and [1,54]. RTX is more or less functional (I can assemble RTX with all the source files and binaries in F11A directories) and I'm adding some bells and whistles while I bed it down. I wrote a couple of apps to call MCR and DCL from within RTX, but I can't do things like DCL MOUNT because of insufficient privilege. Is there some way around this? I've never worked out how to create a privileged image/user etc. Ian