home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.editors      What? Edlin ain't good enough for you?      123,932 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 123,920 of 123,932   
   Anthony Howe to Janis Papanagnou   
   Re: Vi: is there any way not to yank tex   
   17 Feb 26 05:53:07   
   
   From: achowe@snert.com   
      
   On 2026-02-16 17:28, Janis Papanagnou wrote:   
   >> Use "_dd and similar to not put the deleted text in a register.   
   >> See :h "_   
   >   
   > Do you know whether that register was existing in classical Vi ?   
   > (I don't think so but, frankly, I don't recall and I'm curious.)   
      
   The "a .. "z and "1 .. "9 buffers are part of historical `ex` and `vi`, see SUS   
   https://pubs.opengroup.org/onlinepubs/9799919799/ buffer definition.   
      
   I used to work on Mortice Kern Systems maintaining their DOS `vi` while we were   
   balloting POSIX.2. The named buffers were part of the historical `vi` and the   
   MKS independent clone.   
      
   As for the OP, deleting / changing always included a yank into the numeric   
   buffers.  That is historical behaviour and documented in SUS.   
      
   --   
   Anthony C Howe   
   achowe@snert.com                              BarricadeMX & Milters   
   http://nanozen.snert.com/              https://github.com/SirWumpus   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca