These are sample programs to output some data to Cygwin pty from a normal Win32 program.
-
Download go-iscygpty
REGEDIT4 | |
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor] | |
"DisableUNCCheck"=dword:00000001 | |
func! Dirlist(d = '.') | |
new | |
let start = reltime() | |
setlocal buftype=nofile | |
let list = readdir(a:d) | |
call append(line('$'), list) | |
call append(line('$'), reltimestr(reltime(start))) | |
endfunc |
@echo off | |
rem Update the DLL using MSVC. | |
rem If the old DLL is in use, rename it to avoid compilation error. | |
rem current support version of Visual C compiler is 2012 or later. | |
rem | |
rem usage: update-dll-msvc | |
rem | |
rem | |
rem Sample .vimrc: | |
rem |
#!/bin/sh | |
mainbundle=hg_main.bundle | |
mqbundle=hg_mq.bundle | |
rm -f $mainbundle $mqbundle | |
hg --pager=no incoming -v --bundle $mainbundle | |
hg --pager=no incoming --mq -v --bundle $mqbundle |
--- a/src/os_mswin.c | |
+++ b/src/os_mswin.c | |
@@ -1703,55 +1703,12 @@ mch_print_set_fg(long_u fgcol) | |
# include <shlobj.h> | |
# endif | |
-typedef enum _FILE_INFO_BY_HANDLE_CLASS_ { | |
- FileBasicInfo_, | |
- FileStandardInfo_, | |
- FileNameInfo_, |
From 35b9dc6481422ed93236d2c201ff7da122c8ae26 Mon Sep 17 00:00:00 2001 | |
From: "K.Takata" <kentkt@csc.jp> | |
Date: Thu, 13 Jun 2019 23:15:37 +0900 | |
Subject: [PATCH] sound: Fix some issues | |
* Update document about sound_playevent() on Windows. | |
* Some lines exceeded 80 columns. | |
* Types of some variables were wrong. | |
--- | |
runtime/doc/eval.txt | 11 ++++++++--- |
From 40542b0f2055df62819ba25f8e1aee623a20fb5d Mon Sep 17 00:00:00 2001 | |
From: "K.Takata" <kentkt@csc.jp> | |
Date: Tue, 11 Jun 2019 19:22:56 +0900 | |
Subject: [PATCH] MSVC: Update makefile for sound | |
--- | |
src/Make_mvc.mak | 32 +++++++++++++++++++++++++------- | |
1 file changed, 25 insertions(+), 7 deletions(-) | |
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak |
These are sample programs to output some data to Cygwin pty from a normal Win32 program.
Download go-iscygpty
@echo off | |
setlocal | |
:: Default I/F versions. | |
set LUA_VER=51 | |
set PERL_VER=528 | |
set PYTHON_VER=27 | |
set PYTHON3_VER=37 | |
set RUBY_VER=25 | |
set RUBY_API_VER_LONG=2.5.0 |
diff --git a/src/gui_dwrite.cpp b/src/gui_dwrite.cpp | |
--- a/src/gui_dwrite.cpp | |
+++ b/src/gui_dwrite.cpp | |
@@ -1034,7 +1034,7 @@ DWriteContext::DrawText(const WCHAR *tex | |
TextRenderer renderer(this); | |
TextRendererContext context = { color, FLOAT(cellWidth), 0.0f }; | |
- textLayout->Draw(&context, &renderer, FLOAT(x), FLOAT(y) - 0.5f); | |
+ textLayout->Draw(&context, &renderer, FLOAT(x), FLOAT(y)); | |
} |