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

Re: dual boot Hurd/Linux?



Samuel Thibault, le dim. 27 avril 2025 12:11:31 +0200, a ecrit:
> Martin-Éric Racine, le dim. 27 avril 2025 11:29:21 +0300, a ecrit:
> > then we're stuck with a command line that barfs
> > on bash's standard command prompt's escape codes.
> 
> I have seen that recently indeed.
> 
> Contribution welcome.

A quick grep in the bash source shows

./lib/readline/rlprivate.h:#define BRACK_PASTE_INIT	"\033[?2004h"
./lib/readline/rlprivate.h:#define BRACK_PASTE_FINI	"\033[?2004l\r"

i.e. hardcoded constants, which does not make sense at all.

That should be discussed with bash maintainers.

Samuel


Reply to: