Article View: linux.debian.bugs.dist
Article #4835Bug#1154223: ITP: is-terminal -- tell whether a JVM program runs in a real terminal
From: Emmanuel Bourg
Date: Tue, 17 Nov 2026 11:10
Date: Tue, 17 Nov 2026 11:10
20 lines
2576 bytes
2576 bytes
Le 17/11/2026 à 11:30, Juan Manuel Méndez Rey a écrit :
>
> is-terminal is a tiny Java library that tells whether the application
> runs in an actual terminal. It handles the System.console() change of
> JDK 22 and works on any JVM version.
>
I got a look at is-terminal, it consists of a single one-line method :
public static boolean isTerminal() {
return System.console() != null && System.console().isTerminal();
}
I don't think this is worth packaging, Coursier should be patched instead.
Emmanuel Bourg
Technical Details
Message-ID:
<O0pex-crB0-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<O0oLw-crgP-37@gated-at.bofh.it> <O0oLw-crgP-37@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Emmanuel Bourg <ebourg@apache.org> Newsgroups: linux.debian.bugs.dist,linux.debian.maint.java Subject: Bug#1154223: ITP: is-terminal -- tell whether a JVM program runs in a real terminal Date: Tue, 17 Nov 2026 12:10:01 +0100 Message-ID: <O0pex-crB0-7@gated-at.bofh.it> References: <O0oLw-crgP-37@gated-at.bofh.it> <O0oLw-crgP-37@gated-at.bofh.it> X-Original-To: Juan Manuel Méndez Rey <juan.mendezr@proton.me>, 1154223@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 17 11:07:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Emmanuel Bourg <ebourg@apache.org>, 1154223@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: wnpp@debian.org X-Debian-Pr-Message: followup 1154223 X-Debian-Pr-Package: wnpp Authentication-Results: apache.org; auth=none MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003126 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 20 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-java@lists.debian.org X-Original-Date: Tue, 17 Nov 2026 12:04:33 +0100 X-Original-Message-ID: <857e7128-68c3-9498-614d-91f306162ac5@apache.org> X-Original-References: <c3f8349a43a890d5a742648f43ee9e28@proton.me> <c3f8349a43a890d5a742648f43ee9e28@proton.me>