Operating System - HP-UX
1837963 Members
2937 Online
110124 Solutions
New Discussion

$man envd> FILESAVE saved confuse words,why?

 
SOLVED
Go to solution
leereg_5
Frequent Advisor

$man envd> FILESAVE saved confuse words,why?

$man envd>FILESAVE
$view FILESAVE
When I view the content, it is full of confuse words, why?


Thanks in advance!
Always UNIX!
6 REPLIES 6
Shahul
Esteemed Contributor

Re: $man envd> FILESAVE saved confuse words,why?

Hi

U use #more FILESAVE and see. U can even use cat command for this. vi and view may not give properly because of terminal emulation problem.


Shahul
Michael Tully
Honored Contributor

Re: $man envd> FILESAVE saved confuse words,why?

You have a terminal emulation problem.

Reset your terminal type and do again.
# TERM=vt100; export TERM

Change vt100 to your terminal type
HTH
Michael
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: $man envd> FILESAVE saved confuse words,why?

Sorry I've mis understood the question.
If you say

# more filename (it should be fine)
if you
# view filename (it will have all of the
nroff interpretations shown as control
characters)

Anyone for a Mutiny ?
leereg_5
Frequent Advisor

Re: $man envd> FILESAVE saved confuse words,why?

I have cronjob as follow:
20 13 * * * man envd|mailx -s 'As you required' user@domain.name.com
and what I receiveived is as follows;e e e en n n nv v v vd d d d( ( ( (1 1 1 1M M M M) ) ) ) S S S Se e e er r r ri i i ie e e es s s s 8 8 8 80 0 0 00 0 0 0 O O O On n n nl l l ly y y y e e e en n n nv v v vd d d d( ( ( (1 1 1 1M M M M) ) ) )


Why?

Always UNIX!
Frank Li
Trusted Contributor
Solution

Re: $man envd> FILESAVE saved confuse words,why?

Hi

man YOU_WANT | col -b >/tmp/tmpfile

and vi it .

good luck
Hi Friend
Frank Li
Trusted Contributor

Re: $man envd> FILESAVE saved confuse words,why?

so you should add "col -b " after man ,just like :


/usr/bin/man envd | /usr/bin/col -b | mailx -s 'As you required'
Hi Friend