[OS X TeX] Install fail

John Burt burt at brandeis.edu
Thu Sep 3 19:08:08 CEST 2015


Here's what I get:

Last login: Thu Sep  3 12:41:59 on ttys000

: Command not found.

: Command not found.

set: Variable name must begin with a letter.

[C07H5099DJD2:~] burt% ls -alF ~

total 296

drwxr-xr-x+  33 burt  staff   1122 Sep  2 09:53 ./

drwxr-xr-x    6 root  admin    204 Sep  1 11:00 ../

drwx------    3 burt  staff    102 Jun 29  2004 .AbiSuite/

-r--------    1 burt  staff      7 Sep  1 11:06 .CFUserTextEncoding

-rw-r--r--@   1 burt  staff  20484 Sep  3 12:32 .DS_Store

-rw-r--r--@   1 burt  staff      0 Oct 22  2003 .MCXLC

drwx------   15 burt  staff    510 Sep  2 15:36 .Trash/

-rw-------    1 burt  staff   2022 Sep  3 12:44 .bash_history

-rw-r--r--    1 burt  staff      1 Sep  2 13:29 .cshrc

drwx------@   3 burt  staff    102 Sep  7  2010 .cups/

drwx------    5 burt  staff    170 Jun 29  2004 .dillo/

drwx------   11 burt  staff    374 Aug 28 10:09 .dropbox/

drwx------    2 burt  staff     68 Oct 24  2013 .emacs.d/

-rw-r--r--    1 burt  staff  99755 Nov  9  2005 .fonts.cache-1

drwxr-xr-x    2 burt  staff     68 Nov  6  2003 .java/

drwxr-xr-x    4 burt  staff    136 Nov  6  2003 .jpi_cache/

-rwxr-xr-x    1 burt  staff   4713 May  3  2006 .orobxinitrc*

drwx------    3 burt  staff    102 Oct 23  2003 .ssh/

-rw-r--r--    1 burt  staff     73 Jun 29  2004 .sversionrc

drwxr-xr-t    3 burt  staff    102 Mar 19  2008 .texlive2007/

drwxr-xr-x    4 burt  staff    136 Jan 25  2008 Applications/

drwx------@  36 burt  staff   1224 Sep  3 12:32 Desktop/

drwx------@  23 burt  staff    782 Mar  1  2012 Documents/

drwxr-xr-x@ 477 burt  staff  16218 Sep  3 12:32 Downloads/

drwx------@  49 burt  staff   1666 Aug 28 10:09 Dropbox/

drwx------@  65 burt  staff   2210 Sep  1 11:09 Library/

drwx------@   3 burt  staff    102 Oct 22  2003 Movies/

drwx------@   5 burt  staff    170 Apr  6  2006 Music/

-rw-r--r--    1 burt  staff      0 Jan 27  2006 Opera 7 Preferences.new

drwx------@  17 burt  staff    578 Dec 18  2013 Pictures/

drwxr-xr-x@   4 burt  staff    136 Oct 22  2003 Public/

drwxr-xr-x@   6 burt  staff    204 Nov 21  2003 Sites/

drwxrwxrwx    4 burt  staff    136 Jul 22  2005 ViaVoice/


the terminal preferences are set to default login shell, but that seems to
be tcsh


Thanks once again!

John

On Thu, Sep 3, 2015 at 12:55 PM, Herbert Schulz <herbs at wideopenwest.com>
wrote:

> > On Sep 3, 2015, at 11:38 AM, John Burt <burt at brandeis.edu> wrote:
> >
> > And here are the results:
> >
> > [C07H5099DJD2:~] burt% echo $PATH
> >
> > :/Library/TeX/texbin/usr/sbin
> >
> > [C07H5099DJD2:~] burt% echo $path
> >
> >  /Library/TeX/texbin/usr/sbin
> >
> >
>
> Howdy,
>
> That's not right!
>
> Are there no separators between the path elements? I'd expect
>
> echo $PATH
>
> to give
>
> /bin:/sbin:/usr/bin:/usr/sbin:/Library/TeX/texbin:/usr/local/bin
>
> and
>
> echo $path
>
> to give
>
> /bin /sbin /usr/bin /usr/sbin /Library/TeX/texbin /usr/local/bin
>
> so if you have no separators at all and are missing some of those items
> you must have a file somewhere that's messing things up. Please run
>
> ls -alF ~
>
> and let us know what you get.
>
>
> >
> >
> > On Thu, Sep 3, 2015 at 12:36 PM, John Burt <burt at brandeis.edu> wrote:
> > Thank you very much!
> >
> > Here is bashrc:
> >
> > [C07H5099DJD2:~] burt% cat /etc/bashrc
> >
> > # System-wide .bashrc file for interactive bash(1) shells.
> >
> > if [ -z "$PS1" ]; then
> >
> >    return
> >
> > fi
> >
> >
> >
> > PS1='\h:\W \u\$ '
> >
> > # Make bash check its window size after a process completes
> >
> > shopt -s checkwinsize
> >
> > # Tell the terminal about the working directory at each prompt.
> >
> > if [ "$TERM_PROGRAM" == "Apple_Terminal" ] && [ -z "$INSIDE_EMACS" ];
> then
> >
> >     update_terminal_cwd() {
> >
> >         # Identify the directory using a "file:" scheme URL,
> >
> >         # including the host name to disambiguate local vs.
> >
> >         # remote connections. Percent-escape spaces.
> >
> > local SEARCH=' '
> >
> > local REPLACE='%20'
> >
> > local PWD_URL="file://$HOSTNAME${PWD//$SEARCH/$REPLACE}"
> >
> > printf '\e]7;%s\a' "$PWD_URL"
> >
> >     }
> >
> >     PROMPT_COMMAND="update_terminal_cwd; $PROMPT_COMMAND"
> >
> > fi
> >
> >
> >
> >
> >
> > and here is csh.cshrc:
> >
> >
> >
> > # System-wide .cshrc file for csh(1).
> >
> >
> >
> > if ($?prompt) then
> >
> > set promptchars = "%#"
> >
> > if ($?tcsh) then
> >
> > set prompt = "[%m:%c3] %n%# "
> >
> > else
> >
> > set prompt = "[%m:%c3] `id -nu`%# "
> >
> > endif
> >
> >
> > endif
>
>
> Both of those are the default versions wo no problem there.
>
> Also, I'd like to change your shell from tcsh to bash. Could you let me
> know what you have set in Terminal->Preferences General Tab for `Shells
> open with:'? If it's set to Command and that reads /bin/tcsh please check
> `Default login shell'.
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
>
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                 https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20150903/1a8f79d4/attachment.html>


More information about the macostex-archives mailing list