Re: Updated: mintty 3.7.5

2024-09-23 Thread Thomas Wolff via Cygwin
Am 23.09.2024 um 08:15 schrieb Takashi Yano via Cygwin: Hi Thomas, On Tue, 17 Sep 2024 10:06:36 +0200 Thomas Wolff wrote: I have uploaded mintty 3.7.5 with the following changes: Highlights   * Box Drawing characters (U+2500..U+257F) are self-drawn (#935, #1119).   * Tabs can be reordered

Re: readdir() returns inaccessible name if file was created with invalid UTF-8

2024-09-15 Thread Thomas Wolff via Cygwin
Am 15.09.2024 um 20:15 schrieb Thomas Wolff via Cygwin: Am 15.09.2024 um 19:47 schrieb Christian Franke via Cygwin: If a file name contains an invalid (truncated) UTF-8 sequence, open() does not refuse to create the file. Later readdir() returns a different name which could not be used to

Re: readdir() returns inaccessible name if file was created with invalid UTF-8

2024-09-15 Thread Thomas Wolff via Cygwin
Am 15.09.2024 um 19:47 schrieb Christian Franke via Cygwin: If a file name contains an invalid (truncated) UTF-8 sequence, open() does not refuse to create the file. Later readdir() returns a different name which could not be used to access the file. Testcase with U+1F321 (Thermometer): $ uname

Re: ZDI-CAN-24744: Mintty Path Conversion Improper Input Validation Information Disclosure Vulnerability

2024-08-16 Thread Thomas Wolff via Cygwin
Am 16.08.2024 um 16:25 schrieb zdi-disclosures--- via Cygwin: The attachment could not be scanned for viruses because it is a password protected file. ZDI-CAN-24744: Mintty Path Conversion Improper Input Validation Information Disclosure Vulnerability ??? -- CVSS ---

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Thomas Wolff via Cygwin
Am 21.07.2024 um 01:54 schrieb Takashi Yano via Cygwin: On Sat, 20 Jul 2024 15:44:17 +0200 Mark Liam Brown wrote: I am trying to parse the output of "net use" in a bash script, but hit a roadblock: The output of "net use" changes with the language of the system (English, Danish, French, ...),

Re: No Native Language Support in browser started from shell prompt

2024-06-15 Thread Thomas Wolff via Cygwin
Am 14.06.2024 um 09:37 schrieb Dr Bean via Cygwin: With qutebrowser and Microsoft Edge started from a cygwin shell prompt, there is no Native Language Support. Started from a cmd prompt, "c:\Program Files\qutebrowser\qutebrowser.exe" https://ja.wikipedia.org/wiki/%E8%A5%BF%E6%97%A5%E6%9C%AC%

Re: Bug: bash redirect "magic" variable content to input of command hangs (upstream of https://github.com/git-for-windows/git/issues/5001)

2024-06-10 Thread Thomas Wolff via Cygwin
Am 10.06.2024 um 13:12 schrieb Holger Klene via Cygwin: Hi Cygwin, On reading a magic value back from a bash variable, the involved command (wc, grep, cat, ...) hangs indefinitely and has to be stopped by Ctrl+C Editing it's content by deleting lines, the "magic" goes away. Also as demonstr

Re: pagefile.sys is reported as being a directory

2024-05-02 Thread Thomas Wolff via Cygwin
Am 03.05.2024 um 01:40 schrieb Bruno Haible via Cygwin: Hi, Ken Brown noticed this: pagefile.sys and swapfile.sys are being reported by Cygwin 3.5.3 as being directories. Cygwin 3.5.3 on Windows 10: $ ls -ld /proc/cygdrive/c/pagefile.* drwxr-x--- 17664 Unknown+User Unknown+Group 0 Jan 1 1

Re: Change for the initial installation of Cygwin to set the default terminal terminal 256 color

2024-04-12 Thread Thomas Wolff via Cygwin
Am 12.04.2024 um 11:18 schrieb Lee via Cygwin: On Fri, Apr 12, 2024 at 4:05 AM J M wrote: Some examples that I view that can do Cygwin better by default: tput colors 8 echo $TERM xterm I made my mintty changes by point & click experimentation - if you want to make system-wide changes the p

Re: ls/stat on OneDrive causes download of files

2024-03-08 Thread Thomas Wolff via Cygwin
Am 08.03.2024 um 11:37 schrieb Corinna Vinschen via Cygwin: Hi Jeffrey, On Mar 6 13:55, Jeffrey Altman via Cygwin wrote: On 3/6/2024 12:19 PM, Corinna Vinschen via Cygwin wrote: We can add an explicit call to RtlSetProcessPlaceholderCompatibilityMode (PHCM_EXPOSE_PLACEHOLDERS); [...]

Re: Desktop partially inert with mintty running

2024-02-15 Thread Thomas Wolff via Cygwin
Am 15.02.2024 um 09:23 schrieb Bruce Jerrick via Cygwin: Has anyone had this happen: Sometimes when I have a mintty running, the upper-left quandrant of the desktop becomes inert to the mouse -- icons do not respond to hovers or clicks, and the desktop background does not respond to a right-cli

Re: mintty ^H weirdness with ssh to one specific Debian 11 system

2024-01-18 Thread Thomas Wolff via Cygwin
Am 18.01.2024 um 14:08 schrieb Andrey Repin via Cygwin: Greetings, Jim Garrison via Cygwin! Details I have mintty set to term type "mintty" Don't do that. $TERM is not a random made-up string. It should be supported by appropriate terminfo(5) entry on the system. If an entry is not found, i

Re: mintty ^H weirdness with ssh to one specific Debian 11 system

2024-01-17 Thread Thomas Wolff via Cygwin
Am 16.01.2024 um 22:38 schrieb Jim Garrison via Cygwin: TL;DR New laptop, setting up mintty configuration identical to working desktop system.  When connected to one specific Debian 11 (Bullseye) system (to which I connect often from the desktop with no issues), backspace appears to send ^H,

Re: Automatic Cygwin installation for CI ?

2023-12-15 Thread Thomas Wolff via Cygwin
Am 15.12.2023 um 18:07 schrieb Mainz, Roland via Cygwin: Hi! Is there any documentation how Cygwin 3.5.0 can be automatically (without GUI and user intervention, e.g. via *.bat script) be installed as part of a CI (Continuous integration) build environment ? Bye, Roland Appveyor

Re: Cygwin api to punch a hole into a file?

2023-12-05 Thread Thomas Wolff via Cygwin
Am 05/12/2023 um 15:40 schrieb Thomas Wolff via Cygwin: Am 05/12/2023 um 14:53 schrieb Corinna Vinschen via Cygwin: On Dec  5 07:36, Thomas Wolff via Cygwin wrote: Am 01.12.2023 um 12:02 schrieb Corinna Vinschen via Cygwin: On Dec  1 11:22, Cedric Blancher via Cygwin wrote: Not all

Re: Cygwin api to punch a hole into a file?

2023-12-05 Thread Thomas Wolff via Cygwin
Am 05/12/2023 um 14:53 schrieb Corinna Vinschen via Cygwin: On Dec 5 07:36, Thomas Wolff via Cygwin wrote: Am 01.12.2023 um 12:02 schrieb Corinna Vinschen via Cygwin: On Dec 1 11:22, Cedric Blancher via Cygwin wrote: Not all filesystems have a 128k block/stripe size, and certainly most

Re: Cygwin api to punch a hole into a file?

2023-12-04 Thread Thomas Wolff via Cygwin
Am 01.12.2023 um 12:02 schrieb Corinna Vinschen via Cygwin: On Dec 1 11:22, Cedric Blancher via Cygwin wrote: Not all filesystems have a 128k block/stripe size, and certainly most filesystems have smaller minimum hole sizes than 128k (e.g. 512bytes is common, ref pathconf _PC_MIN_HOLE_SIZE).

Re: Cygwin tool to differ junctions from soft links?

2023-11-16 Thread Thomas Wolff via Cygwin
Am 16.11.2023 um 21:30 schrieb Brian Inglis via Cygwin: On 2023-11-16 11:55, matthew patton via Cygwin wrote: On Thursday, November 16, 2023 at 03:50:24 AM EST, Andrey Repin wrote: Does Cygwin have a command line tool (Scriptable!) which can be used to differ between soft links and Windows j

Re: sqlite3 outdate

2023-10-12 Thread Thomas Wolff via Cygwin
Am 13.10.2023 um 02:41 schrieb xvac--- via Cygwin: zig lang nim lang rust lang also should add to cygwin official repo. The Rust project does not support build on cygwin (see https://github.com/rust-lang/rust/issues/79854). Never heard of zig or nim. Oct 13, 2023, 08:39 by x...@tuta.io:

Re: half- and full-width CJK characters

2023-10-08 Thread Thomas Wolff via Cygwin
Am 08/10/2023 um 14:55 schrieb Dr Bean via Cygwin: On Sat, 07 Oct 2023, Thomas Wolff via Cygwin wrote: Am 07/10/2023 um 14:47 schrieb Dr Bean via Cygwin: On Sat, 07 Oct 2023, Thomas Wolff via Cygwin wrote: Am 07/10/2023 um 10:23 schrieb Dr Bean via Cygwin: I am memorializing this for my

Re: half- and full-width CJK characters

2023-10-07 Thread Thomas Wolff via Cygwin
Am 07/10/2023 um 14:47 schrieb Dr Bean via Cygwin: On Sat, 07 Oct 2023, Thomas Wolff via Cygwin wrote: Am 07/10/2023 um 10:23 schrieb Dr Bean via Cygwin: I am memorializing this for my own benefit here. Benefitting fromhttps://eng-blog.iij.ad.jp/archives/12576 I see that I don't ne

Re: half- and full-width CJK characters

2023-10-07 Thread Thomas Wolff via Cygwin
Am 07/10/2023 um 10:23 schrieb Dr Bean via Cygwin: I am memorializing this for my own benefit here. Benefitting from https://eng-blog.iij.ad.jp/archives/12576 I see that I don't need to change any envars, but only fonts. The default Lucida Console font renders CJK as half-width chars, on this

[ANNOUNCEMENT] Updated: mintty 3.6.5

2023-09-03 Thread Thomas Wolff via Cygwin
I have uploaded mintty 3.6.5 with the following changes: Pathname handling   * Fix file link detection (#1208), tweak URL detection (#1209).   * Restore opening of Windows path names (#1219; broken since 2.8.1). Terminal features   * Fix setup of initial status line if monitor DPI is 96.   * ESC

Re: mintty window border?

2023-08-24 Thread Thomas Wolff via Cygwin
Am 25.08.2023 um 02:41 schrieb Gary Johnson via Cygwin: On 2023-08-24, Backwoods BC via Cygwin wrote: On Thu, Aug 24, 2023 at 11:08 AM Jim Garrison via Cygwin wrote: This is an update to a question I had a couple of years ago https://cygwin.com/pipermail/cygwin/2021-April/248367.html Window

Re: [ANNOUNCEMENT] cygwin 3.4.8-1

2023-08-20 Thread Thomas Wolff via Cygwin
Am 17.08.2023 um 19:59 schrieb Corinna Vinschen via Cygwin-announce via Cygwin: The following packages have been uploaded to the Cygwin distribution: * cygwin-3.4.8-1 * cygwin-devel-3.4.8-1 * cygwin-doc-3.4.8-1 Bug Fixes - - Make safe for c89 compilations. Addresses: https://cyg

Re: Cygwin console: Different default background color when terminal runs as Admin?

2023-08-18 Thread Thomas Wolff via Cygwin
Am 18.08.2023 um 10:11 schrieb Christian Franke via Cygwin: Jonathon Merz via Cygwin wrote: On Thu, Aug 17, 2023 at 7:13 PM Martin Wege via Cygwin wrote: Just an idea: Could the default background color of the Cygwin console be changed from black to grey (or RED) if the terminal has been s

Re: Persistent and same Cygwin session for Windows login and ssh login?

2023-08-18 Thread Thomas Wolff via Cygwin
Am 18.08.2023 um 10:47 schrieb Corinna Vinschen via Cygwin: On Aug 17 19:30, Cedric Blancher via Cygwin wrote: Good evening! How can I get a Cygwin session for one Windows login, and get the same Cygwin session when I log into the same Windows machine via ssh? You can't. Windows isolates s

Re: Entering Cygwin command line (bash login) from Windows cmd.exe ?

2023-08-08 Thread Thomas Wolff via Cygwin
Am 07.08.2023 um 06:02 schrieb Roland Mainz via Cygwin: On Sat, Jul 29, 2023 at 6:18 AM Roland Mainz wrote: Is there an official way to enter the Cygwin command line (e.g. bash login) from Windows cmd.exe, e.g. if someone ssh's into a Windows machine he/she ends/up in a cmd.exe and not bash..

Rare character glitch in pty?

2023-07-19 Thread Thomas Wolff via Cygwin
There was a report that on switching terminal windows with the mouse, focus event reports (as enabled with ESC[?1004h) would sometimes get mangled. This is further described in issue reports to mintty/wsltty (https://github.com/mintty/wsltty/issues/335) and also to tmux (https://github.com/tmux

Re: mintty 3.6.4 status line problem

2023-06-18 Thread Thomas Wolff via Cygwin
Am 18.06.2023 um 22:00 schrieb Ross Boulet via Cygwin: I was looking at the settings for mintty and saw the new option (new as of 3.6.4 from March) for a status line. I decided to try it out. Sure enough, a status line appeared at the bottom. All was well until I tried to open a new mintty

Re: [ANNOUNCEMENT] cygwin 3.4.7-1

2023-06-17 Thread Thomas Wolff via Cygwin
Am 16/06/2023 um 16:25 schrieb Corinna Vinschen via Cygwin-announce via Cygwin: The following packages have been uploaded to the Cygwin distribution: * cygwin-3.4.7-1 * cygwin-devel-3.4.7-1 * cygwin-doc-3.4.7-1 Bug Fixes - - Fix CPU_SET(3) macro type mismatch by making the macros t

Re: mouse behavior with vim

2023-05-19 Thread Thomas Wolff via Cygwin
[just removing mintty from the mail topic as it's quite obviously not related to it] Am 19.05.2023 um 00:11 schrieb Jose Isaias Cabrera via Cygwin: On May 18, 2023 5:12 PM, Brian Inglis expressed: That will depend on the client installed on the remote host! Get them to upgrade to gvim 9 as on

[ANNOUNCEMENT] Updated: xterm 380

2023-05-15 Thread Thomas Wolff via Cygwin
I have uploaded xterm 380. Major changes: * DEC VT320 status line support * improved calculation of dim attribute colour Thomas -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscri

Re: Mintty terminal crashes after changing the default home via nsswitch.conf and launch in a new profile in Windows 11

2023-04-05 Thread Thomas Wolff via Cygwin
Am 04.04.2023 um 17:13 schrieb Yuta SUZUKI via Cygwin: Hi, I am recently setting up the computer room of my faculty and then encountered the following issue: Short description: Change the default home directory via /etc/nsswitch.conf and make a new Windows user. Login to the new user (and do

[ANNOUNCEMENT] Updated: mintty 3.6.4

2023-03-24 Thread Thomas Wolff via Cygwin
I have uploaded mintty 3.6.4 with the following changes: Highlight   * Dynamic support for flags emojis, deployment script. Terminal features   * Tweak response code to XTQALLOWED OSC 60 and XTQDISALLOWED OSC 61 (xterm 378).   * Readline mouse modes (DECSET 2001 / 2002 / 2003, xterm 379).   *

Re: newlocale: Linux incompatibility

2023-03-23 Thread Thomas Wolff via Cygwin
Am 23.03.2023 um 20:48 schrieb Ken Brown via Cygwin: I'm reporting this here rather than the newlib list because the behavior is compatible with Posix but not Linux, so I think it's a Cygwin issue. Consider the following test case: $ cat locale_test.c #include #include int main () {   con

Re: 'bat' for cygwin

2023-03-10 Thread Thomas Wolff via Cygwin
Am 10.03.2023 um 19:18 schrieb marco atzeri via Cygwin: On Fri, Mar 10, 2023 at 6:58 PM Scott Smith via Cygwin wrote: Has anyone compiled bat for cygwin64? If not, could it be added for consideration to be added to the repository, please? Meanwhile, although I know 0% about Rust, if someone

Re: OpenSSH_9.2p1 sftp prompt now "s " instead of "sftp> "

2023-02-07 Thread Thomas Wolff via Cygwin
Am 08.02.2023 um 03:17 schrieb Brian Inglis via Cygwin: On 2023-02-07 15:22, Voris, Ben via Cygwin wrote: For example: : sftp user@127.0.0.1 Connected to 127.0.0.1. s bye : type sftp sftp is hashed (/usr/bin/sftp) : ssh -V OpenSSH_9.2p1, OpenSSL 1.1.1s  1 Nov 2022 On Linux with a much olde

Re: compiling issue

2023-01-21 Thread Thomas Wolff via Cygwin
Am 21.01.2023 um 06:19 schrieb Nathan via Cygwin: The file here for a game I wanted to use is http://www.ifarchive.org/if-archive/games/source/Adventure2.5.tar.gz and it all compiled but one file getting the error is init.c as follows: Leaving out result types isn't legal C nowadays. You cou

Re: Feature request: sudo

2023-01-19 Thread Thomas Wolff via Cygwin
Am 19.01.2023 um 20:17 schrieb Jochen Wiedmann via Cygwin: Hi, as someone who is quite used to typing sudo do something I would really like to do the same in my CygWin bash.In my opinion, this could be implemented relatively simply, and straightforward as follows: - Accept an array of

Re: GCC doesn't find relative includes when passed paths using backward-slashes

2023-01-15 Thread Thomas Wolff via Cygwin
Am 15.01.2023 um 14:51 schrieb Hans-Bernhard Bröker via Cygwin: Am 15.01.2023 um 13:38 schrieb Alexander Grund via Cygwin: The build system, finding it is running on Windows, will pass paths with backward slashes to the compiler. And that's wrong.  Cygwin is not, for practical intents and

[ANNOUNCEMENT] Updated: mintty 3.6.3

2022-12-17 Thread Thomas Wolff via Cygwin
I have uploaded mintty 3.6.3 with the following changes: Terminal features   * Fixed double-width characters not to wrap if auto-wrap disabled.   * TAB may wrap to next line, or cause subsequent wrap, if enabled (#1182).   * Fixed auto-wrap behaviour in double-width lines.   * Overstriking char