Groups | Search | Server Info | Login | Register


Groups > alt.sys.pdp11 > #5647

Re: Any interesting PDP/TECO photos out there?

From Robin Haberkorn <robin.haberkorn@googlemail.com>
Newsgroups alt.sys.pdp11, alt.folklore.computers
Subject Re: Any interesting PDP/TECO photos out there?
Date 2024-11-16 10:20 +0300
Organization A noiseless patient Spider
Message-ID <3b84b16e-e630-1ded-dd01-e87d0f684a1f@googlemail.com> (permalink)
References (2 earlier) <a6c98a30-69b4-2e1d-8158-09ee8f5ebc30@googlemail.com> <716d3d6d-a1d0-efb7-becc-79deb5c60ab8@googlemail.com> <vh8gcg$3jtlv$5@dont-email.me> <6229b941-e875-7d87-1e67-cb585823834d@googlemail.com> <vh93t5$3r5hr$4@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, 16 Nov 2024, Lawrence D'Oliveiro wrote:

> That’s ... impressive. I suupose you track the state of buffer changes
> across loops as well? So when you delete the end of a loop, it has to undo
> it all back to the start of that, ready to run all the iterations again?
>
Sure, undo tokens get associated with command line positions.
When you close a loop, all further undo tokens will be "glued" to the ">" 
character that closed the loop.
Therefore, if you rub out ">", the side effects of all but the first loop 
iteration are undone.
Much care is taken that you cannot cause OOM situations and it's 
always possible to interrupt loops and blocking operations by pressing CTRL+C.

> Hmmm ... what happens to any file output done in the meantime?
>
When you save a file, SciTECO currently moves/renames the existing file 
to a so called savepoint file in the same directory before writing out 
the new state of the file.
This savepoint file is "owned" by the corresponding undo token.
In order to undo the save (on rubout), it simply moves the file back to 
its original location.
While this restores *exactly* the state of the file at the time of 
the write-out and it's as efficient as it gets, there are certain 
disadvantages, so I might change that in the future or at least make it 
configurable.
I could also unlink the file while keeping a file descriptor alive and 
then copy the contents upon rubout. At least on UNIX. Theoretically, 
because it's tricky.

That's right. You cannot even screw up your files on disk by accident. 
While TECO was accused of being a very dangerous editor, SciTECO is 
actually safer than most other editors around. You can replace your file 
contents 10 times and HK it at the end - unless you haven't terminated the 
command line, you can always rub out all destructive changes later on!

The only things SciTECO does not undo are the side effects of external 
command executions (you can pipe buffer contents through external programs 
with EC and SciTECO is not aware what you are doing there). Even 
clipboard contents are restored on rubout (clipboards are 
exposed on some platforms as special overloaded Q-Registers).
Also, direct messages to the Scintilla editor widget (ES command) do 
nothing upon rubout, so people must be careful when using them in 
interactively executed macros.

Best regards,
Robin

