Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Everybody needs a little love sometime; stop hacking and fall in love!


computers / alt.sys.pdp10 / Command line arguments?

SubjectAuthor
* Command line arguments?Sid Maxwell
+* Re: Command line arguments?Scott Lurndal
|`* Re: Command line arguments?Phil Budne
| `* Re: Command line arguments?gah4
|  `* Re: Command line arguments?Lars Brinkhoff
|   +- Re: Command line arguments?gah4
|   `- Re: Command line arguments?Johnny Billquist
`* Re: Command line arguments?Rich Alderson
 `* Re: Command line arguments?fishtoprecords
  +- Re: Command line arguments?gah4
  `* Re: Command line arguments?Johnny Billquist
   +- Re: Command line arguments?Sid Maxwell
   +* Re: Command line arguments?Scott Lurndal
   |`* Re: Command line arguments?Johnny Billquist
   | `* Re: Command line arguments?gah4
   |  +* Re: Command line arguments?Scott Lurndal
   |  |`- Re: Command line arguments?Rich Alderson
   |  `- Re: Command line arguments?Rich Alderson
   `* Re: Command line arguments?Rich Alderson
    `* Re: Command line arguments?gah4
     +- Re: Command line arguments?Johnny Billquist
     `* Re: Command line arguments?Scott Lurndal
      `* Re: Command line arguments?gah4
       `* Re: Command line arguments?Johnny Billquist
        `* Re: Command line arguments?gah4
         +- Re: Command line arguments?Johnny Billquist
         `* Re: Command line arguments?Andy Valencia
          +- Re: Command line arguments?Johnny Billquist
          `* Re: Command line arguments?Andy Valencia
           `- Re: Command line arguments?Johnny Billquist

Pages:12
Command line arguments?

<52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=968&group=alt.sys.pdp10#968

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:620a:1a8e:b0:76c:9781:6133 with SMTP id bl14-20020a05620a1a8e00b0076c97816133mr55777qkb.12.1691700688486;
Thu, 10 Aug 2023 13:51:28 -0700 (PDT)
X-Received: by 2002:a63:6f0a:0:b0:55b:5c9b:671e with SMTP id
k10-20020a636f0a000000b0055b5c9b671emr688180pgc.5.1691700687928; Thu, 10 Aug
2023 13:51:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Thu, 10 Aug 2023 13:51:27 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=64.67.128.148; posting-account=n4I1uwoAAADBHFepIaRo8JtlC_cZGQXd
NNTP-Posting-Host: 64.67.128.148
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
Subject: Command line arguments?
From: srmaxwell3@gmail.com (Sid Maxwell)
Injection-Date: Thu, 10 Aug 2023 20:51:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1492
 by: Sid Maxwell - Thu, 10 Aug 2023 20:51 UTC

In C, every program is provided the number of arguments from the command line (int argc) and an array of those arguments (char *const argv[]).

I'm using Lars' libc and a derivative of gcc's C compiler to build compiler test programs, and I want to be able to handle command-line arguments. I haven't located any description (so far) regarding how a TOP20 executable might do this. Does anyone have any pointers (or might disabuse me of the idea)?

-+- Sid

Re: Command line arguments?

<T7eBM.430020$TCKc.45820@fx13.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=969&group=alt.sys.pdp10#969

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Command line arguments?
Newsgroups: alt.sys.pdp10
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
Lines: 31
Message-ID: <T7eBM.430020$TCKc.45820@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 10 Aug 2023 23:10:43 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 10 Aug 2023 23:10:43 GMT
X-Received-Bytes: 1767
 by: Scott Lurndal - Thu, 10 Aug 2023 23:10 UTC

Sid Maxwell <srmaxwell3@gmail.com> writes:
>In C, every program is provided the number of arguments from the command li=
>ne (int argc) and an array of those arguments (char *const argv[]).
>
>I'm using Lars' libc and a derivative of gcc's C compiler to build compiler=
> test programs, and I want to be able to handle command-line arguments. I =
>haven't located any description (so far) regarding how a TOP20 executable m=
>ight do this. Does anyone have any pointers (or might disabuse me of the i=
>dea)?

VMS had lib$get_foreign, perhaps TOPS has something similar?

;++
; Get the foreign command line.
;--
pushaq foreign_block
calls #1,lib$get_foreign
;++
; Set up and call TPARSE to parse the input string.
;--
movzwl foreign_block,parse_block+TPA$L_STRINGCNT
movl foreign_block+4,parse_block+TPA$L_STRINGPTR
pushal pmon$key
pushal pmon$state
pushal parse_block
calls #3,lib$tparse
blbs r0,3042$
3022$:
$dclast_s astadr=pmon$ctrap,astprm=#3
3042$:

Re: Command line arguments?

<116292f9-2aa9-4167-aec4-0f4c66bc37a7n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=970&group=alt.sys.pdp10#970

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:ac8:7f94:0:b0:403:e963:ce3b with SMTP id z20-20020ac87f94000000b00403e963ce3bmr45223qtj.5.1691781949360;
Fri, 11 Aug 2023 12:25:49 -0700 (PDT)
X-Received: by 2002:a05:6a00:2191:b0:687:926f:e62f with SMTP id
h17-20020a056a00219100b00687926fe62fmr1140783pfi.2.1691781948749; Fri, 11 Aug
2023 12:25:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Fri, 11 Aug 2023 12:25:47 -0700 (PDT)
In-Reply-To: <T7eBM.430020$TCKc.45820@fx13.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:19c:4080:6c00:0:0:0:e742;
posting-account=ZoZMPQoAAAAwBPhCZ7QBI3e0Q8STZ_gW
NNTP-Posting-Host: 2601:19c:4080:6c00:0:0:0:e742
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com> <T7eBM.430020$TCKc.45820@fx13.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <116292f9-2aa9-4167-aec4-0f4c66bc37a7n@googlegroups.com>
Subject: Re: Command line arguments?
From: phil.budne@gmail.com (Phil Budne)
Injection-Date: Fri, 11 Aug 2023 19:25:49 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1481
 by: Phil Budne - Fri, 11 Aug 2023 19:25 UTC

TOPS-20 has RSCAN (JSYS 500), to store and retrieve command lines.
(I think it's a DEC added JSYS, so I don't know what TENEX did...)

This differs from the TOPS-10 RESCAN call, which, ISTR put the command line in the TTY input buffer.

Aren't there any existing TOPS-10 C libraries (UTAH, KCC) available to look at?

Re: Command line arguments?

