A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).

learn more… | top users | synonyms

4
votes
0answers
390 views

8-bit input in gnome-terminal

I'm trying to switch from xterm to gnome-terminal but having trouble with alt keys. I have already disabled menu access keys, but I still need 8-bit inputs. In xterm I can set 8-bit inputs in ...
3
votes
0answers
81 views

How to change background color of a pane in tmux?

I would like to change the background color of the inactive panes in tmux to better distinguish between the active pane and inactive panes. Something just a few shades different than the default. How ...
3
votes
0answers
56 views

Is it possible to save the state of open terminals?

When working on certain projects, I routinely open a number of terminals, navigate each of them to various directories and resize and position them on my desktop. Is there any way to save this ...
3
votes
0answers
80 views

Slow terminal print out

Just installed (netinstall) debian wheezy on a second machine newer machine however the terminal print out is noticeable slower than on the old machine although the new have faster CPU, RAM and HDD ...
3
votes
0answers
113 views

No Login on created on tty2 to 6

On my Debian Linux no Login is possible on terminals 2 to 6. Login on 1 works fine, xorg-session with XDM and awesome wm works, too. The Error Message shown on these 5 screens is: ...
3
votes
0answers
2k views

Reset background to transparent with tmux?

I recently set up tmux-powerline and noticed that the background color on the status-left, if changed, refuses to go back to default and transparent (if transparency is enabled). I was able to fix ...
2
votes
0answers
33 views

How to display a BASH X terminal and graphics in split view window?

I created a simple education tool using BASH script which runs in an X terminal. It displays a prompt, at which users can enter choices, as described in the Bash Guide for Beginners' Catching user ...
2
votes
0answers
22 views

How to output rsync sent data in realtime using standard tools

I'm developing a small tool for some people who need to send files over to a server. I'd like to use rsync to a rsync deamon to do so. Is it possible to have rsync to output how much data it has ...
2
votes
0answers
74 views

Hex codes for input key combinations

In iTerm2 one can setup keyboard shortcuts so that for a given input sequence, iTerm2 sends a specific hex code to the terminal. What exactly are these hex codes? And how can I identify a hex code ...
2
votes
0answers
78 views

How can you get the current terminal line (the one that is still editable by the user)?

