Solved

korn shell startup

Posted on 2000-02-24
3
192 Views
Last Modified: 2013-12-27
my new account is on a solaris system with ksh when i login, how to set it that it can start with csh, because i am familiar with that and have many written scripts. can i do it with user level? in my old account which is on OSF machine i can set my own startup settings in .cshrc and .cshrc.mine files, how to do this in ksh here? and what command is to change the email editor, not the general editor, in ksh? there aren't many system files starting with '.' in personal account in solaris.
0
Comment
Question by:wangzq
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
chris_calabrese earned 50 total points
ID: 2556068
1.  First try running 'chsh' to switch yourself to csh.  It may not work depending on how locked down the security on the box is, however.
2.  If this doesn't work, you could also setup a .profile file to do something like
    export SHELL=/usr/bin/csh
    exec /usr/bin/csh
3.  The editor for sending mail depends on what mailer you're using.  Mailx/Mail looks at the EDITOR line in ~/.mailrc (set EDITOR=/usr/bin/vi).  dtmail (the mailer in CDE) has its own built-in editor, as does the mail reader in Netscape Communicator.
4.  See the man pages for ksh and your mailer.
0
 

Author Comment

by:wangzq
ID: 2558265
none of your suggestions works. except the .profile idea, then the shell does't know most mail commands, like scan, inc,
0
 
LVL 14

Expert Comment

by:chris_calabrese
ID: 2558367
scan and inc are not commands built into the shell.  They're part of the MH mail system.  I don't think MH is bundled with Solaris (or any other commercial Unix, for that matter), so you'll have hunt down a distribution for it if you want to keep using it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pauing printer deamon in AIX 10 66
Unix, date minus 1, 2 or 3 days (last working day) 11 95
Skill Development 15 202
Linux: disable vim auto-comment 7 172
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question