kandi background
Explore Kits

jediterm | Works with SSH and PTY | Command Line Interface library

 by   JetBrains Java Version: v2.5 License: Non-SPDX

 by   JetBrains Java Version: v2.5 License: Non-SPDX

Download this library from

kandi X-RAY | jediterm Summary

jediterm is a Java library typically used in Utilities, Command Line Interface applications. jediterm has no bugs, it has no vulnerabilities, it has build file available and it has low support. However jediterm has a Non-SPDX License. You can download it from GitHub.
The main purpose of the project is to provide a pure Java terminal widget that can be easily embedded into an IDE. It supports terminal sessions both for SSH connections and local PTY on Mac OSX, Linux and Windows. The library is used by JetBrains IDEs like PyCharm, IDEA, PhpStorm, WebStorm, AppCode, CLion, and Rider. Since version 2.5 there is a standalone version of the JediTerm terminal, provided as Mac OSX distribution. The name JediTerm origins from J(from Java) + edi(reversed IDE) + Term(obviously from terminal). Also the word Jedi itself gives some confidence and hope in the Universe of thousands of different terminal implementations. Dmitry Trofimov <dmitry.trofimov@jetbrains.com>, Clément Poulain.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • jediterm has a low active ecosystem.
  • It has 499 star(s) with 147 fork(s). There are 63 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 23 open issues and 47 have been closed. On average issues are closed in 282 days. There are 7 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of jediterm is v2.5
jediterm Support
Best in #Command Line Interface
Average in #Command Line Interface
jediterm Support
Best in #Command Line Interface
Average in #Command Line Interface

quality kandi Quality

  • jediterm has 0 bugs and 0 code smells.
jediterm Quality
Best in #Command Line Interface
Average in #Command Line Interface
jediterm Quality
Best in #Command Line Interface
Average in #Command Line Interface

securitySecurity

  • jediterm has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • jediterm code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
jediterm Security
Best in #Command Line Interface
Average in #Command Line Interface
jediterm Security
Best in #Command Line Interface
Average in #Command Line Interface

license License

  • jediterm has a Non-SPDX License.
  • Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
jediterm License
Best in #Command Line Interface
Average in #Command Line Interface
jediterm License
Best in #Command Line Interface
Average in #Command Line Interface

buildReuse

  • jediterm releases are available to install and integrate.
  • Build file is available. You can build the component from source.
  • Installation instructions are not available. Examples and code snippets are available.
  • jediterm saves you 20148 person hours of effort in developing the same functionality from scratch.
  • It has 39682 lines of code, 4720 functions and 302 files.
  • It has high code complexity. Code complexity directly impacts maintainability of the code.
jediterm Reuse
Best in #Command Line Interface
Average in #Command Line Interface
jediterm Reuse
Best in #Command Line Interface
Average in #Command Line Interface
Top functions reviewed by kandi - BETA

kandi has reviewed jediterm and discovered the below as its top functions. This is intended to give you an instant insight into jediterm implemented functionality, and help decide if they suit your requirements.

  • Initializes this panel .
    • Paint the text .
      • Creates a text style from the control sequence .
        • Builds a new prediction based on the current line .
          • Unescapes a string .
            • Compute the Shape for the currently selected label .
              • Compute the layout table .
                • Paints the given thumb .
                  • Resize the resolution .
                    • Sets whether the editor should be copied or not .

                      Get all kandi verified functions for this library.

                      Get all kandi verified functions for this library.

                      jediterm Key Features

                      Pure Java Terminal Emulator. Works with SSH and PTY.

                      default

                      copy iconCopydownload iconDownload
                      To run the standalone JediTerm terminal from sources just execute _jediterm.sh_ or _jediterm.bat_.
                      Or use the binary distribution from the [Releases](https://github.com/JetBrains/jediterm/releases/) page.
                      
                      
                      
                      Build
                      -----
                      
                      Gradle is used to build this project. The project consists of 4 sub-projects:
                      * **terminal**
                      
                          The core library that provides VT100 compatible terminal emulator and Java Swing based implementation of terminal panel UI.
                      
                      * **ssh**
                      
                          The jediterm-ssh.jar library that provides, using the Jsch library, a terminal for remote SSH terminal sessions.
                      
                      * **pty**
                      
                          The jediterm-pty.jar library that, by using the [Pty4J](https://github.com/traff/pty4j) library, enables a terminal for local PTY terminal sessions.
                      
                      * **JediTerm**
                      
                          The standalone version of the JediTerm terminal distributed as a .dmg for Mac OSX.
                      
                      
                      Features
                      --------
                      * Ssh using JSch from jcraft.org
                      * Local terminal for Unix, Mac and Windows using [Pty4J](https://github.com/traff/pty4j)
                      * Xterm emulation - passes most of tests from vttest
                      * Xterm 256 colours
                      * Scrolling
                      * Copy/Paste
                      * Mouse support
                      * Terminal resizing from client or server side
                      * Terminal tabs
                      
                      
                      
                      Authors

                      Links

                      copy iconCopydownload iconDownload
                      The initial version of the JediTerm was a reworked terminal emulator Gritty, which was in it's own turn a reworked JCTerm
                      terminal implementation. Now there is nothing in the source code left from Gritty and JCTerm. Everything was
                      rewritten from scratch. A lot of new features were added.
                      
                      Character sets designation and mapping implementation is based on
                      respective classes from jVT220 (https://github.com/jawi/jVT220, Apache 2.0 licensed) by J.W. Janssen.
                      
                      
                      Standalone distribution relies heavily on customized Swing UI widgets taken from IntelliJ Community platform repository
                      (https://github.com/JetBrains/intellij-community) by JetBrains.
                      
                      
                      Licenses
                      -------
                      JediTerm is dual-licensed under both the LGPLv3 (found in the LICENSE-LGPLv3.txt file in the root directory) and Apache 2.0 License (found in the LICENSE-APACHE-2.0.txt file in the root directory).
                      You may select, at your option, one of the above-listed licenses.

                      PyCharm Terminal not working on Raspbian OS

                      copy iconCopydownload iconDownload
                      git clone https://github.com/JetBrains/pty4j.git
                      cd pty4j/native
                      gcc -fPIC -c *.c
                      gcc -shared -o libpty.so *.o
                      cp libpty.so YOUR_PYCHARM_INSTALL_LOCATION/lib/pty4j-native/linux/x86/
                      

                      Community Discussions

                      Trending Discussions on jediterm
                      • PyCharm Terminal not working on Raspbian OS
                      Trending Discussions on jediterm

                      QUESTION

                      PyCharm Terminal not working on Raspbian OS

                      Asked 2020-Nov-09 at 01:27

                      In PyCharm on my Raspberry Pi 4 8GB with Raspbian installed, PyCharm has this error:

                      Cannot open Local Terminal
                      Failed to start [/bin/bash, --rcfile, /opt/pycharm-community-2019.3.5/plugins/terminal/jediterm-bash.in, -i] in /home/pi/CodingProjects/Julia
                      
                      
                      See your idea.log (Help | Show Log in File Manager) for the details.
                      

                      After going to the idea.log, I scrolled all the way down to the most recent entry, and found an error that matched the error I had.

                      The idea.log file has this error:

                      020-07-11 10:31:52,579 [ 113429]   INFO - erminal.AbstractTerminalRunner - Cannot open Local Terminal 
                      java.util.concurrent.ExecutionException: Failed to start [/bin/bash, --rcfile, /opt/pycharm-community-2019.3.5/plugins/terminal/jediterm-bash.in, -i] in /home/pi/CodingProjects/Julia
                          at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.createProcess(LocalTerminalDirectRunner.java:197)
                          at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.createProcess(LocalTerminalDirectRunner.java:47)
                          at org.jetbrains.plugins.terminal.AbstractTerminalRunner.lambda$openSessionInDirectory$4(AbstractTerminalRunner.java:214)
                          at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:238)
                          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                          at java.base/java.lang.Thread.run(Thread.java:834)
                      Caused by: java.io.IOException: Exec_tty error:Cannot load native pty executor library
                          at com.pty4j.unix.UnixPtyProcess.execInPty(UnixPtyProcess.java:272)
                          at com.pty4j.unix.UnixPtyProcess.<init>(UnixPtyProcess.java:86)
                          at com.pty4j.PtyProcessBuilder.start(PtyProcessBuilder.java:111)
                          at com.pty4j.PtyProcess.exec(PtyProcess.java:78)
                          at com.pty4j.PtyProcess.exec(PtyProcess.java:49)
                          at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.createProcess(LocalTerminalDirectRunner.java:189)
                          ... 8 more
                      Caused by: java.lang.RuntimeException: Cannot load native pty executor library
                          at com.pty4j.unix.PtyHelpers.getPtyExecutor(PtyHelpers.java:257)
                          at com.pty4j.unix.PtyHelpers.execPty(PtyHelpers.java:430)
                          at com.pty4j.unix.UnixPtyProcess.exec(UnixPtyProcess.java:333)
                          at com.pty4j.unix.UnixPtyProcess$Reaper.execute(UnixPtyProcess.java:389)
                          at com.pty4j.unix.UnixPtyProcess$Reaper.run(UnixPtyProcess.java:395)
                      Caused by: java.lang.UnsatisfiedLinkError: Unable to load library '/opt/pycharm-community-2019.3.5/lib/pty4j-native/linux/x86/libpty.so':
                      /opt/pycharm-community-2019.3.5/lib/pty4j-native/linux/x86/libpty.so: cannot open shared object file: No such file or directory
                      /opt/pycharm-community-2019.3.5/lib/pty4j-native/linux/x86/libpty.so: cannot open shared object file: No such file or directory
                      Native library (opt/pycharm-community-2019.3.5/lib/pty4j-native/linux/x86/libpty.so) not found in resource path (/opt/pycharm-community-2019.3.5/lib/bootstrap.jar:/opt/pycharm-community-2019.3.5/lib/extensions.jar:/opt/pycharm-community-2019.3.5/lib/util.jar:/opt/pycharm-community-2019.3.5/lib/jdom.jar:/opt/pycharm-community-2019.3.5/lib/log4j.jar:/opt/pycharm-community-2019.3.5/lib/trove4j.jar:/opt/pycharm-community-2019.3.5/lib/jna.jar)
                          at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:302)
                          at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455)
                          at com.sun.jna.Library$Handler.<init>(Library.java:192)
                          at com.sun.jna.Native.loadLibrary(Native.java:646)
                          at com.sun.jna.Native.loadLibrary(Native.java:630)
                          at com.pty4j.unix.NativePtyExecutor.<init>(NativePtyExecutor.java:14)
                          at com.pty4j.unix.PtyHelpers$2.call(PtyHelpers.java:222)
                          at com.pty4j.unix.PtyHelpers$2.call(PtyHelpers.java:218)
                          at com.pty4j.util.LazyValue.getValue(LazyValue.java:25)
                          at com.pty4j.unix.PtyHelpers.getPtyExecutor(PtyHelpers.java:254)
                          at com.pty4j.unix.PtyHelpers.<clinit>(PtyHelpers.java:234)
                          at com.pty4j.unix.Pty.ptyMasterOpen(Pty.java:140)
                          at com.pty4j.unix.Pty.openMaster(Pty.java:176)
                          at com.pty4j.unix.Pty.<init>(Pty.java:55)
                          at com.pty4j.unix.UnixPtyProcess.<init>(UnixPtyProcess.java:83)
                          at com.pty4j.PtyProcessBuilder.start(PtyProcessBuilder.java:111)
                          at com.pty4j.PtyProcess.exec(PtyProcess.java:78)
                          at com.pty4j.PtyProcess.exec(PtyProcess.java:49)
                          at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.createProcess(LocalTerminalDirectRunner.java:189)
                          at org.jetbrains.plugins.terminal.LocalTerminalDirectRunner.createProcess(LocalTerminalDirectRunner.java:47)
                          at org.jetbrains.plugins.terminal.AbstractTerminalRunner.lambda$openSessionInDirectory$4(AbstractTerminalRunner.java:214)
                          at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:238)
                          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
                          at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
                          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                          at java.base/java.lang.Thread.run(Thread.java:834)
                          Suppressed: java.lang.UnsatisfiedLinkError: /opt/pycharm-community-2019.3.5/lib/pty4j-native/linux/x86/libpty.so: cannot open shared object file: No such file or directory
                              at com.sun.jna.Native.open(Native Method)
                              at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:191)
                              ... 26 more
                          Suppressed: java.lang.UnsatisfiedLinkError: /opt/pycharm-community-2019.3.5/lib/pty4j-native/linux/x86/libpty.so: cannot open shared object file: No such file or directory
                              at com.sun.jna.Native.open(Native Method)
                              at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:204)
                              ... 26 more
                          Suppressed: java.io.IOException: Native library (opt/pycharm-community-2019.3.5/lib/pty4j-native/linux/x86/libpty.so) not found in resource path (/opt/pycharm-community-2019.3.5/lib/bootstrap.jar:/opt/pycharm-community-2019.3.5/lib/extensions.jar:/opt/pycharm-community-2019.3.5/lib/util.jar:/opt/pycharm-community-2019.3.5/lib/jdom.jar:/opt/pycharm-community-2019.3.5/lib/log4j.jar:/opt/pycharm-community-2019.3.5/lib/trove4j.jar:/opt/pycharm-community-2019.3.5/lib/jna.jar)
                              at com.sun.jna.Native.extractFromResourcePath(Native.java:1095)
                              at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:276)
                              ... 26 more
                      

                      Does anyone have any idea how to fix this? Thank You in advance.

                      ANSWER

                      Answered 2020-Jul-26 at 15:15
                      git clone https://github.com/JetBrains/pty4j.git
                      cd pty4j/native
                      gcc -fPIC -c *.c
                      gcc -shared -o libpty.so *.o
                      cp libpty.so YOUR_PYCHARM_INSTALL_LOCATION/lib/pty4j-native/linux/x86/
                      

                      Source https://stackoverflow.com/questions/62850986

                      Community Discussions, Code Snippets contain sources that include Stack Exchange Network

                      Vulnerabilities

                      No vulnerabilities reported

                      Install jediterm

                      You can download it from GitHub.
                      You can use jediterm like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the jediterm component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

                      Support

                      Terminal protocol description: http://invisible-island.net/xterm/ctlseqs/ctlseqs.html. Terminal Character Set Terminology and Mechanics: http://www.columbia.edu/kermit/k95manual/iso2022.html. VT420 Programmer Reference Manual: http://manx.classiccmp.org/collections/mds-199909/cd3/term/vt420rm2.pdf. Control sequences visualization: http://www.gnu.org/software/teseq/. Terminal protocol tests: http://invisible-island.net/vttest/. Open Source Origin and History.

                      DOWNLOAD this Library from

                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      Explore Related Topics

                      Share this Page

                      share link
                      Consider Popular Command Line Interface Libraries
                      Try Top Libraries by JetBrains
                      Compare Command Line Interface Libraries with Highest Support
                      Compare Command Line Interface Libraries with Highest Quality
                      Compare Command Line Interface Libraries with Highest Security
                      Compare Command Line Interface Libraries with Permissive License
                      Compare Command Line Interface Libraries with Highest Reuse
                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      • © 2022 Open Weaver Inc.