[Bug 1179390] New: vim leaves terminal in "italic" state
https://bugzilla.suse.com/show_bug.cgi?id=1179390 Bug ID: 1179390 Summary: vim leaves terminal in "italic" state Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: idonmez@suse.com Reporter: jslaby@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Sometimes, while browsing through .rst files where italic is used to emphasize, vim leaves the terminal in this italic state. I don't know how to reproduce this, but it happened for the third time now. I don't know what attributes vim uses, but neither of these helps: * tput reset (or simply reset) * tput init * echo -ne '\e[23m' * ctrl-mid-click -> Do Full Reset This puts terminal on non-italic bold: $ echo -ne '\e[1m' Resetting back by: $ echo -ne '\e[0m' switches italic back on (instead of switch to normal). What helped is this ncurses program: int main(int argc, char **argv) { initscr(); attron(A_ITALIC); printw("italic\n"); attroff(A_ITALIC); printw("normal\n"); refresh(); sleep(3); endwin(); return 0; } I use xterm. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179390 https://bugzilla.suse.com/show_bug.cgi?id=1179390#c1 --- Comment #1 from Jiri Slaby <jslaby@suse.com> --- It happens also in consoles. It is enough to open an .rst file with this contents: *italic* That is: italic text till the EOF. When one closes vim, everything is in italic until the program above is run. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179390 https://bugzilla.suse.com/show_bug.cgi?id=1179390#c2 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/vim/vim/ | |issues/7661 --- Comment #2 from Jiri Slaby <jslaby@suse.com> --- Reported upstream as: https://github.com/vim/vim/issues/7661 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179390 https://bugzilla.suse.com/show_bug.cgi?id=1179390#c3 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Jiri Slaby <jslaby@suse.com> --- This is fixed by xterm 363. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1179390 https://bugzilla.suse.com/show_bug.cgi?id=1179390#c4 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bpetkov@suse.com --- Comment #4 from Jiri Slaby <jslaby@suse.com> --- (In reply to Jiri Slaby from comment #3)
This is fixed by xterm 363.
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com