1,017 reputation
21529
bio website caiochassot.com
location Brazil
age 31
visits member for 5 years
seen Jun 19 at 3:18
primadonna ruby developer, connoisseur of regexp esoterica, one-liner showoff, snooty mac user, unix weenie, maker of fine vapourware, and designer wannabe.

May
10
comment Terminal not listing Applications folder
might help to see a full transcription of your terminal operations here.
May
8
comment Terminal not listing Applications folder
maybe your apps are in /Applications and not in ~/Applications?
Aug
26
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
Yeah it's confusing but it's the one we've got. I guess you'll have to add a pointer to check the comments :P
Aug
23
comment OS X: How do I alter preferences for the login window?
More interestingly, changing the one in /private/var/root/Library/Preferences/ didn't work either.
Aug
23
comment OS X: How do I alter preferences for the login window?
Nop, that doesn't affect the login window.
Aug
23
comment OS X: How do I alter preferences for the login window?
I guess we can just copy our entire .GlobalPreferences.plist over the root's. Which I don't know where is.
Aug
23
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
This is really cool, and related: bradchoate.com/weblog/2006/05/19/daily-history-files-for-bash
Aug
23
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
Well, which is to say, I think this issue is resolved, unless I can trigger it by something else other than sudo. I wonder if the most effective solution is to use a different HISTFILE too? I'd love to accept your answer, but the real answer is scattered in these comments. Can you please update it with a summary?
Aug
23
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
I just use .profile and source everything from there. Which was the problem, I guess. I added a .bashrc that sources .profile and that seems to fix it. What's funny is sudo -i doesn't even seem to load any of them, and doesn't affect the history. Unix is confusing I wanna go shopping :/
Aug
23
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
So bash --norc --noprofile didn't trigger the issue, but sudo -s did. I updated the question accordingly.
Aug
7
comment How can I make iChat not pause iTunes when I start a screen sharing session?
Clever and not entirely bad.
Aug
6
comment Remove Mac OS X SSH Passphrase Pop-Up
@aaron that's weird. Try searching for id_dsa/id_rsa. Did you manage to find your answer in any of the linked urls or do you still need help with this?
Aug
6
comment Sometimes my .bash_history gets cleared. Why? How can I prevent that?
So I changed my prompt to show the length of history and I'm keeping an eye on it to better understand what would be triggering the truncation. (However I'm now running with HISTFILESIZE set too.) Any sure-fire way to enter a shell that would not have my history settings? (so I can try to test my theory and force a truncation)
Aug
6
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
Yes, a matter of preference of course. I was just rambling on so as to cater to the endless curiosity of future visitors.
Aug
6
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
Ok, that was it, I was able to get it to work by setting GatewayPorts to yes in /etc/ssh/sshd_config. Can you please update your answer with this pesky detail?
Aug
6
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
Could this be to blame? "Specifying a remote bind_address will only succeed if the server's GatewayPorts option is enabled (see sshd_config(5))."
Aug
6
comment How to ssh to an unreachable remote machine by tunneling through a server that everyone can reach?
This sounds awesome, but I'm getting an error when trying to connect from macbook: ssh: connect to host MyActualServer port 8022: Connection refused
Aug
3
comment How to make Quick Look preview text files in UTF-8 by default?
I do, that's indeed the problem. QuickLook thinks it's MacRoman anyway. Hence the garbling.
Aug
3
comment Remove Mac OS X SSH Passphrase Pop-Up
Lastly, you may want the reverse of this: superuser.com/questions/88470/…
Aug
3
comment Remove Mac OS X SSH Passphrase Pop-Up
Also, you probably want to do some reading under the Keychain Integration section here: dribin.org/dave/blog/archives/2007/11/28/ssh_agent_leopard