0
votes
2answers
45 views

How to Reset Full-Screen Terminal.app Preferences to Factory Defaults

On an iMac running Mac OS X version 10.7.5 I have accidentally resized Terminal.app to full-screen (272 x 76) and am unable to resize Terminal.app to a smaller size. How do I resize Terminal.app to ...
0
votes
1answer
62 views

SSH request timeout every time

I am trying to access a storage space we have at work via ssh but I get a timeout every single time (Mac OS 10.7.5 - Terminal). I checked firewalls, settings, even turned off Little Snitch, and port ...
2
votes
1answer
24 views

How do I get the terminals in terminal.app to go to the right directory after restart with tcsh?

The terminal.app keeps the tabs after a restart and it even shows the content of the buffers. But all open tabs are at the home directory rather than the working directory they were in at shutdown. I ...
0
votes
1answer
39 views

Weird Output in terminal

I am using the terminal for some debugging and I noticed that it has stopped displaying my user before the path. Now its displaying (null) like so: (null):mspgcc-examples dean$ Whats changed? As ...
1
vote
0answers
42 views

Is there a console interface for the Client Monitor on OSX?

I'm writing a bash-script at work for controlling our Mac-computers (OS X Mountain Lion) remotely. Since we use FileWave in our Company we just have to remove an Application and restart the computer. ...
3
votes
1answer
136 views

Within Terminal, `date` command outputs a curious prefix where it should'n

I am using a Mac Mini running Lion (10.7.5) and zsh 4.3.12 (i386-apple-darwin11.0.1) with oh-my-zsh installed. In the Terminal.app I retrieve the UNIX timestamp using the following command date +%s ...
4
votes
1answer
143 views

declare -x messages appear in my terminal. How can I get rid of it?

declare -x Apple_PubSub_Socket_Render="/tmp/launch-qoybJQ/Render" declare -x Apple_Ubiquity_Message="/tmp/launch-DWchNf/Apple_Ubiquity_Message" declare -x COMMAND_MODE="unix2003" declare -x ...
1
vote
1answer
189 views

How do I make terminal sessions resume on Lion with iterm2 and tcshrc

My understanding is that with Lion my terminal windows should restore their state. However, this does not happen for me. I wonder if this is because I use tcsh instead of bash? Is there something I ...
1
vote
1answer
147 views

How to start an app in the foreground?

For some reason, gitk always starts under all other apps. How to make it start on top of all other apps, like a normal program? Start it from the terminal with the gitk command, which lives in ...
5
votes
1answer
155 views

Completely clear all output from a Terminal window

I would like to clear all output from a Terminal window (including all historical output) to get it back to a clean state as if you had just opened a new Terminal window, or a new Terminal tab. I can ...
2
votes
2answers
97 views

How to have ctrl-left/ctrl-right move over words in Lion

Had a quick question about having emacs-like word skipping in my terminal. I had set this up pre-upgrade to Lion and had ctrl-left & ctrl-right set to \033b & \033f respectively. ...
2
votes
0answers
79 views

mdfind query on kMDItemFSTypeCode can't find some type codes

I just upgraded to a new MacBook with Lion, and having discovered that some of my old apps can't come with, I'm scouring my files for certain types that will need to be converted to future-proof ...
1
vote
1answer
138 views

Terminal won't choose new window settings at startup

I've been running into an odd behavior on 10.7 where editing Terminal preferences to launch a new window setting via "On startup, open" doesn't result in the changed terminal after a quit/launch. ...
0
votes
1answer
570 views

“Too many open files” - how can I set the ulimit -n value for emacs on Lion?

I've seen other questions covering the topic of how to set the file limit on Leopard/Lion. For example: How to properly increase ulimit -n on Lion? Too Many Open Files But after reading ...
7
votes
3answers
11k views

How do I check the download progress of Mountain Lion through the terminal?

I am downloading Mountain Lion, I know I can monitor download progress through the Mac App Store purchases screen but I want to know if I can monitor progress through Terminal.app using a shell ...
2
votes
2answers
117 views

How to get + metacharacter for sed in Terminal?

It looks like sed that comes with Mac OS 1.7.4 is the original one, without the + metacharacter. Can I get the + metacharacter functionality?
4
votes
1answer
4k views

