Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[AESH-435] expose terminal height and width. This helps in CLI non interactive mode to get values of terminal where it launches non interactive mode, without a console instance.

initial attempt to use aesh-readline beware, this will not compile/work atm

  1. … 125 more files in changeset.
initial attempt to use aesh-readline beware, this will not compile/work atm

  1. … 125 more files in changeset.
initial attempt to use aesh-readline beware, this will not compile/work atm

  1. … 125 more files in changeset.
[AESH-344] fix stty settings on hp-ux

  1. … 1 more file in changeset.
[AESH-340] reduce ANSI code when displaying prompt and new line

  1. … 3 more files in changeset.
removed TerminalSize, using Size instead

  1. … 7 more files in changeset.
Make sure an virtual terminal is created if System.in is not a tty

initial vi-mode

  1. … 3 more files in changeset.
removed TestShell

  1. … 35 more files in changeset.
removed org.jboss.aesh.terminal.Shell its replaced by org.jboss.aesh.console.Shell

  1. … 14 more files in changeset.
Console.getInput() now returns KeyEvent it should work with every key input

  1. … 19 more files in changeset.
Deprecate SettingsBuilder#terminal and TestTerminal Deprecate org.jboss.aesh.terminal.Shell in favor of org.jboss.aesh.console.Shell

  1. … 2 more files in changeset.
refactored away CommandOperation use Key instead started new impl of handling actions

  1. … 21 more files in changeset.
Fix console not closing correctly on Ctrl^D

  1. … 2 more files in changeset.
Provides access to the Terminal from the Shell interface and move AeshGraphics to use Terminal instead of Shell

  1. … 5 more files in changeset.
Rename the low level Console to Terminal

    • -268
    • +0
    ./impl/LineDisciplineConsole.java
  1. … 8 more files in changeset.
Remove the Terminal interface which is only used internally. The SettingsBuilder should not build it, as it is never destroyed.

  1. … 7 more files in changeset.
Make sure the ConsoleBuilder always use an encoding

Constants in OSUtils must be final

Use KeyMap and binding reader to fix the AeshConsoleParsingTest

There’s currently no real modification to the API, so that commands can’t leverage the new key map bindings yet.

    • -0
    • +317
    ./utils/NonBlockingReader.java
  1. … 6 more files in changeset.
Merge pull request #194 from gnodet/asl

Change license to Apache

Fix stty problems with -f/-F option

Change license to Apache

  1. … 8 more files in changeset.
added checkstyle to maven updated checkstyle to java8 updated files to work with checkstyle changes

  1. … 4 more files in changeset.
changed stty to use -F instead of -f mapped CTRL_M to NEW_LINE

  1. … 1 more file in changeset.
Add access to the low level console from the Terminal

  1. … 1 more file in changeset.
Introduce a cleaner lower level API with the Console interface.

It provides a signal api, access to the underlying terminal capabilities and stty settings.

It also brings support for virtual consoles when using remote connections for example.

It’s not much leveraged in the remaining of the code. Things like cursor movements, etc.. should leverage this information.

The AeshInputStream hacks for transforming windows arrow keys can be just removed, and it should also be noted that the AeshInputStream does not correctly handle the encoding of the input stream and assumes the default charset, which is always not the case, especially on windows.

The only external dependency on those 3 new packages (api, impl, utils) is the LoggerUtil class.

This means that this can easily be extracted as the very-low component.

    • -0
    • +211
    ./ShellWrapper.java
    • -0
    • +392
    ./api/Attributes.java
    • -0
    • +105
    ./api/Console.java
    • -0
    • +113
    ./api/ConsoleBuilder.java
    • -0
    • +167
    ./impl/AbstractConsole.java
    • -0
    • +61
    ./impl/AbstractPosixConsole.java
    • -0
    • +288
    ./impl/CygwinPty.java
    • -0
    • +290
    ./impl/ExecPty.java
    • -0
    • +69
    ./impl/ExternalConsole.java
    • -0
    • +257
    ./impl/LineDisciplineConsole.java
  1. … 21 more files in changeset.
Full support for infocmp capabilities for any kind of terminals. Also works under Cygwin.

  1. … 3 more files in changeset.
fixing translate....

  1. … 2 more files in changeset.