image
image

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

Reply
 
LinkBack Thread Tools
  #1  
Old February 20th, 2003, 02:52 AM
Registered User
 
Join Date: Feb 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
berniech is on a distinguished road
[HOW TO] Terminal

the problem is that I've changed my terminal default settings... it's pretty embarrassing to be novice sometimes. Nowhere in the osx terminal help guide did i come across a way to correct this. This is the screen content when i start a new shell.

----------------------------------------------------------
Last login: Wed Feb 19 23:07:01 on ttyp1
/usr/bin/login; exit
Welcome to Darwin!
[a3jg49h0y39ra:~] berniech% /usr/bin/login; exit
login: berniech
Password:
Last login: Wed Feb 19 23:31:56 on ttyp1
Welcome to Darwin!
tcsh: Cannot open /etc/termcap.
tcsh: using dumb terminal settings.
[a3jg49h0y39ra:~] berniech%
----------------------------------------------------------
(login/pass were my only inputs)

how do i restore the default settings for terminal?

b.
Reply With Quote
  #2  
Old February 20th, 2003, 03:47 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
Here's how to restore your tcsh settings to the default (actually, a better condition than the default):
sudo -s
echo "source /usr/share/tcsh/examples/rc" > ~/.tcshrc
echo "source /usr/share/tcsh/examples/login" > ~/.login
echo "source /usr/share/tcsh/examples/logout" > ~/.logout
exit
source ~/.tcsh

(This will load Apple's tcsh configuration example and provide you with a fresh ~/.tcsh file with which to experiment/begin configuring.)

Here's how to fix the 'termcap/dumb terminal settings' problem:
http://www.macfora.com/forums/showth...&threadid=7972
Reply With Quote
  #3  
Old February 20th, 2003, 03:56 PM
michaelsanford's Avatar
Translator, Web Developer
 
Join Date: Oct 2002
Location: Ottawa/Montréal
Posts: 2,278
Thanks: 0
Thanked 4 Times in 4 Posts
michaelsanford is on a distinguished road
gatorparrots, I've got Puma and have no such folder /usr/share/tcsh

Is this Jaguar only or am I missing something?

Could you please possibly post the contents of those files?

I've already got my .login and .cshrc configured, but I'm interested to see if there are any cool things I can add
__________________
michaelsanford.comIdenti.ca
• iMac Aluminum 24" |
MacOS X 10.5 (current) | 3.06 GHz Intel Core Duo | 4 GB RAM, 1 TB HDD
• Acer AspireOne 1.60 GHz | Windows XP Home | 1 GB RAM, 100 GB HDD
• AMD Athlon64 3500+ | Ubuntu
-server x86_64 | 1240 GB RAID
Reply With Quote
  #4  
Old February 20th, 2003, 07:40 PM
Registered User
 
Join Date: Feb 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
berniech is on a distinguished road
thanks for the link.

is the /etc directory visible to the finder. i've tried to locate it but the search results come up empty.
Reply With Quote
  #5  
Old February 20th, 2003, 11:30 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
/private/etc = /etc

/etc is invisible in the Finder (it is listed in the /.hidden file that the Finder references).

If you want to view its contents in the Finder, simply choose Go->Go to Folder... (CMD+shift+G). and type /etc.
Reply With Quote
  #6  
Old February 20th, 2003, 11:36 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
/usr/share/tcsh/examples

Quote:
Originally posted by michaelsanford
gatorparrots, I've got Puma and have no such folder /usr/share/tcsh

Is this Jaguar only or am I missing something?

Could you please possibly post the contents of those files?

I've already got my .login and .cshrc configured, but I'm interested to see if there are any cool things I can add
/usr/share/tcsh is a Jaguar (OS X 10.2; Darwin 6.0 contrivance). They are the example configurations that should have been the default, shipping configuration.
Code:
gatorparrots% ls /usr/share/tcsh/examples/ 
total 44
   0 drwxr-xr-x  11 root     wheel         374 Jan 24 13:04 ./
   0 drwxr-xr-x   3 root     wheel         102 Jul 27  2002 ../
   4 -rw-r--r--   1 root     wheel         964 Jul 14  2002 README
   4 -rw-r--r--   1 root     wheel        1025 Jan 24 13:05 aliases
   4 -rw-r--r--   1 root     wheel         990 Dec 17 02:31 aliases.default
  12 -rw-r--r--   1 root     wheel        9571 Jul 14  2002 completions
   4 -rw-r--r--   1 root     wheel         433 Jul 14  2002 environment
   4 -rw-r--r--   1 root     wheel         701 Jul 14  2002 login
   4 -rw-r--r--   1 root     wheel         444 Jul 14  2002 logout
   4 -rw-r--r--   1 root     wheel        1943 Jul 14  2002 rc
   4 -rw-r--r--   1 root     wheel        2402 Jul 14  2002 tcsh.defaults
I'll attach the contents of that directory, rather than cat-ing each file and posting the results.
Attached Files
File Type: zip examples.zip (9.8 KB, 2 views)
Reply With Quote
  #7  
Old February 20th, 2003, 11:47 PM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
An older version of my ~/.cshrc file can be seen here:
http://www.macfora.com/forums/showth...788#post110788
Reply With Quote
  #8  
Old February 21st, 2003, 03:08 AM
Registered User
 
Join Date: Feb 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
berniech is on a distinguished road
hey Gator,

thanks again for the link... burried in the replies i found the answer i was looking for....again thanks.

F.E.I: throwing away this file: "com.apple.Terminal.plist" from the ~/Library/Preferences... defaults the terminal settings

p.s.s.t. to haka.
berniech.
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[HOW TO] Launch Application from Terminal? Kiup HOWTO & FAQs 3 February 26th, 2003 07:14 PM
[HOW TO] Rename Harddisk! Matsaki HOWTO & FAQs 8 February 25th, 2003 11:06 AM
[HOW TO] Preserve a custom shell $PATH after logout. michaelsanford HOWTO & FAQs 2 February 21st, 2003 11:35 AM
[How to] Change password on active directory Ryan81 Networking & Compatibility 0 January 28th, 2003 01:28 PM


All times are GMT -5. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.