DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th May 2008
mmusang mmusang is offline
New User
 
Join Date: May 2008
Posts: 2
Default weird history problem

after install freebsd 7.0, I think I immediately install port tcshrc which give alot of tcsh function to my personal id but not root.
afterthat I found out my id do not record history after I log off.
I found unset histfile in .tcshrc.set, but remove it won't solve it, neither if
you do set histfile=.history
history function in my root id seems to be functioning normally.

I solved the issue by rename all .tcshrc, login to id and logoff again.

that's all! guys.
Reply With Quote
  #2   (View Single Post)  
Old 17th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Roots shell by default is csh, not sure if it supports every thing that the installed tcsh does. Last I looked /bin/csh was essentially tcsh made to behave in traditional csh ways.

Assuming it will use tcsh behaviors, you probably could just copy your users setup to roots.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 17th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

/bin/tcsh is a hard link to /bin/csh, it doesn't matter which one you use.

You can use /etc/csh.cshrc for system-wide settings.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Tags
command, history

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird time issues schrodinger OpenBSD General 7 26th October 2009 03:20 PM
Searching and replacing weird patterns on a file. bigb89 Programming 8 6th December 2008 06:59 PM
squid cachemgr.cgi output weird chavez243 FreeBSD Ports and Packages 3 25th October 2008 02:58 PM
Weird network problem rex FreeBSD General 5 16th September 2008 02:05 AM
Weird NAT issues EvanED FreeBSD General 3 11th July 2008 11:02 PM


All times are GMT. The time now is 03:36 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick