From: xelxebar <xelxebar@users.noreply.github.com> To: ml@inbox.vuxu.org Subject: Re: [ISSUE] [CLOSED] mless: Making use of the switch in the "main loop" Date: Wed, 20 May 2020 03:01:02 +0200 [thread overview] Message-ID: <20200520010102.-iPAh9VtHkI_5Q37pImH-JIOVkJaRzJwBuNs5DkXo_0@z> (raw) In-Reply-To: <gh-mailinglist-notifications-fa6558a0-26e0-48f6-803f-f5a8af34f6a8-mblaze-171@inbox.vuxu.org> [-- Attachment #1: Type: text/plain, Size: 597 bytes --] Closed issue by xelxebar on mblaze repository https://github.com/leahneukirchen/mblaze/issues/171 Description: Browsing `mless`'s source, I notice a "main loop" with an inner `case` statement. It looks to be switching on the exit code of `less`, supposedly letting one do convenient things like mark messages read, toggle raw/html modes, *etc.* from within mless. The exit codes acting as ascii codes is nifty. This behaviour is completely undocumented in `mless(1)` and, reading through `less(1)` I can find no way to produce the necessary exit codes. Am I simply missing something obvious?
prev parent reply other threads:[~2020-05-20 1:01 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-02-06 9:47 [ISSUE] " mblaze-github 2020-02-06 9:51 ` mblaze-github 2020-02-06 10:23 ` mblaze-github 2020-02-06 10:47 ` mblaze-github 2020-02-06 10:53 ` mblaze-github 2020-02-06 10:57 ` mblaze-github 2020-05-20 1:01 ` xelxebar [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200520010102.-iPAh9VtHkI_5Q37pImH-JIOVkJaRzJwBuNs5DkXo_0@z \ --to=xelxebar@users.noreply.github.com \ --cc=ml@inbox.vuxu.org \ --subject='Re: [ISSUE] [CLOSED] mless: Making use of the switch in the "main loop"' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).