I just installed Panther... woohoo!
I recall Rob G saying bash is the default shell in 10.3
my terminal says tcsh - could that be because I chose to keep my previous
Users and prefs?
I know you can change the shell in Terminal Preferences, but what's the
difference anyway?
Also, in X11 when I use rad -o x11 nov15.rif, I get
rview -vf qtvr.vp -ps 3 -pt .04 -dp 4096 -ar 112 -ms 0.85 -ds .2 -dt .05
-dc .75 -dr 3 -sj 1 -st .01 -ab 3 -af Nov15.amb -aa .08 -ad 1024 -as 512
-av 0.
5 0.5 0.5 -lr 12 -lw .0005 -av .1 .1 .1 -ad 2048 -as 1024 -ar 105 -aa .05
-ps 1
-R nov15.rif -o x11 -pe 1 nov15.oct
I get an error:
Unknown option: "-ps"
yet when I run rview directly it works
rview -vf qtvr.vp -ab 2 -ps 2 -af Nov15.amb nov15.oct
I'm a little slow, but I'm asuming this is the conflict with rview and vi?
Greg says to run radcollisions.csh - which is supposed to look for conflicts
with rview?
don't know how... tried
robfitzs% ./radcollisions.csh
tcsh: ./radcollisions.csh: Permission denied.
Ok. so I try
sudo ./radcollisions.csh
Password: *****
sudo: ./radcollisions.csh: command not found
Still a Unix newbie!
Rob F
Fitzsimmons, Rob wrote:
I just installed Panther... woohoo!
I recall Rob G saying bash is the default shell in 10.3
my terminal says tcsh - could that be because I chose to keep my previous Users and prefs?
Yep, exactly. I believe any *new* user accounts you create will default to bash, though.
I know you can change the shell in Terminal Preferences, but what's the difference anyway?
Lots of little differences between all the various shells, but bash seems to have the most useful doodads for interractive use. It's the default shell on most Linux distros too. Here's a nice little summary comparing the most popular shells I just found:
http://www.ee.ucla.edu/~brucker/howto/shells.html
Also, in X11 when I use rad -o x11 nov15.rif, I get
rview -vf qtvr.vp -ps 3 -pt .04 -dp 4096 -ar 112 -ms 0.85 -ds .2 -dt .05
-dc .75 -dr 3 -sj 1 -st .01 -ab 3 -af Nov15.amb -aa .08 -ad 1024 -as 512 -av 0.
5 0.5 0.5 -lr 12 -lw .0005 -av .1 .1 .1 -ad 2048 -as 1024 -ar 105 -aa .05 -ps 1
-R nov15.rif -o x11 -pe 1 nov15.oct
I get an error:
Unknown option: "-ps"
yet when I run rview directly it works
rview -vf qtvr.vp -ab 2 -ps 2 -af Nov15.amb nov15.oct
I'm a little slow, but I'm asuming this is the conflict with rview and vi?
Hmmm. Dunno.
Greg says to run radcollisions.csh - which is supposed to look for conflicts with rview?
don't know how... tried
robfitzs% ./radcollisions.csh
tcsh: ./radcollisions.csh: Permission denied.
Ok. so I try
sudo ./radcollisions.csh
Password: *****
sudo: ./radcollisions.csh: command not found
Try making the file executable, by running chmod on it:
robfitzs% chmod 755 radcollisions.csh
Then you should be able to run it typing:
robfitzs% ./radcollisions.csh
Not sure if this conflict is your problem, though. Are you saying this error started appearing only after you upgraded to Panther?
···
----
Rob Guglielmetti
e. [email protected]
w. www.rumblestrip.org
The second time Greg sent the script, it had DOS carriage
returns, and I couldn't run it on Linux. SO, I more'd it and
copied and pasted it into a new file, chmod 755'd it, and
that new one ran.
Mark
···
On Fri, 12 Dec 2003, Rob Guglielmetti wrote:
Fitzsimmons, Rob wrote:
> Greg says to run radcollisions.csh - which is supposed to look for
> conflicts with rview?
> don't know how... tried
> robfitzs% ./radcollisions.csh
> tcsh: ./radcollisions.csh: Permission denied.
> Ok. so I try
> sudo ./radcollisions.csh
> Password: *****
> sudo: ./radcollisions.csh: command not found
Try making the file executable, by running chmod on it:
robfitzs% chmod 755 radcollisions.csh
Then you should be able to run it typing:
robfitzs% ./radcollisions.csh
Not sure if this conflict is your problem, though. Are you saying this
error started appearing only after you upgraded to Panther?
Mark Stock wrote:
The second time Greg sent the script, it had DOS carriage
returns, and I couldn't run it on Linux. SO, I more'd it and
copied and pasted it into a new file, chmod 755'd it, and
that new one ran.
Hi Mark,
Hey, most Linuxes have a little util called 'dos2unix' installed, which removes the returns too. Usually there's a 'dos2unix' and a 'unix2dos'.
-Rob
Fitzsimmons, Rob wrote:
I get an error:
Unknown option: "-ps"
yet when I run rview directly it works
rview -vf qtvr.vp -ab 2 -ps 2 -af Nov15.amb nov15.oct
I'm a little slow, but I'm asuming this is the conflict with rview and vi?
Possibly, although it would be strange for rad to call a different
rview binary than you do manually.
Greg says to run radcollisions.csh - which is supposed to look for conflicts
with rview?
don't know how... tried
robfitzs% ./radcollisions.csh
tcsh: ./radcollisions.csh: Permission denied.
Ok. so I try
sudo ./radcollisions.csh
Password: *****
sudo: ./radcollisions.csh: command not found
% tcsh ./radcollisions.csh
Your file doesn't have execute rights. You could use "chmod"
to change that, but feeding it directly to the interpreter
is more straightforward.
-schorsch
···
--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/
Heh, yeah, I forgot what those were called, believe it or not.
Sometimes, I just want the dumb solution,. =0)
Mark
···
On Fri, 12 Dec 2003, Rob Guglielmetti wrote:
Mark Stock wrote:
> The second time Greg sent the script, it had DOS carriage
> returns, and I couldn't run it on Linux. SO, I more'd it and
> copied and pasted it into a new file, chmod 755'd it, and
> that new one ran.
Hi Mark,
Hey, most Linuxes have a little util called 'dos2unix' installed, which
removes the returns too. Usually there's a 'dos2unix' and a 'unix2dos'.
-Rob
_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general
Rob Guglielmetti wrote:
Mark Stock wrote:
> The second time Greg sent the script, it had DOS carriage
> returns, and I couldn't run it on Linux. SO, I more'd it and
> copied and pasted it into a new file, chmod 755'd it, and
> that new one ran.
Hi Mark,
Hey, most Linuxes have a little util called 'dos2unix' installed, which
removes the returns too. Usually there's a 'dos2unix' and a 'unix2dos'.
Alternatively, ask everybody's favourite enemy to help you:
% vim -e '+set fileformat=unix' +wq ./radcollisions.csh
-schorsch
···
--
Georg Mischler -- simulations developer -- schorsch at schorsch com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/
Lots of little differences between all the various shells, but bash
seems to have the most useful doodads for interractive use. It's the
default shell on most Linux distros too. Here's a nice little summary
comparing the most popular shells I just found:
http://www.ee.ucla.edu/~brucker/howto/shells.html
Thanks
Also, in X11 when I use rad -o x11 nov15.rif,
I get an error:
Unknown option: "-ps"
yet when I run rview directly it works
rview -vf qtvr.vp -ab 2 -ps 2 -af Nov15.amb nov15.oct
I'm a little slow, but I'm asuming this is the conflict with rview and
vi?
Georg M says
Possibly, although it would be strange for rad to call a different
rview binary than you do manually.
that made me wonder too
Hmmm. Dunno.
Try making the file executable, by running chmod on it:
robfitzs% chmod 755 radcollisions.csh
Thanks Mark and Rob - had to do both chmod and re-do the line breaks
Not sure if this conflict is your problem, though. Are you saying this
error started appearing only after you upgraded to Panther?
Yes - had no problem when using rad in 10.1.5 with the X11 I got from
XFree86
Rob Fitz
Rob F. and I exchanged a couple of e-mails. I think his problem is that he has rview "aliased" to /usr/local/bin/rview, but does not have /usr/local/bin in his path before /usr/bin, where the vim link lives. That's why running from rad, which doesn't get aliases, gets /usr/bin/rview (i.e., vim) instead of /usr/local/bin/rview. The solution is to put /usr/local/bin in the path before /usr/bin. Next release, we'll rename rview so this won't happen again.
-Greg
From: "Fitzsimmons, Rob" <[email protected]>
Date: December 12, 2003 10:34:18 AM PST
I just installed Panther... woohoo!
I recall Rob G saying bash is the default shell in 10.3
my terminal says tcsh - could that be because I chose to keep� my previous Users and prefs?
I know you can change the shell in Terminal Preferences, but what's the difference anyway?
Also, in X11 when I use rad -o x11 nov15.rif, I get
�rview -vf qtvr.vp -ps 3 -pt .04 -dp 4096 -ar 112 -ms 0.85 -ds .2 -dt .05
�-dc .75 -dr 3 -sj 1 -st .01 -ab 3 -af Nov15.amb -aa .08 -ad 1024 -as 512 -av 0.
5 0.5 0.5 -lr 12 -lw .0005 -av .1 .1 .1 -ad 2048 -as 1024 -ar 105 -aa .05 -ps 1
-R nov15.rif -o x11 -pe 1 nov15.oct
I get an error:
Unknown option: "-ps"
yet when I run rview directly it works
rview -vf qtvr.vp -ab 2 -ps 2 -af Nov15.amb nov15.oct
I'm a little slow, but I'm asuming this is the conflict with rview and vi?
Greg says to run radcollisions.csh - which is supposed to look for conflicts with rview?
don't know how... tried
robfitzs% ./radcollisions.csh
tcsh: ./radcollisions.csh: Permission denied.
Ok. so I try
sudo ./radcollisions.csh
Password: *****
sudo: ./radcollisions.csh: command not found
Still a Unix newbie!
Rob F
···
From: "Fitzsimmons, Rob" <[email protected]>
Date: December 12, 2003 3:49:46 PM PST
X11
robfitzs% which rview
rview: aliased to /usr/local/bin/rview
Terminal
robfitzs% which rview
rview: aliased to /usr/local/bin/rview
My Path
robfitzs% echo $path
/usr/bin /bin /usr/sbin /sbin /Users/robfitzs /usr/X11R6/bin /usr/X11R6/bin
/usr/local/bin
Guess I have /usr/X11R6/bin in there twice - a problem?
I have a .tcshrc in my home with this:
setenv PATH "${PATH}:/usr/X11R6/bin:/usr/local/bin"
setenv RAYPATH .:${HOME}:/usr/local/lib/ray
alias myrad 'cd ~/documents/radiance_stuff'
alias smith 'cd ~/documents/radiance_stuff/smith'
alias rview '/usr/local/bin/rview'
setenv DISPLAY localhost:0 ; setenv DYLD_LIBRARY_PATH
I put the alias rview last night thinking it might help
When rview is called from rad is the only time I get the error
Thanks again
Rob
-----Original Message-----
From: Greg Ward
To: Fitzsimmons, Rob
Sent: 12/12/2003 3:11 PM
Subject: Re: Panther Shell questions
Hi Rob,
Sounds like truly bizarre behavior. What do you get when you enter
"which rview" in X11 versus the Terminal?
-G
From: "Fitzsimmons, Rob" <[email protected]>
Date: December 12, 2003 2:37:18 PM PST
thanks
this works ok from the terminal, but not in X11
-----Original Message-----
From: Greg Ward
To: Fitzsimmons, Rob
Sent: 12/12/2003 1:23 PM
Subject: Re: Panther Shell questions
Hi Rob,
It's hard to tell from something pasted into an e-mail if there was a
weird character or not, since cut-and-paste as well as e-mail will
strip clear text of any offending characters.� Send your .rif file in a
tar'red attachment, instead.
-G
�
I am not an expert at all in unix but after turning around for a while to configure radiance in
panther, I use this configuration that is working fine for tcsh shell. I have radiance bin and lib
directories into /usr/local/radiance and the manuals in /AppUnix/ray/doc/man.
- I create a .cshrc in my home with:
source /usr/share/tcsh/examples/rc
- and the file ~/Library/init/tcsh/rc.mine with these lines.
setenv MANPATH "/AppUnix/ray/doc/man:${HOME}/man:/usr/local/share/man:/usr/share
/man"
setenv RAYPATH ".:/usr/local/radiance/lib"
setenv PATH "/usr/local/radiance/bin:~/bin:/usr/local/bin:/usr/bin:/bin:/usr/loc
al/sbin:/usr/sbin:/sbin"
setenv DISPLAY localhost:0 ; setenv DYLD_LIBRARY_PATH
- the last line allows the use of xterm within terminal application (Pillo's idea)
genevieve lucet
universidad nacional autonoma de mexico
···
-------------------------------------------------
Obt�n tu correo en www.correo.unam.mx
UNAMonos Comunic�ndonos