bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 29/30] INSTALL: Fix stale claim regarding BSD padding.


From: Thomas Dickey
Subject: Re: [PATCH 29/30] INSTALL: Fix stale claim regarding BSD padding.
Date: Sat, 8 Jun 2024 17:12:36 -0400

On Sat, Jun 08, 2024 at 07:20:39AM -0500, G. Branden Robinson wrote:
> * NetHack was never a BSD program per se; unlike rogue(6) and hack(6),
>   it was never part of a CSRG BSD distribution.

fwiw, hack did this:

delay_output() {                                                                
        /* delay 50 ms - could also use a 'nap'-system call */                  
        /* BUG: if the padding character is visible, as it is on the 5620       
           then this looks terrible. */                                         
        if(!flags.nonull)                                                       
                tputs("50", 1, xputc);                                          
                                                                                
                /* cbosgd!cbcephus!pds for SYS V R2 */                          
                /* is this terminfo, or what? */                                
                /* tputs("$<50>", 1, xputc); */

I don't see that in rogue

> * NetHack migrated to terminfo-style padding in `tputs()` calls in 2019.
> 
> commit 0d76f68f2c233c18eebf16d6e5f2afce2f7c0726
> Author:     PatR <rankin@nethack.org>
> AuthorDate: Sat Oct 5 16:49:34 2019 -0700
> Commit:     PatR <rankin@nethack.org>
> CommitDate: Sat Oct 5 16:49:34 2019 -0700
> ---
>  INSTALL | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/INSTALL b/INSTALL
> index a8198fb5b..ac640c7ed 100644
> --- a/INSTALL
> +++ b/INSTALL
> @@ -550,8 +550,8 @@ CONFIGURE OPTIONS:
>       problem.
>  
>      --enable-bsdpad
> -     Recognize BSD-style prefix padding.  Some ancient BSD programs (such as
> -     nethack) call tputs("50") to implement delays.
> +     Recognize BSD-style prefix padding.  Some programs written using
> +     the BSD curses API use tputs("50") to implement delays.
>  
>      --enable-check-size
>       Compile-in feature to detect screensize for terminals which do not
> -- 
> 2.30.2
> 



-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]