> If my terminal has - > > civis=\E[?25l, > cnorm=\E[?12l\E[?25h > cvvis=\E[?12;25h > > Then in vim I see - > > t_vi=^[[?25l > t_VS=^[[?12l > t_vs=^[[?12h > t_ve=^[[?25h > > But if my terminal has - > > civis=\E[?25l, > cnorm=\E[34h\E[?25h > cvvis=\E[34l > > Then in vim I see - > > t_vi=^[[?25l > t_VS= > t_vs=^[[34l > t_ve=^[[34h^[[?25h > > It does not seem that vim is parsing the cnorm the same way ? > I would have thought t_VS would be ^[[34h and t_ve be ^[[?25h ? > Anyone know why its parsed/calculated differently ? > I can force t_ve but just want to understand.
termlib/termcap works with two namespaces: the longer form and the two letter form. Vim uses the two letter form. Inside the library these are translated into the longer form, if needed. Vim fetches "ve", "vi", "vs" and "VS", I'm not sure how these map to the longer form. -- hundred-and-one symptoms of being an internet addict: 225. You sign up for free subscriptions for all the computer magazines /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ 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/202105031842.143IgP8w357399%40masaka.moolenaar.net.
