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

6
votes
0answers
474 views

Display unicode in tmux?

This is urxvt without tmux This is urxvt with tmux and utf8 not enabled in the config This is urxvt with tmux and utf8 enabled in the config How can I make tmux act consistent with the ...
5
votes
0answers
1k views

256-colour terminal

I've been battling it out with this 256-colour terminal malarkey and I just can't get decent colour displays in a terminal. I'm using ubuntu-server with openssh and zsh. I have tried accessing the ...
4
votes
0answers
608 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
485 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
205 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 ...
3
votes
0answers
120 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 ...
3
votes
0answers
126 views

iTerm2 hotkey window activates non-hotkey windows

When I set iTerm2's hotkey mode on Mavericks, opening the hotkey window also brings any open non-hotkey terminal windows to the front. Is it possible to have iTerm bring focus only to the hotkey ...
3
votes
0answers
69 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, ...
2
votes
0answers
48 views

How to paste passwords to terminal for use with SSH?

Hi I am trying to complete the overthewire challenges. They require you to extract passwords and login as different users to proceed. Passwords are quite lengthy and I am not able to paste the in in ...
2
votes
0answers
34 views

cp -r is copying over files that don't exist

I'm trying to copy the contents of one directory to another using: cp -r ~/dev/testing/app/ ~/dev/app/ It works, but it's copying over files that don't exist (at least visually). For instance ...
2
votes
0answers
72 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) ...
2
votes
0answers
12 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
41 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
36 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
154 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
63 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
31 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
117 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
125 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
438 views

Rendering of unicode symbols in urxvt (height / width) vs. gnome-terminal

gnome-terminal renders the unicode symbols (arrows) in my prompt different from urxvt: They are displayed across the whole line's height, have less spacing in-between, but more appropriate ...
2
votes
0answers
33 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
222 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 ...
2
votes
0answers
158 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 ...
2
votes
0answers
440 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 ...
2
votes
0answers
715 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 ...
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
124 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
462 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
143 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
185 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
379 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
160 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
2k 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 ...
2
votes
0answers
411 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
490 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
547 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
462 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
429 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
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
16 views

Running `pip` gives 'command not found' after successful Python homebrew install

To preface, I am very bad with the terminal, please be patient with me. when I run pip I get: zsh: command not found: pip I have installed Python 2.7.11 with brew, which should allow pip to work ...
1
vote
0answers
13 views

Terminal lines intermittently invisible or corrupt on Ubuntu 12.04

I am running gnome-terminal under Ubuntu 12.04 and I have a weird problem that I haven't managed to find any info on. Whenever I type a command, the resulting output is frequently - but not always - ...
1
vote
0answers
12 views

How do I break out of /home/reveller?

Ubuntu newbie here. I succesfully installed Ubuntu on a VM on Windows. I am now trying to run a localhost website using nginx. I have read tutorials online on how to create your website in /var/www ...
1
vote
0answers
17 views

How to make an interactive subshell in tcsh?

How can I make an interactive subshell in tcsh? E.g.: % alias pathfrom 'cd `pathto -f`' ... where "pathto" is a script that asks the user (via STDOUT) for input (via STDIN) and prints a string in ...
1
vote
0answers
26 views

Super/Alt key combinations making screen go blank

I started having a weird issue on my Ubuntu Linux with KDE: if I press any of the following combinations: (Super or Alt) + left arrow (Super or Alt) + right arrow (Super or Alt) + any F-key The ...
1
vote
0answers
116 views

In iTerm2 how can I automatically connect to an existing tmux session using -CC?

I've found using iTerm2 and tmux -CC to be quite helpful tying the existing iTerm UI with tmux windows & panes. I'm trying to figure out how to automatically attach to an existing session at ...
1
vote
0answers
41 views

How to quit reverse-i-search without moving the cursor?

In Bash, I often encounter below situation when doing reverse-i-search (using emacs keybinding in Bash): (reverse-i-search:ccc) aaa bbb |ccc ddd I am in the middle of reverse-i-search for 'ccc', and ...
1
vote
0answers
47 views

unxutils zsh on wide terminal

I'm usually working on linux, but am now forced to use windows (xp). In search of a usable shell, I installed unxutils. They provide a zsh and when used with the default setup it works nicely. But ...
1
vote
0answers
44 views

How can I import my Ubuntu terminal's color scheme for a different computers?

I did a reinstall on my computer presently, and I want to restore my previous terminal settings. While exporting my settings, I ran the command gconftool-2 --dump '/apps/gnome-terminal' > ...
1
vote
0answers
97 views

Vim / NeoVim: Map <CR> to <Esc> and <S-CR> to <CR>

I'd like to use enter to escape insert mode, and use Shift+Enter to insert a new line instead. The problem is my terminal emulator (Konsole running under Lubuntu) doesn't capture Shift+Enter (nor ...
1
vote
0answers
20 views

Terminal reset troubles

According to the MinGW setup program, I have the bash shell installed. When I attempt to issue a reset, I get: sh: reset: command not found Bash responds to the reset command in every other ...