diff options
author | Ron Yorston <rmy@pobox.com> | 2021-12-22 08:22:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-12-22 08:22:12 +0000 |
commit | 1ee308c75f4720ee38be8e81ff8c9ed4c52670d4 (patch) | |
tree | 00f0e55a01b6df4407ddd26d1dbd39e27443d75b /init | |
parent | c29dc205d2dc590f6d66df5a4f26efa7ada9632d (diff) | |
download | busybox-w32-1ee308c75f4720ee38be8e81ff8c9ed4c52670d4.tar.gz busybox-w32-1ee308c75f4720ee38be8e81ff8c9ed4c52670d4.tar.bz2 busybox-w32-1ee308c75f4720ee38be8e81ff8c9ed4c52670d4.zip |
winansi: detect if running under Wine
Detect if running under Wine by checking for the wine_get_version
function in ntdll.dll. This is how the Wine Developer FAQ suggests
doing it.
If running under Wine and not otherwise configured:
- use ANSI emulation;
- don't use alternate screen buffer in vi/less.
Explicit settings of BB_SKIP_ANSI_EMULATION and BB_ALT_BUFFER will
override the Wine defaults.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions