To check the current number of lines set:
Command: (getenv “CmdHistLines”)
To set a new maximum number of lines:
Command: (setenv “CmdHistLines” “1000”)
The number you use must be in a range from 25 to 2048!
Be aware that it is also case sensitive, so the caps in the environment
variable are important.
If you need more than this, then look into creating a log file of command
line output – it is easy to do – see LOGFILEON and LOGFILEOFF
By: Gordon Stephens