Well I think I graduated from newbie status today.  It's been a year
since I started with Linux and I finally found and fixed my first bug.
I am easily self-impressed.  Here's the deal.  I was having a bad time
of starting tcsh.  Kept getting "Bad : modifier in $ ($)."  So I kept
putting printf statements in the /etc/csh.cshrc until I found the line
generating the error.  I did a printf of the $s in the following
conditional from the csh.cshrc:

########## begin #####################
# source extensions for special packages
#
if ( -d /etc/profile.d ) then
  set _tmp=${?nonomatch}
  set nonomatch
  foreach s ( /etc/profile.d/*.csh )
    if ( -r $s ) then
      source $s
    endif
  end
  if ( ! ${_tmp} ) unset nonomatch
endif
############ end #####################

This indicated I should look in /etc/profile.d/informix.csh .  This file
did not have the '{','}'s you see in the text below.  I also commented
out the export line.  As far as I know that isn't needed in (t)csh.  Is
that correct?

#
# variables for informix se to be sourced by /etc/profile
#
setenv INFORMIXDIR "/usr/lib/informix"
setenv INFORMIXSERVER "demo_se"

setenv DBPATH "$INFORMIXDIR/"
setenv PATH "${PATH}:${INFORMIXDIR}/bin"

# export INFORMIXDIR INFORMIXSERVER DBPATH PATH

It fixed the problem.  Boy I'm proud of me.  Now if I could just get vi
to produce a "hello world" text file :-/

Steve

--
http://www.winehq.com               | I think.
http://www.suse.com                 | I think I am.
http://www.kde.org                  | Therefore I am.
http://samba.anu.edu.au             | I think? - Moody Blues



--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to