Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Page 1 of 2 12 LastLast
Results 1 to 8 of 9
  1. #1
    berniech is offline Registered User
    Join Date
    Feb 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [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.

  2. #2
    gatorparrots is offline ~departed~
    Join Date
    Jul 2002
    Location
    Kansas City, MO
    Posts
    457
    Thanks
    0
    Thanked 5 Times in 5 Posts
    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

  3. #3
    michaelsanford is offline Translator, Web Developer
    Join Date
    Oct 2002
    Location
    Ottawa/Montréal
    Posts
    2,280
    Thanks
    0
    Thanked 5 Times in 5 Posts
    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

  4. #4
    berniech is offline Registered User
    Join Date
    Feb 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  5. #5
    gatorparrots is offline ~departed~
    Join Date
    Jul 2002
    Location
    Kansas City, MO
    Posts
    457
    Thanks
    0
    Thanked 5 Times in 5 Posts

    /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.

  6. #6
    gatorparrots is offline ~departed~
    Join Date
    Jul 2002
    Location
    Kansas City, MO
    Posts
    457
    Thanks
    0
    Thanked 5 Times in 5 Posts

    /usr/share/tcsh/examples

    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 Attached Files

  7. #7
    gatorparrots is offline ~departed~
    Join Date
    Jul 2002
    Location
    Kansas City, MO
    Posts
    457
    Thanks
    0
    Thanked 5 Times in 5 Posts
    An older version of my ~/.cshrc file can be seen here:
    http://www.macfora.com/forums/showth...788#post110788

  8. #8
    berniech is offline Registered User
    Join Date
    Feb 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •