Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to configure .login and .cshrc?

Status
Not open for further replies.

zibiaozhang

Programmer
Jul 17, 2003
8
0
0
US
How can I configure .login and .cshrc file so I can
use backspace key to move back the cursor and use
up and down arrow to get the command history? It would
be very helpful if you could give me a copy of yours.
 
Hi,
Typically you would add a line to the .login file if you're using the c shell that says:

stty erase ^H

To interrupt or break out of a routine you can add a line such as:

intr ^Z

And you can put those together on one line such as:

stty erase ^H intr ^Z
 
Thank you very much it works for ^H.

But how can I configure the up and down arrow key to
extract the command is history?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top