How can I move Dashboard widgets to the desktop in Lion?

In the OS X Terminal, there is a command that allows me to drag Dashboard widgets onto my desktop. In OS X Lion, the Dashboard became a Space. I am no longer able to use this command. What is a ...
1
vote
1answer
407 views

Is there a way to get gnome-terminal on Lion?

Is there a port of gnome-terminal, or a way to compile it, or some other program that is typographically comparable, under Lion? There is a typographic difference, and I can't duplicate it in ...
1
vote
2answers
86 views

Hold Terminal open

Sometimes I'm working on something in the terminal, and then go away. When I come back, I want to resume what I was working on, but sometimes I forget, and hit command-Q, which closes all the terminal ...
0
votes
1answer
378 views

How can I have Qt Creator to recognize my environment variables?

I use Qt Creator as my main IDE for cross-platform C++ application development. In doing so I had set it up so that it depends on a set of environment variables that I define in .bashrc. On Linux ...
2
votes
2answers
339 views

What is the equivalent terminal command to findsmb on Lion

The findsmb command present in SnowLeopard and older, is not available from terminal in Lion. Is there an equivalent?
1
vote
1answer
690 views

How do I get a Unix Executable File to run from anywhere, like Java or Git?

I've just created my first Command Line Tool in Xcode. What do I have to do, or where do I have to put the final output file, so that I can run it from anywhere from within terminal, without having ...
0
votes
2answers
788 views

Built-in text editor in Terminal

Is there a built-in text editor in the terminal on Lion? (Like, for example, nano on Linux.)
3
votes
1answer
263 views

How do I find where an environmental variable got set?

I installed a program to try it out, and decided I didn't like it so I moved the app to the trash. Today, in my shell, I noticed that there are a couple of PROGRAMNAME_BLAHBLAH environmental ...
4
votes
2answers
2k views

Can I create a Desktop Shortcut/Alias to a Folder from the Terminal?

I'd like to create a desktop shortcut to a specific folder, buried deep within ~/Library/. Library is Hidden by default in Lion, and I'd like to keep it that way, for a variety of reasons. Is there a ...
2
votes
0answers
446 views

SSH, passphrases, keychains, Could not open a connection to your authentication agent

I will be very surprised if anyone has the answer to this. I have googled for a long time but no luck. As an iOS developer who will shortly be welcoming a new team member I want to set up a ...
1
vote
2answers
780 views

How can I use Automator to generate a kerberos ticket using KINIT?

I need to be able to generate a kerberos ticket for my MacBook Pro each time the machine restarts. I can manually run KINIT with my credentials to generate a ticket. What is the best way to automate ...
0
votes
1answer
63 views

Text unselected when clicking to activate Terminal window (OS X Lion)

I've noticed this behavior in Lion's Terminal.app: Let's say I have some text selected in a non-active terminal window. Meaning, another window is active - it could be another terminal window, or ...
3
votes
1answer
538 views

-bash: Applications/mvim: /bin/sh: bad interpreter: Operation not permitted

I am getting a weird error with the mvim script that is supposed to start the MacVim interface. See below for the issue. /bin/sh is just fine, mvim was chmod +x'd, other /bin/sh scripts run fine... ...
0
votes
1answer
222 views

Allow the Terminal.app to pass command key based keystrokes to terminal programs

I want to allow programs running in the terminal the ability to interpret the keyboard short cut Cmd + S I have already Remapped the Terminals' default binding of Cmd + S to Ctrl + S via the ...
2
votes
1answer
87 views

Mercurial command line client not found

I have the latest version of Mercurial installed on a fully patched Lion and the Mercurial client cannot be accessed from the terminal ("command not found"). The command line client is installed in ...
1
vote
0answers
240 views

How to include the failing username on saslauthd failure in a log file in Lion?

How can the verbosity of logging be increased for SASL authentication failures? To be more precise, to include the failing user name in a log file on Mac OS X 10.7 (Lion) Server? Linux hosts have ...
0
votes
1answer
48 views

cmd + [num] doesn't change screen to go to app in fullscreen mode

Consider the situation where I have two spaces screens. From the second screen I open a terminal and make it fullscreen. By doing so I expected cmd+3 to take me to the terminal app, but it doesn't ...
5
votes
3answers
2k views