Back to alt.sys.pdp11 | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-12 16:50 +0300
  Re: Any interesting PDP/TECO photos out there? Paul Rubin <no.email@nospam.invalid> - 2024-11-12 08:03 -0800
    Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-12 20:49 +0300
      Re: Any interesting PDP/TECO photos out there? scott@slp53.sl.home (Scott Lurndal) - 2024-11-12 20:02 +0000
      Re: Any interesting PDP/TECO photos out there? Paul Rubin <no.email@nospam.invalid> - 2024-11-12 12:47 -0800
      Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-14 22:20 +0000
        Re: Any interesting PDP/TECO photos out there? Kaz Kylheku <643-408-1753@kylheku.com> - 2024-11-14 23:50 +0000
  Re: Any interesting PDP/TECO photos out there? Rich Alderson <news@alderson.users.panix.com> - 2024-11-12 15:55 -0500
    Re: Any interesting PDP/TECO photos out there? Paul Rubin <no.email@nospam.invalid> - 2024-11-12 20:09 -0800
      Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-13 11:30 +0300
        Re: Any interesting PDP/TECO photos out there? Paul Rubin <no.email@nospam.invalid> - 2024-11-13 10:25 -0800
        Re: Any interesting PDP/TECO photos out there? Rich Alderson <news@alderson.users.panix.com> - 2024-11-13 14:36 -0500
          Re: Any interesting PDP/TECO photos out there? Paul Rubin <no.email@nospam.invalid> - 2024-11-13 15:12 -0800
            Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-14 06:29 +0000
          Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-14 22:24 +0000
      Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-13 11:46 +0300
      Re: Any interesting PDP/TECO photos out there? Bob Eager <news0009@eager.cx> - 2024-11-13 09:00 +0000
        Re: Any interesting PDP/TECO photos out there? scott@slp53.sl.home (Scott Lurndal) - 2024-11-13 15:30 +0000
        Re: Any interesting PDP/TECO photos out there? Paul Rubin <no.email@nospam.invalid> - 2024-11-13 10:29 -0800
    Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-13 10:31 +0300
      Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-13 19:11 +0000
    Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-16 10:00 +0300
    Re: Any interesting PDP/TECO photos out there? Johnny Billquist <bqt@softjar.se> - 2024-12-02 23:58 +0100
      Re: Any interesting PDP/TECO photos out there? Rich Alderson <news@alderson.users.panix.com> - 2024-12-03 16:38 -0500
        Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-12-04 08:24 +0000
        Re: Any interesting PDP/TECO photos out there? Johnny Billquist <bqt@softjar.se> - 2024-12-04 17:48 +0100
          Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-12-04 18:36 +0000
            Re: Any interesting PDP/TECO photos out there? Johnny Billquist <bqt@softjar.se> - 2025-01-08 17:19 +0100
              Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2025-01-09 08:29 +0000
  Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-13 14:28 +0000
    Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-14 09:44 +0300
      Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-14 07:03 +0000
        Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-14 10:34 +0300
          Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-14 08:05 +0000
            Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-14 08:25 +0000
              Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-14 17:42 +0300
            Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-14 17:09 +0300
              Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-16 15:37 +0000
              Re: Any interesting PDP/TECO photos out there? Johnny Billquist <bqt@softjar.se> - 2024-12-03 00:07 +0100
                Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-12-03 18:55 +0300
                Re: Any interesting PDP/TECO photos out there? Johnny Billquist <bqt@softjar.se> - 2024-12-04 17:45 +0100
          Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-14 22:19 +0000
            Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) John Ames <commodorejohn@gmail.com> - 2024-11-14 14:34 -0800
              Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-15 00:03 +0000
            Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Paul Rubin <no.email@nospam.invalid> - 2024-11-14 16:23 -0800
              Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-15 01:52 +0000
            Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-15 16:26 +0300
              Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Paul Rubin <no.email@nospam.invalid> - 2024-11-15 11:25 -0800
                Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-16 04:47 +0300
              Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-15 22:13 +0000
                Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) John Ames <commodorejohn@gmail.com> - 2024-11-15 15:08 -0800
                Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-16 05:11 +0300
                Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-16 03:28 +0000
                Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-16 10:33 +0300
                Re: Interactive Development (was Re: Any interesting PDP/TECO photos out there?) Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-16 21:53 +0000
    Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-14 06:51 +0000
      Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-14 10:35 +0300
        Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-14 07:56 +0000
        Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-14 22:26 +0000
          Re: Any interesting PDP/TECO photos out there? Aidan Kehoe <kehoea@parhasard.net> - 2024-11-15 07:24 +0000
  Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-14 10:14 +0300
    Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-14 07:55 +0000
  Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-14 22:11 +0000
    Re: Any interesting PDP/TECO photos out there? "Carlos E.R." <robin_listas@es.invalid> - 2024-11-15 01:40 +0100
      Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-15 01:56 +0000
        Re: Any interesting PDP/TECO photos out there? "Carlos E.R." <robin_listas@es.invalid> - 2024-11-15 14:28 +0100
          Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-15 21:58 +0000
            Re: Any interesting PDP/TECO photos out there? "Carlos E.R." <robin_listas@es.invalid> - 2024-11-16 01:18 +0100
              Re: Any interesting PDP/TECO photos out there? Lynn Wheeler <lynn@garlic.com> - 2024-11-15 15:21 -1000
              Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-16 01:52 +0000
                Re: Any interesting PDP/TECO photos out there? "Carlos E.R." <robin_listas@es.invalid> - 2024-11-16 03:03 +0100
                Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-16 03:33 +0000
                Re: Any interesting PDP/TECO photos out there? scott@slp53.sl.home (Scott Lurndal) - 2024-11-16 15:14 +0000
                Re: Any interesting PDP/TECO photos out there? Bob Eager <news0009@eager.cx> - 2024-11-16 22:21 +0000
                Re: Any interesting PDP/TECO photos out there? "John H. Reinhardt" <johnhreinhardt@thereinhardts.org> - 2024-11-16 18:01 -0600
                Re: Any interesting PDP/TECO photos out there? scott@slp53.sl.home (Scott Lurndal) - 2024-11-17 18:12 +0000
                Re: Any interesting PDP/TECO photos out there? Bob Eager <news0009@eager.cx> - 2024-11-17 18:57 +0000
                Re: Any interesting PDP/TECO photos out there? "Carlos E.R." <robin_listas@es.invalid> - 2024-11-16 21:05 +0100
    Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-15 15:49 +0300
      Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-15 16:51 +0300
        Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-15 22:01 +0000
          Re: Any interesting PDP/TECO photos out there? Paul Rubin <no.email@nospam.invalid> - 2024-11-15 15:41 -0800
            Re: Any interesting PDP/TECO photos out there? Bob Eager <news0009@eager.cx> - 2024-11-16 22:32 +0000
          Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-16 05:03 +0300
            Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-16 03:35 +0000
              Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-16 10:20 +0300
      Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-15 22:10 +0000
        Re: Any interesting PDP/TECO photos out there? Robin Haberkorn <robin.haberkorn@googlemail.com> - 2024-11-16 05:09 +0300
          Re: Any interesting PDP/TECO photos out there? Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-16 03:40 +0000
  Re: Any interesting PDP/TECO photos out there? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-11-18 16:57 -0500
    Re: Any interesting PDP/TECO photos out there? Lars Brinkhoff <lars.spam@nocrew.org> - 2024-11-19 14:26 +0000
      Re: Any interesting PDP/TECO photos out there? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-11-19 11:51 -0500

csiph-web