Operating System - HP-UX
1825803 Members
2542 Online
109687 Solutions
New Discussion

more cmd not working properly.

 
Peter Gillis
Super Advisor

more cmd not working properly.

Hi,
Have updated to ux11i (from ux11.0), yesterday. This afternoon, I notice that the more command is not working correctly. I am absolute;y positive it was working fine this morning.
One screen is displayed of the 'more' output and then the system prompt is displayed. Not able to scroll to the next page as usual. I think I have seen this happen once before but am unable to remember how fix - though I'm pretty sure it was simple. Can anyone help out??
Maria
4 REPLIES 4
Peter Gillis
Super Advisor

Re: more cmd not working properly.

Me again,
This action is happening whether I display a file to read; or ll on a large directory.
Maria
YoungHwan, Ko
Valued Contributor

Re: more cmd not working properly.

Check this file.
#ll /dev/tty check
crw-rw-rw- 1 bin bin 31 0x000000 Aug 27 10:22 /dev/tty
output is not equal, change the permission to 666.
#chmod 666 /dev/tty

Sanjay Kumar Suri
Honored Contributor

Re: more cmd not working properly.

Check the value of $MORE. If some value is set then reset with

MORE='';export MORE

and try once again.

sks

A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
Peter Gillis
Super Advisor

Re: more cmd not working properly.

Hi,
/dev/tty perms 666
and $MORE gave me a blank line then a command prompt.
Think I may have found the culprit...had a swinstall session that I had cntl-x out of; I have exited completely out of that session and now the more command is working properly!
Thanks for your input anyway.
Maria