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
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
549 views

Local echo using Screen to connect to a serial terminal

Reading through the book "Building Wireless Sensor Networks" I learned that you can use the Screen utility to attach to a serial console. I tried using it to connect to an XBee module and it seemed ...
4
votes
0answers
376 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
285 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 ...
4
votes
0answers
385 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 ...
2
votes
0answers
20 views

Difference of meta-data between mdls and mediainfo

I was wondering what are the difference between the type of metadata returned by mdls and by mediainfo. Why are they different? For exemple why the creation date is different on the same file? ...
2
votes
0answers
25 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
60 views

SSH with two factor authentication

I am trying to use two factor authentication on my server so that when I ssh from my mac terminal it will ask a username and password as well as performing two factor authentication. I checked and ...
2
votes
0answers
69 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
69 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 ...
2
votes
0answers
37 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
25 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
33 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
92 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
247 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
27 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
243 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
631 views

Shared connection frequently closes when opening a new connection

I'm making heavy use of reusing a shared connection which I open to a remote box at the beginning of my workday. My .ssh/config looks somewhat like this: ControlMaster auto ControlPath ...
2
votes
0answers
584 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
1k 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
105 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
387 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
128 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
319 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
140 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
385 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
445 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
485 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
413 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
391 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
4k 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
42 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
31 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
19 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
14 views

How do I close a window from an application but not quit the application

I'm trying to have a shell script run and then close itself but not quit Terminal all together. Here's what I have: #!/bin/sh while [ "$JOB_NUMBER" = '' ]; do echo -n "++++++++++++++++++++Job ...
1
vote
0answers
7 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
21 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
22 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, When you have the option to ...
1
vote
0answers
48 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
99 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
41 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 ...
1
vote
0answers
62 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
59 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
25 views

Ctrl key not detected in Terminal

I have a preblem with my Mac Terminal. It is no longer able to detect the ctrl key, so I can't use anymore shortcuts like ^C to stop a running task, because when I press ctrl+C the terminal echoes ...
1
vote
0answers
31 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
18 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
8 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
23 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
213 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 ...