Questions tagged [jquery-terminal]

JQuery Terminal Emulator is a plugin for creating command line interpreters in your applications.

JQuery Terminal Emulator is a plugin for creating command line interpreters in your applications. It can automatically call JSON-RPC service when user type commands or you can provide an object with methods, each method will be invoke on user command. Object can have nested objects which will create nested interpreter. You can also use a function in which you can parse user command by your own. It′s ideal if you want to provide additional functionality for power users. It can also be used as debugging tool.

  • You can create interpreter for your JSON-RPC service with one line of code.
  • Support for authentication (you can provide function when user enter login and password or if you use JSON-RPC it can automatically call login function on the server and pass token to all functions)
  • Stack of interpreters - you can create commands that trigger additional interpreters (eg. you can use couple of JSON-RPC service and run them when user type command)
  • Command Tree - you can use nested objects each command will invoke a function if the value is an object it will create new interpreter and use function from that object as commands. You can use as much nested commands as you like. if the value is a string it will create JSON-RPC service.
  • Tab completion with TAB key.
  • Support for command line history (it uses Local Storage if possible or cookies)
  • Include keyboard shortcut from bash like CTRL+A, CTRL+D, CTRL+E etc.
  • Multiply terminals on one page (every terminal can have different command, it′s own authentication function and it′s own command history) - you can switch between them with CTRL+TAB
  • It catch all exceptions and display error messages in terminal (you can see errors in your javascript and php code in terminal if they are in interpreter function)
  • Support for basic text formatting (color, background, underline, bold, italic) inside echo function
  • You can create and overwrite existing keyboard shortcuts

https://terminal.jcubic.pl/

120 questions
1
vote
1 answer

Json-rpc service on java for jquery terminal emulator

I want to write web service that provides web-terminal for remote processing custom commands. I found this jquery plugin http://terminal.jcubic.pl/. It needs JSON-RPC service. As server side i want to use java web app built on spring-mvc framework.…
DenisM
  • 223
  • 4
  • 13
0
votes
1 answer

I am not able to change the font size of the terminal text by using a command in the terminal itself

I have a terminal using jQuery.Terminal and I want to change the font size of the font of the text in the terminal using a command. But no matter what it just doesn't allow to do. Also, I want to echo a part of the same string using some fontcolor…
0
votes
0 answers

Jquery Terminal with ReactJs how to make a terminal reference global?

I am trying to include Jquery Terminal in my react application. I have got the terminal to display and to interpret commands from my custom interpreter function, however I need to reference the terminal from different scripts (mostly the term.echo…
CHEESE
  • 15
  • 2
0
votes
0 answers

How can I get rid of the text field when using jQuery.terminal with Next JS?

I am trying to use jquery.terminal within a Next.js app. This is my terminal component: import React, { useEffect } from 'react'; import $ from 'jquery'; import 'jquery.terminal'; function Terminal() { useEffect(() =>…
Juno
  • 211
  • 5
  • 17
0
votes
1 answer

Creating text prompts with jquery Terminal

I've read the docs and the article on jquery Terminal https://itnext.io/how-to-create-interactive-terminal-like-website-888bb0972288 I'm using it for the GUI basically and not so much for the command line terminal properties. I just want to be able…
jm007
  • 15
  • 5
0
votes
0 answers

Jquery terminal force scroll position

I'm trying to implement Jquery Terminal on my web application, but every time when I reload the page, the scroll position automatically change to terminal view. I would like to remove this “feature”, but I can't find the attribute in the…
0
votes
1 answer

trying to create a terminal using jquery.terminal

Hi I am trying to create a jquery.terminal. I tried to follow this article, here it uses the body tag, I wish to use only a div for the terminal area not the whole body. Tried accessing the
like