The terminal emulator included in Mac OS X.

learn more… | top users | synonyms

1
vote
0answers
48 views

Emacs and Gnu Screen Causing Line Wrap Problems

I have gnuscreen on with multiple "tabs" open. Emacs is on tab 0. When I tab to a different screen and return to Emacs, the lines do not wrap properly anymore. They blend into each other. If I have a ...
3
votes
1answer
97 views

Add sound to keystrokes in iTerm2 / zsh

I've been searching for quite a while now, but haven't found anything. I want to spice my terminal up a bit more than just colorizing it – I also want to add specific sounds to keystrokes, newlines ...
0
votes
1answer
50 views

Tool for editing text before sending to via a slow ssh connection?

I often ssh to a remote machine and work in an interactive shell (e.g. pry). If the ssh connection is slow, typing complex commands is very tedious because of the delay in echoing back the ...
0
votes
1answer
221 views

How to make terminal title to stick on Macs

I'm not sure if this is a problem with my mac, of which I'm a noob with, or if it's a setting of the server I'm sshing into. What I'm doing is this: Open a new window in terminal SSH into a CentOS ...
3
votes
0answers
19 views

How do I skip the requirement to hit tab twice on a soft link autocomplete? [duplicate]

When I am in the bash terminal (Mac) and I am selecting a file, I can easily type the first part of a directory and hit tab to have it auto complete, for example: cat ~/Desk [tab] -> cat ...
1
vote
1answer
46 views

How do I change the name of my mac in the terminal app? [duplicate]

The computer name is displayed as "unknown-" at the command prompt. How do I change this?
6
votes
3answers
2k views

Any way to prevent Dropbox from opening the Camera Uploads folder when an iPhone is connected?

When I connect my iPhone to my MacBook Pro, Dropbox always launches its Camera Uploads folder in Finder. Is there any way to turn this off (some command I can run in Terminal, perhaps)? EDIT: To be ...
1
vote
1answer
66 views

Key and cursor glitch in Terminal.app

I am having a problem with Terminal. It is triggered when I do something that involves the Command key, Cmd-C, Cmd-V etc. It causes my keyboard actions to not be recognized until I click somewhere ...
2
votes
1answer
270 views

Mac lsof command find all processes for all users

A while ago my teacher asked me to create a script that would kill Minecraft anytime it came up. It worked when the user themselves ran it, but it didn't if it was at root level. Is there a command ...
1
vote
1answer
97 views

Way of finding input devices?

In terminal is there a way for me to find all the input devices, eg keyboard and mouse? And more specifically get their thread id?
1
vote
0answers
85 views

How to use Terminal.app for an xterm session

I am on Mac OS X 10.8. When I open Terminal.app and connect to a remote machine with ssh -X user@remote.machine.net the XQuartz application launches. When I type xterm into Terminal.app, an X11 ...
0
votes
0answers
134 views

How can I send a command to two separate screen sessions simultaneously?

I'm monitoring two measurement devices (usbserial1 and usbserial2) over RS232 (via an USB adapter). I do this in the following way: I open two terminal windows. In one window I write the following ...
1
vote
0answers
89 views

Binding .inputrc on Mac?

On Linux I had this line on my .inputrc: "\C-/": undo which doesn't work on Mac. Is there a way to make it work? On another note, is there a way to bind command keys on inputrc?
0
votes
2answers
951 views

On startup, how can I configure Terminal.app to open in fullscreen?

When my mac reboots, I would like to have Terminal open in full-screen mode (not full window size). I'm on OS X 10.8.2. How can I configure this?
3
votes
1answer
359 views

Terminal.app opens different theme when launching a new shell window

So I set Terminal.app to open up with certain defaults. I like a specific theme (Homebrew) with a default size of 140×50. However if I click the close icon (red X) to close the window and ...
12
votes
3answers
8k views

How can I install 7zip so I can run it from Terminal on OS X

I would like to be able to run 7zip from the command line on Mac. Does anyone have instructions on how to set this up?
1
vote
0answers
49 views

MySQL formatting problems with UTF8 on Mac terminal

When I do a select in MySQL on a column in Terminal on Mac, it appears like this: +-------------------+ | my_iso8859_column | +-------------------+ |.. ....... | | ..... .... | | .. ...
1
vote
1answer
174 views

