image
image

|


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

Reply
 
Thread Tools
  #9  
Old August 25th, 2002, 10:30 AM
kenny's Avatar
Registered User
 
Join Date: Sep 2000
Location: Concord, NC
Posts: 499
Thanks: 0
Thanked 0 Times in 0 Posts
kenny is on a distinguished road
'Last login:' is coming from /usr/bin/login. I don't know if there's a way to turn it off (and I like it there, so I'm not really looking for a way ). I run ksh, and it shows up there; mucking about in profiles and .rc files for the various shells probably won't do you much good.
Reply With Quote
  #10  
Old August 25th, 2002, 10:35 AM
Fahrvergnuugen's Avatar
I am the law!
 
Join Date: Apr 2001
Location: Galway, NY
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
Fahrvergnuugen is on a distinguished road
I only get the last login when I ssh or telnet to my machine. If i just open a new terminal window, I don't see it. OSX has always done this and I sorta like it as well.

Anyway, like kenny said, if it shows up under different shells, then it won't be controlled by the /etc/csh.* files.
__________________
-Paul Wieland______________
http://www.sickdimension.com
Dual G5 2.0Ghz / 2.5GB Ram / 620 GB HD / 23" CD
Reply With Quote
  #11  
Old August 25th, 2002, 10:40 AM
holmBrew's Avatar
Official Volunteer
 
Join Date: May 2001
Location: Utah, USA
Posts: 309
Thanks: 0
Thanked 0 Times in 0 Posts
holmBrew is on a distinguished road
The wierd thing is, it doesn't show up on my PowerBook. The main difference between the installs (pb vs. desktop) is that I did a complete 'Erase and Install' on my PowerBook and just an 'Upgrade' on my desktop...
__________________
holmBrew

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Great Web Hosting: www.elfon.com
PowerBook(Prismo) 400Mhz G3
266Mhz G3 MT Gossamar
400Mhz G3 Yosemite
800Mhz G4 Quicksilver (my work box)
All running Mac OS X 10.2.4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply With Quote
  #12  
Old August 25th, 2002, 11:06 AM
holmBrew's Avatar
Official Volunteer
 
Join Date: May 2001
Location: Utah, USA
Posts: 309
Thanks: 0
Thanked 0 Times in 0 Posts
holmBrew is on a distinguished road
Talking FOUND THE CULPRIT!!!

It is a preference setting for the Terminal.app

I guess the lesson here is to always check the prefs first ?
Attached Images
File Type: jpg login.jpg (28.9 KB, 48 views)
__________________
holmBrew

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Great Web Hosting: www.elfon.com
PowerBook(Prismo) 400Mhz G3
266Mhz G3 MT Gossamar
400Mhz G3 Yosemite
800Mhz G4 Quicksilver (my work box)
All running Mac OS X 10.2.4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply With Quote
  #13  
Old August 25th, 2002, 12:01 PM
kenny's Avatar
Registered User
 
Join Date: Sep 2000
Location: Concord, NC
Posts: 499
Thanks: 0
Thanked 0 Times in 0 Posts
kenny is on a distinguished road
Re: FOUND THE CULPRIT!!!

Quote:
Originally posted by holmBrew
It is a preference setting for the Terminal.app

I guess the lesson here is to always check the prefs first ?
That's not it. The preference setting in Terminal.app will prevent you seeing it (probably because it doesn't come through login the same way), but it's still there (I still say in /usr/bin/login). The proof? I use PuTTY on my Windows machines to do SSH, and opening a connection from there still shows the 'Last login:' bit.

But, whatever. If the Terminal pref does it for you. Just don't come crying to me when it turns up again...
Attached Images
File Type: jpg putty.jpg (24.8 KB, 28 views)
Reply With Quote
  #14  
Old August 25th, 2002, 12:07 PM
holmBrew's Avatar
Official Volunteer
 
Join Date: May 2001
Location: Utah, USA
Posts: 309
Thanks: 0
Thanked 0 Times in 0 Posts
holmBrew is on a distinguished road
Ya, I get it when I SSH to the box too, but I also get:


Last login: Sat Aug 24 01:32:42 2002
Welcome to Darwin!
TERM_PROGRAM: Undefined variable.


I wonder where I define that?
__________________
holmBrew

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Great Web Hosting: www.elfon.com
PowerBook(Prismo) 400Mhz G3
266Mhz G3 MT Gossamar
400Mhz G3 Yosemite
800Mhz G4 Quicksilver (my work box)
All running Mac OS X 10.2.4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply With Quote
  #15  
Old August 26th, 2002, 08:56 AM
hazmat's Avatar
Rusher of Din
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 1,803
Thanks: 0
Thanked 0 Times in 0 Posts
hazmat is on a distinguished road
Quote:
Originally posted by kenny
'Last login:' is coming from /usr/bin/login. I don't know if there's a way to turn it off (and I like it there, so I'm not really looking for a way ). I run ksh, and it shows up there; mucking about in profiles and .rc files for the various shells probably won't do you much good.
Well if you have an empty file called .hushlogin in your home directory, you shouldn't get any messages at all when you log in.
Reply With Quote
  #16  
Old September 22nd, 2002, 08:23 AM
Registered User
 
Join Date: Jul 2002
Location: Weston, CT
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
fetlock is on a distinguished road
Re: /usr/share/init/tcsh is gone

Quote:
Originally posted by holmBrew
So i figured it out.

/usr/share/init/tcsh is gone.

The preset tcsh alias, rc, envronment, and the others are now in: /usr/share/tcsh/examples/

The funky error went away after I partially followed the instruction in: /usr/share/tcsh/examples/README

/usr/share/tcsh/examples/README makes mention of /usr/share/init/tcsh but since it isn't there it doesn't matter.

if you still have ~/Libradry/init/... follow the instructions at the beginning of /usr/share/tcsh/examples/README with make use of you personalized shell setting.
Whheeeewwwwww!!! I thought I had lost my mind. holmBrew, you have saved my bacon! When I upgraded to Jag, all my Terminal settings seemed to be lost, forever. Nothing worked the way it was supposed to, and for the life of me, I couldn't figure it out.

Thanks loads.
__________________
Ken Frazier
--
PowerMac G4, 1.2 GHZ, DP; eMac G4 700 1 GB; iBook G3 500 640 MB; Canon N670U scanner; VST Firewire 6 GB; Firefly 5 GB. Assorted Lexmark printers.
OS X 10.2.6; Win 98; Linux (Love my Macs!)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Post "how to upgrade old ipod to 2.0"-info here please! senne Mac OS X System & Mac Software 3 May 3rd, 2003 03:27 PM
terminal potentials lucasraggers Mac OS X System & Mac Software 10 October 23rd, 2002 01:39 PM
What happens if you never upgrade to 10.2 Kona Mac OS X System & Mac Software 3 September 10th, 2002 02:26 PM
Alarming Terminal app behavior (10.1.5) bbloke Mac OS X System & Mac Software 3 June 12th, 2002 04:12 PM
Don't buy iMac RAM upgrade from Mac Mall or Apple. even it's free!! papaya Apple News, Rumors & Discussion 3 September 8th, 2001 11:05 AM


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


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.