I need a way to use the current line which the users typed into as variable for a shell function. my current code, which can be called by ctrl+r zle -N search bindkey "^R" search search () { read ...
2
votes
0answers
336 views

How to enable Control key combinations for GNU screen on putty?

I am accessing a linux box via ssh using putty. Key combinations work fine when I'm not running screen. However, Ctrl key combinations do not work under a screen session. In fact, a Ctrl-any key is ...
2
votes
0answers
47 views

A terminal that is always scrollable or forever like less?

I'm currently using #!Waldorf, but have used Manjaro, Mint, Ubunto, Fedora, etc. Is there a way to make my terminal always behave like it's passed to less but without the (END) "feature" that ...
2
votes
0answers
431 views

How to set a background image for urxvt?

How do I set a tiled background image in urxvt? I have tried the following alternatives in my .Xresources file: URxvt*backgroundPixmap: /home/jgg/Pictures/tiles/escheresque_ste.png;style=tiled ...
2
votes
0answers
159 views

How to send/receive Messages on RFCOMM Terminal

I have connected to another Bluetooth device via RFCOMM. Now i want to send/receive Messages, but just typing them into the Console won't send them.. where to do that?
2
votes
0answers
914 views

How to change a font/background color in transparent windows?

When you select something, the color of the selection usually changes to the font color, and the font color is being set to backgroud color. So, if you have a black background in a terminal, and the ...
2
votes
0answers
191 views

Create clickable links in terminal

It's possible to create grep-command results file names like a link - for open editor? I want click to filenames in grep result and open my editor with selected line $ grep "mServiceIntent" -R ./src/ ...
2
votes
0answers
316 views

How to change colors of all running urxvt instances?

I'm used to black background and light green text when working on my urxvt terminals. But sometimes, when I take my laptop outside, it becomes hard to read and I'd like to change the colors of all my ...
2
votes
0answers
123 views

Best way to view scripted session logs

I have aliases set up for SSH and minicom to call simple wrapper scripts which just ensure that I get a log of the session. The logs are stored in a specified directory, and named with a tag and a ...
2
votes
0answers
114 views

zsh: Echoing every statement?

I have an odd problem with zsh when I switch between shells in a particular way: Option 1 (works well): I start a zsh shell. I switch to tcsh with /bin/tcsh, and I switch back to zsh with /bin/zsh ...
2
votes
0answers
303 views

Change the default terminal for all .desktop files?

My htop.desktop launches XTerm, but I want to change the default terminal to xfce4-terminal in all "Terminal=true" .desktop files.
2
votes
0answers
47 views

How do I detect a copy event in Finder?

I am trying to strip formatting from text copied from my Illustrator docs. Someone accurately pointed out to me that running pbpaste | pbcopy via command-line will perform this action on text in the ...
2
votes
0answers
144 views

Silent boot opensuse without fbsplash

I want to boot my openSUSE 10.3 distro without any boot messages. I've looked at fbsplash, but it requires patching the kernel, a thing which I cannot do at the moment (not because I don't want it or ...
2
votes
0answers
369 views

Terminal logging via putty on AIX (including smitty)

I use a terminal logging method on my Ubuntu Desktop for the GNOME-terminal (it's good when I use SSH in GNOME-terminal): Implementation As root: apt-get install bsdutils As the normal user: ...
2
votes
0answers
289 views

Physical Terminal (DEC VT220) issues with ZSH

I recently purchased a VT220 and all the hardware necessary to hook it to my macbook pro. After several hours of fiddling I got it working with a shell - my only problem is my shell of choice, ZSH, ...
1
vote
0answers
25 views

Resizing Xterm window kills Django running in it

I have a Django instance running in a terminal window. Any time I resize the window, the Django process dies ungracefully, leaving no record of it in the error_log file. I tested it within ratpoison, ...
1
vote
0answers
20 views

How to use ESC sequences to make terminal region scrollable

I have a stm32f1 controlled device that uses USART/USB port to implement a user control interface. Using a standard terminal software (putty/minicom) a user has an ability to enter simple command in ...
1
vote
0answers
24 views

How can I get red letters with tput when I seem to get yellow?

I was using #!/bin/sh if [ $TERM=screen ] then pass_color=' \033[01;32m' fail_color=' \033[01;31m' fi echo "$pass_color green $fail_color red" as in but I was advised to use tput instead, so ...
1
vote
0answers
25 views

Giving a user SFTP access only with access to subdirectory outside of home?

I have user [USER A] account which contains scripts and a downloads folder. I would like to create a new account [USER B] so that the user has read/write (SFTP and not full SSH) access to their home ...
1
vote
0answers
30 views

Echoing Backspace Characters in the Terminal

I'm working with picocom running inside gnome-terminal. I have local echo switched on inside picocom using the -e option, and when I backspace I can see that caret moves backwards, however the ...
1
vote
0answers
54 views

How can you (programatically) detect the ANSI escape code supported by terminal?

I am playing around with shell scripts that use ANSI codes and found that for one reason or another different escape codes are supported depending on your terminal/os.. In some cases I get a dump of ...
1
vote
0answers
19 views

Is there a version of script that plays nicely with vim?

man script says: Certain interactive commands, such as vi(1), create garbage in the type‐ script file. Script works best with commands that do not manipulate the screen, the results ...
1
vote
0answers
237 views

Load a background image or set the background color if Konsole/Shell is running SSH

I want to set my laptop to load an image in the shell's background or set the background color to red if I'm connected via SSH. How can this be done? With a bash function in .bashrc? I have: Set the ...
1
vote
0answers
53 views

Broadcast messages don't appear on gnome-terminal, but appear on xterm

I'm curious about the behavior of broadcast messages by $ sudo wall myfile the message from myfile appears on all /dev/ttyN devices (the ones to which I can switch by pressing Ctrl+Alt+fN), it also ...
1
vote
0answers
56 views

Using X11 Displays through Terminal.app commands : generic mapping tools

I am trying to figure out why I can't use ghostscript or ghostview (or any other X11 applications) when I try to call them in the Terminal. I am using bash, and I also used Fink to get the packages I ...
1
vote
0answers
393 views

Error while building Linux module of a wireless driver

I have recently installed Debian Wheezy onto one of my old computers to test it out and to become more familiar with Unix. To my surprise I enjoy the interface very much so far, but I have run into a ...
1
vote
0answers
86 views

Problem in writing message from one terminal to another terminal

I have a user of name x in tty1 and y in tty2. x wants to write some message to y and vice-versa. When I typed write y tty2 in the tty1 terminal, it said: write:you have write permission turned off ...
1
vote
0answers
82 views

unable to open openmpi ? Terminal / OSX 10.9.1

Hi I am trying to simulate an example of a software using terminal on OSx 10.9.1. When I execute examples the terminal said Bus error:10 and some errors abput openmpi. I downloaded Openmpi versions ...
1
vote
0answers
257 views

Passing escape sequences to shells within ansi-term in Emacs

In a regular terminal (e.g. iTerm2 on OS X) I can connect to a database, e.g. > psql .... and then, as I type my command in psql, e.g. $ select foo from bar I can move around (as I type psql ...
1
vote
0answers
167 views

Which process is occupying a certain pseudo terminal pts/X?

On Linux: Normally pseudo terminals are allocated one after the other. Today I realized that even after a reboot of my laptop the first opened terminal window (which was always pts/0 earlier) ...
1
vote
0answers
581 views

Octave - warning: unable to open X11 DISPLAY

My setup is as follows: Octave 3.6.4 Mac OS X Mavericks 2009 Macbook Pro I'm trying to run Octave in Terminal, with gnuplot. I'm trying to plot matrices in a graph, as part of an online Coursera ...
1
vote
0answers
441 views

GConf-WARNING **: Client failed to connect to the D-BUS daemon: Unable to autolaunch when setuid

I am encountering a strange error whenever I run certain commands, for example, sudo apt-get install ______ and I receive the following error: (process:28847): GConf-WARNING **: Client failed to ...
1
vote
0answers
161 views

Aptitude installing jre

I am trying to install jre on my debian 7 kali box, but I keep getting these faulty errors. I tried installing it through aptitude and it fails at the end. The result is: dpkg: error processing ...
1
vote
0answers
159 views

How to setup keyboard shortcut that enters predefined text into X11 xterminal via SSH from mac OS?

I do a lot of remote programming on my CentOS linux server by opening an X11 xterminal window on my Mac OS, and SSH into the server. I'm looking for an easy to use method to enter a predefined text ...
1
vote
0answers
387 views

How to scroll in a terminal by line in GNOME Terminal 2.31.3?

I use Shift+(PgUp/PgDown) while scrolling in the terminal. But it seems to scroll one screen (or a half may be) at a time. I feel comfortable scrolling the terminal by line with the mouse, but don't ...
1
vote
0answers
180 views

Modify .inputrc to fix Mac Terminal bug with vi mode

I currently have a bug in my Mac's Terminal (I actually use iTerm2 but it's still there), where once I press left arrow after typing, I can't go past the last character. Is there a way I can modify ...
1
vote
0answers
73 views

Themed Tabs in Gnome Terminal

I've created a custom desktop session which upon login presents the user with a full screen gnome-terminal session. The idea is to have a TTY-like session but with the added advantages provided by X ...
1
vote
0answers
147 views

vi hangs when run in /dev/console under LXC

I'm running an Arch Linux container from within lxc. The lxc-start command connects to the internal /dev/console, on which I have agetty running using the following command: /sbin/agetty --noclear -a ...
1
vote
0answers
186 views

Huawei modem change auto answer settings

Is there a way to change Huawei modem ATS0=1 command to be permanently set, so that there would not be need to send that command every time when modem is plugged in ? On each modem-plugin command is ...
1
vote
0answers
106 views

touchpad scrolling lost when switching between physical and virtual tty

I have setup touchpad scrolling by running the following script in .xsession $ cat ~/bin/enablescrolling # enable two finger scroll synclient VertTwoFingerScroll=1 synclient HorizTwoFingerScroll=1 ...
1
vote
0answers
292 views

Error while importing Compiz profile from Terminal

File name : import.py #!/usr/bin/python import sys import compizconfig #The last input on the command line will be the path to save the file to. savefile=sys.argv[-1] ...