[Thread Prev][Thread Next][Index]
Re: [ferret_users] pager
- To: Ryo Furue <furue@xxxxxxxxxx>
- Subject: Re: [ferret_users] pager
- From: Marco van Hulten <Marco.Hulten@xxxxxx>
- Date: Wed, 14 Jun 2017 11:53:33 +0200
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@uib.no header.b=Fu5RTP2R; spf=pass (google.com: domain of marco.hulten@xxxxxx designates 2001:700:200:30::141 as permitted sender) smtp.mailfrom=Marco.Hulten@xxxxxx
- Arc-authentication-results: i=1; mx.google.com; dkim=pass header.i=@uib.no header.b=Fu5RTP2R; spf=pass (google.com: domain of marco.hulten@xxxxxx designates 2001:700:200:30::141 as permitted sender) smtp.mailfrom=Marco.Hulten@xxxxxx
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-archive:list-help:list-post:list-id:mailing-list:precedence :content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results:arc-message-signature:dkim-signature :arc-authentication-results; bh=8ABeOLy5h24OiLD2T67HiR4FiHeAYPnDMjlSMogcE40=; b=aFlwJRDrC5NGLgvIxXur5yhsd7E4q0zjGq+2fijW35Lthbkhq12wlJiHLiigUQkT71 QnRO67PyBEy2Bl7nbhf+zi9I3kEKkswDETZf4C3qVcnJgkBn2OGB2OmQ+g42U66tKrFr 1/++fv3DJGaW9S2Z+xZVEi0QZBorZdYvIjML/XzagYaYY7khY58g3dU/ZlzEw1ksv7dO dSGoKRLunaOHVKb9jUCZNnPdXGnbEHLLC++xLpLlZ4w9pwpic4RpfeeB01JuV19U7hS+ bPJz8i2nfJVl7T/99Xtwx7S89aPPtBnpFTzjwcX9wrA/+j97FzlZYg4UKX7rVEaKCZpZ Jg1w==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=8ABeOLy5h24OiLD2T67HiR4FiHeAYPnDMjlSMogcE40=; b=sIcKCqAiHPLD1hdzVncE1ulnRL0mMSs7JEhNMoDZM//wRHYg9RebHUSAL3L6AZhNye vZhcOxxdRphQViflnc9Y95LOECUVTvvgFtiucQwyHyGP1CXzi9AyF3Ae1OvQ655tO8wT InBgfYUSIsYnoTRN/GecCKDvwpfYzyrMiAC5Jb8QDUg7m6zYNEiqgPlGNf8M+KcNp4I4 IOAjCDglX4L1G4Ma3tAPJZwvBtcthaBIVxuo59Jq5SNMuYRtltR79aJ8corb8tDnsKxb k7qlcAIHaM00wd4cEQyivhbNM43JlfIAI9HMGQMwb2UDKYr3tZmN7/Rwh0SUrjE8y6i3 QUeg==
- Arc-seal: i=2; a=rsa-sha256; t=1497434015; cv=pass; d=google.com; s=arc-20160816; b=f7EFiqFqIT049Qzt74Ni3hnYE/rtPQf6Pyaxt+csEFvaYbdStFyX4ytwwxIHyIc4aC MBBKTXz841Eghk2Qqv+p+OmHu/3OHI+5M7+ma1YudZdQvvkrBxvoGFwM1g4EnKgLkSkM FukUVvVj70+E1XjYFZC4SztgpPvKvRUgvPPFvpPT4UcATT/Tea01JC7UkWcV8jVLluKA aC5710RvPhmsNIUdx6RcU003pjhvJnX6NvpadGz1z+hKrfwj1xyV7/EUtOF+TaT/UpRI n+oSmnNBGnL4JxUj5WOE/tvRqzWxND5prSX95r0toVURSVYxAzXgGG8oa3VnrZcX+xaA AzYQ==
- Arc-seal: i=1; a=rsa-sha256; t=1497434014; cv=none; d=google.com; s=arc-20160816; b=M5eGhpq5SmhFLbyYIH0QcOGyR5i1/WWKDbYee9uGK1BiCGHwYPd6979l2oyVG0DKc6 WlzUaATBuSrzSrJq3gV3hM8jd5uDZ7JPYMFUgEmD6qI0IWY8jq0ODG9G6sPZlqvnq8KX JtVzcC+t1IMmrEUHdazFZQdICJ3zM76ULtFtZvNRrMz3e4VhbjkPrRgiCs+kIER+6eKH ns0INmxeDzjMhhhSOk41fabzn7fgUGYGoPBYS8k1pUPxW3OxgzQYE5E4eh1LQCvKWUyQ GeiaSrU0nPsxmnnrzqBvNEYGrtUp981tsDOkxT7es7CIe6+dZRg2X/AGo9eJgDpa4zJ/ /fMw==
- Cc: "Ansley C. Manke" <ansley.b.manke@xxxxxxxx>, ferret users <ferret_users@xxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa-gov.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive; bh=8ABeOLy5h24OiLD2T67HiR4FiHeAYPnDMjlSMogcE40=; b=uTAvrNnnYEphkOkq0WGxHy68ImK74WxFbvBSJnHE3dy+4d6CbVbmCTtxdFdCQV0txU aD8KdLx0J50cqkecdDm9lIXLmIWYGJswtJXPO9bhF9FriL0TODSfu6LPxyXcSy5pv07O tdyvZCt104Dc6w63eHzMvJh/9UWadCUIC1C2viOawe9axbVYwQJhvaDid47tzwTjMNls JUk4s19mEj4cy38Se3dGFBY26oUXHo0Oka6qxK2fmhATJh7+GBVfow17bHrpH+hAAQAU 0DaKQPMZLlpHWiJqJeTtdgQcC4aJxoox/hFwpGuGLG3QsYEMCeQ0hAsdpKtFIrCm+Um3 qPSA==
- In-reply-to: <CAEwQpaLa6nAFkuDOWVj7VKLUZqWW6C4Rii7P_Nzwz3WYLkktwg@mail.gmail.com>
- List-archive: <https://groups.google.com/a/noaa.gov/group/ferret_users/>
- List-help: <https://support.google.com/a/noaa.gov/bin/topic.py?topic=25838>, <mailto:ferret_users+help@noaa.gov>
- List-id: <ferret_users.noaa.gov>
- List-post: <https://groups.google.com/a/noaa.gov/group/ferret_users/post>, <mailto:ferret_users@noaa.gov>
- Mailing-list: list ferret_users@xxxxxxxx; contact ferret_users+owners@xxxxxxxx
- Organization: University of Bergen
- References: <20170613190107.4754ff44@graviton.instanton> <b82b5d98-7478-c7f6-0a8a-466673c79dd8@noaa.gov> <CAEwQpaLa6nAFkuDOWVj7VKLUZqWW6C4Rii7P_Nzwz3WYLkktwg@mail.gmail.com>
- Sender: owner-ferret_users@xxxxxxxx
Hi Ryo,
On 14 Jun 11:51 Ryo Furue wrote:
> Hi Marco and Ansley,
>
> > 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.
> In the meanwhile, we can "trick" the system command to use "less" in
> place of "more".
>
> The following discussion can depend on what "system" command Ferret
> uses, what OS you use, what shell you use, etc. So, please regard it
> as a basic idea of which the implementation depend on various things.
>
> The idea is to give "less" the name "more". You can do it by a
> symbolic link or alias:
>
> 1) Use a symbolic link. For example,
>
> $ cd /usr/local/bin
> $ sudo ln -s /usr/bin/less more
>
> 2) Use an alias such as "alias more=less".
>
> [...]
Yes, that will work. I hoped for something more clean, though.
> I haven't figured out details, such as how to create a per-user (as
> opposed to system-wide) setting to achieve this. Should be doable,
> though.
Aliases (2) are usually set up per user.
For (1) one can put a symlink more that points to /usr/bin/less in
~/bin/, and add ~/bin to your PATH.
The problem is that your system gets less predictable: if you type
`more` you get `less` (no pun intended).
- Marco
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement