These are sample programs to output some data to Cygwin pty from a normal Win32 program.
-
Download go-iscygpty
| commit b4a5392a631ca08893c7b5653756bc1aa21db71b | |
| Author: Mehdi Abaakouk <[email protected]> | |
| Committer: Mehdi Abaakouk <[email protected]> | |
| Date: Fri Oct 6 10:16:01 2017 (43 seconds ago) | |
| sixel patch | |
| Updated from https://github.com/saitoha/tmux-SIXEL | |
| for debian strech | |
| diff --git a/src/Makefile.in b/src/Makefile.in | |
| index 18acb39e..ef2e7a40 100644 | |
| --- a/src/Makefile.in | |
| +++ b/src/Makefile.in | |
| @@ -40,7 +40,7 @@ COMMON = \ | |
| screen.o scrollbar.o scrollbar-next.o scrollbar-rxvt.o \ | |
| scrollbar-xterm.o scrollbar-plain.o xdefaults.o encoding.o \ | |
| rxvttoolkit.o rxvtutil.o keyboard.o rxvtimg.o \ | |
| - ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o @PERL_O@ | |
| + ev_cpp.o fdpass_wrapper.o ptytty_wrapper.o sixel.o @PERL_O@ |
| commit ea830e03d4d4562b1ff225940f65bceddd9cad6c | |
| Author: Hayaki Saito <[email protected]> | |
| Date: Sun Jun 11 23:46:45 2017 +0900 | |
| Add sixel graphics support | |
| Signed-off-by: Hayaki Saito <[email protected]> | |
| diff --git a/Makefile b/Makefile | |
| index d8595fe..a25d040 100644 |
| #!/bin/bash | |
| # sixcat: Use sixel graphics to show an image inside a terminal. | |
| # sixgif: Use sixel graphics to play an animation inside a terminal. | |
| # Version 1.0 | |
| # hackerb9, June 2017 | |
| # Sixel graphics are supported by terminals such as the DEC VT340 and | |
| # emulators, such as 'xterm -ti vt340'. |
These are sample programs to output some data to Cygwin pty from a normal Win32 program.
Download go-iscygpty
| diff --git a/input.c b/input.c | |
| index d1ff17f..33fad13 100644 | |
| --- a/input.c | |
| +++ b/input.c | |
| @@ -1805,6 +1805,7 @@ input_dcs_dispatch(struct input_ctx *ictx) | |
| { | |
| const char prefix[] = "tmux;"; | |
| const u_int prefix_len = (sizeof prefix) - 1; | |
| + u_char *p; | |
| package main | |
| import ( | |
| "fmt" | |
| "github.com/nfnt/resize" | |
| "image" | |
| "image/color" | |
| _ "image/gif" | |
| _ "image/jpeg" | |
| _ "image/png" |
| // You can edit this code! | |
| // Click here and start typing. | |
| package main | |
| import "fmt" | |
| import "runtime" | |
| import "strings" | |
| func identifyPanic() string { | |
| var name, file string |