Hirohito Higashi wrote: > Hi Bram, > > 2015-6-26(Fri) 00:03:57 UTC+9 Bram Moolenaar: > > Patch 7.4.757 > > Problem: Cannot detect the background color of a terminal. > > Solution: Add T_RBG to request the background color if possible. (Lubomir > > Rintel) > > Files: src/main.c, src/term.c, src/term.h, src/proto/term.pro
[...] > The OSC(Operating System Controls) can be terminated with a ST. Same as a BEL. > Please see this url. > http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Operating-System-Controls > > Actually, Tera Term[1] returns The Background color response as: > <Esc>]11;rgb:{rrrr}/{gggg}/{bbbb}ST > > This causes a problem. (Vim startup after displayed 'g') > > So I was allowed to ST (0x9c or ESC\) the termination character of Background > color response. > Please check an attached patch. > > [1]: http://ttssh2.osdn.jp/index.html.en Thanks. I had been wondering about whether this works everywhere. Those requested escape sequences can cause trouble. -- In Joseph Heller's novel "Catch-22", the main character tries to get out of a war by proving he is crazy. But the mere fact he wants to get out of the war only shows he isn't crazy -- creating the original "Catch-22". /// 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]. For more options, visit https://groups.google.com/d/optout.
