• Re: What programs do you make sure are installed on a new Linux

    From Ruben Safir@21:1/5 to jackstrangio@yahoo.com on Fri Nov 15 01:31:52 2024
    Jack Strangio <jackstrangio@yahoo.com> wrote:
    candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> writes:

    To be fair, having Linux as your first OS would be very rare.


    Who cares. It is the only OS I have used since 1998 at least.

    Everything else I look at sucks.

    Programs I install
    Openshot
    Firefox
    Gimp
    GVIM
    thunderbird
    mutt
    gcc
    make
    Perl
    Python
    gdb
    vlc
    crossfire-gtk
    gnuplot
    dia
    inkscape
    scribus
    xcalc
    oclock
    windowmaker
    X11
    openrc
    hexchat
    popcorntime
    transmission
    open-nusismat
    make
    rsync
    ssh!!

    at minimum
    Hey, look, guys! I'm a rarity!!
    (Most people would deinitely consider that a GOOD THING!)

    Well, almost. I went from MSDOS to UNIX and then Linux. Never had Windows as my personal 'daily-driver'.

    (Aually, I was using X11 desktops on UNIX, and had heard 'Wonderful Things' about this new 'Windows thing'. So I tried it and was aghast at just how **bad** and primitive it was, compared to what I was already using.)

    Jack

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to Ruben Safir on Fri Nov 15 21:10:05 2024
    Ruben Safir <mrbrklyn@panix.com> wrote at 01:31 this Friday (GMT):
    Jack Strangio <jackstrangio@yahoo.com> wrote:
    candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> writes: >>>
    To be fair, having Linux as your first OS would be very rare.


    Who cares. It is the only OS I have used since 1998 at least.

    Everything else I look at sucks.

    Programs I install
    Openshot
    Firefox
    Gimp
    GVIM
    thunderbird
    mutt
    gcc
    make
    Perl
    Python
    gdb
    vlc
    crossfire-gtk
    gnuplot
    dia
    inkscape
    scribus
    xcalc
    oclock
    windowmaker
    X11
    openrc
    hexchat
    popcorntime
    transmission
    open-nusismat
    make
    rsync
    ssh!!

    at minimum
    Hey, look, guys! I'm a rarity!!
    (Most people would deinitely consider that a GOOD THING!)

    Well, almost. I went from MSDOS to UNIX and then Linux. Never had Windows as >> my personal 'daily-driver'.

    (Aually, I was using X11 desktops on UNIX, and had heard 'Wonderful Things' >> about this new 'Windows thing'. So I tried it and was aghast at just how
    **bad** and primitive it was, compared to what I was already using.)

    Jack


    I thought older windows was good for it's time, but yeah nowadays I'm
    leaning more towards Linux. I haven't heard of some of these, thanks for bringing it up!
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Frabott@21:1/5 to All on Fri Nov 15 20:26:03 2024
    nano
    git
    openssh
    gnutls
    links
    bash
    automake
    autoconf
    gcc
    mutt
    htop
    iotop
    gomuks
    tmux
    WordGrinder

    and that's it.

    When I'm done I go home and spend the evening with family.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to Phillip Frabott on Sat Nov 16 10:31:11 2024
    On Fri, 15 Nov 2024, Phillip Frabott wrote:

    nano
    git
    openssh
    gnutls
    links
    bash
    automake
    autoconf
    gcc
    mutt
    htop
    iotop
    gomuks
    tmux
    WordGrinder

    and that's it.

    When I'm done I go home and spend the evening with family.

    Wordgrinder is not a common choice. Could you please tell me a bit about
    it? Wat is it with wordgrinder that guys you joy when writing texts?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Frabott@21:1/5 to All on Sat Nov 16 09:42:03 2024
    On 11/16/2024 04:31, D wrote:


    On Fri, 15 Nov 2024, Phillip Frabott wrote:

    nano
    git
    openssh
    gnutls
    links
    bash
    automake
    autoconf
    gcc
    mutt
    htop
    iotop
    gomuks
    tmux
    WordGrinder

    and that's it.

    When I'm done I go home and spend the evening with family.

    Wordgrinder is not a common choice. Could you please tell me a bit about
    it? Wat is it with wordgrinder that guys you joy when writing texts?

    I should probably note, if it's not apparent in the list above, I live
    in bash. I do not use a WM day-to-day. I'm a purist shell-only user. WordGrinder is the only shell program I was able to find that has
    support great support for ODT, a format that I have to be able to use at
    work since almost all of our documents are either ODT or MD (Mostly
    ODT). It has a pretty decent spell checker that you can add to it's
    dictionary and has pretty good formatting support within the limitations
    of shell (You won't be adding images, but I don't get paid enough to
    make documentation with pretty pictures anyways). It is probably the
    most feature-rich shell application I've found so far. You can look at
    it here if you want: https://cowlark.com/wordgrinder/

    If you have a recommendation for something other then WordGrinder that
    works without any Xorg/X11 components installed though, I'd be happy to
    try it out. It has to support opening and saving (or
    importing/exporting) into ODT and MD formats and must be able to compile source-only and no docker.

    Before you ask, since you'll probably find me in another thread asking
    about Gentoo related to KDE, I do have Xorg installed on another machine
    but it's only for the small sliver of time where I have to test a
    desktop program I'm writing for the company I work for. And I use a
    separate machine for that. Most of my time is in headless code though so
    it's not often I have to boot it up.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to Phillip Frabott on Sat Nov 16 22:20:16 2024
    On Sat, 16 Nov 2024, Phillip Frabott wrote:

    On 11/16/2024 04:31, D wrote:


    On Fri, 15 Nov 2024, Phillip Frabott wrote:

    nano
    git
    openssh
    gnutls
    links
    bash
    automake
    autoconf
    gcc
    mutt
    htop
    iotop
    gomuks
    tmux
    WordGrinder

    and that's it.

    When I'm done I go home and spend the evening with family.

    Wordgrinder is not a common choice. Could you please tell me a bit about
    it? Wat is it with wordgrinder that guys you joy when writing texts?

    I should probably note, if it's not apparent in the list above, I live in bash. I do not use a WM day-to-day. I'm a purist shell-only user. WordGrinder is the only shell program I was able to find that has support great support for ODT, a format that I have to be able to use at work since almost all of our documents are either ODT or MD (Mostly ODT). It has a pretty decent spell checker that you can add to it's dictionary and has pretty good formatting support within the limitations of shell (You won't be adding images, but I don't get paid enough to make documentation with pretty pictures anyways). It is probably the most feature-rich shell application I've found so far. You can look at it here if you want: https://cowlark.com/wordgrinder/

    If you have a recommendation for something other then WordGrinder that works without any Xorg/X11 components installed though, I'd be happy to try it out. It has to support opening and saving (or importing/exporting) into ODT and MD formats and must be able to compile source-only and no docker.

    Before you ask, since you'll probably find me in another thread asking about Gentoo related to KDE, I do have Xorg installed on another machine but it's only for the small sliver of time where I have to test a desktop program I'm writing for the company I work for. And I use a separate machine for that. Most of my time is in headless code though so it's not often I have to boot it up.

    Thank you for sharing! Very interesting. What type of work do you do where
    you are able to get by with only the shell? You must have a very kind
    employer! =)

    As for word processing, the usual suspects are vim, groff, latex and for converting documents back and forth, I think that pandoc is very common.

    But this is all hearsay, so I am sure there are others here in this group
    who know much more about it than I do.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Frabott@21:1/5 to All on Sun Nov 17 09:33:44 2024
    On 11/16/2024 16:20, D wrote:


    On Sat, 16 Nov 2024, Phillip Frabott wrote:

    On 11/16/2024 04:31, D wrote:


    On Fri, 15 Nov 2024, Phillip Frabott wrote:

    nano
    git
    openssh
    gnutls
    links
    bash
    automake
    autoconf
    gcc
    mutt
    htop
    iotop
    gomuks
    tmux
    WordGrinder

    and that's it.

    When I'm done I go home and spend the evening with family.

    Wordgrinder is not a common choice. Could you please tell me a bit
    about it? Wat is it with wordgrinder that guys you joy when writing
    texts?

    I should probably note, if it's not apparent in the list above, I live
    in bash. I do not use a WM day-to-day. I'm a purist shell-only user.
    WordGrinder is the only shell program I was able to find that has
    support great support for ODT, a format that I have to be able to use
    at work since almost all of our documents are either ODT or MD (Mostly
    ODT). It has a pretty decent spell checker that you can add to it's
    dictionary and has pretty good formatting support within the
    limitations of shell (You won't be adding images, but I don't get paid
    enough to make documentation with pretty pictures anyways). It is
    probably the most feature-rich shell application I've found so far.
    You can look at it here if you want: https://cowlark.com/wordgrinder/

    If you have a recommendation for something other then WordGrinder that
    works without any Xorg/X11 components installed though, I'd be happy
    to try it out. It has to support opening and saving (or importing/
    exporting) into ODT and MD formats and must be able to compile source-
    only and no docker.

    Before you ask, since you'll probably find me in another thread asking
    about Gentoo related to KDE, I do have Xorg installed on another
    machine but it's only for the small sliver of time where I have to
    test a desktop program I'm writing for the company I work for. And I
    use a separate machine for that. Most of my time is in headless code
    though so it's not often I have to boot it up.

    Thank you for sharing! Very interesting. What type of work do you do
    where you are able to get by with only the shell? You must have a very
    kind employer! =)

    I am a headless C developer (Sometimes C++). I develop code that must
    run on machines that have zero interfaces or local terminal access. I
    think the new term is headless software engineer but that's just a
    little too fancy of a title for me. So I stick with C developer. I code
    for anything from embedded devices (the smallest was a 1" by 1" device
    with 4MB of Flashable EEPROM and 1.25MB of memory on a 548MHz processor)
    all the way up to large data center scale servers. I also have a Data
    center background on top of that so it gives me a leg up when it comes
    to understanding how an application will be used. (most developers only
    learn to develop. They never go further to learn how it's going to be implemented and used later which means they can't account for the things
    their program will be demanded to do. I have the advantage of know how
    data centers work so I can code accordingly.)

    Since the binary programs have to run headless, I code with shell access
    only. So I'm in a near comparable environment to how the program would
    be run. Limiting myself to only having shell access helps to put me (and
    my team of 11 which also work in shell only) in the mental state of how
    the program will operate. So if we can't do it from shell, then the
    headless binary won't be able to either. In fact, it's a requirement we
    code in shell only. Company law (I may or may not have been responsible
    for it. But I'll plead the 5th if you ask me.)


    As for word processing, the usual suspects are vim, groff, latex and for converting documents back and forth, I think that pandoc is very common.

    But this is all hearsay, so I am sure there are others here in this
    group who know much more about it than I do.

    While I'm sure that Vim an Groff and others are capable of
    converting/using these formats back and forth, WordGrinder is a more
    dedicated purpose application. Trying to use multi-purpose editors just
    adds more complexity not to mention the fact that you have to build
    additional addons and configurations to get the feature set that
    WordGrinder provides out of the box. So that's why it was ultimately chosen.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to Phillip Frabott on Sun Nov 17 15:18:42 2024
    On 11/17/24 14:33, Phillip Frabott wrote:
    On 11/16/2024 16:20, D wrote:


    On Sat, 16 Nov 2024, Phillip Frabott wrote:

    On 11/16/2024 04:31, D wrote:


    On Fri, 15 Nov 2024, Phillip Frabott wrote:

    nano
    git
    openssh
    gnutls
    links
    bash
    automake
    autoconf
    gcc
    mutt
    htop
    iotop
    gomuks
    tmux
    WordGrinder

    and that's it.

    When I'm done I go home and spend the evening with family.

    Wordgrinder is not a common choice. Could you please tell me a bit
    about it? Wat is it with wordgrinder that guys you joy when writing
    texts?

    I should probably note, if it's not apparent in the list above, I
    live in bash. I do not use a WM day-to-day. I'm a purist shell-only
    user. WordGrinder is the only shell program I was able to find that
    has support great support for ODT, a format that I have to be able to
    use at work since almost all of our documents are either ODT or MD
    (Mostly ODT). It has a pretty decent spell checker that you can add
    to it's dictionary and has pretty good formatting support within the
    limitations of shell (You won't be adding images, but I don't get
    paid enough to make documentation with pretty pictures anyways). It
    is probably the most feature-rich shell application I've found so
    far. You can look at it here if you want:
    https://cowlark.com/wordgrinder/

    If you have a recommendation for something other then WordGrinder
    that works without any Xorg/X11 components installed though, I'd be
    happy to try it out. It has to support opening and saving (or
    importing/ exporting) into ODT and MD formats and must be able to
    compile source- only and no docker.

    Before you ask, since you'll probably find me in another thread
    asking about Gentoo related to KDE, I do have Xorg installed on
    another machine but it's only for the small sliver of time where I
    have to test a desktop program I'm writing for the company I work
    for. And I use a separate machine for that. Most of my time is in
    headless code though so it's not often I have to boot it up.

    Thank you for sharing! Very interesting. What type of work do you do
    where you are able to get by with only the shell? You must have a very
    kind employer! =)

    I am a headless C developer (Sometimes C++). I develop code that must
    run on machines that have zero interfaces or local terminal access. I
    think the new term is headless software engineer but that's just a
    little too fancy of a title for me. So I stick with C developer.

    Backend developer, or driver/service/server developer as opposed to
    frontend, GUI, or UI developer. Never heard headless developer.


    I code
    for anything from embedded devices (the smallest was a 1" by 1" device
    with 4MB of Flashable EEPROM and 1.25MB of memory on a 548MHz processor)
    all the way up to large data center scale servers. I also have a Data
    center background on top of that so it gives me a leg up when it comes
    to understanding how an application will be used. (most developers only
    learn to develop. They never go further to learn how it's going to be implemented and used later which means they can't account for the things their program will be demanded to do. I have the advantage of know how
    data centers work so I can code accordingly.)

    Since the binary programs have to run headless, I code with shell access only. So I'm in a near comparable environment to how the program would
    be run. Limiting myself to only having shell access helps to put me (and
    my team of 11 which also work in shell only) in the mental state of how
    the program will operate. So if we can't do it from shell, then the
    headless binary won't be able to either. In fact, it's a requirement we
    code in shell only. Company law (I may or may not have been responsible
    for it. But I'll plead the 5th if you ask me.)


    That is bizarre. It is much easier to code, debug, test in a good
    graphical IDE, even if you are developing console apps.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Pancho on Sun Nov 17 17:17:37 2024
    On 2024-11-17, Pancho <Pancho.Jones@proton.me> wrote:

    On 11/17/24 14:33, Phillip Frabott wrote:

    I am a headless C developer (Sometimes C++).

    Is that like Roland the headless Thompson gunner? :-)
    (Thank you, Warren Zevon.)

    That is bizarre. It is much easier to code, debug, test in a good
    graphical IDE, even if you are developing console apps.

    Horses for courses. Never underestimate the value of a
    few printf()s sprinkled here and there (or log file writes
    if you're really headless). I'm still a fan of makefiles.

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Pancho on Sun Nov 17 17:47:45 2024
    On 17/11/2024 15:18, Pancho wrote:
    It is much easier to code, debug, test in a good graphical IDE, even if
    you are developing console apps.

    Not if the target machine doesn't have a GUI or a console at all.

    --
    Socialism is the philosophy of failure, the creed of ignorance and the
    gospel of envy.

    Its inherent virtue is the equal sharing of misery.

    Winston Churchill

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to The Natural Philosopher on Sun Nov 17 18:06:31 2024
    On 11/17/24 17:47, The Natural Philosopher wrote:
    On 17/11/2024 15:18, Pancho wrote:
    It is much easier to code, debug, test in a good graphical IDE, even
    if you are developing console apps.

    Not if the target machine doesn't have a  GUI or a console at all.


    Even then, develop in an IDE, run on the target machine.

    I never really believed Linus' assertion that developers needed to
    develop on the same OS that the software was going to run on. As soon as Microsoft Visual Studio came out, mid 1990s, we used it on PCs to
    develop programs that ran on Solaris servers. We probably retained the capability to make final adjustments on the Sparc, but that wasn't where
    the main bulk of the work was done. I seem to remember we had the
    capability to build from makefiles, but I can't remember if we loaded
    the makefiles into Visual Studio or generated them from Visual Studio,
    or both.

    Visual Studio was just better than vi, I find it strange to even have to
    debate that point.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to Charlie Gibbs on Sun Nov 17 17:54:32 2024
    On 11/17/24 17:17, Charlie Gibbs wrote:
    On 2024-11-17, Pancho <Pancho.Jones@proton.me> wrote:

    On 11/17/24 14:33, Phillip Frabott wrote:

    I am a headless C developer (Sometimes C++).

    Is that like Roland the headless Thompson gunner? :-)
    (Thank you, Warren Zevon.)

    That is bizarre. It is much easier to code, debug, test in a good
    graphical IDE, even if you are developing console apps.

    Horses for courses. Never underestimate the value of a
    few printf()s sprinkled here and there (or log file writes
    if you're really headless). I'm still a fan of makefiles.


    Not really, people who use IDE's still use loggers.

    People who use IDEs, use build automation scripts: Gradle, Mavern. It is
    rude to force people to use a specific IDE, so some kind of IDE
    independent (cross compatible) project definition build script is needed.

    Caveat: I don't really remember make.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Charlie Gibbs on Sun Nov 17 18:07:38 2024
    On Sun, 17 Nov 2024 17:17:37 GMT, Charlie Gibbs wrote:

    Horses for courses. Never underestimate the value of a few printf()s sprinkled here and there (or log file writes if you're really headless).
    I'm still a fan of makefiles.

    I'm a dinosaur so my preferred technique is either printf or log files.
    For production code I've sometimes created a sequence of log statements
    that can be turned on with a flag that are a narrative of what's going on.
    My goal is a support person can read the file and see where the problem
    occurs. Often it is a configuration issue they can fix.

    The nice part is the technique can be used with any language and is
    effective where a debugger isn't available.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Charlie Gibbs on Sun Nov 17 19:36:30 2024
    On Sun, 17 Nov 2024 17:17:37 GMT, Charlie Gibbs wrote:

    Never underestimate the value of a few printf()s
    sprinkled here and there (or log file writes if you're really headless).

    I don’t really see that much difference. On *nix systems, service managers can redirect stdout or stderr to logfiles anyway, so I can run my code
    directly from a terminal for testing, and then in the background via a
    service definition for production use, without having to make any code
    changes.

    I'm still a fan of makefiles.

    Automated build scripts certainly. Ninja seems to be a common alternative
    to make nowadays. But you need a higher-level wrapper to generate the
    control files: e.g. Autotools, Meson, CMake etc.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Frabott@21:1/5 to Pancho on Sun Nov 17 14:52:56 2024
    On 11/17/2024 10:18, Pancho wrote:

    That is bizarre. It is much easier to code, debug, test in a good
    graphical IDE, even if you are developing console apps.



    Your assuming that a debugger can even run on such limited memory on the specific CPU being used. Most of my work involves very limited memory constraints. And these aren't x86 compatible processors so it's not like
    I can debug on the local dev machine. It all has to run on the hardware.
    so printf() and the occasional rawdump file being stored on an SD card
    if your lucky enough to get access to a device with an SD card reader is
    the only real option. Obviously this wouldn't be true for the larger
    headless systems but I'm not going to have 2 different development configurations for coding embedded devices vs large servers. And GUI's
    just become distractions anyways. Everything I need is in bash. So if I
    was to use a GUI I'd be right back into multiple bash windows with no
    desktop apps anyways, so why waste the resources of GUI when I'm never
    going to utilize it the way it was meant to be used?

    It's just a different breed of development here. We are very uncommon.
    But we love it.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Pancho on Sun Nov 17 19:32:19 2024
    On Sun, 17 Nov 2024 18:06:31 +0000, Pancho wrote:

    ... I can't remember if we loaded
    the makefiles into Visual Studio or generated them from Visual Studio,
    or both.

    Visual Studio has never had the capability to work with *nix-style
    Makefiles. That’s one reason why “meta-build” systems (my term) like CMake
    were invented: their build scripts are higher-level wrappers that will generate, for example, Makefiles or Ninja control files on *nix, and
    Visual Studio project files on Windows.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 186283@ud0s4.net@21:1/5 to Phillip Frabott on Sun Nov 17 23:06:43 2024
    On 11/17/24 2:52 PM, Phillip Frabott wrote:
    On 11/17/2024 10:18, Pancho wrote:

    That is bizarre. It is much easier to code, debug, test in a good
    graphical IDE, even if you are developing console apps.



    Your assuming that a debugger can even run on such limited memory on the specific CPU being used. Most of my work involves very limited memory constraints. And these aren't x86 compatible processors so it's not like
    I can debug on the local dev machine. It all has to run on the hardware.
    so printf() and the occasional rawdump file being stored on an SD card
    if your lucky enough to get access to a device with an SD card reader is
    the only real option. Obviously this wouldn't be true for the larger
    headless systems but I'm not going to have 2 different development configurations for coding embedded devices vs large servers. And GUI's
    just become distractions anyways. Everything I need is in bash. So if I
    was to use a GUI I'd be right back into multiple bash windows with no
    desktop apps anyways, so why waste the resources of GUI when I'm never
    going to utilize it the way it was meant to be used?

    It's just a different breed of development here. We are very uncommon.
    But we love it.

    Microcontrollers or similar ? LOVE 'em. Also love
    the DISCIPLINE required to program in super-limited
    speed/mem environments ... something the younger
    set rarely even considers.

    Every "Intro To Computers" should at least require
    an "Arduino Uno" lab :-)

    Ok ... PIC 12x if you REALLY want them to suffer :-)

    For a time I often used PIC 12x to emulate some of
    those CD4000 chips you could buy at Radio Shack ...
    esp counters, if extreme speed wasn't required.
    Almost as cheap, and if you wanted them to do
    something a little different then you just changed
    the pgm a little. Needed a DIV7 on inputs for one
    app, and the PIC made it all so easy. If the need
    changed to DIV9, again super-easy. Even a pin or
    two left over to xmit a serial stream to some
    other chips, smarter hardware :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 186283@ud0s4.net@21:1/5 to All on Mon Nov 18 00:42:07 2024
    After consideration ...... you only install WHAT YOU ARE
    LIKELY TO *NEED*. That will vary from person to person,
    app to app, year to year. The more shit you install the
    more complicated things get.

    Just make sure 'nano' is there. There's a trick to
    setting the default editor to nano, find it. I know
    Manjaro doesn't just assume this - loves to default
    to the horrible 'vi' or 'vim'. Nano makes things
    SO much nicer - like kinda up to 1984 :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to Phillip Frabott on Mon Nov 18 10:07:30 2024
    On Sun, 17 Nov 2024, Phillip Frabott wrote:

    Thank you for sharing! Very interesting. What type of work do you do where >> you are able to get by with only the shell? You must have a very kind
    employer! =)

    I am a headless C developer (Sometimes C++). I develop code that must run on
    ...
    law (I may or may not have been responsible for it. But I'll plead the 5th if you ask me.)

    Thank you very much for sharing, sounds like a very nice job given
    todays sh*tty development environments and "devops"-tooling.


    As for word processing, the usual suspects are vim, groff, latex and for
    converting documents back and forth, I think that pandoc is very common.

    But this is all hearsay, so I am sure there are others here in this group
    who know much more about it than I do.

    While I'm sure that Vim an Groff and others are capable of converting/using these formats back and forth, WordGrinder is a more dedicated purpose application. Trying to use multi-purpose editors just adds more complexity not to mention the fact that you have to build additional addons and configurations to get the feature set that WordGrinder provides out of the box. So that's why it was ultimately chosen.

    Makes sense.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to rbowman on Mon Nov 18 10:11:06 2024
    On Sun, 17 Nov 2024, rbowman wrote:

    On Sun, 17 Nov 2024 17:17:37 GMT, Charlie Gibbs wrote:

    Horses for courses. Never underestimate the value of a few printf()s
    sprinkled here and there (or log file writes if you're really headless).
    I'm still a fan of makefiles.

    I'm a dinosaur so my preferred technique is either printf or log files.
    For production code I've sometimes created a sequence of log statements
    that can be turned on with a flag that are a narrative of what's going on.
    My goal is a support person can read the file and see where the problem occurs. Often it is a configuration issue they can fix.

    The nice part is the technique can be used with any language and is
    effective where a debugger isn't available.


    I'm a printf-man, and since I've mostly worked with systems and not mainly
    code logfiles have been essential for me. Have never had the need to go
    deeper than that.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From G@21:1/5 to 186282@ud0s4.net on Mon Nov 18 09:46:33 2024
    186282@ud0s4.net <186283@ud0s4.net> wrote:
    After consideration ...... you only install WHAT YOU ARE
    LIKELY TO *NEED*. That will vary from person to person,
    app to app, year to year.
    True, but probably you will keep using the same stuff year after
    year, unless your job changes.

    The more shit you install the
    more complicated things get.
    Not really, you just waste some space for something you installed but don't
    use and then forget about.

    Just make sure 'nano' is there. There's a trick to setting the default
    editor to nano, find it. I know Manjaro doesn't just assume this - loves to default to the horrible 'vi' or 'vim'. Nano makes things SO much nicer -
    like kinda up to 1984 :-)

    Not nicer, easier for someone that doesn't use text editor often and has to make a small change in a config file. Fedora switched its default editor to Nano for this reason time ago. If you use a text editor for programming using Nano instead of vim (or emacs) would be a nightmare.

    As for the "Subject", I usally install Fedora with the "netinstall" disc so I can choose from the start what I want and I have a system with KDE, vim, gnuplot, gcc, gdb, LaTeX, Libreoffice ready, I have to add very little:
    xmgrace and agrmerge, plus a few utilities I use, like ncdu, htop and bpytop, ag, pdfshuffler...

    G

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Frabott@21:1/5 to 186282@ud0s4.net on Mon Nov 18 09:36:17 2024
    On 11/18/2024 00:42, 186282@ud0s4.net wrote:
    Just make sure 'nano' is there. There's a trick to
    setting the default editor to nano, find it.

    I usually just symlink vi and vim to nano. Never had problems with it.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Phillip Frabott on Mon Nov 18 16:31:30 2024
    On 18/11/2024 14:36, Phillip Frabott wrote:
    On 11/18/2024 00:42, 186282@ud0s4.net wrote:
    Just make sure 'nano' is there. There's a trick to
    setting the default editor to nano, find it.

    I usually just symlink vi and vim to nano. Never had problems with it.

    Year of using vi have made me ok with it. For small jobs.
    For bigger jobs I either use s GUI editor or joe.
    Geany is my coding app of choice.

    --
    "Strange as it seems, no amount of learning can cure stupidity, and
    higher education positively fortifies it."

    - Stephen Vizinczey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Phillip Frabott on Mon Nov 18 23:15:30 2024
    On Mon, 18 Nov 2024 09:36:17 -0500, Phillip Frabott wrote:

    I usually just symlink vi and vim to nano.

    You can just set the $EDITOR and $VISUAL environment variables, and leave
    it at that.

    <https://manpages.debian.org/1/sensible-editor.1.en.html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Phillip Frabott on Tue Nov 19 02:45:42 2024
    On Mon, 18 Nov 2024 21:39:18 -0500, Phillip Frabott wrote:

    On 11/18/2024 18:15, Lawrence D'Oliveiro wrote:

    You can just set the $EDITOR and $VISUAL environment variables, and
    leave it at that.

    <https://manpages.debian.org/1/sensible-editor.1.en.html>

    Yeah, but not all programs use those variables.

    Which ones don’t?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Frabott@21:1/5 to Lawrence D'Oliveiro on Mon Nov 18 21:39:18 2024
    On 11/18/2024 18:15, Lawrence D'Oliveiro wrote:
    On Mon, 18 Nov 2024 09:36:17 -0500, Phillip Frabott wrote:

    I usually just symlink vi and vim to nano.

    You can just set the $EDITOR and $VISUAL environment variables, and leave
    it at that.

    <https://manpages.debian.org/1/sensible-editor.1.en.html>

    Yeah, but not all programs use those variables. So to catch everything a symlink works. Not to mention that running the ln command is a little
    faster then editing the bash scripts. But envvars works for 90% of cases
    so it's a great option for programs that use it.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Frabott@21:1/5 to Lawrence D'Oliveiro on Mon Nov 18 22:20:45 2024
    On 11/18/2024 21:45, Lawrence D'Oliveiro wrote:
    On Mon, 18 Nov 2024 21:39:18 -0500, Phillip Frabott wrote:

    On 11/18/2024 18:15, Lawrence D'Oliveiro wrote:

    You can just set the $EDITOR and $VISUAL environment variables, and
    leave it at that.

    <https://manpages.debian.org/1/sensible-editor.1.en.html>

    Yeah, but not all programs use those variables.

    Which ones don’t?

    I don't run into to it very often. Usually it's smaller less known
    projects or older programs. I'm not going to remember exactly what
    programs they were because it only happens here and there and it's
    likely I haven't used a program like that in a while. But they still
    exist. Either when a dev doesn't do the right thing or if they are doing cross-platform where not all platforms use it. (Windows for example).
    But I've just always done `ln` all the way back to the 80's so it's just
    habit for me.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Phillip Frabott on Tue Nov 19 04:59:26 2024
    On Mon, 18 Nov 2024 22:20:45 -0500, Phillip Frabott wrote:

    Either when a dev doesn't do the right thing or if they are doing cross-platform where not all platforms use it. (Windows for example).

    If it’s open source, submit a patch to fix it.

    All the cross-platform open-source software should have learned to respect common *nix conventions by now.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 186283@ud0s4.net@21:1/5 to All on Tue Nov 19 02:03:57 2024
    On 11/18/24 4:46 AM, G wrote:
    186282@ud0s4.net <186283@ud0s4.net> wrote:
    After consideration ...... you only install WHAT YOU ARE
    LIKELY TO *NEED*. That will vary from person to person,
    app to app, year to year.
    True, but probably you will keep using the same stuff year after
    year, unless your job changes.

    As said ... "what you need".

    There isn't a gigabyte set of utilities/apps
    that everyone HAS to have. If you are doing
    terminal-only then that list can be quite small.
    If you are not doing much dev work then a lot
    of stuff can be ignored. All in all, less is
    better, even with Linux.

    The more shit you install the
    more complicated things get.
    Not really, you just waste some space for something you installed but don't use and then forget about.

    Just make sure 'nano' is there. There's a trick to setting the default
    editor to nano, find it. I know Manjaro doesn't just assume this - loves to >> default to the horrible 'vi' or 'vim'. Nano makes things SO much nicer -
    like kinda up to 1984 :-)

    Not nicer, easier for someone that doesn't use text editor often and has to make a small change in a config file. Fedora switched its default editor to Nano for this reason time ago. If you use a text editor for programming using Nano instead of vim (or emacs) would be a nightmare.

    Anything less than nano IS a nightmare ... remind me
    of the horrific 'edlin' that came with early DOS. At
    least nano kinda gets you into the 1980s ......

    Long back wrote an ASM app that was a full-screen
    editor like nano - using the IBM-PC BIOS routines
    made it a lot easier. I did it because I *hated*
    edlin so much (and writing ASM was a buzz). Recently
    found the code for an early version of it in my
    archives ... maybe I'll re-do/finish, but for 32 bit.


    As for the "Subject", I usally install Fedora with the "netinstall" disc so I can choose from the start what I want and I have a system with KDE, vim, gnuplot, gcc, gdb, LaTeX, Libreoffice ready, I have to add very little: xmgrace and agrmerge, plus a few utilities I use, like ncdu, htop and bpytop, ag, pdfshuffler...

    I'm not a fanatic, indeed almost always install a GUI
    for convenience. Do NOT always set it to autostart
    however, depending. For SOME things those GUI file
    managers/editors make life SO much easier. Fooling
    with the latest FreeBSD right now ... XFCE installed
    but does NOT autostart.

    Depending on YOUR wants and needs even LibreOffice
    might be a good addition. It IS just HUGE though
    with massive dependencies.

    It's the "dependencies" issue that most peeves me
    about Linux. Maybe seemed OK long long back but
    it's become a DRAG ... an impediment to "doing
    stuff" as it's hard to find the EXACT right versions
    of lib files and such. For all its evil, M$ is MUCH
    better at this stuff. Time for a new paradigm
    for Linux.

    But how to get SO many developers on-board at
    the same time ???

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phillip Frabott@21:1/5 to Lawrence D'Oliveiro on Tue Nov 19 01:19:32 2024
    On 11/18/2024 23:59, Lawrence D'Oliveiro wrote:
    On Mon, 18 Nov 2024 22:20:45 -0500, Phillip Frabott wrote:

    Either when a dev doesn't do the right thing or if they are doing
    cross-platform where not all platforms use it. (Windows for example).

    If it’s open source, submit a patch to fix it.

    All the cross-platform open-source software should have learned to respect common *nix conventions by now.

    It's not that big of a deal really. And to be honest, when I go home
    from work, I don't touch a computer.

    --
    Phillip Frabott
    ----------
    - Adam: Is a void really a void if it returns?
    - Jack: No, it's just nullspace at that point.
    ----------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to rbowman on Tue Nov 19 08:57:00 2024
    On 2024-11-17 19:07, rbowman wrote:
    On Sun, 17 Nov 2024 17:17:37 GMT, Charlie Gibbs wrote:

    Horses for courses. Never underestimate the value of a few printf()s
    sprinkled here and there (or log file writes if you're really headless).
    I'm still a fan of makefiles.

    I'm a dinosaur so my preferred technique is either printf or log files.
    For production code I've sometimes created a sequence of log statements
    that can be turned on with a flag that are a narrative of what's going on.
    My goal is a support person can read the file and see where the problem occurs. Often it is a configuration issue they can fix.

    The nice part is the technique can be used with any language and is
    effective where a debugger isn't available.

    The other day a daemon program spewed 2 gigabytes of log entries, all
    almost identical (the filename changed). The program was tracker-extract.

    Currently there are many programs that spew chat like there is no
    tomorrow to syslog :-/

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to Phillip Frabott on Tue Nov 19 10:02:23 2024
    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    On Tue, 19 Nov 2024, Phillip Frabott wrote:

    On 11/18/2024 23:59, Lawrence D'Oliveiro wrote:
    On Mon, 18 Nov 2024 22:20:45 -0500, Phillip Frabott wrote:

    Either when a dev doesn't do the right thing or if they are doing
    cross-platform where not all platforms use it. (Windows for example).

    If it’s open source, submit a patch to fix it.

    All the cross-platform open-source software should have learned to respect >> common *nix conventions by now.

    It's not that big of a deal really. And to be honest, when I go home from work, I don't touch a computer.

    What!? But what do you do to give joy and meaning to your life at home,
    without touching a computer? ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to All on Tue Nov 19 09:23:41 2024
    On 19/11/2024 09:02, D wrote:


    What!? But what do you do to give joy and meaning to your life at home, without touching a computer? ;)
    Sex, drugs and rock and roll?

    --
    “I know that most men, including those at ease with problems of the greatest complexity, can seldom accept even the simplest and most
    obvious truth if it be such as would oblige them to admit the falsity of conclusions which they have delighted in explaining to colleagues, which
    they have proudly taught to others, and which they have woven, thread by thread, into the fabric of their lives.”

    ― Leo Tolstoy

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to The Natural Philosopher on Tue Nov 19 10:07:48 2024
    On 11/19/24 09:23, The Natural Philosopher wrote:
    On 19/11/2024 09:02, D wrote:


    What!? But what do you do to give joy and meaning to your life at
    home, without touching a computer? ;)
    Sex, drugs and rock and roll?


    The drugs I take now just don't seem as much fun as the drugs I took
    when I was young.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Pancho on Tue Nov 19 10:11:56 2024
    On 19/11/2024 10:07, Pancho wrote:
    On 11/19/24 09:23, The Natural Philosopher wrote:
    On 19/11/2024 09:02, D wrote:


    What!? But what do you do to give joy and meaning to your life at
    home, without touching a computer? ;)
    Sex, drugs and rock and roll?


    The drugs I take now just don't seem as much fun as the drugs I took
    when I was young.

    This is sadly true...

    It's sad when the most useful thing you 3D printed was a drawer to hold
    them all and a little cup to hold them before swallowing...

    --
    In todays liberal progressive conflict-free education system, everyone
    gets full Marx.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to Pancho on Tue Nov 19 13:07:56 2024
    On Tue, 19 Nov 2024, Pancho wrote:

    On 11/19/24 09:23, The Natural Philosopher wrote:
    On 19/11/2024 09:02, D wrote:


    What!? But what do you do to give joy and meaning to your life at home,
    without touching a computer? ;)
    Sex, drugs and rock and roll?


    The drugs I take now just don't seem as much fun as the drugs I took when I was young.


    I think you probably need to increase the dosage! That seems to be the
    word on the street!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to The Natural Philosopher on Tue Nov 19 13:07:30 2024
    On Tue, 19 Nov 2024, The Natural Philosopher wrote:

    On 19/11/2024 09:02, D wrote:


    What!? But what do you do to give joy and meaning to your life at home,
    without touching a computer? ;)
    Sex, drugs and rock and roll?

    Great job! Now Jesus is crying!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to The Natural Philosopher on Tue Nov 19 07:31:28 2024
    The Natural Philosopher wrote this post while blinking in Morse code:

    On 18/11/2024 14:36, Phillip Frabott wrote:
    On 11/18/2024 00:42, 186282@ud0s4.net wrote:
    Just make sure 'nano' is there. There's a trick to
    setting the default editor to nano, find it.

    I usually just symlink vi and vim to nano. Never had problems with it.

    Year of using vi have made me ok with it. For small jobs.
    For bigger jobs I either use s GUI editor or joe.
    Geany is my coding app of choice.

    For me, it's vi(m) or nothing.

    I used to use microEmacs, but I found regular emacs too knuckle-busting.

    My partial list of must-haves:

    - Fluxbox window manager (and Xfce4 for its tools/managers)
    - xbindkeys
    - tmux
    - mpd, mpc (for automation), and ncmpcpp
    - GCC and Clang, autotools, libtool, gdb and cgdb
    - git
    - conky
    - urxvt
    - texlive, latexmk for project documentation
    - JACK, a2jmidid
    - alsamixer
    - nm-applet, NetworkManager
    - ssh client and server
    - cups
    - cheese and guvcview
    - LibreOffice (for letters, shopping lists, and tables)

    There's a bunch of others I forget about, and have to install when I try to use them.....

    --
    Fishing, with me, has always been an excuse to drink in the daytime.
    -- Jimmy Cannon

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Chris Ahlstrom on Tue Nov 19 14:22:26 2024
    On 19/11/2024 12:31, Chris Ahlstrom wrote:
    The Natural Philosopher wrote this post while blinking in Morse code:

    On 18/11/2024 14:36, Phillip Frabott wrote:
    On 11/18/2024 00:42, 186282@ud0s4.net wrote:
    Just make sure 'nano' is there. There's a trick to
    setting the default editor to nano, find it.

    I usually just symlink vi and vim to nano. Never had problems with it.

    Year of using vi have made me ok with it. For small jobs.
    For bigger jobs I either use s GUI editor or joe.
    Geany is my coding app of choice.

    For me, it's vi(m) or nothing.

    I used to use microEmacs, but I found regular emacs too knuckle-busting.

    My partial list of must-haves:

    - Fluxbox window manager (and Xfce4 for its tools/managers)
    - xbindkeys
    - tmux
    - mpd, mpc (for automation), and ncmpcpp
    - GCC and Clang, autotools, libtool, gdb and cgdb
    - git
    - conky
    - urxvt
    - texlive, latexmk for project documentation
    - JACK, a2jmidid
    - alsamixer
    - nm-applet, NetworkManager
    - ssh client and server
    - cups
    - cheese and guvcview
    - LibreOffice (for letters, shopping lists, and tables)

    There's a bunch of others I forget about, and have to install when I try to use
    them.....


    I have no idea what my distro includes. Most of em have never been run.

    I only really run the stuff I've installed over and above the standard installation.

    --
    I would rather have questions that cannot be answered...
    ...than to have answers that cannot be questioned

    Richard Feynman

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to The Natural Philosopher on Tue Nov 19 19:30:28 2024
    On 2024-11-19, The Natural Philosopher <tnp@invalid.invalid> wrote:

    On 19/11/2024 10:07, Pancho wrote:

    On 11/19/24 09:23, The Natural Philosopher wrote:

    On 19/11/2024 09:02, D wrote:

    What!? But what do you do to give joy and meaning to your life at
    home, without touching a computer? ;)

    Sex, drugs and rock and roll?

    The drugs I take now just don't seem as much fun as the drugs I took
    when I was young.

    One pill makes you larger and one pill makes you small,
    And the ones that mother gives you don't do anything at all.

    This is sadly true...

    It's sad when the most useful thing you 3D printed was a drawer to
    hold them all and a little cup to hold them before swallowing...

    You know you're getting old when all the names in your
    little black book end in "M.D.".

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Carlos E.R. on Tue Nov 19 19:34:01 2024
    On Tue, 19 Nov 2024 08:57:00 +0100, Carlos E.R. wrote:

    The other day a daemon program spewed 2 gigabytes of log entries, all
    almost identical (the filename changed). The program was
    tracker-extract.

    Currently there are many programs that spew chat like there is no
    tomorrow to syslog :-/

    My favorite was a Windows process that repeatedly logged the C: drive was almost full -- to the C: drive of course. Cleaning up after it
    successfully committed suicide was fun.

    We had a couple of programs that would politely check for disk space
    before running. That worked well for years before the first machines with
    TB+ drives showed up. Back to the drawing board for the disk space calculation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to The Natural Philosopher on Tue Nov 19 19:41:07 2024
    On Tue, 19 Nov 2024 14:22:26 +0000, The Natural Philosopher wrote:


    I have no idea what my distro includes. Most of em have never been run.

    I only really run the stuff I've installed over and above the standard installation.


    After I run 'dnf update --refresh' I'm left wondering what the hell many
    of the things on the list are. I'm assuming my life wouldn't be the same without freedesktop but I'm not clear on what it's doing for me.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Charlie Gibbs on Tue Nov 19 21:58:06 2024
    On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:

    ... my fingers speak [vi/vim] well enough
    that if I'm trying to move down the screen in other editors a string of
    "j"s appear on the screen.

    The vi/vim apps I’ve used also support the arrow keys, like modern
    programs.

    For sheer economy of keystrokes, vi(m) is hard to beat.

    Moving around after inserting text requires n + 1 keystrokes: 1 to exit
    insert mode, and n to move around. Editors which don’t have a separate
    insert mode can do n moves with just n keystrokes.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Lawrence D'Oliveiro on Wed Nov 20 00:53:52 2024
    On 2024-11-19, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

    On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:

    ... my fingers speak [vi/vim] well enough
    that if I'm trying to move down the screen in other editors a string of
    "j"s appear on the screen.

    The vi/vim apps I’ve used also support the arrow keys, like modern programs.

    As do mine, and I often use them. But it's often nice not to have to
    move your hands out of home position. When I really get going, even
    reaching for a function key feels like excessive work.

    For sheer economy of keystrokes, vi(m) is hard to beat.

    Moving around after inserting text requires n + 1 keystrokes: 1 to exit insert mode, and n to move around. Editors which don’t have a separate insert mode can do n moves with just n keystrokes.

    One keystroke is pretty cheap in the scheme of things. And not all
    editors can easily do things I use a lot in vi(m), such as placing
    the cursor on a brace, bracket, or parenthesis and jumping to the
    corresponding one.

    The thing that really irritates me is the effort made by a lot of
    software (particularly under Windows) to force your hands out of
    home position - or, even worse, off the keyboard entirely (i.e.
    by having no keyboard shortcuts for commonly-used functions).
    To me, one mouse click is worth at least 10 keystrokes, and is
    more error-prone. Most people don't realize the tremendous demands
    on hand-eye coordination needed to accurately position the mouse
    pointer at a tiny point on the screen and not let it move as you
    click a button. There's a reason that touch typists work hard
    to develop their skill.

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Charlie Gibbs on Wed Nov 20 01:16:14 2024
    On Wed, 20 Nov 2024 00:53:52 GMT, Charlie Gibbs wrote:

    ... it's often nice not to have to move your hands out of home
    position.

    That “advantage” makes no sense to me. My hands move all over the place -- to the various parts of the keyboard, and to the mouse, and other controls
    -- wherever I need to operate something. Going back to home position is something you can do by touch, very quickly, anyway. (That’s what those little nubs are for.)

    For sheer economy of keystrokes, vi(m) is hard to beat.

    One keystroke is pretty cheap in the scheme of things.

    You were saying ... ?

    ... And not all
    editors can easily do things I use a lot in vi(m), such as placing the
    cursor on a brace, bracket, or parenthesis and jumping to the
    corresponding one.

    Surely all the common editors can do that. What about moving between lines
    with matching indentation -- handy for Python programming?

    The thing that really irritates me is the effort made by a lot of
    software (particularly under Windows) ...

    Yet another reason not to use Windows ... ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Charlie Gibbs on Wed Nov 20 10:23:18 2024
    On 20/11/2024 00:53, Charlie Gibbs wrote:
    To me, one mouse click is worth at least 10 keystrokes, and is
    more error-prone. Most people don't realize the tremendous demands
    on hand-eye coordination needed to accurately position the mouse
    pointer at a tiny point on the screen and not let it move as you
    click a button. There's a reason that touch typists work hard
    to develop their skill.

    And why many many professional users of various applications much prefer
    the keyboard shortcuts to using a mouse.

    Really, GUIS for a touch typists are rather things that get in the way.

    On the other hand, CAD is impossible without one...

    --
    Karl Marx said religion is the opium of the people.
    But Marxism is the crack cocaine.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Charlie Gibbs on Wed Nov 20 10:20:37 2024
    On 19/11/2024 19:30, Charlie Gibbs wrote:
    On 2024-11-19, The Natural Philosopher <tnp@invalid.invalid> wrote:

    On 19/11/2024 10:07, Pancho wrote:

    On 11/19/24 09:23, The Natural Philosopher wrote:

    On 19/11/2024 09:02, D wrote:

    What!? But what do you do to give joy and meaning to your life at
    home, without touching a computer? ;)

    Sex, drugs and rock and roll?

    The drugs I take now just don't seem as much fun as the drugs I took
    when I was young.

    One pill makes you larger and one pill makes you small,
    And the ones that mother gives you don't do anything at all.

    This is sadly true...

    It's sad when the most useful thing you 3D printed was a drawer to
    hold them all and a little cup to hold them before swallowing...

    You know you're getting old when all the names in your
    little black book end in "M.D.".

    And the only pretty girls you meet work for the NHS


    --
    Karl Marx said religion is the opium of the people.
    But Marxism is the crack cocaine.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Wed Nov 20 07:39:21 2024
    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:

    ... my fingers speak [vi/vim] well enough
    that if I'm trying to move down the screen in other editors a string of
    "j"s appear on the screen.

    The vi/vim apps I’ve used also support the arrow keys, like modern programs.

    For sheer economy of keystrokes, vi(m) is hard to beat.

    Moving around after inserting text requires n + 1 keystrokes: 1 to exit insert mode, and n to move around. Editors which don’t have a separate insert mode can do n moves with just n keystrokes.

    With vim, you can be in insert mode and still move around with the arrow keys.

    /usr/share/vim/vim91/doc/ contains about 11 megs o' text help files.

    Actually, one problem with vim is tooooo many ways to do things. :-)

    --
    I have accepted Provolone into my life!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to The Natural Philosopher on Wed Nov 20 07:48:30 2024
    The Natural Philosopher wrote this post while blinking in Morse code:

    On 20/11/2024 00:53, Charlie Gibbs wrote:
    To me, one mouse click is worth at least 10 keystrokes, and is
    more error-prone. Most people don't realize the tremendous demands
    on hand-eye coordination needed to accurately position the mouse
    pointer at a tiny point on the screen and not let it move as you
    click a button. There's a reason that touch typists work hard
    to develop their skill.

    And why many many professional users of various applications much prefer
    the keyboard shortcuts to using a mouse.

    Really, GUIS for a touch typists are rather things that get in the way.

    On the other hand, CAD is impossible without one...

    I dunno about that. One AutoCAD guy I knew at work spent a lot of time in the AutoCAD command-line.

    --
    Life is a yo-yo, and mankind ties knots in the string.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Lawrence D'Oliveiro on Wed Nov 20 07:47:05 2024
    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    On Wed, 20 Nov 2024 00:53:52 GMT, Charlie Gibbs wrote:

    ... it's often nice not to have to move your hands out of home
    position.

    That “advantage” makes no sense to me. My hands move all over the place --
    to the various parts of the keyboard, and to the mouse, and other controls
    -- wherever I need to operate something. Going back to home position is something you can do by touch, very quickly, anyway. (That’s what those little nubs are for.)

    For sheer economy of keystrokes, vi(m) is hard to beat.

    One keystroke is pretty cheap in the scheme of things.

    You were saying ... ?

    ... And not all
    editors can easily do things I use a lot in vi(m), such as placing the
    cursor on a brace, bracket, or parenthesis and jumping to the
    corresponding one.

    Surely all the common editors can do that. What about moving between lines with matching indentation -- handy for Python programming?

    https://stackoverflow.com/questions/61435894/autoindentation-in-vim-for-python

    But 'smartindent' is not really that appropriate for Python (as you can
    guess by it handling curly braces.) Instead, you'll want to use filetype
    indent on in order to load per-filetype indentation rules, which should
    load appropriate indentation for Python when you edit Python sources.

    I'd recommend that you add this to your vimrc:

    filetype plugin indent on

    I'm not bothering to verify this.

    Or you could try

    https://github.com/mathialo/bython

    Bython

    Python with braces. Because Python is awesome, but whitespace is awful.

    Bython is a Python preprosessor which translates curly brackets into
    indentation.

    :-D

    --
    Shedenhelm's Law:
    All trails have more uphill sections than they have downhill sections.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Chris Ahlstrom on Wed Nov 20 12:52:36 2024
    On 20/11/2024 12:48, Chris Ahlstrom wrote:
    The Natural Philosopher wrote this post while blinking in Morse code:

    On 20/11/2024 00:53, Charlie Gibbs wrote:
    To me, one mouse click is worth at least 10 keystrokes, and is
    more error-prone. Most people don't realize the tremendous demands
    on hand-eye coordination needed to accurately position the mouse
    pointer at a tiny point on the screen and not let it move as you
    click a button. There's a reason that touch typists work hard
    to develop their skill.

    And why many many professional users of various applications much prefer
    the keyboard shortcuts to using a mouse.

    Really, GUIS for a touch typists are rather things that get in the way.

    On the other hand, CAD is impossible without one...

    I dunno about that. One AutoCAD guy I knew at work spent a lot of time in the AutoCAD command-line.

    One of the reasons I disliked autocad intensely.

    DrawLine(x1,y1,z1, x2, y2, z2) is not very visual.

    The best 2D CAD ever is still Corel draw. Draw a square where you want
    to to be, and then type in its side values to make it exact...you can
    use the mouse OR type in values.


    --
    "Socialist governments traditionally do make a financial mess. They
    always run out of other people's money. It's quite a characteristic of them"

    Margaret Thatcher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to rbowman on Wed Nov 20 14:50:01 2024
    On 2024-11-19 20:34, rbowman wrote:
    On Tue, 19 Nov 2024 08:57:00 +0100, Carlos E.R. wrote:

    The other day a daemon program spewed 2 gigabytes of log entries, all
    almost identical (the filename changed). The program was
    tracker-extract.

    Currently there are many programs that spew chat like there is no
    tomorrow to syslog :-/

    My favorite was a Windows process that repeatedly logged the C: drive was almost full -- to the C: drive of course. Cleaning up after it
    successfully committed suicide was fun.

    We had a couple of programs that would politely check for disk space
    before running. That worked well for years before the first machines with
    TB+ drives showed up. Back to the drawing board for the disk space calculation.

    You may remember the Borland Pascal code to insert a delay of so many milliseconds in the code. It was simply a noop loop, and the runtime
    code made a measurement at start. That worked well, till faster
    computers made the counting time variable to overflow.

    I don't remember right now if the code crashed or not. (Google confirms
    they crashed)

    Every program made with those compilers were affected. You needed to
    recompile with a newer version. (Google said you could apply an
    external, third party, patch)

    Possibly Borland C was also affected, but I do not know.

    https://www.vogons.org/viewtopic.php?t=50079 https://www.st-andrews.ac.uk/~bds2/ltsn/tpbug.htm https://news.ycombinator.com/item?id=20787583


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Chris Ahlstrom on Wed Nov 20 17:54:32 2024
    On 2024-11-20, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:

    For sheer economy of keystrokes, vi(m) is hard to beat.

    Moving around after inserting text requires n + 1 keystrokes: 1 to exit
    insert mode, and n to move around. Editors which don’t have a separate
    insert mode can do n moves with just n keystrokes.

    With vim, you can be in insert mode and still move around with the arrow keys.

    /usr/share/vim/vim91/doc/ contains about 11 megs o' text help files.

    Actually, one problem with vim is tooooo many ways to do things. :-)

    Every now and then I come across some nifty trick I didn't know about.
    One of my favourites is /\<foo\> - which finds the next occurrence of
    "foo" that is a complete word, i.e. it ignores "foobar".

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to The Natural Philosopher on Wed Nov 20 17:54:37 2024
    On 2024-11-20, The Natural Philosopher <tnp@invalid.invalid> wrote:

    On 20/11/2024 00:53, Charlie Gibbs wrote:

    To me, one mouse click is worth at least 10 keystrokes, and is
    more error-prone. Most people don't realize the tremendous demands
    on hand-eye coordination needed to accurately position the mouse
    pointer at a tiny point on the screen and not let it move as you
    click a button. There's a reason that touch typists work hard
    to develop their skill.

    And why many many professional users of various applications much prefer
    the keyboard shortcuts to using a mouse.

    Really, GUIS for a touch typists are rather things that get in the way.

    Hear, hear.

    On the other hand, CAD is impossible without one...

    Which is why I believe there should be both options available.
    Use one or the other as you prefer, and ignore those people
    who insist that you use the One and Only True Way, whatever
    that is.

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Chris Ahlstrom on Wed Nov 20 19:06:24 2024
    On Wed, 20 Nov 2024 07:39:21 -0500, Chris Ahlstrom wrote:

    Actually, one problem with vim is tooooo many ways to do things.

    I've got a fairly thick book on Vim around here someplace. I have my
    little bag of tricks I've developed over the years that's a small subset
    of Vim but they're well polished from use. Things I do every couple of
    years like turning on line numbering requires some research.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From G@21:1/5 to Charlie Gibbs on Wed Nov 20 18:53:07 2024
    Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
    On 2024-11-20, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:

    For sheer economy of keystrokes, vi(m) is hard to beat.

    Moving around after inserting text requires n + 1 keystrokes: 1 to exit
    insert mode, and n to move around. Editors which don’t have a separate >>> insert mode can do n moves with just n keystrokes.

    With vim, you can be in insert mode and still move around with the arrow
    keys.

    /usr/share/vim/vim91/doc/ contains about 11 megs o' text help files.

    Actually, one problem with vim is tooooo many ways to do things. :-)

    Every now and then I come across some nifty trick I didn't know about. One of my favourites is /\<foo\> - which finds the next occurrence of "foo" that is a complete word, i.e. it ignores "foobar".

    I didn't know there was a special way to do this. I used simply "\ foo ", as you said "tooooo many ways to do things".

    G

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Charlie Gibbs on Wed Nov 20 19:09:49 2024
    On Wed, 20 Nov 2024 17:54:32 GMT, Charlie Gibbs wrote:

    Every now and then I come across some nifty trick I didn't know about.
    One of my favourites is /\<foo\> - which finds the next occurrence of
    "foo" that is a complete word, i.e. it ignores "foobar".

    The clue to that one is if you use * or # to search for a word \<foo\>
    shows down on the command line.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to The Natural Philosopher on Wed Nov 20 19:14:34 2024
    On Wed, 20 Nov 2024 10:23:18 +0000, The Natural Philosopher wrote:

    Really, GUIS for a touch typists are rather things that get in the way.

    In my first brush with data entry GUIs I realized the users weren't even looking at the screen, only the data they were entering. After a few run throughs they had the tab ordering down pat.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to The Natural Philosopher on Wed Nov 20 19:18:51 2024
    On Wed, 20 Nov 2024 10:23:18 +0000, The Natural Philosopher wrote:

    On the other hand, CAD is impossible without one...

    CAD has a different meaning in my world.

    https://en.wikipedia.org/wiki/Computer-aided_dispatch

    That lead to some awkward moments when interviewing candidates who hadn't
    done any research into what they were applying for.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to rbowman on Wed Nov 20 21:51:03 2024
    On Wed, 20 Nov 2024, rbowman wrote:

    On Wed, 20 Nov 2024 07:39:21 -0500, Chris Ahlstrom wrote:

    Actually, one problem with vim is tooooo many ways to do things.

    I've got a fairly thick book on Vim around here someplace. I have my
    little bag of tricks I've developed over the years that's a small subset
    of Vim but they're well polished from use. Things I do every couple of
    years like turning on line numbering requires some research.


    Interesting! Line numbering is one of those things I like to have enabled
    by default. I think my most common tricks are search n' replace s///g,
    working with buffers, !! for pulling in stuff from the terminal, dt to
    delete to, well, too many to mention. And many have almost become
    automatic. ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Charlie Gibbs on Wed Nov 20 22:11:42 2024
    On 2024-11-19 20:30, Charlie Gibbs wrote:
    On 2024-11-19, The Natural Philosopher <tnp@invalid.invalid> wrote:

    On 19/11/2024 12:31, Chris Ahlstrom wrote:

    For me, it's vi(m) or nothing.

    +1 - it's available on all machines, and my fingers speak
    it well enough that if I'm trying to move down the screen
    in other editors a string of "j"s appear on the screen.
    For sheer economy of keystrokes, vi(m) is hard to beat.
    Occasionally I'll fall back to a GUI editor if I need
    to cut and paste text - mousepad works, but not well
    enough to make me want to switch.

    I used to use microEmacs, but I found regular emacs too knuckle-busting.

    I looked at emacs once or twice, but it lives on a different planet
    than I do.

    Both vi and emacs live in a different planet than I do.

    ...

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Carlos E.R. on Wed Nov 20 23:04:25 2024
    On Wed, 20 Nov 2024 22:11:42 +0100, Carlos E.R. wrote:

    Both vi and emacs live in a different planet than I do.

    vi definitely lives someplace else in the solar system than vim or gVim.

    The choice was easy back when disk space was at a premium. iirc, gVim took around 2 MB, and emacs took over 20 MB. Of course gVim didn't tell your fortune, play go, or require keyboard maneuvers equivalent to playing B7
    on a guitar.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to All on Wed Nov 20 23:12:32 2024
    On Wed, 20 Nov 2024 21:51:03 +0100, D wrote:

    Interesting! Line numbering is one of those things I like to have
    enabled by default. I think my most common tricks are search n' replace s///g, working with buffers, !! for pulling in stuff from the terminal,
    dt to delete to, well, too many to mention. And many have almost become automatic.

    Buffers are one of the selling points for me. The Brief editor had them
    back in the DOS days before Borland bought it and killed it. I never could figure out why the Visual Studio editor was so lame in that regard. I
    haven't used Studio enough lately to bother but VS Code has a very nice
    Vim extension. "* to interact with the clipboard is one I use often.

    Recording key sequences to a named register os handy too.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to All on Wed Nov 20 22:58:58 2024
    On 20 Nov 2024 18:53:07 GMT, G wrote:

    I didn't know there was a special way to do this. I used simply "\ foo
    ", as you said "tooooo many ways to do things".

    That works, as long as there is white space.

    int foo, foobar

    for (foo=0; foo<10; foo++) {
    foobar *= 2
    }

    How many foos will it find?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Charlie Gibbs on Wed Nov 20 23:33:20 2024
    On Wed, 20 Nov 2024 17:54:32 GMT, Charlie Gibbs wrote:

    Every now and then I come across some nifty trick I didn't know about.
    One of my favourites is /\<foo\> - which finds the next occurrence of
    "foo" that is a complete word, i.e. it ignores "foobar".

    In regular expressions, “\b” is the common symbol denoting a word
    boundary.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to The Natural Philosopher on Wed Nov 20 23:35:22 2024
    On Wed, 20 Nov 2024 12:52:36 +0000, The Natural Philosopher wrote:

    The best 2D CAD ever is still Corel draw. Draw a square where you want
    to to be, and then type in its side values to make it exact...you can
    use the mouse OR type in values.

    And in 3D, there’s Blender, which lets you type, not just numeric values,
    but actual (simple) Python expressions.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Riches@21:1/5 to Chris Ahlstrom on Thu Nov 21 04:31:13 2024
    On 2024-11-20, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:

    ... my fingers speak [vi/vim] well enough
    that if I'm trying to move down the screen in other editors a string of
    "j"s appear on the screen.

    The vi/vim apps I’ve used also support the arrow keys, like modern
    programs.

    For sheer economy of keystrokes, vi(m) is hard to beat.

    Moving around after inserting text requires n + 1 keystrokes: 1 to exit
    insert mode, and n to move around. Editors which don’t have a separate
    insert mode can do n moves with just n keystrokes.

    With vim, you can be in insert mode and still move around with the arrow keys.

    /usr/share/vim/vim91/doc/ contains about 11 megs o' text help files.

    Actually, one problem with vim is tooooo many ways to do things. :-)

    Regarding moving around requiring n+1 keystrokes, GNU Emacs lets
    you experience the power of Control-U. It is a prefix argument
    that (oversimplification follows, but ...) multiplies the effect
    of the next action by 4.

    So, with control-U three times and an arrow key the cursor can
    move 64 steps in any direction.

    If you want to execute the current keyboard macro 1024 times, do
    control-U 5 times, then control-X, then 'e'.

    --
    Robert Riches
    spamtrap42@jacob21819.net
    (Yes, that is one of my email addresses.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to rbowman on Thu Nov 21 05:27:37 2024
    On 2024-11-20, rbowman <bowman@montana.com> wrote:

    On Wed, 20 Nov 2024 22:11:42 +0100, Carlos E.R. wrote:

    Both vi and emacs live in a different planet than I do.

    vi definitely lives someplace else in the solar system than vim or gVim.

    The choice was easy back when disk space was at a premium. iirc, gVim took around 2 MB, and emacs took over 20 MB. Of course gVim didn't tell your fortune, play go, or require keyboard maneuvers equivalent to playing B7
    on a guitar.

    Eight Megabytes And Constantly Swapping (back when 8MB was a lot).

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Robert Riches on Thu Nov 21 05:23:02 2024
    On 21 Nov 2024 04:31:13 GMT, Robert Riches wrote:

    GNU Emacs lets you
    experience the power of Control-U. It is a prefix argument that (oversimplification follows, but ...) multiplies the effect of the next action by 4.

    In general, it lets you type a numeric argument to the following command.

    E.g.

    CTRL-U 8 right-arrow

    moves 8 steps to the right.

    CTRL-U 2 0 X

    enters “X” 20 times.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Robert Riches on Thu Nov 21 05:56:30 2024
    On 21 Nov 2024 04:31:13 GMT, Robert Riches wrote:

    Regarding moving around requiring n+1 keystrokes, GNU Emacs lets you experience the power of Control-U. It is a prefix argument that (oversimplification follows, but ...) multiplies the effect of the next action by 4.

    I hope it has a similar prefix to undo all the stuff I just destroyed with Ctrl-U.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Charlie Gibbs on Thu Nov 21 06:01:26 2024
    On Thu, 21 Nov 2024 05:27:37 GMT, Charlie Gibbs wrote:

    On 2024-11-20, rbowman <bowman@montana.com> wrote:

    On Wed, 20 Nov 2024 22:11:42 +0100, Carlos E.R. wrote:

    Both vi and emacs live in a different planet than I do.

    vi definitely lives someplace else in the solar system than vim or
    gVim.

    The choice was easy back when disk space was at a premium. iirc, gVim
    took around 2 MB, and emacs took over 20 MB. Of course gVim didn't tell
    your fortune, play go, or require keyboard maneuvers equivalent to
    playing B7 on a guitar.

    Eight Megabytes And Constantly Swapping (back when 8MB was a lot).

    I was thinking of the install on the HDD, not running it. I think I got
    that far a couple of times before doing a purification rite of all things emacs.

    I did try it in later years when it had a GUI and menu but there never was
    a compelling reason to go to it. There are the customizations but in my dictionary loathe and lisp occur on the same page.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to rbowman on Thu Nov 21 09:51:21 2024
    On Thu, 20 Nov 2024, rbowman wrote:

    On Wed, 20 Nov 2024 21:51:03 +0100, D wrote:

    Interesting! Line numbering is one of those things I like to have
    enabled by default. I think my most common tricks are search n' replace
    s///g, working with buffers, !! for pulling in stuff from the terminal,
    dt to delete to, well, too many to mention. And many have almost become
    automatic.

    Buffers are one of the selling points for me. The Brief editor had them
    back in the DOS days before Borland bought it and killed it. I never could figure out why the Visual Studio editor was so lame in that regard. I
    haven't used Studio enough lately to bother but VS Code has a very nice
    Vim extension. "* to interact with the clipboard is one I use often.

    Recording key sequences to a named register os handy too.


    Ah yes... macros, of course! I use those for smaller operations
    reformating text or cut n' paste according to some simple pattern. A big
    leap in vimology was when I moved from tabs to buffers. After that, tabs
    seemed like it was for nerds!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to rbowman on Thu Nov 21 09:49:28 2024
    On Thu, 20 Nov 2024, rbowman wrote:

    On Wed, 20 Nov 2024 22:11:42 +0100, Carlos E.R. wrote:

    Both vi and emacs live in a different planet than I do.

    vi definitely lives someplace else in the solar system than vim or gVim.

    The choice was easy back when disk space was at a premium. iirc, gVim took around 2 MB, and emacs took over 20 MB. Of course gVim didn't tell your fortune, play go, or require keyboard maneuvers equivalent to playing B7
    on a guitar.


    This old classic comes to mind:

    Regexing with several editors:

    acme:
    Oh, | want to execute a regular expression on my text here.
    Here | go.
    | take my mouse hand off my keys.
    | move my mouse hand to my mouse
    I grip the mouse with my mouse hand
    | move the mouse to the tag strip on top of the editing buffer
    I click the tag strip
    | release the mouse
    | move my mouse hand to the keys
    | write the regex
    | take my mouse hand off the keys
    | move my mouse hand to my mouse
    I grip the mouse and press da butans
    | drag the mouse over the regex to highlight it
    | release da butans
    | watch as my regex hopefully does what it needs to do on the first try.
    I move the mouse to the editing buffer to continue inputting text
    | release the mouse
    | move my mouse hand to the keys
    | FINALLY start typing again.

    Emacs:
    press both foot pedals
    press meta shift control sysrq
    play the moonlight sonata on the two extra leopards while requesting Regex-Mode with the headstick.
    hit the electric cymbals strapped under my arm and while putting the shift-stick | have gripped tightly with my sphincter into turbo mode.
    signal my two assistants to turn their keys in unison, NOW!
    input the regex
    release all keys and watch as emacs gracefully rearranges the text

    vim:
    escape or equivalent
    : %s/foo/bar/g
    enter
    continue editing

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to Robert Riches on Thu Nov 21 09:54:10 2024
    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    On Thu, 21 Nov 2024, Robert Riches wrote:

    On 2024-11-20, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:
    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:

    ... my fingers speak [vi/vim] well enough
    that if I'm trying to move down the screen in other editors a string of >>>> "j"s appear on the screen.

    The vi/vim apps I’ve used also support the arrow keys, like modern
    programs.

    For sheer economy of keystrokes, vi(m) is hard to beat.

    Moving around after inserting text requires n + 1 keystrokes: 1 to exit
    insert mode, and n to move around. Editors which don’t have a separate >>> insert mode can do n moves with just n keystrokes.

    With vim, you can be in insert mode and still move around with the arrow keys.

    /usr/share/vim/vim91/doc/ contains about 11 megs o' text help files.

    Actually, one problem with vim is tooooo many ways to do things. :-)

    Regarding moving around requiring n+1 keystrokes, GNU Emacs lets
    you experience the power of Control-U. It is a prefix argument
    that (oversimplification follows, but ...) multiplies the effect
    of the next action by 4.

    So, with control-U three times and an arrow key the cursor can
    move 64 steps in any direction.

    If you want to execute the current keyboard macro 1024 times, do
    control-U 5 times, then control-X, then 'e'.


    So my earlier joke was not a joke. I twas the truth! In vim, just type
    1024@a and be done with it (assuming macro is in a). ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to rbowman on Thu Nov 21 12:13:09 2024
    On 2024-11-21 00:04, rbowman wrote:
    On Wed, 20 Nov 2024 22:11:42 +0100, Carlos E.R. wrote:

    Both vi and emacs live in a different planet than I do.

    vi definitely lives someplace else in the solar system than vim or gVim.

    It's all the same for me, the entire vi family and the entire emacs
    family live in a different planet than I do.


    The choice was easy back when disk space was at a premium. iirc, gVim took around 2 MB, and emacs took over 20 MB. Of course gVim didn't tell your fortune, play go, or require keyboard maneuvers equivalent to playing B7
    on a guitar.

    "ted" used 3 K on disk.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to rbowman on Thu Nov 21 07:33:22 2024
    rbowman wrote this post while blinking in Morse code:

    On 20 Nov 2024 18:53:07 GMT, G wrote:

    I didn't know there was a special way to do this. I used simply "\ foo
    ", as you said "tooooo many ways to do things".

    That works, as long as there is white space.

    int foo, foobar

    for (foo=0; foo<10; foo++) {
    foobar *= 2
    }

    How many foos will it find?

    Foo you! :-)

    --
    Life is a biochemical reaction to the stimulus of the surrounding
    environment in a stable ecosphere, while a bowl of cherries is a
    round container filled with little red fruits on sticks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Ahlstrom@21:1/5 to Charlie Gibbs on Thu Nov 21 07:32:43 2024
    Charlie Gibbs wrote this post while blinking in Morse code:

    On 2024-11-20, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

    Lawrence D'Oliveiro wrote this post while blinking in Morse code:

    On Tue, 19 Nov 2024 19:30:32 GMT, Charlie Gibbs wrote:

    For sheer economy of keystrokes, vi(m) is hard to beat.

    Moving around after inserting text requires n + 1 keystrokes: 1 to exit
    insert mode, and n to move around. Editors which don’t have a separate >>> insert mode can do n moves with just n keystrokes.

    With vim, you can be in insert mode and still move around with the arrow keys.

    /usr/share/vim/vim91/doc/ contains about 11 megs o' text help files.

    Actually, one problem with vim is tooooo many ways to do things. :-)

    Every now and then I come across some nifty trick I didn't know about.
    One of my favourites is /\<foo\> - which finds the next occurrence of
    "foo" that is a complete word, i.e. it ignores "foobar".

    A quick way to do that is to put the cursor on a word and hit "*" (or "#" to search upward).

    :help *

    --
    Stay away from hurricanes for a while.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to rbowman on Thu Nov 21 13:45:36 2024
    On 20/11/2024 19:18, rbowman wrote:
    On Wed, 20 Nov 2024 10:23:18 +0000, The Natural Philosopher wrote:

    On the other hand, CAD is impossible without one...

    CAD has a different meaning in my world.

    https://en.wikipedia.org/wiki/Computer-aided_dispatch

    That lead to some awkward moments when interviewing candidates who hadn't done any research into what they were applying for.
    In the world of semi-professional fab, its Cardboard Aided Design where
    you cut bits of cardboard to the shapes you want and measure or scan
    them BEFORE invoking the software, or you trace them direct onto metal
    and nark the outline for manual cutting,,,

    --
    Climate Change: Socialism wearing a lab coat.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charlie Gibbs@21:1/5 to Chris Ahlstrom on Thu Nov 21 19:18:51 2024
    On 2024-11-21, Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

    Charlie Gibbs wrote this post while blinking in Morse code:

    Every now and then I come across some nifty trick I didn't know about.
    One of my favourites is /\<foo\> - which finds the next occurrence of
    "foo" that is a complete word, i.e. it ignores "foobar".

    A quick way to do that is to put the cursor on a word and hit "*" (or "#" to search upward).

    :help *

    .-- --- .-- .-.-.- - .... .- -. -.- ... .-.-.-

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to All on Thu Nov 21 20:03:12 2024
    On Thu, 21 Nov 2024 09:54:10 +0100, D wrote:

    So my earlier joke was not a joke. I twas the truth! In vim, just type
    1024@a and be done with it (assuming macro is in a).

    I always try a couple of single invocations before committing to running
    the macro on the whole document, not that I've ever screwed up.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From D@21:1/5 to rbowman on Thu Nov 21 21:39:04 2024
    On Thu, 21 Nov 2024, rbowman wrote:

    On Thu, 21 Nov 2024 09:54:10 +0100, D wrote:

    So my earlier joke was not a joke. I twas the truth! In vim, just type
    1024@a and be done with it (assuming macro is in a).

    I always try a couple of single invocations before committing to running
    the macro on the whole document, not that I've ever screwed up.


    This is very wise!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robert Riches@21:1/5 to rbowman on Fri Nov 22 03:53:09 2024
    On 2024-11-21, rbowman <bowman@montana.com> wrote:
    On 21 Nov 2024 04:31:13 GMT, Robert Riches wrote:

    Regarding moving around requiring n+1 keystrokes, GNU Emacs lets you
    experience the power of Control-U. It is a prefix argument that
    (oversimplification follows, but ...) multiplies the effect of the next
    action by 4.

    I hope it has a similar prefix to undo all the stuff I just destroyed with Ctrl-U.

    In Emacs, 'undo' is Meta-U. The Ctrl-U prefix doesn't seem to
    work with that. So, for anything that's going to change the
    document, it's advisable to just _be_ _careful_. For example,
    when executing a keyboard macro (to transpose columns in a table,
    for example), execute it once then again, then 4 at a time for a
    bit, then 16 at a time; then if that all looks safe do a whole
    bunch.

    For an additional measure of safety, there are numbered backup
    versions. After a few sessions editing a small file named "z", I
    have this:

    hostname:~/scratch% ls -alt
    total 28
    drwxr-xr-x 2 me users 4096 Nov 21 19:50 .
    -rw-r--r-- 1 me users 19 Nov 21 19:50 z
    -rw-r--r-- 1 me users 14 Nov 21 19:50 z.~4~
    -rw-r--r-- 1 me users 12 Nov 21 19:50 z.~3~
    -rw-r--r-- 1 me users 9 Nov 21 19:50 z.~2~
    -rw-r--r-- 1 me users 3 Nov 21 19:50 z.~1~
    drwxr-xr-x 51 me users 4096 Nov 21 19:46 ..
    hostname:~/scratch%

    If I mess up a macro, I just go back to the previous edition.

    --
    Robert Riches
    spamtrap42@jacob21819.net
    (Yes, that is one of my email addresses.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From candycanearter07@21:1/5 to nospam@example.net on Fri Nov 22 20:30:03 2024
    D <nospam@example.net> wrote at 08:49 this Thursday (GMT):


    On Thu, 20 Nov 2024, rbowman wrote:

    On Wed, 20 Nov 2024 22:11:42 +0100, Carlos E.R. wrote:

    Both vi and emacs live in a different planet than I do.

    vi definitely lives someplace else in the solar system than vim or gVim.

    The choice was easy back when disk space was at a premium. iirc, gVim took >> around 2 MB, and emacs took over 20 MB. Of course gVim didn't tell your
    fortune, play go, or require keyboard maneuvers equivalent to playing B7
    on a guitar.


    This old classic comes to mind:

    Regexing with several editors:

    acme:
    Oh, | want to execute a regular expression on my text here.
    Here | go.
    | take my mouse hand off my keys.
    | move my mouse hand to my mouse
    I grip the mouse with my mouse hand
    | move the mouse to the tag strip on top of the editing buffer
    I click the tag strip
    | release the mouse
    | move my mouse hand to the keys
    | write the regex
    | take my mouse hand off the keys
    | move my mouse hand to my mouse
    I grip the mouse and press da butans
    | drag the mouse over the regex to highlight it
    | release da butans
    | watch as my regex hopefully does what it needs to do on the first try.
    I move the mouse to the editing buffer to continue inputting text
    | release the mouse
    | move my mouse hand to the keys
    | FINALLY start typing again.

    Emacs:
    press both foot pedals
    press meta shift control sysrq
    play the moonlight sonata on the two extra leopards while requesting
    Regex-Mode with the headstick.
    hit the electric cymbals strapped under my arm and while putting the
    shift-stick | have gripped tightly with my sphincter into turbo mode.
    signal my two assistants to turn their keys in unison, NOW!
    input the regex
    release all keys and watch as emacs gracefully rearranges the text

    vim:
    escape or equivalent
    : %s/foo/bar/g
    enter
    continue editing


    You can also use /gi to make it confirm for each substitution. Pretty
    useful sometimes.
    --
    user <candycane> is generated from /dev/urandom

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 186283@ud0s4.net@21:1/5 to The Natural Philosopher on Wed Nov 27 01:24:31 2024
    On 11/21/24 8:45 AM, The Natural Philosopher wrote:
    On 20/11/2024 19:18, rbowman wrote:
    On Wed, 20 Nov 2024 10:23:18 +0000, The Natural Philosopher wrote:

    On the other hand, CAD is impossible without one...

    CAD has a different meaning in my world.

    https://en.wikipedia.org/wiki/Computer-aided_dispatch

    That lead to some awkward moments when interviewing candidates who hadn't
    done any research into what they were applying for.
    In the world of semi-professional fab, its Cardboard Aided Design where
    you cut bits of cardboard to the shapes you want and measure or scan
    them BEFORE invoking the software, or you trace them direct onto metal
    and nark the outline for manual cutting,,,


    Neolithic tech CAN be the best :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to 186282@ud0s4.net on Wed Nov 27 12:16:48 2024
    On 27/11/2024 06:24, 186282@ud0s4.net wrote:
    On 11/21/24 8:45 AM, The Natural Philosopher wrote:
    On 20/11/2024 19:18, rbowman wrote:
    On Wed, 20 Nov 2024 10:23:18 +0000, The Natural Philosopher wrote:

    On the other hand, CAD is impossible without one...

    CAD has a different meaning in my world.

    https://en.wikipedia.org/wiki/Computer-aided_dispatch

    That lead to some awkward moments when interviewing candidates who
    hadn't
    done any research into what they were applying for.
    In the world of semi-professional fab, its Cardboard Aided Design
    where you cut bits of cardboard to the shapes you want and measure or
    scan them BEFORE invoking the software, or you trace them direct onto
    metal and nark the outline for manual cutting,,,


      Neolithic tech CAN be the best  :-)

    It is remarkably difficult in the CAD I use to develop a flat surface
    from a curved one, especially if the curvature is complex and involves stretching.

    As you get with metal that is 'Mullered' into the shape required.



    --
    For in reason, all government without the consent of the governed is the
    very definition of slavery.

    Jonathan Swift

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