<1c06a564-e391-48b2-879a-26762bb30b1dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=971&group=alt.sys.pdp10#971

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:6214:5656:b0:63d:ec8:c840 with SMTP id mh22-20020a056214565600b0063d0ec8c840mr42702qvb.7.1691799873229;
Fri, 11 Aug 2023 17:24:33 -0700 (PDT)
X-Received: by 2002:a17:902:ce84:b0:1b2:436b:931d with SMTP id
f4-20020a170902ce8400b001b2436b931dmr1163209plg.2.1691799872787; Fri, 11 Aug
2023 17:24:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Fri, 11 Aug 2023 17:24:32 -0700 (PDT)
In-Reply-To: <116292f9-2aa9-4167-aec4-0f4c66bc37a7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:b5eb:ceed:8afc:6a3f;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:b5eb:ceed:8afc:6a3f
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<T7eBM.430020$TCKc.45820@fx13.iad> <116292f9-2aa9-4167-aec4-0f4c66bc37a7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1c06a564-e391-48b2-879a-26762bb30b1dn@googlegroups.com>
Subject: Re: Command line arguments?
From: gah4@u.washington.edu (gah4)
Injection-Date: Sat, 12 Aug 2023 00:24:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1903
 by: gah4 - Sat, 12 Aug 2023 00:24 UTC

On Friday, August 11, 2023 at 12:25:50 PM UTC-7, Phil Budne wrote:
> TOPS-20 has RSCAN (JSYS 500), to store and retrieve command lines.
> (I think it's a DEC added JSYS, so I don't know what TENEX did...)

I was looking at:

https://www.livingcomputers.org/UI/UserDocs/TOPS-20-v7-1/4_TOPS-20_Monitor_Calls_Reference_Manual.txt

and especially the COMND monitor call.

It isn't so obvious that is what is wanted. It seems that things don't work quite the same way as Unix.

Much seems to be related to editing command lines, like some Unix shells allow you to do.

Re: Command line arguments?

<7w4jl4loph.fsf@junk.nocrew.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=972&group=alt.sys.pdp10#972

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
From: lars.spam@nocrew.org (Lars Brinkhoff)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Organization: nocrew
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<T7eBM.430020$TCKc.45820@fx13.iad>
<116292f9-2aa9-4167-aec4-0f4c66bc37a7n@googlegroups.com>
<1c06a564-e391-48b2-879a-26762bb30b1dn@googlegroups.com>
Date: Sat, 12 Aug 2023 07:11:38 +0000
Message-ID: <7w4jl4loph.fsf@junk.nocrew.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Cancel-Lock: sha1:vY6c8OsNL7EkscLnWkn+crR1Mdw=
MIME-Version: 1.0
Content-Type: text/plain
Lines: 19
NNTP-Posting-Host: d7ea6ca6.news.sunsite.dk
X-Trace: 1691824298 news.sunsite.dk 707 lars@junk.nocrew.org/51.15.56.219:41190
X-Complaints-To: staff@sunsite.dk
 by: Lars Brinkhoff - Sat, 12 Aug 2023 07:11 UTC

gah4 wrote:
> Phil Budne wrote:
>> TOPS-20 has RSCAN (JSYS 500), to store and retrieve command lines.
>> (I think it's a DEC added JSYS, so I don't know what TENEX did...)
>
> and especially the COMND monitor call.

I don't know much about TOPS-20 programming, but if I understand
correctly, COMND is a way for applications to use the nice TOPS-20
command line interface with on-line help, noise words, completion, etc.
So it's much more than just getting the command line arguments in the
Unix style. But then, if you're writing a TOPS-20 application, that's
probably the way to go.

If you really want the Unix style command line, it seems to me Phil was
right to point to RSCAN. E.g. taking a hint from the KCC runtime
library, we can see RSCAN is invovled.

https://github.com/PDP-10/sri-nic/blob/master/files/fs/kcc-6/lib/usys/urt.c#L924

Re: Command line arguments?

<79d29ee3-7376-43eb-b3e6-e496332d8cf3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=973&group=alt.sys.pdp10#973

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:ad4:58aa:0:b0:635:f3c8:860d with SMTP id ea10-20020ad458aa000000b00635f3c8860dmr53280qvb.11.1691826943645;
Sat, 12 Aug 2023 00:55:43 -0700 (PDT)
X-Received: by 2002:a05:6a00:13a2:b0:687:4fcf:8fd9 with SMTP id
t34-20020a056a0013a200b006874fcf8fd9mr1754633pfg.1.1691826943437; Sat, 12 Aug
2023 00:55:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Sat, 12 Aug 2023 00:55:42 -0700 (PDT)
In-Reply-To: <7w4jl4loph.fsf@junk.nocrew.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:1984:e9fd:f418:6c6b;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:1984:e9fd:f418:6c6b
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<T7eBM.430020$TCKc.45820@fx13.iad> <116292f9-2aa9-4167-aec4-0f4c66bc37a7n@googlegroups.com>
<1c06a564-e391-48b2-879a-26762bb30b1dn@googlegroups.com> <7w4jl4loph.fsf@junk.nocrew.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <79d29ee3-7376-43eb-b3e6-e496332d8cf3n@googlegroups.com>
Subject: Re: Command line arguments?
From: gah4@u.washington.edu (gah4)
Injection-Date: Sat, 12 Aug 2023 07:55:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2286
 by: gah4 - Sat, 12 Aug 2023 07:55 UTC

On Saturday, August 12, 2023 at 12:11:40 AM UTC-7, Lars Brinkhoff wrote:

(snip)

> If you really want the Unix style command line, it seems to me Phil was
> right to point to RSCAN. E.g. taking a hint from the KCC runtime
> library, we can see RSCAN is invovled.

I guess so. But again, it is the difference between Unix and others.
The description of RSCAN says:

"This facility
allows a program to receive information that will be used as primary
input for another program before this other program reads input from
the terminal."

So, what you are saying, is that it also works if it is the same program.

For Unix, running another program, as its own process and PID is usual.
Not so usual for TOPS-20, so they have strange ways to do it.

It sounds to me like it is supposed to be used to pass data to a program
that is being run by another program.

Re: Command line arguments?

<ub7n4l$1di$1@news.misty.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=974&group=alt.sys.pdp10#974

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.m37-197-210-12.cust.tele2.se!not-for-mail
From: bqt@softjar.se (Johnny Billquist)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: Sat, 12 Aug 2023 12:32:53 +0200
Organization: MGT Consulting
Message-ID: <ub7n4l$1di$1@news.misty.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<T7eBM.430020$TCKc.45820@fx13.iad>
<116292f9-2aa9-4167-aec4-0f4c66bc37a7n@googlegroups.com>
<1c06a564-e391-48b2-879a-26762bb30b1dn@googlegroups.com>
<7w4jl4loph.fsf@junk.nocrew.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 12 Aug 2023 10:32:54 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="m37-197-210-12.cust.tele2.se:37.197.210.12";
logging-data="1458"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <7w4jl4loph.fsf@junk.nocrew.org>
 by: Johnny Billquist - Sat, 12 Aug 2023 10:32 UTC

On 2023-08-12 09:11, Lars Brinkhoff wrote:
> gah4 wrote:
>> Phil Budne wrote:
>>> TOPS-20 has RSCAN (JSYS 500), to store and retrieve command lines.
>>> (I think it's a DEC added JSYS, so I don't know what TENEX did...)
>>
>> and especially the COMND monitor call.
>
> I don't know much about TOPS-20 programming, but if I understand
> correctly, COMND is a way for applications to use the nice TOPS-20
> command line interface with on-line help, noise words, completion, etc.
> So it's much more than just getting the command line arguments in the
> Unix style. But then, if you're writing a TOPS-20 application, that's
> probably the way to go.

Uh? It's a completely different thing to print out a prompt and read a
line from the user inside the program, compared to find out what command
was given to the EXEC to invoke the program.

Obviously, there must be a way to find out what arguments and so on was
used to invoke the program under TOPS-20, just as under Unix.

And it's not really much different than Unix.

Think of COMND as something similar to the readline library in Unix.
Obviously very nice and useful. (Although COMND is much fancier...)

But it have nothing to do with how the program was invoked, and can't be
used to find out what arguments was passed at program invocation.

RSCAN might be the thing. I don't know. Some T20 hacker should be able
to answer this easily, I would think.

Johnny

Re: Command line arguments?

<mddleefdhn0.fsf@panix5.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=975&group=alt.sys.pdp10#975

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5-v6.panix.com!not-for-mail
From: news@alderson.users.panix.com (Rich Alderson)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: 12 Aug 2023 18:23:47 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 36
Sender: alderson+news@panix5.panix.com
Message-ID: <mddleefdhn0.fsf@panix5.panix.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
Injection-Info: reader2.panix.com; posting-host="panix5-v6.panix.com:2001:470:30::a654:105";
logging-data="29583"; mail-complaints-to="abuse@panix.com"
X-Newsreader: Gnus v5.7/Emacs 22.3
 by: Rich Alderson - Sat, 12 Aug 2023 22:23 UTC

Sid Maxwell <srmaxwell3@gmail.com> writes:

> In C, every program is provided the number of arguments from the command line
> (int argc) and an array of those arguments (char *const argv[]).

> I'm using Lars' libc and a derivative of gcc's C compiler to build compiler
> test programs, and I want to be able to handle command-line arguments. I
> haven't located any description (so far) regarding how a TOP20 executable
> might do this. Does anyone have any pointers (or might disabuse me of the
> idea)?

Hi, Sid,

You have been pointed at RSCAN% and COMND%, neither of which is the answer to
your question.

Command line arguments are passed in the process storage block, a data
structure associated with each process in the monitor. The PSB is accessed by
a user program via the PRARG% monitor call, which can both read the command
line as parsed by the EXEC (or other programs) and change values in the PSB
programmatically.

For hysterical raisins, compilers and the Macro-10 assembler use Tops-10
command syntax internally in the PSB in the DEC supplied versions of these
tools (which were intended to be common across operating systems). I don't
know what the C compiler does, because I have never been interested in
programming in that language on these systems.

I suggest looking at the C runtime routines to see how, or if, it utiltizes
PRARG%.

--
Rich Alderson news@alderson.users.panix.com
Audendum est, et veritas investiganda; quam etiamsi non assequamur,
omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Re: Command line arguments?

<2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=976&group=alt.sys.pdp10#976

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a37:8783:0:b0:76c:7d45:ba50 with SMTP id j125-20020a378783000000b0076c7d45ba50mr99294qkd.6.1691895382684;
Sat, 12 Aug 2023 19:56:22 -0700 (PDT)
X-Received: by 2002:a17:90a:c901:b0:268:b599:92ff with SMTP id
v1-20020a17090ac90100b00268b59992ffmr1431042pjt.1.1691895382159; Sat, 12 Aug
2023 19:56:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Sat, 12 Aug 2023 19:56:21 -0700 (PDT)
In-Reply-To: <mddleefdhn0.fsf@panix5.panix.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.162.208.226; posting-account=5pAuXwkAAADYxu_vHG_N6x8Gdf1I-9kI
NNTP-Posting-Host: 71.162.208.226
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com> <mddleefdhn0.fsf@panix5.panix.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
Subject: Re: Command line arguments?
From: pat22043@gmail.com (fishtoprecords)
Injection-Date: Sun, 13 Aug 2023 02:56:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3451
 by: fishtoprecords - Sun, 13 Aug 2023 02:56 UTC

On Saturday, August 12, 2023 at 6:23:49 PM UTC-4, Rich Alderson wrote:
> You have been pointed at RSCAN% and COMND%, neither of which is the answer to
> your question.

Right. While Tenex/Tops-20 were in the same vintage as most Unix, they had a different philosophy.

If one backs up a bit, in Tops-20, the user types commands into a user program named EXEC.
There is nothing higher up the process/food chain. The operating system creates a job,
and starts running the EXEC program which accepts input. EXEC is just a usermode program that
does input the usual way, no special privs, abilities, etc.
Early versions of EXEC did command parsing
using assorted JSYS, and later version (version 3 under DEC) added the COMND% jsys which handled
a lot of the setup and administrivia, but just used other JSYS internally.

So stylistically, a Tops-20 program would start up, and ask the user to type in commands. The program asks by
calling the COMND% jsys, which types the prompt, and accepts input. It will do filename completion, type "guide words" for the user,
handle ? to list options, etc. So there was no concept of "arguments from the shell to the program"
as there was (1) no shell and (2) the program itself asked for the argument

(you might say that EXEC was like a normal *nix shell, say bash, but that is not really accurate.
for most 20 sites, EXEC was always the top level executing user-space program. We modified our version
of the TOPS-20 monitor to allow the user to have alternative top level command processors.
In early days of Tenex, there were various command shells as experiments, and one idea was
that Tenex could have the same user interface as other operating systems. Some old-time Tenex folks
probably remember the names of some of these command processor programs)

The usual *nix stdin/stdout and pipes was not directly mappable to Tops-20.
There was device assignment, but it was not the same thing at all. Pipes appeared in
some of the hacks that CMU did, especially related to their PCL (programmable command language)
research. But pipes were not part of the mainline Tops-20 world by the time that I left Tops-20 after the
death of Jupiter

Re: Command line arguments?

<1248eb1c-53d9-48a3-913a-9af0d0048687n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=977&group=alt.sys.pdp10#977

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:ad4:56f4:0:b0:63d:30b8:ff8a with SMTP id cr20-20020ad456f4000000b0063d30b8ff8amr85513qvb.1.1691975626278;
Sun, 13 Aug 2023 18:13:46 -0700 (PDT)
X-Received: by 2002:a17:902:f68c:b0:1b8:8fe2:6627 with SMTP id
l12-20020a170902f68c00b001b88fe26627mr3551197plg.8.1691975625985; Sun, 13 Aug
2023 18:13:45 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Sun, 13 Aug 2023 18:13:45 -0700 (PDT)
In-Reply-To: <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:ad6b:957d:1744:dfe2;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:ad6b:957d:1744:dfe2
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1248eb1c-53d9-48a3-913a-9af0d0048687n@googlegroups.com>
Subject: Re: Command line arguments?
From: gah4@u.washington.edu (gah4)
Injection-Date: Mon, 14 Aug 2023 01:13:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: gah4 - Mon, 14 Aug 2023 01:13 UTC

