Leopard + GNU Screen.

SPeedY_B

I may actually be insane.
Joined
31 Mar 2002
Messages
15,807
I've always used the Mac OS X terminal for various tasks and with it have always found 'screen' to be very handy. I've never had a problem using screen with any previous iteration of OS X, however under Leopard it seems that launching screen completely ignores my ~/.bash_profile and ~/.bashrc files, which contain a few custom commands and additional PATH variables.

Does anyone know why this may be happening and any way to rectify it?
 
I have noticed this as well. Have not yet found a solution.
 
You guys need to give me some good uses for Terminal. I've probably used it less than 10 times in the 3 years or so I've been on a Mac.
 
You guys need to give me some good uses for Terminal. I've probably used it less than 10 times in the 3 years or so I've been on a Mac.

irssi 😛

Oh, and off course SSH to other machines. Programming in vim. Ehm, I don't know what you are looking for in terms of what to use terminal for.
 
Heh. IRSSI FTW! 😀

If you need uses for terminal, you likely don't really need to use it at all, though I'd definitely recommend MacPorts as a good place to start diving into Terminal based apps.
 
irb 😀

I've also noticed that when starting ssh-agent on a FreeBSD machine it tends to not load in my bash startup files either. Given that Leopard seems to automatically support SSH keys now it could be something to do with that.
 
I was having similar difficulties when I found your post. I found the following helpful tidbit in the man page, regarding use of the shell customization.

Set the command to be used to create a new shell. This overrides the value of the environment variable $SHELL. If the command begins with a '-' character, the shell will be started as a login-shell.


For example, I have the following line in my ~/.screenrc

Code:
shell -/bin/bash

Hope it helps!

-Steve
 

Members online

No members online now.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,642
Latest member
osipov
Back
Top