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

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 ...
1
vote
0answers
45 views

Select full word in iTerm2 using alt + shift + arrow

Following this advice, I've configured Iterm2 to delete the word when Alt + Backspace. I would like to build a similar functionality for combinations of Alt + Shift + ← | →. With respect ...
1
vote
0answers
26 views

How can I backup my files in this situation (recovery mode)?

My disk has been corrupted and has forced me load osx in recovery mode. Going to disk utility, I've tried verifying an image which needed repair. After attempting to repair, I've gotten to the ...
1
vote
0answers
12 views

Remap key in mobaxterm

Currently ⇧ Shift + ⌫ Backspace returns ^H in my linux console. How to remap this to CTRL + ⌫ Backspace? I use the newest version of MobaXterm "Personal Edition 8.6".
1
vote
0answers
86 views

xterm translations: sending multiple keys

I'd like to utilize the multimedia keys on my keyboard in my xterm/tmux. I'd like to map the XF86Launch8 to the keys C-a F1 (ctrl-a being the tmux prefix key, the press F1, which is mapped in tmux to ...
1
vote
0answers
29 views

Copy currently playing file in VLC using Terminal

I would like to be able to get the currently playing file in my VLC player and copy the file into a specified directory. I would like to know how I can do this using VLC's console interface to get ...
1
vote
0answers
110 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
21 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
63 views

How come I have to `source ~/.profile` every time I launch a new terminal?

When I launch my terminal and I do node --version I get 2. w/e Then I try to do nvm use 5.3.0 and it says nvm: command not found So then I have to source ~/.profile Then I can use the nvm ...
1
vote
0answers
40 views

How to terminate npm install

I am running npm install usually I am pressing ctrl+c on Windows and it is cancelling the process. But it is not working for me on Mac. I pressed ctrl+c and ctrl+z and tried different similar ...
1
vote
0answers
98 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 ...
1
vote
0answers
193 views

brew doctor errors - safe to remove files?

It seems that I made a mess as the brew doctor returns a number of errors: brew doctor Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an ...
1
vote
0answers
55 views

Non-latin letters shown bold in console when using ter-v16n font

I have to show various UTF-8 characters in my CentOS terminal and I'm playing with Terminus console fonts. If I'm using ter-u16n font I get properly drawn Cyrillic characters but available character ...
1
vote
0answers
35 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 ...
1
vote
0answers
33 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
58 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
51 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
52 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
57 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' > gnome-...
1
vote
0answers
155 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
25 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 ...
1
vote
0answers
141 views

Linux server to send and receive from RS-232 using socat

I'm trying to bench test a configuration where a Linux server will send and receive RS-232 data from a Black Box RS-232 to Ethernet converter. I've followed this example. I've configured ser2net.conf ...
1
vote
0answers
68 views

Can tmux display pretty pane corners?

I'm in the process of picking up tmux, and I'm sure I'll get used to it, but this pointy edge is bothersome. Is there a way to make the corner flush, like this (fixed with gimp)? I know that the ...
1
vote
0answers
109 views

Internet Explorer 11 in a terminal (kiosk) with low resolution

We are currently using Porteus Kiosk (Linux) on our terminals. The terminal boots and starts with Firefox open on the default page (our client’s web address). Now we are considering switching to ...
1
vote
0answers
62 views

Run bash command from link in browser

Is there a way to run an arbitrary command on OSX by clicking a link in the browser? As you know, there are certain types of hyperlinks that launch certain applications with a specified action, for ...
1
vote
0answers
36 views

programmatic access to current xterm colors

In the thread below programmatic access to current xterm background color Alex North-Keys provides a useful bash script that returns the background color of the current xterm. I'd like to use the ...
1
vote
0answers
357 views

fixme:heap:HeapSetInformation in wine

I am trying to launch setup to install an app with wine. Launching it without the terminal does nothing, however launching it in the terminal with the command wine foosetup.exe it gives the error ...
1
vote
0answers
64 views

Including a fallback in default shell

I have an account on a network, and my shell is set to zsh, but when I log onto a computer that doesn't have zsh installed on it, a terminal I launch tries to run zsh and fails, so I get an empty ...
1
vote
0answers
73 views

Open a Specific page of PDF document in viewer

I would like to be able to open a specific page of a PDF document through any desktop search or terminal. Example of url file://localhost/Users/masi/Dropbox/Cardiology/2493.full.pdf#page=11 which ...
1
vote
0answers
42 views

How does OS X's Terminal pass the new tab's dir to login or bash?

In OS X, you can add a shell to /etc/shells and set it as a user's default shell, such that when they open the terminal they are presented with that shell. In addition, you have the option to open all ...
1
vote
0answers
88 views

OS X terminal.app selection color when window inactive

I am using a solarized color scheme in terminal.app. When I select text it looks great, and I am able to change the color of the selection in the preferences. But when I move focus to another ...
1
vote
0answers
90 views

Is it possible to put a white border to the text in a terminal window?

I use the terminal a lot, and having the same terminal design gets boring. I set the background to those cool default desktop images, and every terminal window is a random image. The text is hard to ...
1
vote
0answers
92 views

How to run specified terminal command from context menu on right clicked folder?

I'm quite happy I found out about Finder > right-click > "New Terminal at Folder". To make it perfect, I'm looking for a way to run a specified command right after. Automator doesn't seem to have such ...
1
vote
0answers
32 views

Send all incoming and outcoming signals through a SOCKS4 Proxy on terminal?

So, I am running a node.js app through terminal (namely bp-tf auto but that isn't relevant) on my laptop. While travelling, I end up going through places where proxies block backpack.tf and ...
1
vote
0answers
337 views

gpg --gen-key not working on “su -l”, but working on local terminal

When I try to use "gpg --gen-key" (v2.1.2 on archlinux) with an user I just created ("backtest"), it works when I open a terminal for that, but not when I'm logged in with another user and then "su -l ...
1
vote
0answers
263 views

Cygwin and Cygwin64 missing prompt in terminal

I tried to install and reinstall cygwin and cygwin64. I also tried different mirror sites. Instead of seeing a line like user@PC~ $, I see a blank screen with a blinking cursor. The properties of ...
1
vote
0answers
157 views

Why is “whois” timing out on my Mac's terminal but apparent working fine in Network Utility?

I'm running Mac OS X 10.10.2 (Yosemite) and when I do the following in “Terminal,” my request times out: > whois google.com whois: connect(): Operation timed out I also downloaded jwhois with no ...
1
vote
0answers
39 views

Ctrl key not detected in Terminal

I have a problem with my Mac Terminal. It is no longer able to detect the ctrl key, so I can't use anymore shortcuts like ctrl+C to stop a running task, because when I do the terminal echoes only the "...
1
vote
0answers
41 views

Top -l returning always 0.0 CPU usage when requesting single PID

On Mac OS X 10.9 (Mavericks) & 10.10 Yosemite I’m unable to get the correct CPU usage for a single process using the top -l command for example top -l 1 -ncols 3 -pid <pid> Even though I ...
1
vote
0answers
21 views

Programantic Diff

I'm localising a piece of Javascript (the github repo is here) for Spanish speaking users. I have both the English and Spanish text as PDFs and I have the software in English. The pdfs look like ...
1
vote
0answers
17 views

Execute command in terminal on click event

Recently I got to know a decent feature that exists in iTerm2, namely you can configure what command can be invoked while clicking on a text that refers a file. (e.g. you can open this file in text ...
1
vote
0answers
28 views

Tracking down rogue terminal windows in OS X

I use iTerm 2 on OS X and suspect I may have a bunch of terminal windows running in the background and I would like to find and close them. When I open a new terminal window my CL looks like this: ...
1
vote
0answers
404 views

Midnight Commander function keys not working

I'm using Midnight Commander in a Mac Terminal. I'm using PC keyboard, so function keys work as F1-F12 keys, but they don't work in MC. I tested what character sequence is sent with each function key ...
1
vote
0answers
553 views

ssh sessions becoming unresponsive, server still shows user logged in

I have been having this problem with several servers that I manage. I log in via SSH and leave my terminal window open for an hour or so while working on something else. When I bring the terminal ...
1
vote
0answers
143 views

Arrow keys work like option+arrow in terminal in tmux on osx

The following setting in .tmux.conf breaks arrow keys in terminal in tmux: set-window-option -g xterm-keys on When I disable this setting, then arrow keys work as expected in terminal but then they ...
1
vote
0answers
143 views

Neither less or less -X clear screen on exit. (Trust me, I googled…)

Neither less or less -X clear screen on exit. At the same time, vim does.... Env iTerm2, protocol mosh, server Centos + tmux + zsh iTerm2: report term as xterm-256color tmux: set -g terminal-...
1
vote
0answers
345 views

How can I change the colors of fbterm using escape sequences?

From fbterm(1) we can read: FbTerm supports xterm's 256 color mode extension (...) But xterm's 256 color escape sequences conflict with the linux sequences implemented by FbTerm, so private escape ...
1
vote
0answers
285 views

Ruby error on my Mac

I'm having issues with my Ruby on my iMac (early 2010). I have the preview of Mac OS X Yosemite installed, but I've had these issues like forever, so I can't imagine OS X being the error here. ...
1
vote
0answers
2k views

See if Mac OS X has enabled hyperthreading?

There is a way of disabling hyperthreading on Mac OS X: How to disable HyperThreading on Mac OS X Lion? Is there a Terminal command of seeing whether Mac OS X has hyperthreading enabled?
1
vote
0answers
26 views

Better line breaking in terminal?

I am not sure if my request is valid, doable or better than the default option, but I'll give it a shot anyway. Word-wrapping in a terminal usually bothers me, since it wraps in the middle of the ...