Re: changing the shell and editor

From: Arek Czereszewski (arek_at_wup-katowice.pl)
Date: 08/26/04

  • Next message: Gordon Ewasiuk: "Re: changing the shell and editor"
    Date: Thu, 26 Aug 2004 08:22:24 +0200
    To: "Marcel.lautenbach" <freebsd@xtsy.de>
    
    

    Marcel.lautenbach wrote:
    > hi again,
    >
    > well, i've tried a bit playin with the /etc/master.passwd, adduser,
    > vipw an so on.
    >
    > now i use the bash shell. but, i am not able to change my enviroment
    > variables anymore. trying "set EDITOR emacs" did not work. when ich
    > echo my editor variable, it is empty. though i have changed my shell
    > back to csh in the /etc/master.password file, when i log on i still
    > use the bash.

    Command set VARIABLE work in t/csh

    In bash you must export env. variables.
    $ export EDITOR=ee
    But this work only in this session
    For permanent sets use ~/.bash_profile
    More info about bash you have in manual page.

    > rebooting the system or kill -1 1 didn't do any good. i am getting
    > confused now a bit. acually changes in the master.passwd file should
    > take effect in any case, shouldn't they?

    Regards
    Arek

    -- 
    Arek Czereszewski       | jid: aro(at)chrome.pl
    arek(at)wup-katowice.pl |  gg: 1349941
    "*nix is like a wigwam:
    no windows, no gates, apache inside."
    _______________________________________________
    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: Gordon Ewasiuk: "Re: changing the shell and editor"

    Relevant Pages

    • Re: Python or 4NT? With a question or two about popen()
      ... the bash shell is really well suited for running ... Be aware though that bash syntax is really ... > I have a bunch of command line tests that I need to automate. ... > Homer Simpson: But every time I learn something new, ...
      (comp.lang.python)
    • Re: Convert 08 to decimal 8
      ... bash shell. ... i'm not sure how using bash (others have explained much ... better than i) but in korn shell you could use typeset: ... syntax errors. ...
      (comp.unix.shell)
    • Re: Convert Bash shell script to Korn shell script
      ... > The following bash script works fine to delete all files that are ... To execute this script, ... Start a bash shell: ... run the command "which find" ...
      (comp.unix.shell)
    • Re: Text over multiple lines
      ... > Write a Python script. ... you need my patched Bash which can be found at ... > You need to patch the Bash shell, ...
      (comp.lang.python)
    • Mangled 9.1 system
      ... I discovered that any bash shell ... The X interface seems to still work - but any xterm opened just hangs ... - but still bash hangs with no prompt. ...
      (alt.os.linux.suse)