On Saturday, August 12, 2023 at 7:56:23 PM UTC-7, fishtoprecords wrote:

(snip)

> The usual *nix stdin/stdout and pipes was not directly mappable to Tops-20.
> There was device assignment, but it was not the same thing at all. Pipes appeared in
> some of the hacks that CMU did, especially related to their PCL (programmable command language)
> research. But pipes were not part of the mainline Tops-20 world by the time that I left Tops-20 after the
> death of Jupiter

Not pipes, but TOPS-10 has MIC, so one program can write input to another program.

But okay, for much of DEC operating systems, the system runs a different program,
and with different arguments, or input data, then one types.

(Note first, though, that Unix shells modify the command line before it is seen by programs,
expanding shell variables, environment variables and wildcard characters.)

For some DEC systems, I believe including TOPS-10, if you type COPY A.TXT B..TXT

it actually runs:

R PIP
*B.TXT=A.TXT

so it is not command line input, but actual program input.

Past that, I haven't thought for a long time how TOPS-10 processes a
command line, and runs programs indicated.

Re: Command line arguments?

<ubd1al$g3l$1@news.misty.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=978&group=alt.sys.pdp10#978

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.213.55.225.86!not-for-mail
From: bqt@softjar.se (Johnny Billquist)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: Mon, 14 Aug 2023 12:57:25 +0200
Organization: MGT Consulting
Message-ID: <ubd1al$g3l$1@news.misty.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com>
<2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 14 Aug 2023 10:57:25 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="213.55.225.86";
logging-data="16501"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
 by: Johnny Billquist - Mon, 14 Aug 2023 10:57 UTC

While obviously Unix and T20 are different operating systems, and of
course things don't work the same way, I would say there are certainly
still a bunch of parallels you can draw...

On 2023-08-13 04:56, fishtoprecords wrote:
> On Saturday, August 12, 2023 at 6:23:49 PM UTC-4, Rich Alderson wrote:
>> You have been pointed at RSCAN% and COMND%, neither of which is the answer to
>> your question.
>
> Right. While Tenex/Tops-20 were in the same vintage as most Unix, they had a different philosophy.
>
> If one backs up a bit, in Tops-20, the user types commands into a user program named EXEC.
> There is nothing higher up the process/food chain. The operating system creates a job,
> and starts running the EXEC program which accepts input. EXEC is just a usermode program that
> does input the usual way, no special privs, abilities, etc.

This isn't actually that different from a shell. It's also a normal user
program, and from which all other programs you request are invoked. Just
like in Unix. No special privs, abilities or anything.

The difference might just be that in Unix, your shell itself is started
by the login process, which in turn is usually started by getty, which
in turn is started by init, which is the mother of all processes.

So you have a bit more of a hierarchy there. I'm not sure exactly how to
map all those parts into TOPS-20 (it's been a while since I even
properly played with TOPS-20). EXEC is running on the terminal even
before you log in, but there is a login program as well, I think. But
how EXEC is started for each terminal I don't know.

> So stylistically, a Tops-20 program would start up, and ask the user to type in commands. The program asks by
> calling the COMND% jsys, which types the prompt, and accepts input. It will do filename completion, type "guide words" for the user,
> handle ? to list options, etc. So there was no concept of "arguments from the shell to the program"
> as there was (1) no shell and (2) the program itself asked for the argument

Well. Many programs can certainly run using just what you give on the
command line without any prompting. The EXEC knows about commands and
what arguments they take, and do the processing before the program is
even started. But sure, EXEC only knows about commands, not random
binaries. You can teach it more commands, if I remember right. But if
it's a program/command the EXEC don't know about, then you won't get any
fancy processing in the EXEC for it, sure.

> (you might say that EXEC was like a normal *nix shell, say bash, but that is not really accurate.
> for most 20 sites, EXEC was always the top level executing user-space program. We modified our version
> of the TOPS-20 monitor to allow the user to have alternative top level command processors.
> In early days of Tenex, there were various command shells as experiments, and one idea was
> that Tenex could have the same user interface as other operating systems. Some old-time Tenex folks
> probably remember the names of some of these command processor programs)

I don't know why you think that is so different than the Unix shell(s).
Yes, there are differences in the details, but I would say there are way
more similarities than differences.

> The usual *nix stdin/stdout and pipes was not directly mappable to Tops-20.

That on the other hand is very true.

Johnny

Re: Command line arguments?

<ac8d6c86-b9b1-4e14-b00b-6ac3b77e7f21n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=979&group=alt.sys.pdp10#979

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:ac8:7f88:0:b0:405:3a8b:b7e0 with SMTP id z8-20020ac87f88000000b004053a8bb7e0mr121427qtj.13.1692016920088;
Mon, 14 Aug 2023 05:42:00 -0700 (PDT)
X-Received: by 2002:a17:90a:e507:b0:26b:5111:c0eb with SMTP id
t7-20020a17090ae50700b0026b5111c0ebmr731167pjy.6.1692016919519; Mon, 14 Aug
2023 05:41:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Mon, 14 Aug 2023 05:41:58 -0700 (PDT)
In-Reply-To: <ubd1al$g3l$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=64.67.128.148; posting-account=n4I1uwoAAADBHFepIaRo8JtlC_cZGQXd
NNTP-Posting-Host: 64.67.128.148
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
<ubd1al$g3l$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ac8d6c86-b9b1-4e14-b00b-6ac3b77e7f21n@googlegroups.com>
Subject: Re: Command line arguments?
From: srmaxwell3@gmail.com (Sid Maxwell)
Injection-Date: Mon, 14 Aug 2023 12:42:00 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Sid Maxwell - Mon, 14 Aug 2023 12:41 UTC

Thanks, all! The history and technical pointers are all very appreciated, and I think I've got enough to make progress.

I find it fascinating that legacy systems such as these are still relevant in various ways, and that one can still find folks who can perpetuate knowledge that make new things possible and worthwhile.

-+- Sid

Re: Command line arguments?

<18sCM.59053$m8Ke.8853@fx08.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=980&group=alt.sys.pdp10#980

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx08.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Command line arguments?
Newsgroups: alt.sys.pdp10
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com> <mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com> <ubd1al$g3l$1@news.misty.com>
Lines: 23
Message-ID: <18sCM.59053$m8Ke.8853@fx08.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Mon, 14 Aug 2023 15:55:41 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Mon, 14 Aug 2023 15:55:41 GMT
X-Received-Bytes: 1903
 by: Scott Lurndal - Mon, 14 Aug 2023 15:55 UTC

