home bbs files messages ]

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

   alt.os.linux.slackware      I think its the one without Selinux crap      87,272 messages   

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

   Message 86,571 of 87,272   
   Bozo User to Dan C   
   Re: GNU screen   
   20 Jan 24 23:57:10   
   
   From: anthk@disroot.org   
      
   On 2023-11-15, Dan C  wrote:   
   > On Wed, 1 Nov 2023 16:44:51 -0000 (UTC), Ben Collver wrote:   
   >   
   >> Screen sets the TERMCAP environment variable for old termcap programs.   
   >> Elvis is one such program.  Slackware relies on the TERMCAP variable,   
   >> which is present in a local terminal, but not over SSH to another   
   >> Slackware system.  At that point, vi fails because TERMCAP is empty.   
   >> TERM is set to "screen" but has no matching entry in /etc/termcap nor in   
   >> terminfo.  This is Slackware's fault, because GNU screen instructs   
   >> packagers to update their termcap and terminfo.   
   >>   
   >> Below is a fix for doinst.sh:   
   >>   
   >> # Copy this update into place, and install it from doinst.sh mkdir -p   
   >> $PKG/etc/termcap.d cp terminfo/screencap $PKG/etc/termcap.d/   
   >> cp terminfo/screeninfo.src $PKG/usr/share/screen/   
   >>   
   >> # install screen termcap and terminfo entries cat /etc/termcap-Linux   
   >> /etc/termcap.d/* >/etc/termcap tic /usr/share/screen/screeninfo.src   
   >> >/dev/null 2>&1   
   >   
   > Use tmux.   
   >   
   >   
      
   Or better, I'd switch elvis for nvi. It has Unicode support.   
   BUt, if I were Ben, I'd try vis(1)   
   with structural regular expressions, the same ones Sam uses   
   at Plan9/9front. Creating complex scopes and replacements   
    it's a breeze:   
      
   :x/term to search and delimit/  c/replace/   
      
   Tmux has a setting at ~/.tmux.conf to avoid lag   
   on pressing [ESC] and switching modes:   
      
   set -sg escape-time 10   
      
   --- 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