1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

Don't swap carriage return and new line in quoted mode (after ^V).

This commit is contained in:
Wolfgang Helbig 1998-01-22 07:37:10 +00:00
parent 2cc11a3c27
commit 5aeee887af
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32697

View File

@ -77,7 +77,7 @@ private ttyperm_t ttyperm = {
C_SH(C_PGOFF)|C_SH(C_PAGE)|C_SH(C_STATUS)), 0 }
},
{
{ "iflag:", 0, IXON | IXOFF },
{ "iflag:", 0, IXON | IXOFF | INLCR | ICRNL },
{ "oflag:", 0, 0 },
{ "cflag:", 0, 0 },
{ "lflag:", 0, ISIG | IEXTEN },
@ -793,7 +793,7 @@ protected int
tty_rawmode(el)
EditLine *el;
{
if (el->el_tty.t_mode == ED_IO)
if (el->el_tty.t_mode == ED_IO || el->el_tty.t_mode == QU_IO)
return (0);
if (tty_getty(el, &el->el_tty.t_ts) == -1) {