Johnny Billquist <bqt@softjar.se> writes:
>While obviously Unix and T20 are different operating systems, and of
>course things don't work the same way, I would say there are certainly
>still a bunch of parallels you can draw...
>
>On 2023-08-13 04:56, fishtoprecords wrote:
>> On Saturday, August 12, 2023 at 6:23:49 PM UTC-4, Rich Alderson wrote:
>>> You have been pointed at RSCAN% and COMND%, neither of which is the answer to
>>> your question.
>>
>> Right. While Tenex/Tops-20 were in the same vintage as most Unix, they had a different philosophy.
>>
>> If one backs up a bit, in Tops-20, the user types commands into a user program named EXEC.
>> There is nothing higher up the process/food chain. The operating system creates a job,
>> and starts running the EXEC program which accepts input. EXEC is just a usermode program that
>> does input the usual way, no special privs, abilities, etc.
>
>This isn't actually that different from a shell. It's also a normal user
>program, and from which all other programs you request are invoked. Just
>like in Unix. No special privs, abilities or anything.

True. Unlike VMS, where DCL ran in the supervisor ring...

Re: Command line arguments?

<ubebel$44i$1@news.misty.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=981&group=alt.sys.pdp10#981

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.m37-196-214-93.cust.tele2.se!not-for-mail
From: bqt@softjar.se (Johnny Billquist)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: Tue, 15 Aug 2023 00:56:20 +0200
Organization: MGT Consulting
Message-ID: <ubebel$44i$1@news.misty.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com>
<2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
<ubd1al$g3l$1@news.misty.com> <18sCM.59053$m8Ke.8853@fx08.iad>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 14 Aug 2023 22:56:21 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="m37-196-214-93.cust.tele2.se:37.196.214.93";
logging-data="4242"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <18sCM.59053$m8Ke.8853@fx08.iad>
 by: Johnny Billquist - Mon, 14 Aug 2023 22:56 UTC

On 2023-08-14 17:55, Scott Lurndal wrote:
> Johnny Billquist <bqt@softjar.se> writes:
>> While obviously Unix and T20 are different operating systems, and of
>> course things don't work the same way, I would say there are certainly
>> still a bunch of parallels you can draw...
>>
>> On 2023-08-13 04:56, fishtoprecords wrote:
>>> On Saturday, August 12, 2023 at 6:23:49 PM UTC-4, Rich Alderson wrote:
>>>> You have been pointed at RSCAN% and COMND%, neither of which is the answer to
>>>> your question.
>>>
>>> Right. While Tenex/Tops-20 were in the same vintage as most Unix, they had a different philosophy.
>>>
>>> If one backs up a bit, in Tops-20, the user types commands into a user program named EXEC.
>>> There is nothing higher up the process/food chain. The operating system creates a job,
>>> and starts running the EXEC program which accepts input. EXEC is just a usermode program that
>>> does input the usual way, no special privs, abilities, etc.
>>
>> This isn't actually that different from a shell. It's also a normal user
>> program, and from which all other programs you request are invoked. Just
>> like in Unix. No special privs, abilities or anything.
>
> True. Unlike VMS, where DCL ran in the supervisor ring...

Yes. And RSX is in a way even weirder, because the CLI there is a
process that is only started once you have typed your command. The
readong and handling of the input up until you hit enter is all
happening in the terminal device driver.
But the CLI then needs to be installed and the system informed that it
is a CLI, and there are special system calls avaulable that is only for
CLIs.

And CLIs can pass the command on to other CLIs if they want to, so you
can actually have layers of CLIs, which catch different commands...

Johnny

Re: Command line arguments?

<828f4d36-38bf-4e99-a514-c3074afa3a68n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=982&group=alt.sys.pdp10#982

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:6214:a52:b0:63c:f294:d89c with SMTP id ee18-20020a0562140a5200b0063cf294d89cmr137918qvb.7.1692085589077;
Tue, 15 Aug 2023 00:46:29 -0700 (PDT)
X-Received: by 2002:a63:7053:0:b0:564:e80e:81c0 with SMTP id
a19-20020a637053000000b00564e80e81c0mr2307987pgn.2.1692085588836; Tue, 15 Aug
2023 00:46:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Tue, 15 Aug 2023 00:46:28 -0700 (PDT)
In-Reply-To: <ubebel$44i$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:ad73:7afd:3c88:ef2d;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:ad73:7afd:3c88:ef2d
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
<ubd1al$g3l$1@news.misty.com> <18sCM.59053$m8Ke.8853@fx08.iad> <ubebel$44i$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <828f4d36-38bf-4e99-a514-c3074afa3a68n@googlegroups.com>
Subject: Re: Command line arguments?
From: gah4@u.washington.edu (gah4)
Injection-Date: Tue, 15 Aug 2023 07:46:29 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2211
 by: gah4 - Tue, 15 Aug 2023 07:46 UTC

On Monday, August 14, 2023 at 3:56:22 PM UTC-7, Johnny Billquist wrote:

(snip)

> Yes. And RSX is in a way even weirder, because the CLI there is a
> process that is only started once you have typed your command. The
> readong and handling of the input up until you hit enter is all
> happening in the terminal device driver.
> But the CLI then needs to be installed and the system informed that it
> is a CLI, and there are special system calls avaulable that is only for
> CLIs.

The system where you run programs by typing the name of the program I first
knew from Unix. For TOPS-10, and I believe TOPS-20, you type

R programname

or

RUN programname

it seems so obvious now, but wasn't so many years ago.

Other systems, you load the program into memory, and then RUN it.

Re: Command line arguments?

<OXNCM.632527$TPw2.192547@fx17.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=983&group=alt.sys.pdp10#983

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Command line arguments?
Newsgroups: alt.sys.pdp10
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com> <mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com> <ubd1al$g3l$1@news.misty.com> <18sCM.59053$m8Ke.8853@fx08.iad> <ubebel$44i$1@news.misty.com> <828f4d36-38bf-4e99-a514-c3074afa3a68n@googlegroups.com>
Lines: 26
Message-ID: <OXNCM.632527$TPw2.192547@fx17.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Tue, 15 Aug 2023 16:44:30 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Tue, 15 Aug 2023 16:44:30 GMT
X-Received-Bytes: 1832
 by: Scott Lurndal - Tue, 15 Aug 2023 16:44 UTC

gah4 <gah4@u.washington.edu> writes:
>On Monday, August 14, 2023 at 3:56:22=E2=80=AFPM UTC-7, Johnny Billquist wr=
>ote:
>
>(snip)
>
>> Yes. And RSX is in a way even weirder, because the CLI there is a=20
>> process that is only started once you have typed your command. The=20
>> readong and handling of the input up until you hit enter is all=20
>> happening in the terminal device driver.=20
>> But the CLI then needs to be installed and the system informed that it=20
>> is a CLI, and there are special system calls avaulable that is only for=
>=20
>> CLIs.=20
>
>The system where you run programs by typing the name of the program I first
>knew from Unix. For TOPS-10, and I believe TOPS-20, you type
>
>R programname

