-
[hp-ux] vim slow copy & paste카테고리 없음 2020. 1. 19. 21:46
On hp-ux 11.31 machine, vim copy/paste has became annoyingly slow..
Goooooooooogling shows like me:
http://vim.1045645.n5.nabble.com/vim-7-4-pasting-is-very-slow-on-HP-UX-machine-td5722018.html
Vim - General - vim 7.4: pasting is very slow on HP UX machine.
On Tuesday, July 1, 2014 1:36:51 AM UTC-5, Christian Brabandt wrote: > Am 2014-06-30 19:40, schrieb Sarath Addanki: > > > I tried all the options suggested here. I have understood the problem > > > more clearly now. > > > > > > > > > Problematic Case: > >
vim.1045645.n5.nabble.com
Truss on the vim process shows many select() syscalls.
Another search result tell me:
https://support.hpe.com/hpsc/doc/public/display?docId=pdb_na-PHKL_41967
HPE 지원 문서 - HPE 고객 지원 센터
11.31 fs_select cumulative patch Patch Name: PHKL_41967 Patch Description: 11.31 fs_select cumulative patch Creation Date: 11/06/03 Post Date: 11/06/13 Repost: 11/12/07 The Critical section of the patch documentation was updated to indicate the patch fixes
support.hpe.com
But I cannot download the patch (WTF...).
My workaround is disbling select() syscall in vim.
Downloaded vim src and "#undef HAVE_SELECT" in vim.h
491 #if defined(HAVE_SYS_SELECT_H) && \ 492 (!defined(HAVE_SYS_TIME_H) || defined(SYS_SELECT_WITH_SYS_TIME)) 493 # include <sys/select.h> 494 #endif 495 496 #undef HAVE_SELECT 497 498 #ifndef HAVE_SELECT 499 # ifdef HAVE_SYS_POLL_H 500 # include <sys/poll.h> 501 # elif defined(MSWIN) 502 # define HAVE_SELECT 503 # else 504 # ifdef HAVE_POLL_H 505 # include <poll.h> 506 # endif 507 # endif 508 #endifmake all & enjoy happy viming :-)
댓글