(Modified 2013 Apr 23)
Saving per-terminal history
Add the following line to your cshrc file.
set histfile=~/.history`tty | sed 's/\//_/g' `
sed is a command-line editor, while tty prints the name of the terminal.
I adapted the above from IBM, except with the following changes:
sed didn't like the -e flag before the substitution
The IBM page had an extra underscore before the name of the tty insertion.
This page is Lynx-enhanced