🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Juan Manuel Méndez Rey Tue, 17 Nov 2026 10:40
Bug#1154223: ITP: is-terminal -- tell whether a JVM program runs in a real terminal
#4815
Author: Juan Manuel Méndez Rey
Date: Tue, 17 Nov 2026 10:40
22 lines
2634 bytes
Package: wnpp
Severity: wishlist
Owner: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
X-Debbugs-Cc: debian-java@lists.debian.org

* Package name    : is-terminal
  Version         : 0.1.2
  Upstream Authors: Alexandre Archambault <alexandre.archambault@gmail.com>
  URL             : https://github.com/alexarchambault/is-terminal
  License         : Apache-2.0
  Programming Lang: Java
  Description     : tell whether a JVM program runs in a real terminal

 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.

coursier uses it. Release 0.1.2 has no LICENSE file; build.sc and the
POM say Apache-2.0, and a later commit adds the file.

It will be maintained in the Java team:
https://salsa.debian.org/java-team/is-terminal
Bug#1154223: ITP: is-terminal -- tell whether a JVM program runs in a real terminal
#4835
Author: Emmanuel Bourg
Date: Tue, 17 Nov 2026 11:10
20 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads