To: vim-dev@vim.org Subject: Patch 5.6.042 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.6.042 Problem: When doing "vim -u vimrc" and vimrc contains ":q", the cursor in the terminal can remain off. Solution: Call cursor_on() in mch_windexit(). Files: src/os_unix.c *** ../vim-5.6.41/src/os_unix.c Tue Mar 28 17:54:16 2000 --- src/os_unix.c Thu Mar 30 16:23:32 2000 *************** *** 1700,1705 **** --- 1700,1710 ---- out_char('\n'); else msg_clr_eos(); /* clear the rest of the display */ + + /* Cursor may have been switched off without calling starttermcap() + * when doing "vim -u vimrc" and vimrc contains ":q". */ + if (full_screen) + cursor_on(); } out_flush(); ml_close_all(TRUE); /* remove all memfiles */ *** ../vim-5.6.41/src/version.c Thu Mar 30 16:51:36 2000 --- src/version.c Thu Mar 30 16:56:19 2000 *************** *** 420,421 **** --- 420,423 ---- { /* Add new patch number below this line */ + /**/ + 42, /**/ -- [SIR LAUNCELOT runs back up the stairs, grabs a rope of the wall and swings out over the heads of the CROWD in a swashbuckling manner towards a large window. He stops just short of the window and is left swing pathetically back and forth.] LAUNCELOT: Excuse me ... could somebody give me a push ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\ \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/