Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 1997 11:11:32 +0200 (MET DST)
From:      Tomas Klockar <dateck@ludd.luth.se>
To:        hackers@freebsd.org
Subject:   tcsh IS broken
Message-ID:  <199704150911.LAA20096@father.ludd.luth.se>

next in thread | raw e-mail | index | archive | help
Hi!

I have reported this before.
tcsh is broken, it worked in 2.1.5-RELEASE it refuses to work in
2.2.1-RELEASE. 
It didn't work in 2.2-GAMMA either.

This is my .tcshrc

umask 022
set noclobber
set path=( ~/bin /usr/local/bin /bin /usr/bin /usr/X11R6/bin /sbin /usr/sbin \
                /usr/share/games /usr/games . )

    setenv SHELL /usr/local/bin/tcsh
    setenv PAGER "more"
    setenv LD_LIBRARY_PATH "/usr/X11R6/lib:/usr/lib:/usr/local/lib"
    setenv TEXFONTS /usr/local/lib/tex/fonts/pk                                 

if ( $?prompt ) then
        set prompt="%n@%m %~ %#"
        set ignoreeof
        set history=100 
        set mail=/var/mail/$USER
        set fignore=(.o .out .elc \~)

        # new variables in version 6.00.03
        set autoexpand
        set autolist
        set chase_symlinks
        set ignore_symlinks
        set matchbeep=nomatch
        set printexitvalue
        set prompt2="%R: end with 'end' :"
        set recexact
        set watch=(1 any any)
        set who="%w %D, %T: %S%n%s has %a %S%l%s from %m."
        unset autologout

        source ~/.aliases
        stty pass8
        stty erase ^?
        mesg y
        setenv LC_CTYPE sv_SE.ISO_8859-1
#       setenv LD_LIBRARY_PATH /usr/X11R6/lib:/usr/lib:/usr/local/lib

        # alias specific to tcsh(1)
        a ls    'ls-F'

        if ($?SOURCE) then
                source $SOURCE   Execute the file named by $SOURCE
        endif                    if it is set (normally it isn't)

        if ( -r ~/.bindalias ) then
          setenv HOSTALIASES ~/.bindalias
          set hostcompletions = ( `awk '/^[ ]*[^#]/{print $1}' "$HOME/.bindalias
"` )
          complete ftp 'p/1/$hostcompletions/'
          complete ntalk 'p/1/$hostcompletions/'
          complete talk 'p/1/$hostcompletions/'
          complete ytalk 'p/1/$hostcompletions/'
          complete finger 'p/1/$hostcompletions/'
          complete telnet 'p/1/$hostcompletions/'
          complete tf 'p/1/$hostcompletions/'
          complete rsh 'p/1/$hostcompletions/'
          complete rlogin 'p/1/$hostcompletions/'
        endif

endif

--------------------------------------------------------------------

If you use this file together with tcsh it will stop after
the line setenv LC_CTYPE sv_SE.ISO_8859-1 .
version info on tcsh

version tcsh 6.07.02 (Astron) 1996-10-27 (i386-intel-FreeBSD) options 8b,nls,dl,
al,rh

This were working in old tcsh (The one that came with 2.1.5).
Could the person responsible for tcsh check this out, or anyoneelse that have 
the time, I'm just getting tired of getting 
then: then/endif not found

And by the way the error message changes if the line after 
setenv LC_CTYPE sv_SE.ISO_8859-1 is changed.

Best regards,

/Tomas

-- 
Tomas Klockar can be found at the following adresses:

Kårhusvägen 4:23     |  Furuvägen 102       |  dateck@ludd.luth.se
977 54 Luleå         |  871 52 Härnösand    |  dateck@solace.mh.se
Tel: +46-920-231335  |  Tel: +46-611-13393  |  d94-tkl@sm.luth.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704150911.LAA20096>