Linked by Eugenia Loli on Wed 15th Oct 2003 22:47 UTC
Mac OS X I was able to try out and preview Mac OS X Panther 10.3 for the past few months after WWDC and for the last few days I am running a latest version. So, what to expect from Mac OS X when it comes out on the evening of October 24th? Come in and have a look in this preview article. Update: screenshots removed at request of Apple.
Permalink for comment
To read all comments associated with this story, please click here.
$DISPLAY settings (RE: I can hardly wait...)
by Karrick McDermott on Fri 17th Oct 2003 02:31 UTC

I know a lot of you probably use a different shell than <a href="www.zsh.org">Zsh, but I couldn't help but contribute this code snipet found in my .zshrc file. (Conversion to other shells is trivial...) This automates my $DISPLAY environment variable setup when using <a href="www.openssh.org">SSH to remote from one UNIX box to another. Each of my boxes has the same snipet, such that when I remote-in using the newly defined ss function, the $DISPLAY variable is set automatically to the machine from whence I am running X11, causing all X client requests to be routed to the machine where I'm sitting... Quite nice, indeed!

<code>.zshrc<p>
########################################
# Function ss
# Calls ssh client with '-X' parameter (if the environment variable $DISPLAY is defined), in
# addition to all parameters specified.
ss () {
if [[ ${DISPLAY} = '' ]]; then
ssh $@
else
ssh -X $@
fi
}
# Show our DISPLAY environment variable upon execution of zsh
print -- '$DISPLAY is "'${DISPLAY}'".'
</code>
(See SSH man page for details.)