开发者

Do all Vim builds use glib?

开发者 https://www.devze.com 2023-02-22 19:37 出处:网络
My version of non gui Vim seems to use glib. me@laptop:~$ ldd /usr/bin/vim | grep glib-2.0 libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb722c000)

My version of non gui Vim seems to use glib.

me@laptop:~$ ldd /usr/bin/vim | grep glib-2.0
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb722c000)

But is it poss开发者_开发知识库ible to build a version of Vim that does not use glib? If so, what is it using for an event loop?


Info from aptitude on Ubuntu's vim-nox and vim-tiny packages shows that these packages do not depend on glib.

$ aptitude show vim-tiny vim-nox | grep glib; echo $?
1

The source code contains a top-level readme file which mentions some of the event loops used in the code. It sounds like there are a few different event loops used, each in a different mode. They use the function vgetc to get input.

0

精彩评论

暂无评论...
验证码 换一张
取 消