Patch 8.1.2208
Problem: Unix: Tabs in output might be expanded to spaces.
Solution: Reset the XTABS flag. (closes #5108)
Files: src/os_unix.c
*** ../vim-8.1.2207/src/os_unix.c 2019-10-17 22:58:59.070496999 +0200
--- src/os_unix.c 2019-10-24 17:32:50.227443423 +0200
***************
*** 2201,2209 ****
if (*T_CIS != NUL)
{
! out_str(T_CIS); /* set icon start */
out_str_nf(icon);
! out_str(T_CIE); /* set icon end */
out_flush();
}
#ifdef FEAT_X11
--- 2201,2209 ----
if (*T_CIS != NUL)
{
! out_str(T_CIS); // set icon start
out_str_nf(icon);
! out_str(T_CIE); // set icon end
out_flush();
}
#ifdef FEAT_X11
***************
*** 3456,3466 ****
/* but it breaks function keys on MINT */
# endif
);
! # ifdef ONLCR /* don't map NL -> CR NL, we do it ourselves */
tnew.c_oflag &= ~ONLCR;
# endif
! tnew.c_cc[VMIN] = 1; /* return after 1 char */
! tnew.c_cc[VTIME] = 0; /* don't wait */
}
else if (tmode == TMODE_SLEEP)
{
--- 3456,3476 ----
/* but it breaks function keys on MINT */
# endif
);
! # ifdef ONLCR
! // Don't map NL -> CR NL, we do it ourselves.
! // Also disable expanding tabs if possible.
! # ifdef XTABS
! tnew.c_oflag &= ~(ONLCR | XTABS);
! # else
! # ifdef TAB3
! tnew.c_oflag &= ~(ONLCR | TAB3);
! # else
tnew.c_oflag &= ~ONLCR;
+ # endif
+ # endif
# endif
! tnew.c_cc[VMIN] = 1; // return after 1 char
! tnew.c_cc[VTIME] = 0; // don't wait
}
else if (tmode == TMODE_SLEEP)
{
*** ../vim-8.1.2207/src/version.c 2019-10-24 15:23:33.526220516 +0200
--- src/version.c 2019-10-24 17:23:30.277660697 +0200
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 2208,
/**/
--
Never under any circumstances take a sleeping pill
and a laxative on the same night.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201910241544.x9OFiPGq026237%40masaka.moolenaar.net.