• Looking for historical source of the ex/vi editor

    From Anton Shepelev@anton.txt@gmail.moc to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Sat Nov 23 01:42:05 2024
    From Newsgroup: comp.misc

    Hello, all.

    Have you an idea where one could find the sources of the
    various versions of the ex/vi editor, besides those archived
    at TUHS:

    1BSD/ex-1.1
    2.11BSD/src/ucb/ex
    2.9BSD/usr/src/ucb/ex/ex2
    2.9BSD/usr/src/ucb/ex/ex3
    2BSD/src/ex
    3BSD/usr/src/cmd/ex
    4.1cBSD/usr/src/ucb/ex
    4.2BSD/usr/src/ucb/ex
    4.3BSD-Reno/src/usr.bin/ex
    4.3BSD-Tahoe/usr/src/ucb
    4.3BSD-UWisc/src/ucb/ex
    4.3BSD/usr/src/ucb/ex
    4.4BSD/usr/src/usr.bin/ex
    4BSD/usr/src/cmd/ex
    SunOS-4.1.4/usr.bin/ex
    OpenSolaris_b135/cmd/vi

    These include vv. 1.1, 2.13, 3.2, 3.6, and many variants of
    3.7. Has anything else been preserved to your knowledge?
    --
    () ascii ribbon campaign -- against html e-mail
    /\ www.asciiribbon.org -- against proprietary attachments
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From John McCue@jmccue@magnetar.jmcunx.com to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Sat Nov 23 18:09:52 2024
    From Newsgroup: comp.misc

    Followups trimmed to: comp.unix.bsd.misc

    In comp.unix.bsd.misc Anton Shepelev <anton.txt@gmail.moc> wrote:
    Hello, all.

    Have you an idea where one could find the sources of the
    various versions of the ex/vi editor, besides those archived
    at TUHS:


    I do not know what TUHS is, but there is this, maybe that
    will have what you are looking for.

    https://archive.softwareheritage.org/

    <snip>
    --
    [t]csh(1) - "An elegant shell, for a more... civilized age."
    - Paraphrasing Star Wars
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Geoff Clare@geoff@clare.See-My-Signature.invalid to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Tue Nov 26 14:03:04 2024
    From Newsgroup: comp.misc

    Anton Shepelev wrote:

    Have you an idea where one could find the sources of the
    various versions of the ex/vi editor, besides those archived
    at TUHS:

    [...]

    These include vv. 1.1, 2.13, 3.2, 3.6, and many variants of
    3.7. Has anything else been preserved to your knowledge?

    https://ex-vi.sourceforge.net
    --
    Geoff Clare <netnews@gclare.org.uk>
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Anton Shepelev@anton.txt@g{oogle}mail.com to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Tue Nov 26 19:23:39 2024
    From Newsgroup: comp.misc

    Geoff Clare:

    https://ex-vi.sourceforge.net

    That is Gunnar Ritter's /The Traditional Vi/, a slightly
    modernised version Bill Joy's vi from 2.11BSD, now
    abandoned. I have not found any historical versions
    archived there, except Ritter's own development history in
    CVS.
    --
    () ascii ribbon campaign -- against html e-mail
    /\ www.asciiribbon.org -- against proprietary attachments
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Geoff Clare@geoff@clare.See-My-Signature.invalid to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Wed Nov 27 13:20:37 2024
    From Newsgroup: comp.misc

    Anton Shepelev wrote:

    Geoff Clare:

    https://ex-vi.sourceforge.net

    That is Gunnar Ritter's /The Traditional Vi/, a slightly
    modernised version Bill Joy's vi from 2.11BSD, now
    abandoned. I have not found any historical versions
    archived there, except Ritter's own development history in
    CVS.

    I thought the enhancements might be of interest. As stated on the
    project home page:

    It adds support for international character sets, including
    multibyte encodings such as UTF-8, and some minor enhancements
    that were not present in BSD vi 3.7, but had been included in
    later vi versions for System V or in POSIX.2.
    --
    Geoff Clare <netnews@gclare.org.uk>
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Anton Shepelev@anton.txt@g{oogle}mail.com to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Thu Nov 28 17:17:39 2024
    From Newsgroup: comp.misc

    [Followup-To: comp.unix.bsd.misc]

    Geoff Clare:
    Anton Shepelev:
    Geoff Clare:

    https://ex-vi.sourceforge.net

    That is Gunnar Ritter's /The Traditional Vi/, a slightly
    modernised version Bill Joy's vi from 2.11BSD, now
    bandoned. I have not found any historical versions
    archived there, except Ritter's own development history
    in CVS.

    I thought the enhancements might be of interest.

    Of course, Ritter's enhancements are good, and I will add
    his entire CVS on top of the historical sources. My problem
    right now, however, is the scarcity of the archived
    historical versions of vi.
    --
    () ascii ribbon campaign -- against html e-mail
    /\ www.asciiribbon.org -- against proprietary attachments
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Sebastian@sebastian@here.com.invalid to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Fri Dec 6 22:15:54 2024
    From Newsgroup: comp.misc

    In comp.unix.programmer Anton Shepelev <anton.txt@gmail.moc> wrote:
    Hello, all.

    Have you an idea where one could find the sources of the
    various versions of the ex/vi editor, besides those archived
    at TUHS:

    1BSD/ex-1.1
    2.11BSD/src/ucb/ex
    2.9BSD/usr/src/ucb/ex/ex2
    2.9BSD/usr/src/ucb/ex/ex3
    2BSD/src/ex
    3BSD/usr/src/cmd/ex
    4.1cBSD/usr/src/ucb/ex
    4.2BSD/usr/src/ucb/ex
    4.3BSD-Reno/src/usr.bin/ex
    4.3BSD-Tahoe/usr/src/ucb
    4.3BSD-UWisc/src/ucb/ex
    4.3BSD/usr/src/ucb/ex
    4.4BSD/usr/src/usr.bin/ex
    4BSD/usr/src/cmd/ex
    SunOS-4.1.4/usr.bin/ex
    OpenSolaris_b135/cmd/vi

    These include vv. 1.1, 2.13, 3.2, 3.6, and many variants of
    3.7. Has anything else been preserved to your knowledge?

    If you SSH to 3b2@sdf.org, you can find your way into an emulated
    PDP-11 running System V. It has some version of vi installed,
    with source code. It's possible to extract this code from the
    system by first porting uuencode to it, and then porting a
    version of tar that you can also run someplace else. The tar
    that's installed on the system is not compatible with modern tars,
    nor is it compatible with V7 tar.

    GNU Screen has a command called "log" (default key binding:
    C-a H) that dumps all terminal output to a file. This is
    the best way I can think of to get output from uuencode down
    to your local disk.

    I found it easy to port the tar from V7 to this system, and I
    was also able to port it to Linux.

    I don't know what version of vi it is, but the following
    appears at the end of the READ_ME, and might help identify
    it:

    5/07/82
    HOCC UNIX Support
    Jim Seagraves (houxi!beau)

    Afternote:
    The 70 and vax code has been working for over a
    week on th HOCC machines. Let me know if any problems arise.
    Also, please forward any new and wonderful termcap descriptions.

    The man page says "UNIX 5.0" at the top and is dated 10/10/83. The
    source tree looks different from the 2.11BSD version of vi. The
    man page talks a lot about features that were removed from the editor
    to get it to fit on a PDP-11.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From kludge@kludge@panix.com (Scott Dorsey) to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Sun Dec 8 18:49:43 2024
    From Newsgroup: comp.misc

    Sebastian <sebastian@here.com.invalid> wrote:
    If you SSH to 3b2@sdf.org, you can find your way into an emulated
    PDP-11 running System V. It has some version of vi installed,
    with source code. It's possible to extract this code from the
    system by first porting uuencode to it, and then porting a
    version of tar that you can also run someplace else. The tar
    that's installed on the system is not compatible with modern tars,
    nor is it compatible with V7 tar.

    Something is wrong here. A PDP-11 running SysV? And with the uid "3b2"
    also? And this isn't an AT&T 3B2 running SysV?
    --scott
    --
    "C'est un Nagra. C'est suisse, et tres, tres precis."
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Richard Kettlewell@invalid@invalid.invalid to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Sun Dec 8 20:06:15 2024
    From Newsgroup: comp.misc

    kludge@panix.com (Scott Dorsey) writes:
    Sebastian <sebastian@here.com.invalid> wrote:
    If you SSH to 3b2@sdf.org, you can find your way into an emulated
    PDP-11 running System V. It has some version of vi installed, with
    source code. It's possible to extract this code from the system by
    first porting uuencode to it, and then porting a version of tar that
    you can also run someplace else. The tar that's installed on the
    system is not compatible with modern tars, nor is it compatible with
    V7 tar.

    Something is wrong here. A PDP-11 running SysV?

    That surprised me too, but Wikipedia tells me that SVR1 ran on PDP-11
    and VAX.

    It doesn’t seem to work very well on this emulator however...

    error1

    HALT instruction, PC: 000676 (JSR PC,4(R5))
    sim>
    sim> go

    error2

    HALT instruction, PC: 000716 (JSR PC,4(R5))
    sim>

    And with the uid "3b2" also? And this isn't an AT&T 3B2 running SysV?

    3b2 is just a username, the menu system offers a range of platforms.
    --
    https://www.greenend.org.uk/rjk/
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From cross@cross@spitfire.i.gajendra.net (Dan Cross) to comp.unix.bsd.misc,comp.misc,comp.unix.programmer on Sun Dec 8 21:15:18 2024
    From Newsgroup: comp.misc

    In article <vj4po7$fvi$1@panix2.panix.com>,
    Scott Dorsey <kludge@panix.com> wrote:
    Sebastian <sebastian@here.com.invalid> wrote:
    If you SSH to 3b2@sdf.org, you can find your way into an emulated
    PDP-11 running System V. It has some version of vi installed,
    with source code. It's possible to extract this code from the
    system by first porting uuencode to it, and then porting a
    version of tar that you can also run someplace else. The tar
    that's installed on the system is not compatible with modern tars,
    nor is it compatible with V7 tar.

    Something is wrong here. A PDP-11 running SysV? And with the uid "3b2" >also? And this isn't an AT&T 3B2 running SysV?

    The earliest versions of System V (e.g., Unix 4 and SVR1) ran on
    the PDP-11.

    The above is correct; logging into `3b2@sdf.org` puts one into a
    captive menu environment, and one of the options there is to
    connect to an emulated PDP-11 running SysV; a new instance will
    start if you select that menu option. Then you can, `boot rp0`
    and `0unix` (this will display as `0=unix`).

    - Dan C.

    --- Synchronet 3.20a-Linux NewsLink 1.114