tss8 was the same way, e.g. "R PIP", or "R CAT" or "R SYSTAT".

On the Burroughs mainframes, the command interpreter was built
into the MCP (Operating System). It was invoked by input from
the console terminal(s), card reader, or programmatic OS calls.

Re: Command line arguments?

<mddjztwyr8u.fsf@panix5.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=984&group=alt.sys.pdp10#984

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5-v6.panix.com!not-for-mail
From: news@alderson.users.panix.com (Rich Alderson)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: 15 Aug 2023 16:39:45 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 44
Sender: alderson+news@panix5.panix.com
Message-ID: <mddjztwyr8u.fsf@panix5.panix.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com> <mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com> <ubd1al$g3l$1@news.misty.com> <18sCM.59053$m8Ke.8853@fx08.iad> <ubebel$44i$1@news.misty.com> <828f4d36-38bf-4e99-a514-c3074afa3a68n@googlegroups.com>
Injection-Info: reader2.panix.com; posting-host="panix5-v6.panix.com:2001:470:30::a654:105";
logging-data="11335"; mail-complaints-to="abuse@panix.com"
X-Newsreader: Gnus v5.7/Emacs 22.3
 by: Rich Alderson - Tue, 15 Aug 2023 20:39 UTC

gah4 <gah4@u.washington.edu> writes:

> On Monday, August 14, 2023 at 3:56:22=E2=80=AFPM UTC-7, Johnny Billquist wrote:

> (snip)

>> Yes. And RSX is in a way even weirder, because the CLI there is a
>> process that is only started once you have typed your command. The
>> readong and handling of the input up until you hit enter is all
>> happening in the terminal device driver.
>> But the CLI then needs to be installed and the system informed that it
>> is a CLI, and there are special system calls avaulable that is only for
>> CLIs.

> The system where you run programs by typing the name of the program I first
> knew from Unix. For TOPS-10, and I believe TOPS-20, you type

> R programname

> or

> RUN programname

> it seems so obvious now, but wasn't so many years ago.

> Other systems, you load the program into memory, and then RUN it.

By the time I first encountered TOPS-20 (version 3), programs could be invoked
at the EXEC prompt simply by typing the name of the executable file. I suspect
the same was true all the way back to TENEX, but I never worked with the older
OS.

The use of R and RUN was a UI holdover from the other operating system.

For those unfamiliar with these OSes:
1. RUN executes a program binary located in the current directory.
2. R executes a program located somewhere in the system search path (which the
user can extend as needed).

--
Rich Alderson news@alderson.users.panix.com
Audendum est, et veritas investiganda; quam etiamsi non assequamur,
omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Re: Command line arguments?

<mddh6p0yqzm.fsf@panix5.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=985&group=alt.sys.pdp10#985

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5-v6.panix.com!not-for-mail
From: news@alderson.users.panix.com (Rich Alderson)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: 15 Aug 2023 16:45:17 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 39
Sender: alderson+news@panix5.panix.com
Message-ID: <mddh6p0yqzm.fsf@panix5.panix.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com> <mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com> <ubd1al$g3l$1@news.misty.com> <18sCM.59053$m8Ke.8853@fx08.iad> <ubebel$44i$1@news.misty.com> <828f4d36-38bf-4e99-a514-c3074afa3a68n@googlegroups.com> <OXNCM.632527$TPw2.192547@fx17.iad>
Injection-Info: reader2.panix.com; posting-host="panix5-v6.panix.com:2001:470:30::a654:105";
logging-data="11335"; mail-complaints-to="abuse@panix.com"
X-Newsreader: Gnus v5.7/Emacs 22.3
 by: Rich Alderson - Tue, 15 Aug 2023 20:45 UTC

scott@slp53.sl.home (Scott Lurndal) writes:

> gah4 <gah4@u.washington.edu> writes:
>> On Monday, August 14, 2023 at 3:56:22=E2=80=AFPM UTC-7, Johnny Billquist wrote:

>> (snip)

>>> Yes. And RSX is in a way even weirder, because the CLI there is a
>>> process that is only started once you have typed your command. The
>>> readong and handling of the input up until you hit enter is all
>>> happening in the terminal device driver.
>>> But the CLI then needs to be installed and the system informed that it
>>> is a CLI, and there are special system calls avaulable that is only for
>>> CLIs.

>> The system where you run programs by typing the name of the program I first
>> knew from Unix. For TOPS-10, and I believe TOPS-20, you type

>> R programname

> tss8 was the same way, e.g. "R PIP", or "R CAT" or "R SYSTAT".

TSS/8 was written by two guys who worked on the second generation PDP-10 (the
KI-10 processor), who wanted to show that a timesharing OS was possible on a
small machine. They intentionally made it look like the PDP-10 monitor.

> On the Burroughs mainframes, the command interpreter was built
> into the MCP (Operating System). It was invoked by input from
> the console terminal(s), card reader, or programmatic OS calls.

The smae thing is true in Tops-10: The command interpreter is part of the
monitor's address space. There is a procedure for adding commands to the
interpreter during system generation, for local enhancements.

--
Rich Alderson news@alderson.users.panix.com
Audendum est, et veritas investiganda; quam etiamsi non assequamur,
omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Re: Command line arguments?

<mddcyzoyqpz.fsf@panix5.panix.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=986&group=alt.sys.pdp10#986

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix5-v6.panix.com!not-for-mail
From: news@alderson.users.panix.com (Rich Alderson)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: 15 Aug 2023 16:51:04 -0400
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 25
Sender: alderson+news@panix5.panix.com
Message-ID: <mddcyzoyqpz.fsf@panix5.panix.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com> <mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com> <ubd1al$g3l$1@news.misty.com>
Injection-Info: reader2.panix.com; posting-host="panix5-v6.panix.com:2001:470:30::a654:105";
logging-data="11335"; mail-complaints-to="abuse@panix.com"
X-Newsreader: Gnus v5.7/Emacs 22.3
 by: Rich Alderson - Tue, 15 Aug 2023 20:51 UTC

Johnny Billquist <bqt@softjar.se> writes:

[ snip ]

> The difference might just be that in Unix, your shell itself is started
> by the login process, which in turn is usually started by getty, which
> in turn is started by init, which is the mother of all processes.

> So you have a bit more of a hierarchy there. I'm not sure exactly how to
> map all those parts into TOPS-20 (it's been a while since I even
> properly played with TOPS-20). EXEC is running on the terminal even
> before you log in, but there is a login program as well, I think. But
> how EXEC is started for each terminal I don't know.

