1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/cmd/ksh93/edit
Martijn Dekker 257eea612a edit.c: don't trace tput command on init (re: ef8b80cf)
When starting a new interactive ksh with the -v or -x option, an
annoying symptom occurs: the 'tput' command that ed_setup() issues
to get the escape sequence for cursor-up is xtraced or echoed,
corrupting prompt display, for example ('▂' is the cursor):
	$ ksh -x
	$ + /usr/bin/tput cuu1
	+ 2> /dev/null
	+ .sh.subscript=$'\E[A'
	▂
or
	$ ksh -v
	$ .sh.subscript=$(/usr/bin/tput cuu1 2>/dev/null)▂

src/cmd/ksh93/edit/edit.c: ed_setup():
- Turn off xtrace and verbose while sh_trap()ing tput.
2021-11-17 04:27:20 +01:00
..
completion.c emacs/vi: Fix <Tab> behaviour after command substitution 2021-05-03 18:49:10 +01:00
edit.c edit.c: don't trace tput command on init (re: ef8b80cf) 2021-11-17 04:27:20 +01:00
emacs.c emacs: fix keys w/ repeat parameters repeating extra (re: 29b11bba) 2021-05-04 05:10:32 +01:00
hexpand.c Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
history.c Parse quotes when extracting words from command history (#291) 2021-04-30 20:18:07 +01:00
vi.c Fix more bugs that occur when enabling ASan (#293) 2021-05-02 04:06:30 +01:00