How do I run VI with colors on Lion?

I'm looking to enable color syntax highlighting in vi. I just enabled colors in Terminal via here. Any ideas on how to enable this? NOTE: Usually on Linux when I open vi with vi file.txt and it opens ...
1
vote
1answer
384 views

Lion Recovery Terminal will not allow me to run TestDisk?

Setup: Macbook Air (2011) running Lion with BootCamp (Windows 7). Problem: I have somehow screwed up my partition table. When I boot I only can select Windows instead of Windows and Lion. However ...
3
votes
2answers
193 views

How to search for a file by a hash value with bash script (terminal)?

I am writing a script for Mac OS X Lion 10.7 and I would like to know how I can search for files based on their SHA1 hashes. I would like to search the whole file system for the file(s) I will be ...
2
votes
2answers
147 views

Lion Fullscreen Desktop Switching Quirk

I make Java programs, many of which require input from the command line before they actually open a window. When I'm using the Terminal in fullscreen mode and I run java Program, it jumps over to an ...
2
votes
2answers
245 views

Single Click in Terminal to Select Text

I've been searching for a while on this one and the only answers I can dig up are "use X11"...so I thought I would bring it to the experts. Is there a way to configure mouse gestures/actions in the ...
1
vote
1answer
545 views

Terminal.app ignores ~/.profile file settings

Terminal started to ignore profile file settings, which I didn't change in a long time. How can I force Terminal to respect the file again? I tried to delete and recreate but it didn't help... My ...
3
votes
2answers
2k views

Mac terminal shows 'null' for host name at the prompt

I've got a new Mac and I've noticed on the terminal I get a null instead of some kind of name there before on my previous computer. Last login: Fri Mar 9 10:14:57 on ttys000 (null):~ Macuser$ I'm ...
2
votes
1answer
531 views

ssh terminal window closes immediately when opened

I am seeing some odd behavior when using the Terminal app to open an ssh window to a remote machine. I normally connect to many different Linux servers from my MacBook Pro running Mac OS X 10.7.3, ...
5
votes
1answer
312 views

Parental Controls not restrict Terminal Commands?

I have a Parental Controls limit on my child so I have to type in my password when they open a new application. I have recently discovered a problem though. They have tried programming in terminal. ...
8
votes
4answers
1k views

How do I speed up new Terminal tab loading time?

How can i speed up the terminal startup in Lion? I'm not referring to the startup of the Terminal application, but to the startup terminal windows, like when i open a new tab. I don't have anything ...
3
votes
1answer
439 views

Disable visual bell animation in Terminal

The title says everything, how can I disable the visual bell animation in Lion? It is annoying and useless, visual bell should be fast, not fancy! I don't want to disable the visual bell, just the ...
2
votes
1answer
943 views

Broadcast Message from root@

I'm running Lion (10.7.1) and the other day I started getting these Broadcast Message notices in my Terminal. I've google'd the crap out of it and the few threads i've found where someone actually ...
2
votes
2answers
551 views

Valgrind in OS X Lion

I am not sure if this question would be more appropriate for stackoverflow, but I thought I'd ask here first. The other day, I tried running one of my programs against valgrind to check for memory ...
0
votes
2answers
82 views

Managing Grouped Terminals

I often find myself with 6 ort 7 parallel tasks, with each requiring several terminals. My ideal UI would be a hierarchical tab setup - a tab for each group of terminals, where I could name the tab, ...
1
vote
0answers
168 views

How to make this kind of global hotkey? [duplicate]

Possible Duplicate: Create global shortcut to run command line applications I want to assign a command to a certain key. This command will fire no matter what window is active. It will do ...
4
votes
1answer
457 views

TotalTerminal doesn't work with full-screen apps

TotalTerminal (former Visor) is an awesome plugin for Terminal that turns it into a Quake-style console that slides down on a key combination. This is tremendously useful for development because I ...
2
votes
3answers
158 views

How do I delete all files from a directory tree where the filename contains special characters such as öäüß

I have a problem with my backup program which means that I need to delete all files and folders in a specific directory tree where the filename contains special characters, in my case the German ones ...

1 2