comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: Permanently changing shell

Re: Permanently changing shell
type: item
description: ["Followup-To:" header set to comp.sys.mac.system.] On 2003-12-06, Patrick Ford <pford@bcm.tmc.edu> wrote: > files/scripts, I discovered that the shell had be changed to bash from > the tsch that it had been. Since my Unix skills are limited and since > the info pages at rsinc.com are written for the tsch shell I am at an > impass. Open NetInfo, find the entry for your account, change the 'shell' property to /bin/tcsh. Not as easy as chsh, but simple enough.
creator: Hugh Wolf
date: 2003-12-06T20:34:57-00:00

Re: Permanently changing shell
type: item
description: pford@bcm.tmc.edu (Patrick Ford) writes: > Greetings: > > I upgraded to MacOS 10.3 (Panther) last night and IDL got trashed. In > the processed of reinstalling it, including all the Unix config > files/scripts, I discovered that the shell had be changed to bash from > the tsch that it had been. Since my Unix skills are limited and since > the info pages at rsinc.com are written for the tsch shell I am at an > impass. > > I need to know how to reset the default shell and get the scripts > reset. I think I do the latter by editing the .cshrc and .tcshrc > file in the Users/MyDir/ to include: I don't have a Mac, but it is common under unix-like operating systems to be able to change your shell with the "chsh" command. It's strange and annoying that the upgrade install would change your shell, since usually that information is stored in the sacrosanct /etc/passwd file. Good luck, Craig
creator: Craig Markwardt
date: 2003-12-06T21:48:51-00:00

Re: Permanently changing shell
type: item
description: Patrick Ford wrote: > Greetings: > > I upgraded to MacOS 10.3 (Panther) last night and IDL got trashed. In > the processed of reinstalling it, including all the Unix config > files/scripts, I discovered that the shell had be changed to bash from > the tsch that it had been. Since my Unix skills are limited and since > the info pages at rsinc.com are written for the tsch shell I am at an > impass. > > I need to know how to reset the default shell and get the scripts > reset. I think I do the latter by editing the .cshrc and .tcshrc > file in the Users/MyDir/ to include: > > source RSI-DIR/idl_6.0/bin/idl_setup > > > and/or find out where .bashrc file is and how to set its script for > the equivalent of the above command. > > > Thanks > > Patrick Ford Dear Patrick on linux I have always to use ksh (pdksh) to run this install scripts. If you know it runs with tsch you could run it by > tsch RSI-DIR/idl_6.0/bin/idl_setup If this is the only reason to change the shell I think this is not necessary. Reimar -- Reimar Bauer Institut fuer Stratosphaerische Chemie (ICG-I) Forschungszentrum Juelich email: R.Bauer@fz-juelich.de ------------------------------------------------------------ ------- a IDL library at ForschungsZentrum Juelich http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html ============================================================ =======
creator: R.Bauer
date: 2003-12-08T08:54:19-00:00

Re: Permanently changing shell
type: item
description: Reimar Bauer <R.Bauer@fz-juelich.de> wrote in message news:<br1e7r$bk86$1@zam602.zam.kfa-juelich.de>... > Patrick Ford wrote: >> Greetings: >> >> I upgraded to MacOS 10.3 (Panther) last night and IDL got trashed. In >> the processed of reinstalling it, including all the Unix config >> files/scripts, I discovered that the shell had be changed to bash from >> the tsch that it had been. Since my Unix skills are limited and since >> the info pages at rsinc.com are written for the tsch shell I am at an >> impass. >> >> I need to know how to reset the default shell and get the scripts >> reset. I think I do the latter by editing the .cshrc and .tcshrc >> file in the Users/MyDir/ to include: >> >> source RSI-DIR/idl_6.0/bin/idl_setup >> >> >> and/or find out where .bashrc file is and how to set its script for >> the equivalent of the above command. >> >> >> Thanks >> >> Patrick Ford > > Dear Patrick > > on linux I have always to use ksh (pdksh) to run this install scripts. > > If you know it runs with tsch you could run it by > >> tsch RSI-DIR/idl_6.0/bin/idl_setup > > If this is the only reason to change the shell I think this is not > necessary. > > Reimar > > -- > Reimar Bauer > > Institut fuer Stratosphaerische Chemie (ICG-I) > Forschungszentrum Juelich > email: R.Bauer@fz-juelich.de > ------------------------------------------------------------ ------- > a IDL library at ForschungsZentrum Juelich > http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html > ============================================================ ======= I thought I would give the bash shell a try. (Please keep in mind that I am a unix novice or, in other words, I don't know what I am doing.) Both methods on how to alter the shell permanently work. Thanks! Going back the the bash shell, the suggestes cmd line does the following: $ tsch RSI-DIR/idl_6.0/bin/idl_setup -bash: tsch: command not found idl does have a bash script at idl_6.0/bin Patrick-Fords-Computer:/idl_6.0/bin patrickford$ mor…
creator: pford
date: 2003-12-13T00:49:06-00:00