Find Samba Mount location on OS X

If I connect to a Samba Share through the 'Connect to Server' dialogue in the finder in OS X Mountain Lion (10.8.2), I can use this in the finder to drag/drop files etc etc. But if I want to access ...
44
votes
2answers
5k views

How can Homebrew print a beer mug in Terminal?

Homebrew has a neat trick of printing out little icons next to its output. Like this: If I copy paste the icon it on its own and hit enter I get the result: -bash: $'?\237\215?': command not found ...
1
vote
1answer
177 views

How do I get command+left go to the beginning of the line in terminal?

I know I can do control+a but I want command+left. I'm using the fish shell. I tried creating an apple script to call control+a when I hit command+left but that caused it to call command+control+a ...
0
votes
1answer
262 views

Where is the scrollback location for the mac terminal?

Title says all. (the one when you use the scrollwheel to see the old commands and results) I do not wish to clear it for sure as some data I have lost is within some old scrollback.
3
votes
1answer
90 views

Mac OS X Doesnt run .bashrc by itself

When I open a new terminal I don't get the prompt I setup in ~/.bashrc or my aliases etc... If I run exec $SHELL then everything applies like it should for example: Last login: Mon Jan 7 09:02:00 on ...
4
votes
2answers
4k views

How to reset mac PRAM through the command line in Lion/Mountain Lion?

I'm trying to write a script to automate a PRAM reset and I've seen a lot of old guides that tell me to use the following command to reset the Mac's PRAM via the terminal: nvram boot-args="-p -r" ...
1
vote
1answer
175 views

Vim text messed up on remote server

I often work on remote servers. There is one server that seems to get "confused" about the number of available columns (my best guess), but only when working in Vim (not bash). Specifically, when I ...
3
votes
1answer
75 views

Is there a way to disable closing panes in Tmux?

I am using tmuxinator. Here is my project file. project_name: Network project_root: ~/Code/Network tabs: - editor: vim - worker: layout: ...
1
vote
1answer
305 views

OS X terminal login takes lot of time

From earlier this week my MacBook Pro's terminal is taking a lot of time (about 20 seconds) to see the bash prompt. How do I reduce this time? EDIT: While the login is in progress I tailed the ...
3
votes
1answer
125 views

'subl -w' doesn't ever un-block when running under tmux on OS X

On my mac, I have $EDITOR set to 'subl -w'. If I run my shell session under tmux, it opens the editor fine, but the command on the terminal never exits. However, this works fine on a terminal by ...
2
votes
2answers
2k views

OSX: Possible to use Total Terminal with iTerm2?

As I understand it, Total Terminal is a thin layer on top of Terminal.app that adds some Yakuake-like features. My question is: Is it possible to use Total Terminal with iTerm2 as the "backend" ...
0
votes
1answer
98 views

Have to repeatedly press enter for Terminal commands to work — OS X 10.7.3 Lion

I've encountered a very, very strange error. Whenever I type a command, I must press enter several times before the Terminal executes the command. Note that this is not a hardware error: I can still ...
1
vote
1answer
120 views

cd to last directory in oh-my-zsh

Is there anyway to get oh-my-zsh and Terminal to load up my last used directory? For example I cd into ~/Desktop then close my terminal. I'd like it to open back up into the ~/Desktop folder.
1
vote
1answer
1k views

Cleanly Remove MAMP Pro

I'm trying to cleanly remove MAMP Pro from my Mac and I'm following the steps outlined in the SO article http://stackoverflow.com/questions/11855247/mamp-pro-restore-root-user-uninstall. I have been ...
2
votes
1answer
138 views

Change keyboard shortcuts for for next and previous tab on OS X

I am on Mac OS X and when I used Bash (the default shell) before, to change tabs in the terminal I used Cmd← or Cmd→. Now I switched to to zsh and I have to do Cmd} or Cmd{. How do I change ...
2
votes
1answer
1k views

“There are stopped jobs” when I try to quit terminal

I am using terminal.app on a MacBookPro running Mac OSX Lion 10.7.5. When I try to exit the terminal, I get a message "There are stopped jobs" and the exit fails. What does this error message mean, ...
0
votes
2answers
2k views

View Shared Folders from Terminal

How can one list the shared folders of a server from the OSX Terminal? For example, I know that on server1, there are several shared folders, but to mount them, I need to know the name of these ...
2
votes
1answer
203 views

How can I make hyperlinks in Irssi/Terminal.app be underlined?

I'm using Irssi via Terminal.app on a Mac. I realise you can open links in the default browser using CMD + Double-click but I'd like some visual indication in Irssi that links are, well, links (such ...
2
votes
1answer
87 views

Can I remotely monitor printf results of a C program?

I have a long running C program in which I've started from the Terminal.app using: gdb program_name gdb run I'm using many printf statements to monitor the progress of the program. Unfortunately, ...
1
vote
0answers
29 views

overlining support in terminal

when I enter printf "\e[4m%s\e[0m\n" TESTING into iterm or osx terminal, testing returns underlined. Are there any terminals (mac or linux) that would support printf "\e[53m%s\e[0m\n" TESTING?
0
votes
1answer
135 views

Does “x-terminal-emulator” work on OS X?

Linux has a command x-terminal-emulator that will activate a new terminal emulator. And i believe it works with the set default emulator. Does OS X have a similar command or the same command? Do all ...
1
vote
2answers
228 views

iPython in Terminal.app: multi-line editing

I'm using iPython in Terminal.app (on Mac), and when I scrollback to a multi-line block it's really slow moving between lines. Is there a keybinding (or can I configure one) to make it possible to ...
2
votes
1answer
274 views

Problems switching to QEMU control panel with -nographics

It seems that the terminal does not recognise CTRL+ALT+2 when typed, so I don't know how to quit the QEMU emulation, or switch to the QEMU control panel. I am running Mac OSX Lion, and I type $ ...
4
votes
2answers
4k views

How can I hide or remove the split-pane bar on the right in Mac terminal?

What do I need to do to remove the split pane sidebar on the right from the terminal window? Never used to have it and now I don't know how to get rid of it.
1
vote
1answer
415 views

In OSX Terminal freezes on text select

Once in a while, if I've been using the terminal and click on it to select text, the terminal freezes, with the mouse pointer becoming the spinning wheel. Activity monitor also shows 100% CPU usage. I ...
0
votes
1answer
145 views

Command not found on (Terminal) iMac [duplicate]

Possible Duplicate: How do I reset the $PATH variable on Mac OS X? When I open terminal and type the ls command, it says: command not found. I found a link that resolves the problem, but ...
3
votes
1answer
558 views

How to make alias/function in .bash_profile for `curl` that takes an argument?

I found this tip super helpful, for using curl to resume an interrupted file copy. The full syntax is: curl -C - -O file:///Volumes/path/to/file I would like to add an alias or function called ...
18
votes
2answers
3k views

Replace OS X's shell commands with the linux versions?

The commands available by default in the Terminal in OS X, don't seem to behave like their linux versions. How can I replace all of them with the actual GNU linux commands? For example sed -i ...
1
vote
1answer
179 views

Homebrew slows my terminal down on startup

I've had some issues with my terminal being extremely slow while starting up (both new windows and new tabs), from 10 seconds and up. I've tried deleting the Apple System Logs, but it doesn't help. ...
0
votes
0answers
70 views

OS X terminal always screws up its display of text when SSHed into other servers

When I'm SSH'd into any other server with Terminal.. Text will start display over hidden text, when I search through history, text will only show fragments. When I start typing, letters will appear ...
1
vote
1answer
456 views

Vim on Mac OS X “E492: Not an editor command: dw”

So...I'm on the second worst series of operating system in the world, using my everyday vim text editor, and...yeah...I have no idea. I guess its a bug, I'm running 10.7 Lion with nothing installed ...
5
votes
2answers
2k views

How to compile Rarcrack for Mac OSX?

I have a rar I desperately need whose password was saved as a file on a site that no longer exists :(. I'm running it on a mac osx 10.5.8 and have never used the terminal before but I figured out ...
1
vote
1answer
84 views

Why does git branch info clear upon making a new tab in terminal

I've written a bash script to put git info into my bash prompt, along with still keeping the terminal's pwd in the title bar, to allow for new tabs to be opened at the current working directory. It ...