karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Kiesow (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5526) [ERROR] Failed to construct terminal; falling back to unsupported
Date Tue, 05 Dec 2017 23:38:00 GMT
Lars Kiesow created KARAF-5526:

             Summary: [ERROR] Failed to construct terminal; falling back to unsupported
                 Key: KARAF-5526
                 URL: https://issues.apache.org/jira/browse/KARAF-5526
             Project: Karaf
          Issue Type: Bug
    Affects Versions: 4.0.9
         Environment: % mvn -version
Apache Maven 3.5.0 (Red Hat 3.5.0-6)
Maven home: /usr/share/maven
Java version: 1.8.0_151, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.13.16-302.fc27.x86_64", arch: "amd64", family: "unix"

% java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

% cat /etc/redhat-release
Fedora release 27 (Twenty Seven)

% env|grep TERM
            Reporter: Lars Kiesow

Upgrading to Fedora 27 which comes with a newer Java and Maven version, I found that the Karaf
shell was not working properly anymore. For once, I got a stack trace right after starting
the application and then the shell history does not work and Ctrl+C which previously would
stop commands like `log:tail`, now terminates the application.

A workaround I could find in this answer on StackOverflow:

…setting the `TERM` variable to `xterm-color` did help. Though previously, it worked just
fine with the set `screen-256color`

This message was sent by Atlassian JIRA

View raw message