head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.10.20.20.57.33; author ktnb; state Exp; branches; next ; commitid b0W3LFzG1VjI6g0H; desc @@ 1.1 log @cooledit: update to 5.0.6 Version 5.0.6 * Fixed broken Makefile. Version 5.0.5 * Fix Linux static build on later distributions. * Missing rxvt terminal escape sequence. Version 5.0.4 * Fixed rxvt rendering stutter on slow X connections. * OS/compiler compatibility fixes. * Filetool extended attribute support for FreeBSD. Version 5.0.3 * Update to latest unicode NotoSans fonts (✅) * rxvt automatically reconnects to remotefs when your link goes down so you don't have to login again. * Regular-expression search moved to the Onigmo engine for full Unicode/UTF-8 support; syntax highlighting rewritten with a re-entrant lexical processor and brace-depth tracking. * True-color (24-bit) and 256-color support in the terminal, plus xterm theme colors and the 90-97 / 100-107 SGR bright-color modes. * Standalone terminal (coolterm) with a -script option to run a shell command; X11 forwarding, remote-shell reconnect, TCP keep-alive, and pulseaudio forwarding. * Remote debugging. * RemoteFS published on the Android Play store; recursive remote copy (cp -R / scp style) via --filetool; file-browser caching and roughly halved latency over slow links. * RemoteFS default port changed 50095 to 30095; -port option and REMOTEFS_PORT environment variable to override. * File browser handles /proc/ and /sys/ files with indefinite length, local-to-local copies, and columnated ls -l listings. * Configurable rxvt scroll history (save-lines). * Unicode 17 font updates, additional symbol fonts, vulgar-fraction composition, centered superscript math glyphs, and a monochrome (no anti-aliasing) font mode. * Build and portability fixes for WSL, Solaris, and FreeBSD; recent GCC strictness and missing-prototype cleanups. Version 4.1.2 * Syntax highlighting updates. * Performance and bug fixes. * Solaris port Version 4.1.1 * Minor fixes Version 4.1.0 * Update to latest unicode NotoSans fonts (🫎) * Remotefs tool for editting on Windows and remote Unix/Linux systems with secure cryptography. * New key Alt-F10 to close the edit window at the BOTTOM of the stack. * New compose key Alt-\ for Latín1/2, mäth, and typõgraphic characters. * Text input for Chinese now works on Ubuntu. * Rxvt terminal added Unicode support and many behavioral fixes. Version 4.0.0 * Truetype, OpenType, PCF fonts-on-file support. * Full unicode support and glyph rendering for all 1114111 code points that are also supported by NotoSans. * Color TTF fonts supported. * Color Emoji fonts supported with scaling (😅). Version 3.17.21-24 * Various bug fixes. Version 3.17.18 / 3.17.19 * Bug fixes. * 64-bit support. * Fix rare crashes and make cooledit Valgrind clean @ text @$NetBSD$ Fixed stuff that doesn't work on NetBSD --- widget/cterminal.c.orig 2026-10-20 19:23:46.183486896 +0000 +++ widget/cterminal.c @@@@ -77,7 +77,7 @@@@ #ifdef TTY_GID_SUPPORT #include #endif -#if defined(PTYS_ARE_PTMX) && !defined(__FreeBSD__) && !defined(__DragonFly__) +#if defined(PTYS_ARE_PTMX) && !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__NetBSD__) #include /* for struct rlimit */ #include /* for I_PUSH */ #endif @@@@ -118,7 +118,7 @@@@ #define UTMP_SUPPORT -#if defined(__FreeBSD__) || defined(__sun) +#if defined(__FreeBSD__) || defined(__sun) || defined(__NetBSD__) #define HAVE_STRUCT_UTMPX #define RXVT_UTMP_AS_UTMPX #define HAVE_UTMPX_HOST @@@@ -345,7 +345,7 @@@@ static int cterminal_get_tty (struct cterminal *o, cha snprintf (errmsg, CTERMINAL_ERR_MSG_LEN, "can't open slave tty %s [%s]", o->ttydev, strerror (errno)); return -1; } -#if defined(PTYS_ARE_PTMX) && !defined(__FreeBSD__) && !defined(__DragonFly__) +#if defined(PTYS_ARE_PTMX) && !defined(__FreeBSD__) && !defined(__DragonFly__) && !defined(__NetBSD__) /* * Push STREAMS modules: * ptem: pseudo-terminal hardware emulation module. @@@@ -726,7 +726,7 @@@@ int cterminal_get_pty (struct cterminal *o, char *errm o->ttydev = 0; } -#if defined(__FreeBSD__) || defined(__sun) +#if defined(__FreeBSD__) || defined(__sun) || defined(__NetBSD__) fd = posix_openpt (O_RDWR); if (fd >= 0) { if (grantpt (fd) == 0 /* change slave permissions */ @@@@ -1413,7 +1413,7 @@@@ static void cterminal_makeutent_ (struct wtmp_command /* set up the new entry */ ut.ut_type = dead ? DEAD_PROCESS : USER_PROCESS; -#if !defined(linux) && !defined(__FreeBSD__) +#if !defined(linux) && !defined(__FreeBSD__) && !defined(__NetBSD__) ut.ut_exit.e_exit = 2; #endif strncpy (ut.ut_user, (pwent && pwent->pw_name) ? pwent->pw_name : "?", @@@@ -1429,7 +1429,7 @@@@ static void cterminal_makeutent_ (struct wtmp_command # endif #endif -#ifndef __FreeBSD__ +#if !defined(__FreeBSD__) && !defined(__NetBSD__) /* ut_name is normally the same as ut_user, but .... */ strncpy (ut.ut_name, (pwent && pwent->pw_name) ? pwent->pw_name : "?", sizeof (ut.ut_name)); @@@@ -1438,7 +1438,7 @@@@ static void cterminal_makeutent_ (struct wtmp_command ut.ut_pid = tc->pid; #ifdef RXVT_UTMP_AS_UTMPX -#ifndef __FreeBSD__ +#if !defined(__FreeBSD__) && !defined(__NetBSD__) ut.ut_session = tc->sid; #endif ut.ut_tv.tv_sec = tc->now; @