Class OSUtils

java.lang.Object
org.aesh.terminal.utils.OSUtils

public final class OSUtils extends Object
Operating system detection and command utilities.
  • Field Details

    • IS_LINUX

      public static final boolean IS_LINUX
      True if running on Linux.
    • IS_WINDOWS

      public static final boolean IS_WINDOWS
      True if running on Windows.
    • IS_CYGWIN

      public static final boolean IS_CYGWIN
      True if running on Cygwin (Windows with POSIX environment).
    • IS_OSX

      public static final boolean IS_OSX
      True if running on macOS.
    • IS_HPUX

      public static final boolean IS_HPUX
      True if running on HP-UX.
    • IS_SUNOS

      public static final boolean IS_SUNOS
      True if running on SunOS/Solaris.
    • TTY_COMMAND

      public static final String TTY_COMMAND
      Path to the tty command.
    • STTY_COMMAND

      public static final String STTY_COMMAND
      Path to the stty command.
    • STTY_F_OPTION

      public static final String STTY_F_OPTION
      The -f/-F option for stty based on OS.
    • INFOCMP_COMMAND

      public static final String INFOCMP_COMMAND
      Path to the infocmp command.