terminal-emulator

MySQL command output too wide in command-line client [duplicate]

China☆狼群 提交于 2019-12-06 08:52:40
问题 This question already has answers here : How to best display in Terminal a MySQL SELECT returning too many fields? (12 answers) Closed 4 months ago . I am using mysql command line client in terminal emulator lxterminal in Ubuntu. When I run the following command: mysql> select * from routines where routine_name = "simpleproc"; The output is a mess: But if I copy and paste it here, the output shows me a nice table: mysql> select * from routines where routine_name = "simpleproc"; +-------------

Cannot open /data folder in a rooted Android device

六眼飞鱼酱① 提交于 2019-12-06 04:09:37
My HTC Sensation is rooted (I can see the SuperUser app; I can su using the Terminal Emulator app; I was able to install Android Stock ROM Cyanogenmod). I'm not able to open the /data folder using either ADT or adb shell su (permission denied) or File Expert app. What can I do to open the folder? I found the answer and solution: As for access the adb shell , I need to enable "Root access" for ADB in "Developer options" (this apply for stock Android 4.0.4 by Cyanogenmod but the same option could be present somewhere else in your phone) As for File Expert, the "Root Explorer" functionality is

Shift key doesn't work in my emacs

谁都会走 提交于 2019-12-06 03:45:48
问题 I run emacs in gnome-terminal with -nw option, it works well except for some key shortcuts that include the shift key. For example, when I execute C-M-S-v (scroll-other-window-down), only C-M-v keys are recognised by Emacs which in turn scrolls the other window up. I tried these key shortcuts in a GUI Emacs, everything works properly. I guess there must be something wrong about the gnome-terminal or other terminal emulators, such as iTerm on Mac OS which I encountered the same problem. How

Connecting to CICS from Windows Desktop Application

六眼飞鱼酱① 提交于 2019-12-05 22:17:51
Now there is a new requirement. I have got some adhoc work at hand. The requirement is to connect a desktop based Java application to read data from Mainframe generated by some CICS Transaction. [Basically I have to read all the records being appended into a file (same way as we do tail-f filename in linux). This is just for FYI my requirement is something different.] I inquired, and came to know that my employer cannot provide MQ or CICS Transaction Gateway access to me. He suggested some method of screen scraping. I have already done that using VB.Net application and Quick3270 as well as IBM

Embed xterm into QWidget and communicate with it

故事扮演 提交于 2019-12-05 21:18:11
I want to embed an xterm into a pyqt4 widget and communicate with it. Especially I want to be able to print to it and execute commands on it (such that it returns to normal user prompt after executing the command just like a normal shell would do). Consider the following minimal example. How can I make it work? #!/usr/bin/env python #-*- coding:utf-8 -*- import sys from PyQt4.QtCore import * from PyQt4.QtGui import * class embedxterm(QWidget): def __init__(self): QWidget.__init__(self) self.setMinimumWidth(900) self.setMinimumHeight(400) self.process = QProcess(self) self.terminal = QWidget

Open source C# vt100 server

我只是一个虾纸丫 提交于 2019-12-04 21:33:06
Does anyone know of an open source C# vt100 server? I'm looking to create a C# server that understands the escape sequences from a vt100 client. This takes me waaaay back. I... don't think it's the server, but the application, that needs to understand the escape sequences. The server only needs to pass them to the application that's running. Think of a text-based application. It needs to know what the user is sending to it so that it can send back the proper response. The terminal server you're talking about sits between the application and the user, acting as part of the communication layer.

MySQL command output too wide in command-line client [duplicate]

强颜欢笑 提交于 2019-12-04 12:57:07
This question already has an answer here: How to best display in Terminal a MySQL SELECT returning too many fields? 12 answers I am using mysql command line client in terminal emulator lxterminal in Ubuntu. When I run the following command: mysql> select * from routines where routine_name = "simpleproc"; The output is a mess: But if I copy and paste it here, the output shows me a nice table: mysql> select * from routines where routine_name = "simpleproc"; +---------------+-----------------+----------------+--------------+--------------+-----------+--------------------------+-------------------

How to create web based terminal using xterm.js to ssh into a system on local network

两盒软妹~` 提交于 2019-12-04 09:57:17
问题 I came across this awesome library xterm.js which is also the base for Visual Studio Code's terminal. I have a very general question. I want to access a machine(ssh into a machine ) on a local network through a web based terminal(which is out of network, may be on a aws server). I was able to do this in a local network successfully but I could not reach to a conclusion to do it from Internet-->local network . As an example - An aws server running the application on ip 54.123.11.98 which has a

Shift key doesn't work in my emacs

一个人想着一个人 提交于 2019-12-04 07:56:18
I run emacs in gnome-terminal with -nw option, it works well except for some key shortcuts that include the shift key. For example, when I execute C-M-S-v (scroll-other-window-down), only C-M-v keys are recognised by Emacs which in turn scrolls the other window up. I tried these key shortcuts in a GUI Emacs, everything works properly. I guess there must be something wrong about the gnome-terminal or other terminal emulators, such as iTerm on Mac OS which I encountered the same problem. How could I enable shortcuts that include shift key in a gnome-terminal? The VT100 and terminals derived from

Executing python script in android terminal emulator

混江龙づ霸主 提交于 2019-12-04 06:21:38
I installed python 2.7 in my Android device and I tried executing a python script by typing the command in terminal emulator. The problem is that although I use the full path for python the following error appears: link_image[1997]: failed to link ./python CANNOT LINK EXECUTABLE. I tried to add environment variables in ./~bashrc but I didn't make it. Any idea ? OK it is solved. I followed these steps ( http://code.google.com/p/python-for-android/wiki/RunPythonFromShell ) but first I had to put the file standalone_python.sh in /data/ because in sdcard I had no permission to execute. And finally