[Thread Prev][Thread Next][Index]

Re: [ferret_users] pager



Hi Marco,

Ferret is issuing a system "more -d" command to list out the contents of the script, so that is overriding any setting you've made outside of Ferret.  We would have to add an option for other settings to be used.

You could take the pathname given,

yes? go/help polymark
 Full path name: /home/users/tmap/ferret/rhel6-x86_64-linux/go/polymark.jnl
....

and spawn out with the setting you want.

yes? sp more -1 /home/users/tmap/ferret/rhel6-x86_64-linux/go/polymark.jnl


Another trick would be to take advantage of the auto-generated symbol LAST_GO_FILE.

This is set on any "go scriptname" call,  So you could just call the script with no arguments, and then use this symbol to issue your own SPAWN MORE command.

yes? ! call the script to set the ($last_go_file) symbol.
yes? go polymark

Command file, command group, or REPEAT execution aborted
 **ERROR: usage: yes? GO polymark polygon_command xpts ypts [values] [shape] [scale]

yes? sp more -15 ($last_go_file)
\cancel mode verify
! polymark.jnl
! 4/99 *sh* and *jd*
! 10/00 *sh* bug fix to scaling algorithm
!  3/04 *acm* bug fix in check for point data

! Description: Plot symbols colored by values of a variable along a track
!
!              Needs a basemap or other underlying plot to define scaling
!              parameters.

! Usage:                  $1        $2    $3     $4      $5      $6
! Yes?  GO polymark polygon_command xpts ypts [values] [shape] [scale]
! $1 - the plot command with qualifiers (eg POLYGON/OVER/KEY)
! $2 - X coordinates of track
--More--(17%)



Ansley

On 6/13/2017 10:01 AM, Marco van Hulten wrote:
Hello,

The pager is more(1) by default.  Can I change it to a different pager?

Setting PAGER="less" before starting Ferret does not help.

A pager is used for instance when doing a

    go/help polymark

I'm using classical Ferret 6.96.

 - Marco


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement