Hello,

gfleury, le ven. 05 janv. 2024 10:02:30 +0200, a ecrit:
> with this small patch i managed to build it and seems to get rid of some weird
> character before prompt '?2004lroot@hurd:~#'
> 
> 
> --- lib/readline/terminal.c     2024-01-05 09:36:25.394494448 +0200
> +++ lib/readline/terminal.c     2024-01-05 09:36:57.022494473 +0200
> @@ -102,7 +102,7 @@
>  
>  static int tcap_initialized;
>  
> -#if !defined (__linux__) && !defined (NCURSES_VERSION)
> +#if !defined (__linux__) && !defined (__GNU__) && !defined (NCURSES_VERSION)
>  #  if defined (__EMX__) || defined (NEED_EXTERN_PC)
>  extern 
>  #  endif /* __EMX__ || NEED_EXTERN_PC */

Please forward it to the readline upstream so it can get integrated on
the long run.

Samuel

Reply via email to