Why would you use ResEdit? This is a simple text file. If your using
BBEdit be sure to save it as a Unix file.

Quick note on file formats: Mac files use only a CR (ascii 13) for a
newline (end of line character), Unix uses only a LF (ascii 10) for a
newline, MS-DOS (and hence all versions of Windows) uses both CR and LF
together. When moving text files between these systems you may have to
translate the newlines. FTP in ascii mode will do this. BBEdit will let
you save a file in any of the 3 formats.
NOTE: The Darwin sub-system of MacOS X (as with any Unix system) uses
hundreds of plain text files for configuration. These files must be in
Unix format.

Back to the issue at hand. I suspect there are other problems here other
then just one missing text file. What do you see when you do 
ls /usr/share/init/tcsh 
from terminal?

Paul


On Sun, 2002-01-20 at 14:54, Zorro wrote:
> Well, with some finagling (with BBedit and resedit in Classic) I got a new
> login file now it seems there is some script missing.
> Does anyone know where to put this?
> 
> then: then/endif not found.
> 
> Thanks
> Zorro
> 
> >/usr/share/init/tcsh/login
> >
> >##
> ># LOGIN FILE
> >#
> ># Wilfredo Sanchez Jr. | [EMAIL PROTECTED]
> ># Dec. 5, 1990
> >#
> ># MIT Project Athena
> >#
> ># ORIGINAL SOURCES: /usr/athena/lib/login
> >#               and /usr/prototype_user/.login (ATHENA REL 7.2)
> >##
> >
> >##
> ># Set paths
> >##
> >set path = (                                                    \
> >                ~/bin                                           \
> >                /usr/local/bin /usr/bin /bin                    \
> >                /usr/local/sbin /usr/sbin /sbin                 \
> >           )
> >
> >if ($?version) then
> >  if ("$version" =~ tcsh*) then
> >    set path = ( "~/bin/${MACHTYPE}-${VENDOR}-${OSTYPE}" $path )
> >  endif
> >endif
> >
> >setenv MANPATH "${HOME}/man:/usr/local/share/man:/usr/share/man"
> >
> >if (-r "${tcsh_initdir}/path") source "${tcsh_initdir}/path"
> >
> >##
> ># Read user's login
> >##
> >if (-r "${tcsh_initdir}/login.mine") then
> >  source "${tcsh_initdir}/login.mine"
> >endif
> >
> >
> >--
> >Paul Lieberman                                     [EMAIL PROTECTED]
> >Systems Engineer                                 541-552-6962
> >Computing Services Center
> >Southern Oregon University
> >Ashland, OR
> >
> >>>> Zorro <[EMAIL PROTECTED]> 01/19/02 20:15 PM >>>
> >Somehow, and I don't know how, I have lost my tcsh login file:
> >/usr/share/init/tcsh/login: No such file or directory.
> >Because I've done whatever it is I shouldn't have done to lose that file
> >now I can't use fink (o.3.2a) at all.
> >Is there a remedy?
> >--
> >
> >
> >
> >I see you at night, I shine
> >  My arm in your chest
> >      Now I'll sit in a square
> >
> >_______________________________________________
> >Fink-beginners mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/fink-beginners
> >
> >
> >_______________________________________________
> >Fink-beginners mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/fink-beginners
> 
> 
> -- 
> 
> 
> 
> I see you at night, I shine
>   My arm in your chest
>       Now I'll sit in a square
> 
> _______________________________________________
> Fink-beginners mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/fink-beginners
-- 
--
Paul Lieberman                     [EMAIL PROTECTED]
Systems Engineer                   541-552-6962
Computing Services
Southern Oregon University
Ashland, OR

_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to