A terminal is a hardware device used for entering data into and displaying information from a computer. Terminals were frequently used in the days of mainframe computers. Today, most operating systems offer text-based "terminal emulators", which replicate the functionality of a classical terminal, ...

learn more… | top users | synonyms

5
votes
0answers
815 views

I can't get XFCE terminal to display VIM's colorschemes

That's what I have in my .bashrc if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then export TERM=xterm-256color fi In my .vimrc I have: set t_Co=256 echo $TERM prints xterm-256color tput ...
4
votes
0answers
240 views

emacs term-mode redraws prompt when backspacing inside executables

I am reliant on emacs (version 24.4.1 on Debian) term and ansi-term modes. They normally work just like xTerm for me, but when running an interactive program that has a prompt (like the node.js prompt,...
4
votes
0answers
163 views

Bug with resizing panes in tmux when using ZSH

I am using Tmux with ZSH and have a problem when trying to resize panels. I am currently using these bindings to resize panels as I work: unbind-key M-j ; bind-key -n M-j resize-pane -D 1 ...
4
votes
0answers
693 views

Can I reverse the stream direction of my terminal?

I'm not sure on how to word this question any other way but that's it. Is it possible to reverse the way your terminal prints text? For example if I type a command, I type it from the bottom of the ...
4
votes
0answers
559 views

Keep Session with Terminator

I am using Terminator for multiple Terminal Sessions. I know I can start with custom Session layout but most of the time I have changing Session settings. Is it possible to save the current Session ...
3
votes
0answers
52 views

Different line spacing depending on font encoding

Historically, I've been using Monotype Courier New as my XTerm font (it displays well both Cyrillic characters and box-drawing characters). When migrating from legacy KOI8-R to UTF-8 locale, I've ...
3
votes
0answers
137 views

Howto Emacs nyan-mode image in console

I have emacs’ nyan-mode working in my OS X desktop emacs (24.5). But I’d very much like to get that working in my console emacs. I’m using: Ubuntu Server 12.04 LTS (precise), in a Vagrant VM. (OSX) ...
3
votes
0answers
87 views

“Open File” dialog box takes a long time to appear on all applications

On Ubuntu 14.04. While using KeepassX, I tried to open a database with the Ctrl+O shortcut, but it appeared to crash with a non-responsive window. I then noticed the same behavior with Firefox, gedit,...
3
votes
0answers
206 views

How to open a local file with a query string appended to it in the default browser?

I want to do something like this from a shell script: $ open 'foo.html?foo=bar' Sadly that fails, as it looks for a file named foo.html?foo=bar instead of foo.html before opening the browser: The ...
3
votes
0answers
812 views

Unzip Multipart Zip from Command Line

Thanks in advance for any help. I am trying to unzip a multipart zip file from the command line in OSX 10.8.5. I created the zip using zip -s 800m foo.zip foo.mov The file foo.mov is 2.7GB. So I ...
3
votes
0answers
3k views

Close a specific Chrome tab in Ubuntu/Linux using terminal command

Is there a way to close a specific Chrome tab with a terminal command? I tried below commands: kill -9 <pid of Chrome tab>: Instead of closing a tab, it kills the tab ("He's dead Jim" message ...
3
votes
0answers
611 views

How to mount SMB share from terminal using keychain?

I need to be able mount a SMB share from terminal, for MAC OS versions (10.7). Is there a way to use mount_smbfs with keychain so I don't get prompt the username/password or have to add it to the ...
2
votes
0answers
36 views

Cannot import colour presets into iTerm 2

Long time user of the standard terminal, short term user of iTerm 2. I've found a colour preset I want to use, however after importing them when I select them from Preferences > profiles > load ...
2
votes
0answers
84 views

iTerm2: Numeric keypad enter does not get mapped to <CR>

I've set up iTerm2 to map numpad keys to send correct xterm key codes as suggested in this answer. However, I have an issue with the Enter key: all I get is the bell in my shell. When I try to set up ...
2
votes
0answers
14 views

System stops running

I'm using Debian (3.2.63-2+deb7u2 x86_64) as a base to run extremely time consuming calculations. My problem is that, after some time of working (several weeks), and even using a small load of ...
2
votes
0answers
50 views

Search terminal buffer in shell script

I have a shell script named merge that takes a parameter that is a revision number. I usually invoke it merge 12345. I would like to pass in zero parameters. The script should search my terminal ...
2
votes
0answers
57 views

Name a tab in iterm2, even with pane splits

I see there are solutions to name tabs in iterm2 when there is a single pane, but it doesn't work well with multiple panes/splits. So if I have two terminals open in a split under a tab, I would need ...
2
votes
0answers
217 views

udev rule script “xinput --list” differs in terminal versus log

I'm trying to automate a Huion tablet calibration without much success. I have this output from xinput --list in a normal terminal: ⎡ Virtual core pointer id=2 [master ...
2
votes
0answers
83 views

slow scroll in ssh connection after a while (why?)

Remote server with screen. After some time any command with a lots of lines of output causes significant scroll lag. It happens with different terminal emulators: konsole, xterm, lilyterm, ...
2
votes
0answers
34 views

Can one start shell from save file dialog

Using ubuntu. If one tries to print to a file, the save dialog opens. Is there a way one can execute the shell (or terminal) from the save file dialog file name entry box?
2
votes
0answers
129 views

How to change linux terminal to yaft on boot

I am using Arch Linux on an old laptop and when I log in it is to $TERM=linux. How do I configure it to load yaft instead? At the moment I have to log in then type yaft but I would like to use yaft as ...
2
votes
0answers
154 views

focus to newly opened terminal

I am using gnome-shell 3.14 on archlinux 3.17.3-1. I have a keyboard shortcut (ctrl+alt+T) to open an xfce4-terminal. My issue is that when I triger this shortcut the focus is not set the the newly ...
2
votes
0answers
40 views

How to add a 'greek' character in the path using cURL?

I have a Makefile where one of many tasks is to upload a file using cURL, one of these files, has a greek character in the name and when I try to upload using cURL, I receive this error: curl: (43) A ...
2
votes
0answers
278 views

tmux shows weirdly encoded history on OSX

If I do the "history" command in tmux, I get a really weird result. Anyone got a hint on what to do to get normal output? The output looks like this: 477 ◆┬▒⎺▒└☃◆ 478 c▒├ ◆┬▒⎺▒└☃◆ 479 ec▒⎺...
2
votes
0answers
104 views

How to prevent mysql blobs from borking my terminal

When using the linux terminal client for mysql, every column with a blob prints out tons of control characters and the terminal has to be reset. This looks something like the following Map: �PNG ...
2
votes
0answers
1k views

URxvt: vim and cursorColor [invisible cursor or invisible cursor text]

Introduction I've always used a light-background terminal and a dark-background editor (vim). On this I'm not willing to compromise. In any case, I've just switched from xterm to urxvt ($TERM == rxvt-...
2
votes
0answers
2k views

mv command says “No such file or directory”

I am attempting to rename a directory on an external hard drive on Mac OS X. When I tried in the finder I got an error that says, "An unexpected error occurred (error code -43)." -- so I thought I may ...
2
votes
0answers
142 views

How can I launch Front Panel in CDE (Common Desktop Environment)?

When using Cygwin/X, after I ssh with x11 forwarding into a Solaris 9 system, sometimes I can't see the Front Panel or even the wallpaper: Is there a way to bring Front Panel into view, or launch ...
2
votes
0answers
507 views

Resume term after ssh disconnect without multiplexer (screen/tmux)

Screen and tmux (like emacs) are fancy feature rich terminal multiplexers designed to let you efficiently manage terminals as if it was 1985 but they just complicate the simple task of resuming an ssh ...
2
votes
0answers
156 views

Has anyone managed to run Xorg from console mode on OS X?

I'm an avid user of XQuartz and use it for all my computing needs on OS X. Since I essentially don't use any Aqua apps any more, I wondered if it would be possible to start the X window system from ...
2
votes
0answers
233 views

Can I make shift+arrow keys work the same way in iTerm2 as they do in text boxes or the Matlab CLI?

this question has some discussion on why shift+arrow keys don't use the default behaviour of selecting text, but it doesn't have any suggestions on how to make it have that behaviour. I'm ok with it ...
2
votes
0answers
431 views

Awesome WM scratchpad with terminator

I've recently started using Awesome WM and trying to recreate a Yakuake-like experience I found the Scratchpad manager. I've tried several configurations to make it work with terminator, and so far ...
2
votes
0answers
175 views

Matching bracket selection on gnome-terminal, like Mac OSX terminal

I have recently fallen for a (non obvious) feature of the Mac OSX terminal: Given a display of some kind of deeply nested text with lots of matching brackets, parenthesis, or quotes (ie. JSON), the ...
2
votes
0answers
454 views

Why does this line appear every time I launch iTerm on my MacBook?

So I use iTerm on my MacBook Air and also my MacBook Pro. I've been playing around with .bashrc and .bash_profile and trying to come up with clever ways to configure things. At one point I decided I ...
2
votes
0answers
519 views

Remember current working directory when opening new tab in linux terminal Tilda

I think my question is pretty clear when I try to open a new tab in my terminal(tilda) it doesn't remember the last working directory. For example: Current Tab: ranveer@ranveer:/etc$ After ...
2
votes
0answers
524 views

Copy the output of the last command in Terminal.app

!! | pbcopy would also run the commands again and couldn't be used with interactive commands. This relies on the prompt always being $ : tell application "Terminal" to tell window 1 to history do ...
2
votes
0answers
455 views

How to display a framebuffer and some stdout text

So I have this program that writes to the framebuffer in Ubuntu. It works beautifully: I enter the system terminal using ⇧+CTRL+F1, then start the program, and it starts writing to the framebuffer and ...
2
votes
0answers
80 views

Financial and real-time market-data software for the command line

I can easily build HUDs at command prompts for stuff like the weather, my to-dos, Twitter, IRC, etcetera; but the one thing I’m always stuck going to my iPhone or browser for, constantly, is real-time ...
2
votes
0answers
5k views

remove dir with files not working

I'm trying to remove this directory pear from my tmp folder, but it's not letting me. I tried sudo rm -r pear But then it asks me to override, and I put y and it says Permission denied. Any ideas ...
1
vote
0answers
34 views

Characters turn into unicode in gnome terminal with lldb

I installed a fresh copy of lldb on my machine. Anything typed after lldb makes its first output (in this case being error: empty command) turns into unicode literals. These unicode literals are ...
1
vote
0answers
18 views

Allow users to restat programs on terminal server

Our TS is locked down so people can't even get onto task manager to restart a process that is hanging. I don't want to compromise the security of the TS but I would like to give users the ability to ...
1
vote
0answers
30 views

Create tmux session in seperate shells

I'd like to use tmux sessions to manage windows / panes in different shells. What I've noticed is that tmux will always use the shell from which it was first launched for all subsequent sessions ...
1
vote
0answers
59 views

Speedup zsh startup time

I'm on MacOS 10.11. When I open a new tab on Iterm2, it takes almost 2 second to have the prompt. So I guess I have something in .zshrc / .bash_profile / .bashrc that takes times to load. Here are ...
1
vote
0answers
20 views

Remapping Ctrl + I with keysym in rxvt

I'm trying to remap Ctrl + I to be captured as something else than tab, so I can use it as a shortcut in tmux. However I cannot get to work. As a test case I tried to get Ctrl + I to output Ctrl + W ...
1
vote
0answers
15 views

OS X: Trying to run an application in terminal and create an image of it

I am trying to run a program such as tload or slurm which graphs a system metric over time, and make its input into an image that has ANSI color support. The best I can think of is using ...
1
vote
0answers
11 views

How can I correct two-finger scrolling on a Linux VM under OSX?

An earlier poster posted some of my concern at http://apple.stackexchange.com/questions/235029/in-terminal-how-to-exit-the-two-fingers-history-scrolling-mode, and I am grateful; I now know how to get ...
1
vote
0answers
44 views

Getting error: “Error constructing proxy for org.gnome… Could not connect: Connection refused” when running gnome-terminal

I am getting the error: "Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: Connection refused" when I try to run gnome-terminal. I am running CentOS 7. I ...
1
vote
0answers
26 views

Installing Python Chromagnon for OSX Terminal to extract/restore Google Chrome tabs

I saw this suggestion posted here http://softwarerecs.stackexchange.com/questions/19500/tool-to-read-data-from-google-chrome-snss-files/19501?noredirect=1#comment46394_19501 but am not sure how to ...
1
vote
0answers
34 views

Why won't gnupg be fooled by my pseudoterminal trick?

Gnupg requires many of its inputs to come literally from a terminal instead of just stdin. I sometimes can get around that with: pty-run: #!/bin/bash printf -v cmd '%q ' "$@" exec script --quiet --...
1
vote
0answers
37 views

Error when trying to exit terminal emulator

Background I run zsh by default, and spend most of my day logged into a terminal. My workstation and all of the servers I interact with on a daily basis are Linux-based, and I either use zsh or bash ...