[HN Gopher] Ash (Almquist Shell) Variants
       ___________________________________________________________________
        
       Ash (Almquist Shell) Variants
        
       Author : thefilmore
       Score  : 67 points
       Date   : 2025-05-10 08:01 UTC (2 days ago)
        
 (HTM) web link (www.in-ulm.de)
 (TXT) w3m dump (www.in-ulm.de)
        
       | barosl wrote:
       | History classes are always fun! I didn't know dash had the
       | command history feature. It is just disabled by default.
        
         | onre wrote:
         | Yes. The current state of things makes much more sense when one
         | is aware of the background.
        
         | chasil wrote:
         | Shell vi mode is part of the POSIX standard, but emacs is not.
         | 
         | Dash has an option to be built with libedit that supports set
         | -o vi. It should very much be built this way.
         | 
         | "[set -o] vi: Allow shell command line editing using the built-
         | in vi editor. Enabling vi mode shall disable any other command
         | line editing mode provided as an implementation extension. This
         | option shall be supported if the system supports the User
         | Portability Utilities option.
         | 
         | "It need not be possible to set vi mode on for certain block-
         | mode terminals."
         | 
         | https://pubs.opengroup.org/onlinepubs/9799919799/utilities/
         | [V3_chap02.html]
        
       ___________________________________________________________________
       (page generated 2025-05-12 23:01 UTC)