properly shutting down ITS

114 views
Skip to first unread message

John Durgan

unread,
Jan 8, 2025, 5:51:13 PM1/8/25
to PiDP-10
I started ITS on my recently completed pidp10.  I am now looking at the teletype screen, with no idea how to shut down properly.  Could someone out there tell me what to do.  

I found a list of commands on page 32 of the users manual ;listed as follows

:lock
5down
y
ctrl-C
is this the correct way?

I will really appreciate any help on this.

J Durgan

Eric Swenson

unread,
Jan 8, 2025, 6:42:58 PM1/8/25
to John Durgan, PiDP-10
Yes, this is correct.  You may have to get a DDT/HACTRN (shell) on console first (it may printing LOGIN messages but otherwise be “owned” by ITS).  You would do that by typing Control-Z (^Z).  — Eric

--
You received this message because you are subscribed to the Google Groups "PiDP-10" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-10+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pidp-10/5c444329-83dc-4b4e-ac76-a672d0d02e25n%40googlegroups.com.

Lars Brinkhoff

unread,
Jan 9, 2025, 1:31:50 AM1/9/25
to PiDP-10
I'd like to explain this in more detail.

Like Eric wrote, you first have to login by typing Control-Z.  (You don't have to :LOGIN or $U.

Type :LOCK to start the LOCK program.  It can do many things, but for now we're only interested in shutting down.  LOCK takes simple command strings.  Some commands accept a numerical prefix argument.  DOWN is the command for shutting down.  Its argument is the number of minutes to wait if users are logged in, so 5DOWN means shut down in five minutes.  When all users are logged out, ITS will shut down right away.

The LOCK command ask for a message to send to all logged in users, ending with Control-C.  The message can be empty.  Finally, LOCK asks for confirmation, which is Y.

This is the complete procedure for initiating a shutdown.  At this point, you'll still be running LOCK.  You can type QUIT to exit.  If you are logged in (with :LOGIN or $U), ITS will wait for you to log out, so type :LOGOUT or $$U.

I also added a Chaosnet service to shut down.  There is a command you can run on the Raspberry Pi to call this service.  It was my intention this should be run automatically from systemd when Linux is shutting down.

John Durgan

unread,
Jan 9, 2025, 6:33:54 AM1/9/25
to PiDP-10
Thanks so much for the help.  I really appreciate it.

John Durgan

Eric Swenson

unread,
Jan 9, 2025, 12:26:40 PM1/9/25
to Lars Brinkhoff, PiDP-10
To add one factoid to Lars’ post, and to prevent confusion, it is important to know that the DOWN command’s argument cannot be less than 5. 

But no worries, if there are no logged in users, shutdown will take effect immediately (well a few seconds after you issue the command). Lars did point that out.

— Eric 

On Jan 8, 2025, at 22:31, Lars Brinkhoff <lars.br...@gmail.com> wrote:


--
You received this message because you are subscribed to the Google Groups "PiDP-10" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pidp-10+u...@googlegroups.com.

Steven A. Falco

unread,
Jan 9, 2025, 2:03:01 PM1/9/25
to pid...@googlegroups.com
When typing 5DOWN it seems that immediately typing a carriage return confuses things.

So I wait for the "DO YOU REALLY WANT THE SYSTEM TO GO DOWN?" prompt before typing anything further.

Does that agree with your experience?

Steve
>> To unsubscribe from this group and stop receiving emails from it, send an email to pidp-10+u...@googlegroups.com <mailto:pidp-10+u...@googlegroups.com>.
>> To view this discussion visit https://groups.google.com/d/msgid/pidp-10/88a45a3d-0c89-4a3d-aa5f-87a105d5aea8n%40googlegroups.com <https://groups.google.com/d/msgid/pidp-10/88a45a3d-0c89-4a3d-aa5f-87a105d5aea8n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google Groups "PiDP-10" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pidp-10+u...@googlegroups.com <mailto:pidp-10+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/pidp-10/8F33B6C9-8D3C-4082-AB41-A34CAEBE5369%40swenson.org <https://groups.google.com/d/msgid/pidp-10/8F33B6C9-8D3C-4082-AB41-A34CAEBE5369%40swenson.org?utm_medium=email&utm_source=footer>.

Eric Swenson

unread,
Jan 9, 2025, 2:07:56 PM1/9/25
to Steven A. Falco, pid...@googlegroups.com
Yes. Don’t type a CR after the 5DOWN. Wait for it to prompt you for a message, which you’ll end with ^C.

> On Jan 9, 2025, at 11:03, Steven A. Falco <steve...@gmail.com> wrote:
>
> When typing 5DOWN it seems that immediately typing a carriage return confuses things.
> To unsubscribe from this group and stop receiving emails from it, send an email to pidp-10+u...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/pidp-10/44f137c8-7ba5-49bb-b14c-2a450ccf3c7f%40gmail.com.

Steven A. Falco

unread,
Jan 9, 2025, 2:09:44 PM1/9/25
to Eric Swenson, pid...@googlegroups.com
Thanks for confirming, Eric.

Steve
Reply all
Reply to author
Forward
0 new messages