Stefano,

Thanks for the help. As it turns out, the changes you selected had no effect, and I was setup fine the first time except for the "TERM_PROGRAM: Undefined variable" problem. Thanks for that.

The solution was nothing more that trashing my .xinitrc file and coping a new one into place using

cp /usr/X11R6/lib/X11/xinit/xinitrc ~/.xinitrc


Thanks again.

On Monday, October 21, 2002, at 02:09 PM, Stefano wrote:

The problem could be due to the .login file if you are using the
default one in /usr/share/tcsh/examples/. If that is read after
.tcshrc it resets the path.
Try to do the following. Create a file ~/.tcshrc with the following
lines

source /usr/share/tcsh/examples/rc
source /sw/bin/init.csh
if (! $?DISPLAY) then
setenv DISPLAY :0.0
endif

Create files ~/.login and ~/.logout containing respectively

source /usr/share/tcsh/examples/login

and

source /usr/share/tcsh/examples/logout

Edit the file /usr/share/tcsh/examples/login and comment all the
lines where the path is set.

Edit the file /usr/share/tcsh/examples/aliases and put
"if ($?TERM_PROGRAM) then" and "endif" around the lines

if ("$TERM_PROGRAM" == "Apple_Terminal") then
alias settermtitle 'echo -n ""'
endif

(This solves a problem leading to a "TERM_PROGRAM: Undefined variable"
error.)
This worked for me.

Another solution, if it is only the aliases you are interested in,
is to remove ~/.tcshrc and add your aliases to ~/.cshrc.

Good luck

Stefano

On Sun, 20 Oct 2002 22:22:47 -0700 (PDT), "Wilco" <[EMAIL PROTECTED]>
said:
Had a similar problem.

My only solution was to source everything in my local
.tcshrc - the main problem seems to be with ~/.login -
so at the very least delete/comment that out, and
place it's content in the ~/.tschrc

This at least allowed a full path from the
Terminal.app

But it still left me with some issues, I am still
trying to figure out

Hope that helps


---

Hello all,

I'm having trouble with X Windows. I've searched the
archives and seen
this discussed before; however, I did not see a
solution posted.

When I run startx -- -quartz

I receive the following:

2002-10-20 12:53:54.465 XDarwin[1155]
XDarwin 1.1
Running in parallel with Mac OS X Quartz window
server.

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
         If the server is older than 6-12 months, or
if your hardware
is
         newer than the above date, look for a newer
version before
         reporting problems.  (See
http://www.XFree86.Org/FAQ)
Operating System: Darwin
Using keymapping provided in
/System/Library/Keyboards/USA.keymapping.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be
set to root
Display mode: Full screen Quartz
Screen 0 added: 1280x1024 @ (0,0)
Screen 1 added: 1024x768 @ (0,1024)
cat: /Users/danielti/.Xauthority: No such file or
directory
/Users/danielti/.xinitrc: setenv: command not found
/Users/danielti/.xinitrc: setenv: command not found

waiting for X server to shut down Quitting XDarwin...

I read that this is due to Apple changing the location
of various tcsh
files.

So, I ran these from the shell prompt:

	echo "source /usr/share/tcsh/examples/rc"     >
~/.tcshrc
	echo "source /usr/share/tcsh/examples/login"  >
~/.login
	echo "source /usr/share/tcsh/examples/logout" >
~/.logout

And then created two files, path and aliasis.mine, in
~/Library/init/tcsh

The path file as the following:

setenv PATH "${PATH}:/sw/bin:/sw/sbin:/usr/X11R6/bin'"
setenv MANPATH "${MANPATH}:/usr/X11R6/man"


My .tcshrc has  one line: source
/usr/share/tcsh/examples/rc


My .xinitrc file has the following:

setenv PATH "${PATH}:/usr/X11R6/bin:/sw/bin"
setenv MANPATH
"${MANPATH}:/usr/X11R6/man:/sw/share/man"

Why doesn't it find the setenv command?


__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

--
http://fastmail.fm - I mean, what is it about a decent email service?


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners


Dan
[EMAIL PROTECTED]
http://www.timoldi.com/




-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?
http://www.sun.com/javavote
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to