首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何(仅)在外部命令(Neo)中查看消息,而不是消息源

问如何(仅)在外部命令(Neo)中查看消息,而不是消息源
EN

Unix & Linux用户
提问于 2018-06-30 07:30:46
回答 1查看 738关注 0票数 3

我想在外部命令中查看一些邮件,如less或vim,但当我执行以下操作时

macro index <f6> "|less -\n" "view with less"

然后整个邮件源将显示在外部命令中,这是(至少对我来说)太多了。我能不能只将内容(Neo)显示给外部命令?

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2018-07-01 10:18:36

通过设置pipe_decode选项,Mutt将在必要时对消息进行解码,并清除标题,以便只有您通常在寻呼机中看到的标题才会被管道传输到您使用的任何命令。

我的系统上的Mutt手册:

代码语言:javascript
复制
3.208. pipe_decode

   Type: boolean
   Default: no

   Used in connection with the <pipe-message> command. When unset, Mutt
   will pipe the messages without any preprocessing. When set, Mutt will
   weed headers and will attempt to decode the messages first.

(也可在这里获得:http://www.mutt.org/doc/manual/#pipe-decode)

票数 2
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/452764

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档