News for hackers. Stuff that matters.
Re:Show HN: A cross-platform terminal emulator written in Java by mdaniel on Friday July 04, 2025 @12:19PM (#44465798)
I've heard of this %PATH% thing which allows the user to control where they place executables https://github.com/sebkur/forceterm/blob/release-1.1.0/src/m...
Re:Show HN: A cross-platform terminal emulator written in Java by alganet on Friday July 04, 2025 @03:09PM (#44467087)
Trivia:

Windows also has %PATHEXT%. It's a set of executable extensions like bat, exe, com, cmd.

It is what allows calling `program` and reaching `program.exe`.

Re:Show HN: A cross-platform terminal emulator written in Java by RonanSoleste on Friday July 04, 2025 @02:13PM (#44466708)
Also not very platform independent
Re:Show HN: A cross-platform terminal emulator written in Java by sebkur on Friday July 04, 2025 @05:02PM (#44467870)
Well, it does check if we are on Windows just one line before: https://github.com/sebkur/forceterm/blob/release-1.1.0/src/m...
Re:Show HN: A cross-platform terminal emulator written in Java by sebkur on Friday July 04, 2025 @05:04PM (#44467879)
hmm, I agree, this is pretty hard-coded. It should work for a default installation of git-bash, but of course, the user could have chosen a different location at install time.

I'm not even sure how popular git bash is on Windows, I vaguely remember cygwin might be something many user that care to use a terminal might have installed?