Re: changing the shell and editor

From: Kevin D. Kinsey, DaleCo, S.P. (kdk_at_daleco.biz)
Date: 08/26/04

  • Next message: Cody Rioux: "Re: changing the shell and editor"
    Date: Thu, 26 Aug 2004 11:01:54 -0500
    To: Cody Rioux <gr4y.fox@gmail.com>
    
    

    Cody Rioux wrote:

    >It is the setenv command if you are using csh or one of its variants,
    >however he said that he was using bash, so you would need to export
    >the variable using the export command, I belive he already has the
    >problem solved though. :)
    >
    >
    >

    Well, yes; but "he who?" If you read carefully the message
    below, you see that I was replying to Arek Czereszewski (hope
    I spelled that correctly) who stated that "Command set
    VARIABLE work in t/csh".

    I was simply noting the truth that in csh/tcsh, you have
    to "setenv" ... as you see from the example, "set" doesn't
    work here (in tcsh)... :-)

    KDK

    >On Thu, 26 Aug 2004 01:33:25 -0500, Kevin D. Kinsey, DaleCo, S.P.
    ><kdk@daleco.biz> wrote:
    >
    >
    >>Arek Czereszewski wrote:
    >>
    >>
    >>
    >>>Command set VARIABLE work in t/csh
    >>>
    >>>
    >>>
    >>Actually, isn't is "setenv":
    >>
    >> <kadmin@archangel> [/home/kadmin/c++/archive] [1:30]
    >> % setenv FOO BAR
    >>
    >> <kadmin@archangel> [/home/kadmin/c++/archive] [1:30]
    >> % echo $FOO
    >> BAR
    >>
    >> <kadmin@archangel> [/home/kadmin/c++/archive] [1:30]
    >> % set FOOD BAR
    >>
    >> <kadmin@archangel>[/home/kadmin/c++/archive][1:30]
    >> % echo $FOOD
    >>
    >> <kadmin@archangel>[/home/kadmin/c++/archive][1:30]
    >>
    >>Hmm, FOOD BAR ...
    >>
    >>I'm getting hungry ;-)
    >>
    >>KDK
    >>
    >>

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Cody Rioux: "Re: changing the shell and editor"