image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old December 16th, 2003, 12:33 AM
ex2bot's Avatar
Mac Fanbot
 
Join Date: Apr 2002
Location: live?
Posts: 1,383
Thanks: 0
Thanked 0 Times in 0 Posts
ex2bot is on a distinguished road
Terminal has lost its mind

I have a problem with my terminal configuration:

I was running one of those ffmpeg front-ends. It messed up my terminal, and now whenever I open a new terminal, the startup script attempts to run ffmpeg. In addition, my path is screwed up, and /bin and /sbin are not in the path so common commands won't run without a path. Pain.

Problem is, as a Unix neophyte, I don't know where that configuration file is. Can someone help?

Doug
__________________
"Just as some newborn race of superintelligent robots are about to consume all humanity, our dear old species will likely be saved by a Windows crash. The poor robots will linger pathetically, begging us to reboot them, even though they'll know it would do no good." -Anonymous

Last edited by ex2bot; December 19th, 2003 at 11:17 AM.
Reply With Quote
  #2  
Old December 16th, 2003, 03:57 AM
Zammy-Sam's Avatar
Desertchild
 
Join Date: Feb 2002
Location: Germany
Posts: 6,658
Thanks: 0
Thanked 0 Times in 0 Posts
Zammy-Sam is on a distinguished road
You should trash your com.terminal.plist file in Home/Library/Preferences.
All your terminal settings will be on default after this.
__________________
iBook 600; 12''; 640mb; 8mb Rage; DVD-CDRW-Combo, 20GB
P4 1.6; 2x80GB Raid1 (file-server)
tiBook 1Ghz, Superdrive, 768MB, 64mb 9000, 60GB
Reply With Quote
  #3  
Old December 16th, 2003, 08:47 AM
Pengu's Avatar
Digital Music Pimp
 
Join Date: Nov 2002
Location: Um.. Here.
Posts: 1,591
Thanks: 0
Thanked 0 Times in 0 Posts
Pengu is on a distinguished road
im not sure this will reset the PATH settings though, as they are environment variables.. i could be wrong though..
__________________
PowerMac G5 Dual 2.0Ghz | 1Gb | 250Gb | Bluetooth | NVidia GeForce 6800 Ultra DDL 256Mb | 20" Cinema Display | MX1000 Wireless Laser Mouse | OS X 10.3.9

PowerMac G4 400Mhz | 832Mb | 40Gb + 120Gb | OS X Server 10.3.8 - Web Dev, Proxy, Mail, NAT, Firewall, Backup

Netgear Gigabit Switch | Sony Ericsson P910i Smartphone | iPod Colour 60Gb
Reply With Quote
  #4  
Old December 16th, 2003, 08:49 AM
mr. k's Avatar
Registered User
 
Join Date: Oct 2002
Location: mpls. mn
Posts: 1,408
Thanks: 0
Thanked 0 Times in 0 Posts
mr. k is on a distinguished road
actully, check your ~/.profile file, every time you start a new terminal the .profile is executed and can be used to set shell variables and the like. Also it could be starting ffmpegx. I think in bash (panthers default shell) you would set your path like this: PATH="$PATH ... ... ... ... ..." ; export PATH. But then I just got panther installed on sunday and really haven't had much time in bash yet.
But check .profile.

Actully, set the path as above but with colon seperated values... not spaces.
__________________
iMac G3 600Mhz, 256MB RAM, 40GB HD, 10.3.5
20GB iPod (Click Wheel) w/ Griffin iTrip // AIM:kjell05

Last edited by mr. k; December 16th, 2003 at 08:59 AM.
Reply With Quote
  #5  
Old December 16th, 2003, 11:18 PM
ex2bot's Avatar
Mac Fanbot
 
Join Date: Apr 2002
Location: live?
Posts: 1,383
Thanks: 0
Thanked 0 Times in 0 Posts
ex2bot is on a distinguished road
Thanks everybody. Trashing the prefs got rid of the ffmpeg startup, but my path settings are still toast.

ls
tcsh: ls: Command not found.

Also, as shown above, I'm running tsch instead of bash. Didn't Panther or Jag change the default to bash?

And I can't find .profile in my home directory. It's not there. Would someone mind posting their .profile file so I can restore it? Or suggest a better alternative.

Thanks again.

Doug
__________________
"Just as some newborn race of superintelligent robots are about to consume all humanity, our dear old species will likely be saved by a Windows crash. The poor robots will linger pathetically, begging us to reboot them, even though they'll know it would do no good." -Anonymous
Reply With Quote
  #6  
Old December 17th, 2003, 02:17 AM
Pengu's Avatar
Digital Music Pimp
 
Join Date: Nov 2002
Location: Um.. Here.
Posts: 1,591
Thanks: 0
Thanked 0 Times in 0 Posts
Pengu is on a distinguished road
If you're using tcsh you'll have a .tcshrc file in your home directory.
use the example below (from my .tcshrc file, to add the ServerLogistics install of MySQL 4 path) to re-create the correct paths for your account.

Code:
setenv PATH /Library/MySQL/bin:$PATH
make sense?
__________________
PowerMac G5 Dual 2.0Ghz | 1Gb | 250Gb | Bluetooth | NVidia GeForce 6800 Ultra DDL 256Mb | 20" Cinema Display | MX1000 Wireless Laser Mouse | OS X 10.3.9

PowerMac G4 400Mhz | 832Mb | 40Gb + 120Gb | OS X Server 10.3.8 - Web Dev, Proxy, Mail, NAT, Firewall, Backup

Netgear Gigabit Switch | Sony Ericsson P910i Smartphone | iPod Colour 60Gb
Reply With Quote
  #7  
Old December 17th, 2003, 04:19 PM
*pity da fool
 
Join Date: Sep 2003
Location: Pergatory
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
MisterK is on a distinguished road
I'm not sure if it has the same effect but I always do this to change something to my PATH:
set path = ( $path /bin )
I then add this line to my .tcshrc file rehash,-- piece of cake.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 08:54 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.