Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libedit/readline.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libedit/readline.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.148 retrieving revision 1.149 diff -u -p -r1.148 -r1.149 --- src/lib/libedit/readline.c 2018/12/02 16:58:13 1.148 +++ src/lib/libedit/readline.c 2019/01/10 18:41:56 1.149 @@ -1,4 +1,4 @@ -/* $NetBSD: readline.c,v 1.148 2018/12/02 16:58:13 christos Exp $ */ +/* $NetBSD: readline.c,v 1.149 2019/01/10 18:41:56 christos Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ #include "config.h" #if !defined(lint) && !defined(SCCSID) -__RCSID("$NetBSD: readline.c,v 1.148 2018/12/02 16:58:13 christos Exp $"); +__RCSID("$NetBSD: readline.c,v 1.149 2019/01/10 18:41:56 christos Exp $"); #endif /* not lint && not SCCSID */ #include @@ -319,7 +319,7 @@ rl_initialize(void) el_end(e); return -1; } - el_set(e, EL_PROMPT, _get_prompt, RL_PROMPT_START_IGNORE); + el_set(e, EL_PROMPT_ESC, _get_prompt, RL_PROMPT_START_IGNORE); el_set(e, EL_SIGNAL, rl_catch_signals); /* set default mode to "emacs"-style and read setting afterwards */