• Re: VI* on VMS

    From Hunter Goatley@21:1/5 to Dennis Boone on Tue Oct 22 08:02:34 2024
    On 10/21/2024 10:46 PM, Dennis Boone wrote:
    > PS: The only place I use vi is on my phone and that is only because you
    > need a proper keyboard to use emacs.

    On Android, Hackers Keyboard will do what you need.

    Unfortunately, I just searched for that on my phone, and Play Store is
    telling me, "This app isn't available for your device because it was
    made for an older version of Android."

    The GitHub site has an old warning of this future possibility.

    Hunter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to arne@vajhoej.dk on Tue Oct 22 12:21:18 2024
    On 2024-10-21, Arne Vajh°j <arne@vajhoej.dk> wrote:
    On 10/21/2024 8:14 AM, Simon Clubley wrote:
    On 2024-10-18, Arne Vajh°j <arne@vajhoej.dk> wrote:
    Code updated to fix a few issues (not supporting
    empty file, having to explicit specify "tpu" as
    argument).

    [snip]

    This code is technically a solution in the same way that writing an
    accounting system in TECO is also technically possible. :-)

    It actually works reasonable nice on a fast x86-86 system. I would
    not want to run it on an old VAX with a lot of users.

    The right solution to automate would be to modify every position
    changing procedure to do a check. But that would mean hacking a lot
    of code.


    No, the "right" solution would be to add a:

    on_key_press(whatever...)

    handler. :-)

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Simon Clubley on Tue Oct 22 08:25:20 2024
    On 10/22/2024 8:21 AM, Simon Clubley wrote:
    On 2024-10-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/21/2024 8:14 AM, Simon Clubley wrote:
    On 2024-10-18, Arne Vajhøj <arne@vajhoej.dk> wrote:
    Code updated to fix a few issues (not supporting
    empty file, having to explicit specify "tpu" as
    argument).

    [snip]

    This code is technically a solution in the same way that writing an
    accounting system in TECO is also technically possible. :-)

    It actually works reasonable nice on a fast x86-86 system. I would
    not want to run it on an old VAX with a lot of users.

    The right solution to automate would be to modify every position
    changing procedure to do a check. But that would mean hacking a lot
    of code.


    No, the "right" solution would be to add a:

    on_key_press(whatever...)

    handler. :-)

    True. But only VSI can do that.

    And I believe there has been no changes to TPU since VMS 5.0.

    And VSI seems to push VMS IDE (VS Code) on PC for advanced
    development.

    So I would not hold my breath waiting for that.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to Rich Alderson on Tue Oct 22 12:28:16 2024
    On 2024-10-21, Rich Alderson <news@alderson.users.panix.com> wrote:
    Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:

    PS: The only place I use vi is on my phone and that is only because you need >> a proper keyboard to use emacs.

    Hunh. I frequently use emacs under Mocha Telnet on my iPhone, if I need to check on something while away from the desk.


    I'm talking about running an editor on the phone itself, not over
    a network connection.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Townley@21:1/5 to All on Tue Oct 22 13:29:45 2024
    On 22/10/2024 13:25, Arne Vajhøj wrote:
    On 10/22/2024 8:21 AM, Simon Clubley wrote:
    On 2024-10-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/21/2024 8:14 AM, Simon Clubley wrote:
    On 2024-10-18, Arne Vajhøj <arne@vajhoej.dk> wrote:
    Code updated to fix a few issues (not supporting
    empty file, having to explicit specify "tpu" as
    argument).

    [snip]

    This code is technically a solution in the same way that writing an
    accounting system in TECO is also technically possible. :-)

    It actually works reasonable nice on a fast x86-86 system. I would
    not want to run it on an old VAX with a lot of users.

    The right solution to automate would be to modify every position
    changing procedure to do a check. But that would mean hacking a lot
    of code.


    No, the "right" solution would be to add a:

        on_key_press(whatever...)

    handler. :-)

    True. But only VSI can do that.

    And I believe there has been no changes to TPU since VMS 5.0.

    And VSI seems to push VMS IDE (VS Code) on PC for advanced
    development.

    So I would not hold my breath waiting for that.

    Arne


    I wonder if they might put it in LSE?

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Chris Townley on Tue Oct 22 08:34:28 2024
    On 10/22/2024 8:29 AM, Chris Townley wrote:
    On 22/10/2024 13:25, Arne Vajhøj wrote:
    On 10/22/2024 8:21 AM, Simon Clubley wrote:
    On 2024-10-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/21/2024 8:14 AM, Simon Clubley wrote:
    On 2024-10-18, Arne Vajhøj <arne@vajhoej.dk> wrote:
    Code updated to fix a few issues (not supporting
    empty file, having to explicit specify "tpu" as
    argument).

    [snip]

    This code is technically a solution in the same way that writing an
    accounting system in TECO is also technically possible. :-)

    It actually works reasonable nice on a fast x86-86 system. I would
    not want to run it on an old VAX with a lot of users.

    The right solution to automate would be to modify every position
    changing procedure to do a check. But that would mean hacking a lot
    of code.


    No, the "right" solution would be to add a:

        on_key_press(whatever...)

    handler. :-)

    True. But only VSI can do that.

    And I believe there has been no changes to TPU since VMS 5.0.

    And VSI seems to push VMS IDE (VS Code) on PC for advanced
    development.

    So I would not hold my breath waiting for that.

    I wonder if they might put it in LSE?

    It would be more natural to add it there.

    But I think LSE is a total dead end. VSI will port
    LSE to x86-64 as is and that will be it.

    VMS IDE is intended to replace all LSE usage.

    EVE will still be needed for let us call it "causual
    editing". VMS IDE is not an obvious choice to add a line
    to SYSTARTUP_VMS.COM.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to Hunter Goatley on Tue Oct 22 12:45:36 2024
    On 2024-10-22, Hunter Goatley <goathunter@goatley.com> wrote:
    On 10/21/2024 10:46 PM, Dennis Boone wrote:
    > PS: The only place I use vi is on my phone and that is only because you >> > need a proper keyboard to use emacs.

    On Android, Hackers Keyboard will do what you need.


    Hmmm, looks like it's time once again for me to review the versions
    of Emacs available for Android. Thanks. (Seriously. :-))

    The last time I looked at this a few years ago, the Emacs version
    available required a hardware keyboard to work instead of the Hacker's
    Keyboard soft keyboard vi is quite happy with.

    Unfortunately, I just searched for that on my phone, and Play Store is telling me, "This app isn't available for your device because it was
    made for an older version of Android."

    The GitHub site has an old warning of this future possibility.


    I hate this kind of arrogant crap from Google. :-(

    In my case, I have used the Hacker's Keyboard on every Android device
    I own or have ever owned and it continues to work so far. I have the
    standalone APK (ie: not installed via Google Play), which I install
    after enabling the untrusted install option in Developer Tools on the
    device.

    I am currently running it on an Android 12 device. I _really_ hope I also
    don't have to start looking for a replacement for the Hacker's Keyboard
    as well because Google breaks some API it needs in a future Android version.

    BTW, from Android 14, Google are also stopping you from outright installing some perfectly working older APKs unless you install them via adb and they
    are also planning to further restrict which older APKs which can be
    installed in future Android versions.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hunter Goatley@21:1/5 to All on Tue Oct 22 09:10:38 2024
    On 10/22/2024 9:04 AM, Arne Vajhøj wrote:
    On 10/22/2024 8:55 AM, Chris Townley wrote:

    MMS still has some relevance (make ports usually misses some VMS
    specific functionality, MMK is an MMS clone)


    For anyone who doesn't know, MMK is more than just an MMS clone. It also
    adds a lot of functionality that MMS doesn't provide.

    Hunter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Chris Townley on Tue Oct 22 09:04:50 2024
    On 10/22/2024 8:55 AM, Chris Townley wrote:
    They have another release of DECSET planned, for all platforms

    With new functionality? In what products?

    My impression is that:

    LSE -> VMS IDE

    CMS -> Git/SVN/Hg

    MMS still has some relevance (make ports usually misses some VMS
    specific functionality, MMK is an MMS clone)

    SCA, DTM and PCA I hear very little about today and I suspect very few
    are using them (I was very impressed by PCA 30-35 years ago, but long time)

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Townley@21:1/5 to All on Tue Oct 22 13:55:06 2024
    On 22/10/2024 13:34, Arne Vajhøj wrote:
    On 10/22/2024 8:29 AM, Chris Townley wrote:
    On 22/10/2024 13:25, Arne Vajhøj wrote:
    On 10/22/2024 8:21 AM, Simon Clubley wrote:
    On 2024-10-21, Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/21/2024 8:14 AM, Simon Clubley wrote:
    On 2024-10-18, Arne Vajhøj <arne@vajhoej.dk> wrote:
    Code updated to fix a few issues (not supporting
    empty file, having to explicit specify "tpu" as
    argument).

    [snip]

    This code is technically a solution in the same way that writing an >>>>>> accounting system in TECO is also technically possible. :-)

    It actually works reasonable nice on a fast x86-86 system. I would
    not want to run it on an old VAX with a lot of users.

    The right solution to automate would be to modify every position
    changing procedure to do a check. But that would mean hacking a lot
    of code.


    No, the "right" solution would be to add a:

        on_key_press(whatever...)

    handler. :-)

    True. But only VSI can do that.

    And I believe there has been no changes to TPU since VMS 5.0.

    And VSI seems to push VMS IDE (VS Code) on PC for advanced
    development.

    So I would not hold my breath waiting for that.

    I wonder if they might put it in LSE?

    It would be more natural to add it there.

    But I think LSE is a total dead end. VSI will port
    LSE to x86-64 as is and that will be it.

    VMS IDE is intended to replace all LSE usage.

    EVE will still be needed for let us call it "causual
    editing". VMS IDE is not an obvious choice to add a line
    to SYSTARTUP_VMS.COM.

    Arne


    They have another release of DECSET planned, for all platforms

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Hunter Goatley on Tue Oct 22 09:30:25 2024
    On 10/22/2024 9:10 AM, Hunter Goatley wrote:
    On 10/22/2024 9:04 AM, Arne Vajhøj wrote:
    MMS still has some relevance (make ports usually misses some VMS
    specific functionality, MMK is an MMS clone)

    For anyone who doesn't know, MMK is more than just an MMS clone. It also
    adds a lot of functionality that MMS doesn't provide.

    OK.

    But it does use DESCRIP.MMS files and not MAKEFILE. files.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert A. Brooks@21:1/5 to Chris Townley on Tue Oct 22 09:21:24 2024
    On 10/22/2024 8:55 AM, Chris Townley wrote:
    On 22/10/2024 13:34, Arne Vajhøj wrote:
    On 10/22/2024 8:29 AM, Chris Townley wrote:

    I wonder if they might put it in LSE?

    It would be more natural to add it there.

    But I think LSE is a total dead end. VSI will port
    LSE to x86-64 as is and that will be it.

    VMS IDE is intended to replace all LSE usage.

    EVE will still be needed for let us call it "causual
    editing". VMS IDE is not an obvious choice to add a line
    to SYSTARTUP_VMS.COM.

    Arne


    They have another release of DECSET planned, for all platforms

    We've been focusing on bug fixes, not ehancements, for the DECset products.

    --
    -- Rob

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Tue Oct 22 20:43:40 2024
    On Tue, 22 Oct 2024 09:30:25 -0400, Arne Vajhøj wrote:

    But it does use DESCRIP.MMS files and not MAKEFILE. files.

    Is there a port of CMake to VMS?

    That’s not the latest hawtness, but I imagine it would still be a step forward.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Tue Oct 22 20:45:09 2024
    On Tue, 22 Oct 2024 08:34:28 -0400, Arne Vajhøj wrote:

    VMS IDE is not an obvious choice to add a line to SYSTARTUP_VMS.COM.

    Is that an rc.local equivalent?

    You’d think by this time VMS would have acquired a more modular service definition architecture, à la systemd.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Tue Oct 22 20:41:52 2024
    On Tue, 22 Oct 2024 08:25:20 -0400, Arne Vajhøj wrote:

    No, the "right" solution would be to add a:

    on_key_press(whatever...)

    handler. :-)

    True. But only VSI can do that.

    What, no custom key bindings in TPU?

    Yet another reason to switch to Emacs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Lawrence D'Oliveiro on Tue Oct 22 17:54:32 2024
    On 10/22/2024 4:41 PM, Lawrence D'Oliveiro wrote:
    On Tue, 22 Oct 2024 08:25:20 -0400, Arne Vajhøj wrote:
    No, the "right" solution would be to add a:

    on_key_press(whatever...)

    handler. :-)

    True. But only VSI can do that.

    What, no custom key bindings in TPU?

    It has. But the above is not a key binding.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Lawrence D'Oliveiro on Tue Oct 22 17:58:54 2024
    On 10/22/2024 4:43 PM, Lawrence D'Oliveiro wrote:
    On Tue, 22 Oct 2024 09:30:25 -0400, Arne Vajhøj wrote:
    But it does use DESCRIP.MMS files and not MAKEFILE. files.

    Is there a port of CMake to VMS?

    I don't think so.

    Even though I believe it has been looked into before.

    That’s not the latest hawtness, but I imagine it would still be a step forward.

    Feel free to start porting.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Tue Oct 22 22:06:00 2024
    On Tue, 22 Oct 2024 17:54:32 -0400, Arne Vajhøj wrote:

    On 10/22/2024 4:41 PM, Lawrence D'Oliveiro wrote:

    On Tue, 22 Oct 2024 08:25:20 -0400, Arne Vajhøj wrote:

    No, the "right" solution would be to add a:

    on_key_press(whatever...)

    handler. :-)

    True. But only VSI can do that.

    What, no custom key bindings in TPU?

    It has. But the above is not a key binding.

    You want some kind of additional hook on every keypress?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to John H. Reinhardt on Tue Oct 22 19:06:55 2024
    On 10/22/2024 6:42 PM, John H. Reinhardt wrote:
    On 10/22/2024 3:45 PM, Lawrence D'Oliveiro wrote:
    On Tue, 22 Oct 2024 08:34:28 -0400, Arne Vajhøj wrote:
    VMS IDE is not an obvious choice to add a line to SYSTARTUP_VMS.COM.

    Is that an rc.local equivalent?

    You’d think by this time VMS would have acquired a more modular service
    definition architecture, à la systemd.

    It does, sort of. It's more modular anyway.  Virtually nobody uses it.
    The SYSTARTUP_VMS.COM method is what most people got started with in pre VAX/VMS 5.0 and few have moved on.  Check these out for info:

    OpenVMS STARTUP - Underappreciated Flexibility - http://www.rlgsc.com/ publications/openvmsstartupunderappreciatedflexibility.html
      The PDF - http://www.rlgsc.com/publications/ openvmsstartupunderappreciatedflexibility.pdf
    Adding a file to Startup - http://www.rlgsc.com/blog/openvms-consultant/ adding-file-to-startup.html

    SYSTARTUP_VMS.COM works fine.

    People have 20-30-40 lines in it. After initial installation they add
    maybe a few lines per year and in rare cases remove a line.

    One does not need a huge advanced system to do that.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John H. Reinhardt@21:1/5 to Lawrence D'Oliveiro on Tue Oct 22 17:42:46 2024
    On 10/22/2024 3:45 PM, Lawrence D'Oliveiro wrote:
    On Tue, 22 Oct 2024 08:34:28 -0400, Arne Vajhøj wrote:

    VMS IDE is not an obvious choice to add a line to SYSTARTUP_VMS.COM.

    Is that an rc.local equivalent?

    You’d think by this time VMS would have acquired a more modular service definition architecture, à la systemd.

    It does, sort of. It's more modular anyway. Virtually nobody uses it. The SYSTARTUP_VMS.COM method is what most people got started with in pre VAX/VMS 5.0 and few have moved on. Check these out for info:

    OpenVMS STARTUP - Underappreciated Flexibility - http://www.rlgsc.com/publications/openvmsstartupunderappreciatedflexibility.html
    The PDF - http://www.rlgsc.com/publications/openvmsstartupunderappreciatedflexibility.pdf
    Adding a file to Startup - http://www.rlgsc.com/blog/openvms-consultant/adding-file-to-startup.html


    --
    John H. Reinhardt

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to John H. Reinhardt on Wed Oct 23 00:09:05 2024
    On Tue, 22 Oct 2024 17:42:46 -0500, John H. Reinhardt wrote:

    Adding a file to Startup - http://www.rlgsc.com/blog/openvms-consultant/adding-file-to-startup.html

    I stopped reading at “keyed RMS files”.

    systemd conforms to the *nix tradition of using plain-text-based config
    files: in this case, the classic .INI file format that was pioneered by Microsoft (or was it IBM?) before being jettisoned in favour of that
    steaming, fetid mess that is the Windows Registry.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Lawrence D'Oliveiro on Tue Oct 22 21:06:13 2024
    On 10/22/2024 6:06 PM, Lawrence D'Oliveiro wrote:
    On Tue, 22 Oct 2024 17:54:32 -0400, Arne Vajhøj wrote:

    On 10/22/2024 4:41 PM, Lawrence D'Oliveiro wrote:

    On Tue, 22 Oct 2024 08:25:20 -0400, Arne Vajhøj wrote:

    No, the "right" solution would be to add a:

    on_key_press(whatever...)

    handler. :-)

    True. But only VSI can do that.

    What, no custom key bindings in TPU?

    It has. But the above is not a key binding.

    You want some kind of additional hook on every keypress?

    That was what is needed to do a check every time
    position is changed without modifying all the position
    moving procedures and without the dirty 0.1 sec AST.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Wed Oct 23 01:52:13 2024
    On Tue, 22 Oct 2024 21:06:13 -0400, Arne Vajhøj wrote:

    On 10/22/2024 6:06 PM, Lawrence D'Oliveiro wrote:

    You want some kind of additional hook on every keypress?

    That was what is needed to do a check every time position is changed
    without modifying all the position moving procedures and without the
    dirty 0.1 sec AST.

    In Emacs, every key is bound to a command; a key that inserts a
    literal character that represents itself is bound to the command
    called “self-insert-command”.

    So you should be able to hook every action via the command hooks <https://www.gnu.org/software/emacs/manual/html_node/elisp/Command-Overview.html>.

    There is also mention of the special post-self-insert-hook here <https://www.gnu.org/software/emacs/manual/html_node/elisp/Standard-Hooks.html>.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Meyer@21:1/5 to All on Wed Oct 16 22:57:38 2024
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation
    4000-60. We have Vim 7.4 installed, but it appears to cause a big spike
    in CPU usage and DIOCNT whenever it's run. The person who installed it
    is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has not shown
    to cause the same kind of performance problems. Does anyone know if VILE
    is indeed well-behaved on VMS?

    --
    David Meyer
    Takarazuka, Japan
    papa@sdf.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Cross@21:1/5 to arne@vajhoej.dk on Wed Oct 16 19:45:40 2024
    In article <vep4bs$2cblv$1@dont-email.me>,
    Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/16/2024 9:57 AM, David Meyer wrote:
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation
    4000-60. We have Vim 7.4 installed, but it appears to cause a big spike
    in CPU usage and DIOCNT whenever it's run. The person who installed it
    is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has not shown
    to cause the same kind of performance problems. Does anyone know if VILE
    is indeed well-behaved on VMS?

    No idea about vile.

    But http://www.polarhome.com/vim/ shows vim 9.1-11 being available
    for VMS.

    Before distching vim, then maybe check if an upgrade helps. From 7.4
    to 9.1 is a pretty big jump.

    You can't run 9.1 on a VAX. I assume that the VAXstation
    4000-60 David mention is the hardware at the SDF museum.

    - Dan C.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to David Meyer on Wed Oct 16 15:32:14 2024
    On 10/16/2024 9:57 AM, David Meyer wrote:
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation
    4000-60. We have Vim 7.4 installed, but it appears to cause a big spike
    in CPU usage and DIOCNT whenever it's run. The person who installed it
    is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has not shown
    to cause the same kind of performance problems. Does anyone know if VILE
    is indeed well-behaved on VMS?

    No idea about vile.

    But http://www.polarhome.com/vim/ shows vim 9.1-11 being available
    for VMS.

    Before distching vim, then maybe check if an upgrade helps. From 7.4
    to 9.1 is a pretty big jump.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Dan Cross on Wed Oct 16 15:53:09 2024
    On 10/16/2024 3:45 PM, Dan Cross wrote:
    In article <vep4bs$2cblv$1@dont-email.me>,
    Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/16/2024 9:57 AM, David Meyer wrote:
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation
    4000-60. We have Vim 7.4 installed, but it appears to cause a big spike
    in CPU usage and DIOCNT whenever it's run. The person who installed it
    is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has not shown >>> to cause the same kind of performance problems. Does anyone know if VILE >>> is indeed well-behaved on VMS?

    No idea about vile.

    But http://www.polarhome.com/vim/ shows vim 9.1-11 being available
    for VMS.

    Before distching vim, then maybe check if an upgrade helps. From 7.4
    to 9.1 is a pretty big jump.

    You can't run 9.1 on a VAX. I assume that the VAXstation
    4000-60 David mention is the hardware at the SDF museum.

    The above link has links to a bunch of vim-91*vax.zip files -
    that is not version 9.1 for VAX??

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dan Cross@21:1/5 to arne@vajhoej.dk on Wed Oct 16 19:54:43 2024
    In article <vep5j4$2cbm0$1@dont-email.me>,
    Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/16/2024 3:45 PM, Dan Cross wrote:
    In article <vep4bs$2cblv$1@dont-email.me>,
    Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/16/2024 9:57 AM, David Meyer wrote:
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation
    4000-60. We have Vim 7.4 installed, but it appears to cause a big spike >>>> in CPU usage and DIOCNT whenever it's run. The person who installed it >>>> is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has not shown >>>> to cause the same kind of performance problems. Does anyone know if VILE >>>> is indeed well-behaved on VMS?

    No idea about vile.

    But http://www.polarhome.com/vim/ shows vim 9.1-11 being available
    for VMS.

    Before distching vim, then maybe check if an upgrade helps. From 7.4
    to 9.1 is a pretty big jump.

    You can't run 9.1 on a VAX. I assume that the VAXstation
    4000-60 David mention is the hardware at the SDF museum.

    The above link has links to a bunch of vim-91*vax.zip files -
    that is not version 9.1 for VAX??

    Ah, I see now; I mixed up VMS and VIM versions there.

    - Dan C.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Dan Cross on Wed Oct 16 16:05:10 2024
    On 10/16/2024 3:54 PM, Dan Cross wrote:
    In article <vep5j4$2cbm0$1@dont-email.me>,
    Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/16/2024 3:45 PM, Dan Cross wrote:
    In article <vep4bs$2cblv$1@dont-email.me>,
    Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/16/2024 9:57 AM, David Meyer wrote:
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation
    4000-60. We have Vim 7.4 installed, but it appears to cause a big spike >>>>> in CPU usage and DIOCNT whenever it's run. The person who installed it >>>>> is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has not shown >>>>> to cause the same kind of performance problems. Does anyone know if VILE >>>>> is indeed well-behaved on VMS?

    No idea about vile.

    But http://www.polarhome.com/vim/ shows vim 9.1-11 being available
    for VMS.

    Before distching vim, then maybe check if an upgrade helps. From 7.4
    to 9.1 is a pretty big jump.

    You can't run 9.1 on a VAX. I assume that the VAXstation
    4000-60 David mention is the hardware at the SDF museum.

    The above link has links to a bunch of vim-91*vax.zip files -
    that is not version 9.1 for VAX??

    Ah, I see now; I mixed up VMS and VIM versions there.

    Upgrading from the non-existing VMS VAX 7.4 to the
    non-existing VMS VAX 9.1 would certainly be a problem.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Chris Townley on Wed Oct 16 18:33:37 2024
    On 10/16/2024 6:26 PM, Chris Townley wrote:
    Arne Vajhøj  <arne@vajhoej.dk> wrote:
    On 10/16/2024 9:57 AM, David Meyer wrote:
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation >>>>>>> 4000-60. We have Vim 7.4 installed, but it appears to cause a big >>>>>>> spike
    in CPU usage and DIOCNT whenever it's run. The person who
    installed it
    is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has
    not shown
    to cause the same kind of performance problems. Does anyone know >>>>>>> if VILE
    is indeed well-behaved on VMS?

    No idea about vile.

    But http://www.polarhome.com/vim/ shows vim 9.1-11 being available >>>>>> for VMS.

    Before distching vim, then maybe check if an upgrade helps. From 7.4 >>>>>> to 9.1 is a pretty big jump.

    Why would anyone want use vi, or vim on VMS?

    What is wrong with eve/tpu? or even LSE?

    EDT, EVE and LSE are the VMS way to edit.

    I always use a heavily customized EVE.

    But if somebody is doing 98% *nix work and
    2% VMS work, then vi(m) may make sense.

    OP asked. I am sure he knows about the VMS
    editors.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Townley@21:1/5 to All on Wed Oct 16 23:26:58 2024
    On 16/10/2024 21:05, Arne Vajhøj wrote:
    On 10/16/2024 3:54 PM, Dan Cross wrote:
    In article <vep5j4$2cbm0$1@dont-email.me>,
    Arne Vajhøj  <arne@vajhoej.dk> wrote:
    On 10/16/2024 3:45 PM, Dan Cross wrote:
    In article <vep4bs$2cblv$1@dont-email.me>,
    Arne Vajhøj  <arne@vajhoej.dk> wrote:
    On 10/16/2024 9:57 AM, David Meyer wrote:
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation >>>>>> 4000-60. We have Vim 7.4 installed, but it appears to cause a big
    spike
    in CPU usage and DIOCNT whenever it's run. The person who
    installed it
    is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has not >>>>>> shown
    to cause the same kind of performance problems. Does anyone know
    if VILE
    is indeed well-behaved on VMS?

    No idea about vile.

    But http://www.polarhome.com/vim/ shows vim 9.1-11 being available
    for VMS.

    Before distching vim, then maybe check if an upgrade helps. From 7.4 >>>>> to 9.1 is a pretty big jump.

    You can't run 9.1 on a VAX.  I assume that the VAXstation
    4000-60 David mention is the hardware at the SDF museum.

    The above link has links to a bunch of vim-91*vax.zip files -
    that is not version 9.1 for VAX??

    Ah, I see now; I mixed up VMS and VIM versions there.

    Upgrading from the non-existing VMS VAX 7.4 to the
    non-existing VMS VAX 9.1 would certainly be a problem.

    Arne


    Why would anyone want use vi, or vim on VMS?

    What is wrong with eve/tpu? or even LSE?

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Wed Oct 16 23:01:08 2024
    On Wed, 16 Oct 2024 18:33:37 -0400, Arne Vajhøj wrote:

    But if somebody is doing 98% *nix work and 2% VMS work, then vi(m) may
    make sense.

    Or you could do all your editing on *nix and set up an automated system
    for copying files across to VMS. Treat it as an embedded system, in other words.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Meyer@21:1/5 to Chris Townley on Thu Oct 17 08:40:32 2024
    Chris Townley <news@cct-net.co.uk> writes:

    On 10/16/2024 3:45 PM, Dan Cross wrote:
    ... I assume that the VAXstation
    4000-60 David mention is the hardware at the SDF museum.

    Correct.

    Why would anyone want use vi, or vim on VMS?

    What is wrong with eve/tpu? or even LSE?

    I have become a fan of EVE, and recommend EDT for new VMS users whose
    terminals don't have a keypad.

    But some people like to try a new OS without having to learn a new
    editor. And since a previous administrator thought it was worthwhile to
    install VIM and VILE, I don't feel like deleting them unless they cause unfixable problems. Will give Vim 9.1 a try.

    --
    David Meyer
    Takarazuka, Japan
    papa@sdf.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave Froble@21:1/5 to Chris Townley on Wed Oct 16 20:26:10 2024
    On 10/16/2024 6:26 PM, Chris Townley wrote:
    On 16/10/2024 21:05, Arne Vajhøj wrote:
    On 10/16/2024 3:54 PM, Dan Cross wrote:
    In article <vep5j4$2cbm0$1@dont-email.me>,
    Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/16/2024 3:45 PM, Dan Cross wrote:
    In article <vep4bs$2cblv$1@dont-email.me>,
    Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/16/2024 9:57 AM, David Meyer wrote:
    I'm helping operate an OpenVMS V7.3 system running on a VAXstation >>>>>>> 4000-60. We have Vim 7.4 installed, but it appears to cause a big spike >>>>>>> in CPU usage and DIOCNT whenever it's run. The person who installed it >>>>>>> is no longer with us, and we are considering deleting Vim.

    We also have VILE installed, which limited experimentation has not shown
    to cause the same kind of performance problems. Does anyone know if VILE
    is indeed well-behaved on VMS?

    No idea about vile.

    But http://www.polarhome.com/vim/ shows vim 9.1-11 being available >>>>>> for VMS.

    Before distching vim, then maybe check if an upgrade helps. From 7.4 >>>>>> to 9.1 is a pretty big jump.

    You can't run 9.1 on a VAX. I assume that the VAXstation
    4000-60 David mention is the hardware at the SDF museum.

    The above link has links to a bunch of vim-91*vax.zip files -
    that is not version 9.1 for VAX??

    Ah, I see now; I mixed up VMS and VIM versions there.

    Upgrading from the non-existing VMS VAX 7.4 to the
    non-existing VMS VAX 9.1 would certainly be a problem.

    Arne


    Why would anyone want use vi, or vim on VMS?

    What is wrong with eve/tpu? or even LSE?


    Could be what the user is used to using ...

    --
    David Froble Tel: 724-529-0450
    Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
    DFE Ultralights, Inc.
    170 Grimplin Road
    Vanderbilt, PA 15486

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to arne@vajhoej.dk on Wed Oct 23 12:11:37 2024
    On 2024-10-22, Arne Vajh°j <arne@vajhoej.dk> wrote:
    On 10/22/2024 4:43 PM, Lawrence D'Oliveiro wrote:
    On Tue, 22 Oct 2024 09:30:25 -0400, Arne Vajh°j wrote:
    But it does use DESCRIP.MMS files and not MAKEFILE. files.

    Is there a port of CMake to VMS?

    I don't think so.

    Even though I believe it has been looked into before.


    John's working on it as part of the move to a modern LLVM.

    I don't know the current status.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to Lawrence D'Oliveiro on Wed Oct 23 12:19:00 2024
    On 2024-10-22, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    On Tue, 22 Oct 2024 17:42:46 -0500, John H. Reinhardt wrote:

    Adding a file to Startup -
    http://www.rlgsc.com/blog/openvms-consultant/adding-file-to-startup.html

    I stopped reading at ?keyed RMS files?.

    systemd conforms to the *nix tradition of using plain-text-based config files: in this case, the classic .INI file format that was pioneered by Microsoft (or was it IBM?) before being jettisoned in favour of that steaming, fetid mess that is the Windows Registry.

    You mean the .INI file structure that has no concept of a list of "things"
    or a custom data structure so that you have to list the same key more than
    once in a systemd config file when you need to build a list structure ?

    And before you go into denial about that:

    See https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html

    |Various settings are allowed to be specified more than once, in which case |the interpretation depends on the setting. Often, multiple settings form a |list, and setting to an empty value "resets", which means that previous |assignments are ignored. When this is allowed, it is mentioned in the |description of the setting. Note that using multiple assignments to the
    |same value makes the file incompatible with parsers for the XDG .desktop
    |file format.

    YUCK!!!

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to Simon Clubley on Wed Oct 23 17:53:44 2024
    On 2024-10-23, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:

    You have to grant it file access permissions, but you are prompted about
    that in the welcome screen. Note that this is on F-Droid, NOT Google
    Play (with all the checks Google Play does), so that may or may not be
    a concern for you.


    That may be a little unclear for you, so I will restate that as: it is on F-Droid, not Google Play, so the APK will not have the Google Play
    specific checks that Google apply before they will list an application
    on Google Play.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to Simon Clubley on Wed Oct 23 17:31:06 2024
    On 2024-10-22, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
    On 2024-10-22, Hunter Goatley <goathunter@goatley.com> wrote:
    On 10/21/2024 10:46 PM, Dennis Boone wrote:
    > PS: The only place I use vi is on my phone and that is only because you >>> > need a proper keyboard to use emacs.

    On Android, Hackers Keyboard will do what you need.


    Hmmm, looks like it's time once again for me to review the versions
    of Emacs available for Android. Thanks. (Seriously. :-))

    The last time I looked at this a few years ago, the Emacs version
    available required a hardware keyboard to work instead of the Hacker's Keyboard soft keyboard vi is quite happy with.


    I did some exploring last night and found:

    https://f-droid.org/en/packages/org.gnu.emacs/

    There are reports about this build having some problems, but all the
    basic stuff I tried worked OK on Android 12 and it works just fine with
    the Hacker's Keyboard.

    You have to grant it file access permissions, but you are prompted about
    that in the welcome screen. Note that this is on F-Droid, NOT Google
    Play (with all the checks Google Play does), so that may or may not be
    a concern for you.

    One nice feature is that it integrates into Android so that in the Files application you are given an option (in Open with) to open the file with
    Emacs.

    Unfortunately, I just searched for that on my phone, and Play Store is
    telling me, "This app isn't available for your device because it was
    made for an older version of Android."

    The GitHub site has an old warning of this future possibility.


    I hate this kind of arrogant crap from Google. :-(

    In my case, I have used the Hacker's Keyboard on every Android device
    I own or have ever owned and it continues to work so far. I have the standalone APK (ie: not installed via Google Play), which I install
    after enabling the untrusted install option in Developer Tools on the
    device.

    I am currently running it on an Android 12 device. I _really_ hope I also don't have to start looking for a replacement for the Hacker's Keyboard
    as well because Google breaks some API it needs in a future Android version.


    I also did a quick check last night for what other soft keyboards might
    be available and I found one called Unexpected Keyboard at:

    https://f-droid.org/en/packages/juloo.keyboard2/

    This one is also found on Google Play as well. It's better than the
    standard Android keyboard, but while it's got some interesting features,
    I don't find it overall to be as good or as nice as the Hacker's Keyboard.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Berryman@21:1/5 to Hunter Goatley on Wed Oct 23 14:47:30 2024
    On 10/22/24 7:10 AM, Hunter Goatley wrote:
    On 10/22/2024 9:04 AM, Arne Vajhøj wrote:
    On 10/22/2024 8:55 AM, Chris Townley wrote:

    MMS still has some relevance (make ports usually misses some VMS
    specific functionality, MMK is an MMS clone)


    For anyone who doesn't know, MMK is more than just an MMS clone. It also
    adds a lot of functionality that MMS doesn't provide.

    Unfortunately, it is also missing some MMS functionality. For example,
    it would be really nice if $(wildcard ...) could be fixed.

    Mark Berryman

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hunter Goatley@21:1/5 to Simon Clubley on Wed Oct 23 20:04:31 2024
    On 10/23/2024 1:53 PM, Simon Clubley wrote:

    That may be a little unclear for you, so I will restate that as: it is on F-Droid, not Google Play, so the APK will not have the Google Play
    specific checks that Google apply before they will list an application
    on Google Play.

    I was going to check F-Droid to see if was there, but haven't had time
    yet. Thanks.

    Hunter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to Chris Townley on Thu Oct 17 12:37:08 2024
    On 2024-10-16, Chris Townley <news@cct-net.co.uk> wrote:

    Why would anyone want use vi, or vim on VMS?


    VI on VMS is just about using what you already know IMHO, in the same
    way as I enable EDT keypad mapping in emacs.

    What is wrong with eve/tpu? or even LSE?


    However, when it comes to emacs, it does a _lot_ that EVE does not do.
    For one simple but very important example, you have brace matching in
    emacs so you can easily check the closing brace matches the correct
    opening brace.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Simon Clubley on Thu Oct 17 08:53:27 2024
    On 10/17/2024 8:37 AM, Simon Clubley wrote:
    What is wrong with eve/tpu? or even LSE?

    However, when it comes to emacs, it does a _lot_ that EVE does not do.
    For one simple but very important example, you have brace matching in
    emacs so you can easily check the closing brace matches the correct
    opening brace.

    EVE does not have that out of the box.

    But then EVE has relative little out of the box.

    You can add it.

    Either DIY or grab a copy of Kenneth Faitfield's
    EVE_MATCH_DELIMITORS.

    I am afraid there are no online archive of INFO-TPU, but
    the most valuable pieces will have survived somewhere
    (I got the above).

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Townley@21:1/5 to Simon Clubley on Thu Oct 17 13:43:44 2024
    On 17/10/2024 13:37, Simon Clubley wrote:
    On 2024-10-16, Chris Townley <news@cct-net.co.uk> wrote:

    Why would anyone want use vi, or vim on VMS?


    VI on VMS is just about using what you already know IMHO, in the same
    way as I enable EDT keypad mapping in emacs.

    What is wrong with eve/tpu? or even LSE?


    However, when it comes to emacs, it does a _lot_ that EVE does not do.
    For one simple but very important example, you have brace matching in
    emacs so you can easily check the closing brace matches the correct
    opening brace.

    Simon.


    Eight Meg and Continuously Swapping ISTR

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John H. Reinhardt@21:1/5 to Dave Froble on Thu Oct 17 07:23:38 2024
    On 10/16/2024 7:26 PM, Dave Froble wrote:
    On 10/16/2024 6:26 PM, Chris Townley wrote:


    Why would anyone want use vi, or vim on VMS?

    What is wrong with eve/tpu? or even LSE?


    Could be what the user is used to using ...


    What I was going to say, muscle (finger) memory...

    After roughly 40 years of EDT/EVE/TPU (and TECO) and around 30 years of VI my fingers remember both, just sometimes not at the correct time. I've thought about adding EMACS but I'm not sure how much memory space my fingers have left.

    --
    John H. Reinhardt

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to All on Thu Oct 17 08:57:30 2024
    On 10/17/2024 8:53 AM, Arne Vajhøj wrote:
    On 10/17/2024 8:37 AM, Simon Clubley wrote:
    What is wrong with eve/tpu? or even LSE?

    However, when it comes to emacs, it does a _lot_ that EVE does not do.
    For one simple but very important example, you have brace matching in
    emacs so you can easily check the closing brace matches the correct
    opening brace.

    EVE does not have that out of the box.

    But then EVE has relative little out of the box.

    You can add it.

    Either DIY or grab a copy of Kenneth Faitfield's
    EVE_MATCH_DELIMITORS.

    I am afraid there are no online archive of INFO-TPU, but
    the most valuable pieces will have survived somewhere
    (I got the above).

    Here it is.

    Arne

    !++
    ! This procedure highlights (in BOLD, REVERSE video) matching pairs
    ! of delimitors, the first of which is taken to be the character at
    ! the current cursor position. Highlighting is turned off by invoking
    ! this procedure with the cursor positioned on a non-delimitor character.
    ! Subsequent invocations turn off the highlighting on previously matched
    ! pairs, as well.
    !
    ! This procedure uses the global marker variables khf$x_match1_position,
    ! khf$x_match2_position, khf$x_match3_position, and khf$x_match4_position.
    !
    ! Author/Date: K.H. Fairfield, 16-Jan-1988
    !
    !--
    Procedure Eve_Match_Delimitors
    ! --------------------
    Local saved_mark, ! mark current position
    first_char, ! first character of matching pair
    last_char, ! second character of matching pair
    direction, ! search direction
    n; ! character position in khf$kt_left_delims or
    ! khf$kt_right_delims string.


    On_Error
    [TPU$_CONTROLC]:
    Eve$Learn_Abort;
    Eve$$Restore_Position (saved_mark);
    [OTHERWISE]:
    Eve$$Restore_Position (saved_mark);
    Endon_Error;


    saved_mark := Mark (NONE);

    !+
    ! Make an early return here if the current position is the same
    ! position as the last previously marked delimitor.
    !-
    If khf$x_match1_position <> 0 Then
    If saved_mark = khf$x_match1_position Then

    khf$x_match1_position:= 0;
    khf$x_match2_position:= 0;
    khf$x_match3_position:= 0;
    khf$x_match4_position:= 0;
    Return (TRUE);

    Endif;
    Endif;

    first_char := CURRENT_CHARACTER;

    n := Index (khf$kt_left_delims, first_char);

    If n > 0 Then
    last_char := Substr (khf$kt_right_delims, n, 1);
    direction := FORWARD;
    Else
    n := Index (khf$kt_right_delims, first_char);

    If n > 0 Then
    last_char := Substr (khf$kt_left_delims, n, 1);
    direction := REVERSE;
    Else
    !+
    ! Current_Character was not a delimitor. If highlighting is on, turn it
    ! off, else issue an error message.
    !-
    If khf$x_match1_position = 0 Then
    Eve$message ("The current character, " + first_char +
    ", is not a valid delimitor to match.");
    Endif;
    khf$x_match1_position:= 0;
    khf$x_match2_position:= 0;
    khf$x_match3_position:= 0;
    khf$x_match4_position:= 0;
    Return (FALSE);
    Endif;
    Endif;

    khf$x_match1_position:= Mark (BOLD);
    khf$x_match2_position:= Mark (REVERSE);

    If Khf_Find_Match (first_char, last_char, direction) = 1 Then
    khf$x_match3_position:= Mark (BOLD);
    khf$x_match4_position:= Mark (REVERSE);
    Update (CURRENT_WINDOW);
    Position (khf$x_match1_position);
    Return (TRUE);
    Else
    Position (khf$x_match1_position);
    khf$x_match1_position:= 0;
    khf$x_match2_position:= 0;
    khf$x_match3_position:= 0;
    khf$x_match4_position:= 0;
    Eve$message (" Could not find the matching " + last_char +
    " character for the current character, " + first_char);
    Return (FALSE);
    Endif;


    EndProcedure; ! Eve_Match_Delimitors


    !++
    ! The following procedure does the actually search for the matching
    ! delimitor character. A recursive algorithm is used so that intervening
    ! pairs of matched delimitors are not mistakenly selected as the match.
    !
    ! Input Parameters:
    !
    ! first the delimitor character whose mate is being sought
    !
    ! last the matching delimitor character
    !
    ! direction the direction to search. If first_char is a right-
    ! delimitor, the search direction is FORWARD,
    ! otherwise it is REVERSE.
    !
    ! Author/Date: K.H. Fairfield, 16-Jan-1988
    !-

    Procedure Khf_Find_Match (first, last, direction)
    ! --------------
    Local this_patt, this_range;

    this_patt := first + last;
    Loop
    If direction = FORWARD Then
    Move_Horizontal (1);
    Else
    Move_Horizontal (-1);
    Endif;
    this_range := Search_Quietly (Any (this_patt), direction);
    If this_range <> 0
    Then
    Position (this_range);
    Else
    Return (0);
    Endif;
    If CURRENT_CHARACTER = last Then
    Return (1);
    Else
    If Khf_Find_Match (first, last, direction) = 0 Then
    Return (0);
    Endif;
    Endif;
    Endloop;

    Endprocedure; ! Khf_Find_Match

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Thu Oct 17 21:18:14 2024
    On Thu, 17 Oct 2024 08:53:27 -0400, Arne Vajhøj wrote:

    But then EVE has relative little out of the box.

    Soon as I discovered EVE, I created my own adaptation, which I called “PEEVE” (“Programmer’s Extension of EVE”, or something like that).

    I didn’t have any way of taking a copy with me when I left the University, and no doubt any backup tapes from that decades-ago time are long gone ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to John H. Reinhardt on Thu Oct 17 21:16:07 2024
    On Thu, 17 Oct 2024 07:23:38 -0500, John H. Reinhardt wrote:

    After roughly 40 years of EDT/EVE/TPU (and TECO) and around 30 years of
    VI my fingers remember both, just sometimes not at the correct time.
    I've thought about adding EMACS but I'm not sure how much memory space
    my fingers have left.

    In my case, I put up with vi because that was the only thing you could be
    sure of having on all the proprietary Unix® systems.

    Once Unix® went defunct and Linux took over, I switched to Emacs, and
    (almost) never looked back.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Lawrence D'Oliveiro on Thu Oct 17 21:06:56 2024
    On 10/17/2024 5:16 PM, Lawrence D'Oliveiro wrote:
    On Thu, 17 Oct 2024 07:23:38 -0500, John H. Reinhardt wrote:
    After roughly 40 years of EDT/EVE/TPU (and TECO) and around 30 years of
    VI my fingers remember both, just sometimes not at the correct time.
    I've thought about adding EMACS but I'm not sure how much memory space
    my fingers have left.

    In my case, I put up with vi because that was the only thing you could be sure of having on all the proprietary Unix® systems.

    Once Unix® went defunct and Linux took over, I switched to Emacs, and (almost) never looked back.

    No guarantee that emacs is installed on a Linux system. I am not even
    sure that it is common to have it installed on servers.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Fri Oct 18 03:17:08 2024
    On Thu, 17 Oct 2024 21:06:56 -0400, Arne Vajhøj wrote:

    No guarantee that emacs is installed on a Linux system.

    It’s in the standard repos for all the common distros.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Lawrence D'Oliveiro on Fri Oct 18 06:57:06 2024
    On 10/17/2024 11:17 PM, Lawrence D'Oliveiro wrote:
    On Thu, 17 Oct 2024 21:06:56 -0400, Arne Vajhøj wrote:
    No guarantee that emacs is installed on a Linux system.

    It’s in the standard repos for all the common distros.

    It exist yes.

    And for ones own system then no problem installing it.
    But if one is working on somebody elses system, then
    it may be more complicated.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon Clubley@21:1/5 to arne@vajhoej.dk on Fri Oct 18 12:09:23 2024
    On 2024-10-17, Arne Vajh°j <arne@vajhoej.dk> wrote:
    On 10/17/2024 8:53 AM, Arne Vajh°j wrote:
    On 10/17/2024 8:37 AM, Simon Clubley wrote:
    What is wrong with eve/tpu? or even LSE?

    However, when it comes to emacs, it does a _lot_ that EVE does not do.
    For one simple but very important example, you have brace matching in
    emacs so you can easily check the closing brace matches the correct
    opening brace.

    EVE does not have that out of the box.

    But then EVE has relative little out of the box.

    You can add it.

    Either DIY or grab a copy of Kenneth Faitfield's
    EVE_MATCH_DELIMITORS.

    I am afraid there are no online archive of INFO-TPU, but
    the most valuable pieces will have survived somewhere
    (I got the above).

    Here it is.


    [snip]

    How is this run ? Do you have to manually press a key to do the matching
    or does the routine get called automatically as you type (as in emacs) ?

    I also don't see what happens if the opening brace is off the top of the screen. For emacs, it shows the matching source code in the status line
    at the bottom of the screen in this case.

    Simon.

    --
    Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
    Walking destinations on a map are further away than they appear.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to Simon Clubley on Fri Oct 18 08:48:04 2024
    On 10/18/2024 8:09 AM, Simon Clubley wrote:
    On 2024-10-17, Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/17/2024 8:53 AM, Arne Vajhøj wrote:
    On 10/17/2024 8:37 AM, Simon Clubley wrote:
    What is wrong with eve/tpu? or even LSE?

    However, when it comes to emacs, it does a _lot_ that EVE does not do. >>>> For one simple but very important example, you have brace matching in
    emacs so you can easily check the closing brace matches the correct
    opening brace.

    EVE does not have that out of the box.

    But then EVE has relative little out of the box.

    You can add it.

    Either DIY or grab a copy of Kenneth Faitfield's
    EVE_MATCH_DELIMITORS.

    I am afraid there are no online archive of INFO-TPU, but
    the most valuable pieces will have survived somewhere
    (I got the above).

    Here it is.

    [snip]

    How is this run ? Do you have to manually press a key to do the matching
    or does the routine get called automatically as you type (as in emacs) ?

    As is it is just a command. You can bind that command to a key of
    your choice.

    Doing it automatically is an interesting question. I don't know how, but
    maybe there is a way in TPU - an "on something changed event". I don't
    think anyone wanted to do that back then (late 80's early 90's), but
    with todays CPU's then why not.

    I also don't see what happens if the opening brace is off the top of the screen. For emacs, it shows the matching source code in the status line
    at the bottom of the screen in this case.

    It definitely does not use status line. It just highlights and when
    you scroll down you can see it as highlighted. That would
    obviously not work with the automatic process you envision above
    and VT where scrolling change current position.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to All on Fri Oct 18 09:26:11 2024
    On 10/18/2024 8:48 AM, Arne Vajhøj wrote:
    On 10/18/2024 8:09 AM, Simon Clubley wrote:
    On 2024-10-17, Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/17/2024 8:53 AM, Arne Vajhøj wrote:
    On 10/17/2024 8:37 AM, Simon Clubley wrote:
    For one simple but very important example, you have brace matching in >>>>> emacs so you can easily check the closing brace matches the correct
    opening brace.

    EVE does not have that out of the box.

    But then EVE has relative little out of the box.

    You can add it.

    Either DIY or grab a copy of Kenneth Faitfield's
    EVE_MATCH_DELIMITORS.

    I am afraid there are no online archive of INFO-TPU, but
    the most valuable pieces will have survived somewhere
    (I got the above).

    Here it is.

    [snip]

    How is this run ? Do you have to manually press a key to do the matching
    or does the routine get called automatically as you type (as in emacs) ?

    As is it is just a command. You can bind that command to a key of
    your choice.

    Doing it automatically is an interesting question. I don't know how, but maybe there is a way in TPU - an "on something changed event". I don't
    think anyone wanted to do that back then (late 80's early 90's), but
    with todays CPU's then why not.

    I took a look at the TPU manual. It does not look like there
    is anything smart for this.

    It would of course be possible to do a callout in all
    procedures that change current position. But that is a very
    intrusive solution.

    Seems like CTRL/whatever is the best practical.

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to All on Fri Oct 18 13:47:18 2024
    On 10/18/2024 9:26 AM, Arne Vajhøj wrote:
    On 10/18/2024 8:48 AM, Arne Vajhøj wrote:
    On 10/18/2024 8:09 AM, Simon Clubley wrote:
    On 2024-10-17, Arne Vajhøj <arne@vajhoej.dk> wrote:
    On 10/17/2024 8:53 AM, Arne Vajhøj wrote:
    On 10/17/2024 8:37 AM, Simon Clubley wrote:
    For one simple but very important example, you have brace matching in >>>>>> emacs so you can easily check the closing brace matches the correct >>>>>> opening brace.

    EVE does not have that out of the box.

    But then EVE has relative little out of the box.

    You can add it.

    Either DIY or grab a copy of Kenneth Faitfield's
    EVE_MATCH_DELIMITORS.

    I am afraid there are no online archive of INFO-TPU, but
    the most valuable pieces will have survived somewhere
    (I got the above).

    Here it is.

    [snip]

    How is this run ? Do you have to manually press a key to do the matching >>> or does the routine get called automatically as you type (as in emacs) ?

    As is it is just a command. You can bind that command to a key of
    your choice.

    Doing it automatically is an interesting question. I don't know how, but
    maybe there is a way in TPU - an "on something changed event". I don't
    think anyone wanted to do that back then (late 80's early 90's), but
    with todays CPU's then why not.

    I took a look at the TPU manual. It does not look like there
    is anything smart for this.

    It would of course be possible to do a callout in all
    procedures that change current position. But that is a very
    intrusive solution.

    Seems like CTRL/whatever is the best practical.

    Nothing in the TPU manual, but something in the TPU$ manual.

    This is not pretty, but it seems to work.

    procedure eve_auto_match()
    if (current_character = "{") or
    (current_character = "(") or
    (current_character = ")") or
    (current_character = "}") then
    eve_match_delimitors();
    endif
    endprocedure;

    #include <stdio.h>
    #include <stdint.h>

    #include <descrip.h>
    #include <tpudef.h>
    #include <starlet.h>
    #include <lib$routines.h>
    #include <tpu$routines.h>

    static const uint32_t MATCH_DELIM_ACTION = 1;

    static void setup_timer();

    static void do_match()
    {
    tpu$trigger_async_action(&MATCH_DELIM_ACTION);
    setup_timer();
    }

    static void setup_timer()
    {
    uint64_t tmo = 1000000; // 0.1 second
    sys$setimr(0, &tmo, do_match, 0, 0);
    }

    static uint32_t cmd_handler()
    {
    char cmdlin[1024];
    uint16_t cmdlin_len;
    $DESCRIPTOR(cmdlin_desc, cmdlin);
    uint32_t fileio_desc[2] = { (uint32_t)&tpu$fileio, 0 };
    lib$get_foreign(&cmdlin_desc, 0, &cmdlin_len);
    cmdlin_desc.dsc$w_length = cmdlin_len;
    return tpu$cliparse(&cmdlin_desc, fileio_desc, NULL);
    }

    int main(int argc, char *argv[])
    {
    lib$establish(tpu$handler);
    uint32_t cmd_handler_desc[2] = { (uint32_t)&cmd_handler, 0 };
    tpu$initialize(cmd_handler_desc, 0);
    tpu$execute_inifile();
    $DESCRIPTOR(matchdelim_desc, "EVE_AUTO_MATCH()");
    tpu$specify_async_action(&MATCH_DELIM_ACTION, &matchdelim_desc);
    setup_timer();
    tpu$control();
    uint32_t flags = TPU$M_DELETE_CONTEXT;
    tpu$cleanup(&flags);
    return 0;
    }

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Fri Oct 18 21:05:40 2024
    On Fri, 18 Oct 2024 06:57:06 -0400, Arne Vajhøj wrote:

    But if one is working on somebody elses system, then it may be more complicated.

    If I am expected to be primarily responsible for a customer’s servers,
    then I expect to be given reasonably free rein to set them up as I see
    fit.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Arne_Vajh=C3=B8j?=@21:1/5 to All on Fri Oct 18 20:42:59 2024
    On 10/18/2024 1:47 PM, Arne Vajhøj wrote:
    On 10/18/2024 9:26 AM, Arne Vajhøj wrote:
    On 10/18/2024 8:48 AM, Arne Vajhøj wrote:
    Doing it automatically is an interesting question. I don't know how, but >>> maybe there is a way in TPU - an "on something changed event". I don't
    think anyone wanted to do that back then (late 80's early 90's), but
    with todays CPU's then why not.

    I took a look at the TPU manual. It does not look like there
    is anything smart for this.

    Nothing in the TPU manual, but something in the TPU$ manual.

    This is not pretty, but it seems to work.

    Code updated to fix a few issues (not supporting
    empty file, having to explicit specify "tpu" as
    argument).

    procedure eve_auto_match()
    if mark (NONE) <> end_of(current_buffer) then
    if (current_character = "{") or
    (current_character = "(") or
    (current_character = ")") or
    (current_character = "}") then
    eve_match_delimitors();
    endif;
    endif;
    endprocedure;

    #include <stdio.h>
    #include <string.h>
    #include <stdint.h>

    #include <descrip.h>
    #include <tpudef.h>
    #include <starlet.h>
    #include <lib$routines.h>
    #include <tpu$routines.h>

    static const uint32_t MATCH_DELIM_ACTION = 1;

    static void setup_timer();

    static void do_match()
    {
    tpu$trigger_async_action(&MATCH_DELIM_ACTION);
    setup_timer();
    }

    static void setup_timer()
    {
    uint64_t tmo = 1000000; // 0.1 second
    sys$setimr(0, &tmo, do_match, 0, 0);
    }

    static uint32_t cmd_handler()
    {
    char cmdlin[1024];
    $DESCRIPTOR(cmdlin_desc, cmdlin);
    uint16_t cmdlin_len;
    uint32_t fileio_desc[2] = { (uint32_t)&tpu$fileio, 0 };
    strcpy(cmdlin, "tpu ");
    cmdlin_desc.dsc$a_pointer += 4;
    cmdlin_desc.dsc$w_length -= 4;
    lib$get_foreign(&cmdlin_desc, 0, &cmdlin_len);
    cmdlin_desc.dsc$a_pointer -= 4;
    cmdlin_desc.dsc$w_length = 4 + cmdlin_len;
    return tpu$cliparse(&cmdlin_desc, fileio_desc, NULL);
    }

    int main(int argc, char *argv[])
    {
    $DESCRIPTOR(matchdelim_desc, "EVE_AUTO_MATCH()");
    uint32_t cmd_handler_desc[2] = { (uint32_t)&cmd_handler, 0 };
    uint32_t flags = TPU$M_DELETE_CONTEXT;
    lib$establish(tpu$handler);
    tpu$initialize(cmd_handler_desc, 0);
    tpu$execute_inifile();
    tpu$specify_async_action(&MATCH_DELIM_ACTION, &matchdelim_desc);
    setup_timer();
    tpu$control();
    tpu$cleanup(&flags);
    return 0;
    }

    Arne

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dave Froble@21:1/5 to Lawrence D'Oliveiro on Fri Oct 18 22:18:44 2024
    On 10/18/2024 5:05 PM, Lawrence D'Oliveiro wrote:
    On Fri, 18 Oct 2024 06:57:06 -0400, Arne Vajhøj wrote:

    But if one is working on somebody elses system, then it may be more
    complicated.

    If I am expected to be primarily responsible for a customer’s servers,
    then I expect to be given reasonably free rein to set them up as I see
    fit.


    That was always my attitude.

    --
    David Froble Tel: 724-529-0450
    Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
    DFE Ultralights, Inc.
    170 Grimplin Road
    Vanderbilt, PA 15486

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)