Operating System - HP-UX
1833838 Members
2667 Online
110063 Solutions
New Discussion

Re: How to change the mailx.rc default setting in a SD-UX build server ?

 
TJ Yang_1
Occasional Advisor

How to change the mailx.rc default setting in a SD-UX build server ?

Hi, there

I like to add "set charset=us-ascii" in the default mailx.rc setting in a build server so the machine being built will carry this setting but the mailx.rc on build server is not in text format.

Anyone know how to do it ? or please give
pointers to the document set I should read.

Thanks

tj

root> ls -l
total 4
dr-xr-xr-x 2 bin bin 1024 Mar 2 1999 elm
-r--r--r-- 1 bin bin 92 May 30 1996 mailx.rc
root> file mailx.rc
mailx.rc: data
root> strings mailx.rc
+N-QH,(H
\Tbkd
root>pwd
/export0/pkgsrc/OS/hp-ux10.20/core/MailUtilities/MAILERS/usr/share/lib
root>


3 REPLIES 3
TJ Yang_1
Occasional Advisor

Re: How to change the mailx.rc default setting in a SD-UX build server ?

Sorry this question should posted it to ignite-unix forum. I reposted this question to that forum already.

tj
harry d brown jr
Honored Contributor

Re: How to change the mailx.rc default setting in a SD-UX build server ?

Mine looks like this:

more /usr/share/lib/mailx.rc


# @(#)B.11.11_LR
#
set append
set asksub
set dot
set crt=21
set PAGER=/usr/bin/more
set save
set encoding=8bit


live free or die
harry
Live Free or Die
TJ Yang_1
Occasional Advisor

Re: How to change the mailx.rc default setting in a SD-UX build server ?

yes, it is a text file that I can modify on a HP box being built either from CD for a build server.

But the mailx.rc on the CD/build source is in
binary format. I am interested to find out a way to modify the source of the problem rather than edit the /usr/share/lib/mailx.rc manualy later after the machine was built.

the mailx.rc on CD/Ignite is not in text format.


tj