UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 2.11 Faster ksh and bash Startup with $- Test Chapter 2
Logging In
Next: 2.13 A .cshrc.$HOST File for Per Host Setup
 

2.12 Automatic Setups for Different Terminals

If you work at several kinds of terminals, terminal setup can be tough. For instance, my X terminal sends a backspace character when I push the upper-right key, but the same key on another terminal sends a delete character-I want stty erase (5.9) to set the right erase character automatically. Maybe you want a full set of calendar programs started when you log in to the terminal at your desk, but not when you make a quickie login (2.5) from somewhere else.

Here are some ideas for changing your login sequence automatically. Some examples are for the C shell and use that shell's switch (47.6) and if (47.3). Examples for Bourne-type shells use case (44.5) and if (44.8). If you use the other type of shell, the idea still applies; just switch the syntax.

- JP


Previous: 2.11 Faster ksh and bash Startup with $- Test UNIX Power ToolsNext: 2.13 A .cshrc.$HOST File for Per Host Setup
2.11 Faster ksh and bash Startup with $- Test Book Index2.13 A .cshrc.$HOST File for Per Host Setup

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System