Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Use "more" to view a non-ASCII file (memory fault)

SOLVED
Go to solution
Mad_1
Regular Advisor

Use "more" to view a non-ASCII file (memory fault)

When I 'more' a non-ASCII file in HP-UX 11.0 environment, the command core dump with below error after showing a couple of pages:

Memory fault(coredump)

It used to be OK when doing this in HP-UX 10.20.

Does anyone has any idea about this?
9 REPLIES
Keely Jackson
Trusted Contributor

Re: Use "more" to view a non-ASCII file (memory fault)

Hi

Try using the 'strings' command and pipe it into more for non-ascii files.

Cheers
Keely
Live long and prosper
Stefan Farrelly
Honored Contributor

Re: Use "more" to view a non-ASCII file (memory fault)

There was a bug with the more program in 11.0. Either install a patch with a later version or copy the more binary from 10.20 to 11.0 and it works fine.
Im from Palmerston North, New Zealand, but somehow ended up in London...
twang
Honored Contributor

Re: Use "more" to view a non-ASCII file (memory fault)

# strings -a |more
Mad_1
Regular Advisor

Re: Use "more" to view a non-ASCII file (memory fault)

Thanks Stefan.

Do you know which patch should be installed?
Stefan Farrelly
Honored Contributor
Solution

Re: Use "more" to view a non-ASCII file (memory fault)

PHCO_26916 1.0 more(1) patch
Im from Palmerston North, New Zealand, but somehow ended up in London...
T G Manikandan
Honored Contributor

Re: Use "more" to view a non-ASCII file (memory fault)

Move the 'more' binaries from 10.20 to 11.00.

Not sure whether this was fixed with the latest patch
Yogeeraj_1
Honored Contributor

Re: Use "more" to view a non-ASCII file (memory fault)

hi,

we had same problem some times back and applied the above mention patch(PHCO_26916).

Seems like MORE had a problem with files containing escaped characters like ^K, ^A etc.

this patch is available from:
http://www1.itrc.hp.com/service/patch/mainPage.do

regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Mark Greene_1
Honored Contributor

Re: Use "more" to view a non-ASCII file (memory fault)

As suggested, use strings, but then pipe it to "pg". Or you can download "less" from here:

http://hpux.cs.utah.edu/hppd/hpux/Gnu/less-381/

Remember kids, you should use less more than more, because less is so much more than more!

HTH
mark
the future will be a lot like now, only later
Mad_1
Regular Advisor

Re: Use "more" to view a non-ASCII file (memory fault)

Thanks a lot to all of you.