fix off by one error when dequoting completed filenames; initial cut at readline identifying ANSI terminals; print coproc commands without coproc name if the coproc is a simple command

This commit is contained in:
Chet Ramey
2023-12-13 10:52:43 -05:00
parent ba57a3e752
commit 9d51df7546
10 changed files with 158 additions and 21 deletions
+10
View File
@@ -54,3 +54,13 @@ echo "coprocs created"
}
type mkcoprocs
unset -f mkcoprocs
# make sure that simple commands are printed without the coproc name
mkcoprocs ()
{
coproc cat -u - &
read -u ${COPROC[0]} msg
}
type mkcoprocs