Re: terminfo checks, title clearing, tsl/fsl

2002-07-24 Thread Alexander V. Lukyanov

On Sun, Jul 21, 2002 at 10:36:09PM -0400, Glenn Maynard wrote:
 StatusLine.cc, StatusLine.h: Add tsl/dsl cap support.  Used only if
  cmd:term-status is blank.  Clear title in dtor, so we don't leave
  it behind if the user's shell (or invoking program) doesn't know
  to clear it.

As you have probably noticed, I have applied this patch. I have also
modified lftp_TERMINFO macro to use AC_SEARCH_LIBS.

Now I wonder why screen and xterm terminfo don't provide tsl and fsl
capabilities (who don't know: it is to_status_line and from_status_line)?

--
   Alexander.



Re: terminfo checks, title clearing, tsl/fsl

2002-07-24 Thread Glenn Maynard

On Wed, Jul 24, 2002 at 05:12:48PM +0400, Alexander V. Lukyanov wrote:
 As you have probably noticed, I have applied this patch. I have also
 modified lftp_TERMINFO macro to use AC_SEARCH_LIBS.
 
 Now I wonder why screen and xterm terminfo don't provide tsl and fsl
 capabilities (who don't know: it is to_status_line and from_status_line)?

Screen upstream said that the problem is that if tsl/fsl is provided,
some apps move data to the statusline (eg. display it there and no
longer display it on the main screen), and that if screen provides those
caps, it may not actually be able to honor it (ie. 1: if the terminal
actually attached doesn't have it, it can't modify terminfo at runtime,
and 2: if it does this on the first attach, a terminal that doesn't
really have tsl/fsl may attach later.)

Personally, I disagree (the only app I know that has that particular
behavior is Screen itself), but the best I could do was get him to add
a screen-s terminal entry.

As for xterm/rxvt, I'm not sure; I havn't tried getting it added yet.

-- 
Glenn Maynard