Tops-10 uses a LOGIN program, invoked by the command interpreter.

TOPS-20 has a LOGIN% system call, executed by the EXEC shell in response to the
LOGIN command. The EXEC will refuse to execute the call if the job is already
logged in.

--
Rich Alderson news@alderson.users.panix.com
Audendum est, et veritas investiganda; quam etiamsi non assequamur,
omnino tamen proprius, quam nunc sumus, ad eam perveniemus.
--Galen

Re: Command line arguments?

<ecc8ab1d-79a5-46b1-b045-0675b7892e55n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=987&group=alt.sys.pdp10#987

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:620a:4546:b0:76c:b401:14ff with SMTP id u6-20020a05620a454600b0076cb40114ffmr52436qkp.7.1692149343400;
Tue, 15 Aug 2023 18:29:03 -0700 (PDT)
X-Received: by 2002:a63:7947:0:b0:564:8375:d240 with SMTP id
u68-20020a637947000000b005648375d240mr117988pgc.12.1692149343174; Tue, 15 Aug
2023 18:29:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Tue, 15 Aug 2023 18:29:02 -0700 (PDT)
In-Reply-To: <mddcyzoyqpz.fsf@panix5.panix.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:a4d1:e7b0:b799:f7eb;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:a4d1:e7b0:b799:f7eb
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
<ubd1al$g3l$1@news.misty.com> <mddcyzoyqpz.fsf@panix5.panix.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ecc8ab1d-79a5-46b1-b045-0675b7892e55n@googlegroups.com>
Subject: Re: Command line arguments?
From: gah4@u.washington.edu (gah4)
Injection-Date: Wed, 16 Aug 2023 01:29:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2310
 by: gah4 - Wed, 16 Aug 2023 01:29 UTC

On Tuesday, August 15, 2023 at 1:51:06 PM UTC-7, Rich Alderson wrote:

(snip)

> Tops-10 uses a LOGIN program, invoked by the command interpreter.

And some other commands can also run when not logged in.

One of those is QUEUE, useful to see where you are in the print queue
or batch queue.

Story I remember from the TOPS-10 days, is that QUEUE has the ability to run
another command when it is done. It seems a feature designed to allow a program
to run QUEUE, and then restart (continue) itself.

Someone found out that you could run QUEUE when not logged in, and also use
the ability to run another program. (Which runs on a system account.)

The sent in the bug report to DEC.
There is a box on the bug report, to publish the report.
Some checked the box.
And DEC published the bug report before reading it.

I remember from VMS days, using logical names to run programs
by name, without a RUN command.

Re: Command line arguments?

<ubieal$3cq$1@news.misty.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=988&group=alt.sys.pdp10#988

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.31-208-187-27.cust.bredband2.com!not-for-mail
From: bqt@softjar.se (Johnny Billquist)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: Wed, 16 Aug 2023 14:09:57 +0200
Organization: MGT Consulting
Message-ID: <ubieal$3cq$1@news.misty.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com>
<2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
<ubd1al$g3l$1@news.misty.com> <mddcyzoyqpz.fsf@panix5.panix.com>
<ecc8ab1d-79a5-46b1-b045-0675b7892e55n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 16 Aug 2023 12:09:57 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="31-208-187-27.cust.bredband2.com:31.208.187.27";
logging-data="3482"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <ecc8ab1d-79a5-46b1-b045-0675b7892e55n@googlegroups.com>
 by: Johnny Billquist - Wed, 16 Aug 2023 12:09 UTC

On 2023-08-16 03:29, gah4 wrote:
> On Tuesday, August 15, 2023 at 1:51:06 PM UTC-7, Rich Alderson wrote:
>
> (snip)
>
>> Tops-10 uses a LOGIN program, invoked by the command interpreter.
>
> And some other commands can also run when not logged in.

Also possible in RSX, and used to be possible in RSTS/E prior to V9.

[...]
> The sent in the bug report to DEC.
> There is a box on the bug report, to publish the report.
> Some checked the box.
> And DEC published the bug report before reading it.

Ooops. :-)

> I remember from VMS days, using logical names to run programs
> by name, without a RUN command.

Not logical names, but symbols (like variables) in DCL.

FOO = "DIR/FULL"

for example.

It also works in DCL on RSTS/E.

Logical names is a different namespace. You can put anything you want
there, but you need to explicitly do the translation for a logical name.
That is always done when parsing filenames, but you can do it explicitly
at any point yourself as well.

Johnny

Re: Command line arguments?

<SN4DM.141795$ftCb.126562@fx34.iad>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=989&group=alt.sys.pdp10#989

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx34.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Command line arguments?
Newsgroups: alt.sys.pdp10
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com> <mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com> <ubd1al$g3l$1@news.misty.com> <mddcyzoyqpz.fsf@panix5.panix.com> <ecc8ab1d-79a5-46b1-b045-0675b7892e55n@googlegroups.com>
Lines: 40
Message-ID: <SN4DM.141795$ftCb.126562@fx34.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 16 Aug 2023 14:10:58 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 16 Aug 2023 14:10:58 GMT
X-Received-Bytes: 2246
 by: Scott Lurndal - Wed, 16 Aug 2023 14:10 UTC

gah4 <gah4@u.washington.edu> writes:
>On Tuesday, August 15, 2023 at 1:51:06=E2=80=AFPM UTC-7, Rich Alderson wrot=
>e:
>
>(snip)
>
>> Tops-10 uses a LOGIN program, invoked by the command interpreter.=20
>
>And some other commands can also run when not logged in.
>
>One of those is QUEUE, useful to see where you are in the print queue
>or batch queue.
>
>Story I remember from the TOPS-10 days, is that QUEUE has the ability to ru=
>n
>another command when it is done. It seems a feature designed to allow a pr=
>ogram
>to run QUEUE, and then restart (continue) itself.
>
>Someone found out that you could run QUEUE when not logged in, and also use
>the ability to run another program. (Which runs on a system account.)
>
>The sent in the bug report to DEC.
>There is a box on the bug report, to publish the report.
>Some checked the box.
>And DEC published the bug report before reading it.
>
>
>I remember from VMS days, using logical names to run programs
>by name, without a RUN command.=20
>

Early versions of VMS installed the DEBUG utility with change mode
to kernel capability. In a student environment it didn't take long
for that misfeature to be abused. It was easily fixed.

Early versions of VMS didn't read-protect the system dump file;
analysis of the typeahead buffers usually showed the system manager
password when they logged in just prior to rebooting. Another one
easily fixed.

Re: Command line arguments?

<449ede1a-3def-46ac-81a3-b9df8c32d5b5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=990&group=alt.sys.pdp10#990

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:6214:4a4a:b0:63c:f55e:5960 with SMTP id ph10-20020a0562144a4a00b0063cf55e5960mr41431qvb.1.1692247548587;
Wed, 16 Aug 2023 21:45:48 -0700 (PDT)
X-Received: by 2002:a17:903:41ca:b0:1b8:9eca:d6a7 with SMTP id
u10-20020a17090341ca00b001b89ecad6a7mr1293982ple.7.1692247548145; Wed, 16 Aug
2023 21:45:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Wed, 16 Aug 2023 21:45:47 -0700 (PDT)
In-Reply-To: <SN4DM.141795$ftCb.126562@fx34.iad>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:312e:6463:b834:b86d;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:312e:6463:b834:b86d
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
<ubd1al$g3l$1@news.misty.com> <mddcyzoyqpz.fsf@panix5.panix.com>
<ecc8ab1d-79a5-46b1-b045-0675b7892e55n@googlegroups.com> <SN4DM.141795$ftCb.126562@fx34.iad>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <449ede1a-3def-46ac-81a3-b9df8c32d5b5n@googlegroups.com>
Subject: Re: Command line arguments?
From: gah4@u.washington.edu (gah4)
Injection-Date: Thu, 17 Aug 2023 04:45:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2204
 by: gah4 - Thu, 17 Aug 2023 04:45 UTC

On Wednesday, August 16, 2023 at 7:11:00 AM UTC-7, Scott Lurndal wrote:

(snip)

> Early versions of VMS installed the DEBUG utility with change mode
> to kernel capability. In a student environment it didn't take long
> for that misfeature to be abused. It was easily fixed.

> Early versions of VMS didn't read-protect the system dump file;
> analysis of the typeahead buffers usually showed the system manager
> password when they logged in just prior to rebooting. Another one
> easily fixed.

My favorite early VMS oops, is that you could rename a directory into itself.

I think that was:

REN X.DIR [-.X]

The files go away, but quota isn't reduced, and I think the blocks are still in use.

Re: Command line arguments?

<ubt99l$a18$1@news.misty.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=991&group=alt.sys.pdp10#991

  copy link   Newsgroups: alt.sys.pdp10
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt@softjar.se (Johnny Billquist)
Newsgroups: alt.sys.pdp10
Subject: Re: Command line arguments?
Date: Sun, 20 Aug 2023 16:51:33 +0200
Organization: MGT Consulting
Message-ID: <ubt99l$a18$1@news.misty.com>
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com>
<2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
<ubd1al$g3l$1@news.misty.com> <mddcyzoyqpz.fsf@panix5.panix.com>
<ecc8ab1d-79a5-46b1-b045-0675b7892e55n@googlegroups.com>
<SN4DM.141795$ftCb.126562@fx34.iad>
<449ede1a-3def-46ac-81a3-b9df8c32d5b5n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 20 Aug 2023 14:51:33 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="10280"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <449ede1a-3def-46ac-81a3-b9df8c32d5b5n@googlegroups.com>
 by: Johnny Billquist - Sun, 20 Aug 2023 14:51 UTC

On 2023-08-17 06:45, gah4 wrote:
> On Wednesday, August 16, 2023 at 7:11:00 AM UTC-7, Scott Lurndal wrote:
>
> (snip)
>
>> Early versions of VMS installed the DEBUG utility with change mode
>> to kernel capability. In a student environment it didn't take long
>> for that misfeature to be abused. It was easily fixed.
>
>> Early versions of VMS didn't read-protect the system dump file;
>> analysis of the typeahead buffers usually showed the system manager
>> password when they logged in just prior to rebooting. Another one
>> easily fixed.
>
> My favorite early VMS oops, is that you could rename a directory into itself.
>
> I think that was:
>
> REN X.DIR [-.X]
>
> The files go away, but quota isn't reduced, and I think the blocks are still in use.

Yeah. That would end up as a lost file (the directory), and then all
files beneath that would also be lost.
It can be recovered, but that requires running the disk checking tools.
Similar to fsck.

Same thing can happen/be done in RSX as well.

Johnny

Re: Command line arguments?

<cbdb0788-bc2a-40df-ad57-c64e1f2b09f1n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=992&group=alt.sys.pdp10#992

  copy link   Newsgroups: alt.sys.pdp10
X-Received: by 2002:a05:622a:309:b0:40c:1483:459c with SMTP id q9-20020a05622a030900b0040c1483459cmr31236qtw.2.1692566946798;
Sun, 20 Aug 2023 14:29:06 -0700 (PDT)
X-Received: by 2002:a17:902:da88:b0:1ba:a36d:f82c with SMTP id
j8-20020a170902da8800b001baa36df82cmr2405960plx.7.1692566946394; Sun, 20 Aug
2023 14:29:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: alt.sys.pdp10
Date: Sun, 20 Aug 2023 14:29:05 -0700 (PDT)
In-Reply-To: <ubt99l$a18$1@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:602:9700:4689:e869:ef03:b4cc:984f;
posting-account=gLDX1AkAAAA26M5HM-O3sVMAXdxK9FPA
NNTP-Posting-Host: 2601:602:9700:4689:e869:ef03:b4cc:984f
References: <52d370b3-c1b7-42af-b8a4-48724a481689n@googlegroups.com>
<mddleefdhn0.fsf@panix5.panix.com> <2b2b7d7e-2d34-4594-a266-c121d48234a0n@googlegroups.com>
<ubd1al$g3l$1@news.misty.com> <mddcyzoyqpz.fsf@panix5.panix.com>
<ecc8ab1d-79a5-46b1-b045-0675b7892e55n@googlegroups.com> <SN4DM.141795$ftCb.126562@fx34.iad>
<449ede1a-3def-46ac-81a3-b9df8c32d5b5n@googlegroups.com> <ubt99l$a18$1@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cbdb0788-bc2a-40df-ad57-c64e1f2b09f1n@googlegroups.com>
Subject: Re: Command line arguments?
From: gah4@u.washington.edu (gah4)
Injection-Date: Sun, 20 Aug 2023 21:29:06 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2527
 by: gah4 - Sun, 20 Aug 2023 21:29 UTC

On Sunday, August 20, 2023 at 7:51:35 AM UTC-7, Johnny Billquist wrote:
> On 2023-08-17 06:45, gah4 wrote:

(snip)
> > My favorite early VMS oops, is that you could rename a directory into itself.
> >
> > I think that was:
> >
> > REN X.DIR [-.X]
> >
> > The files go away, but quota isn't reduced, and I think the blocks are still in use.

> Yeah. That would end up as a lost file (the directory), and then all
> files beneath that would also be lost.
> It can be recovered, but that requires running the disk checking tools.
> Similar to fsck.
> Same thing can happen/be done in RSX as well.

I think it doesn't work anymore in VMS, but it did in early versions.

Pretty often in unix, I do:

mkdir newdir
mv * newdir

to move all the files except newdir, and it works fine, though with a message.

As well as I know, the blocks were recovered with disk tools, but they
didn't give me the files back.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor