9front - general discussion about 9front
 help / color / mirror / Atom feed
From: stevie@kamalatta.ddnss.de
To: 9front@9front.org
Subject: Patch: ircrc - show current channel
Date: Fri, 10 Apr 2020 11:15:17 +0200	[thread overview]
Message-ID: <1CAB9DDC293DF6E6E859DF7A9A075519@kamalatta.ddnss.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 153 bytes --]

Hello,

added a command to ircrc to echo the current channel you're messaging to. Very useful if you don't use winwatch.
See the diff I appended.

stevie

[-- Attachment #2: ircrc.diff --]
[-- Type: text/plain, Size: 268 bytes --]

--- /rc/bin/ircrc	Sun Dec 22 12:06:04 2019
+++ /usr/stevie/ircrc.new	Fri Apr 10 11:02:59 2020
@@ -93,6 +93,8 @@
 				msg = (PART $cmd(1) : `{mshift $cmd})
 		case /q
 			msg =  `{mshift $cmd}
+		case /s
+			echo $target
 		case /t
 			target = `{mshift $cmd}
 			title

             reply	other threads:[~2020-04-10  9:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-10  9:15 stevie [this message]
2020-04-11 11:52 ` [9front] " Ethan Gardener

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=1CAB9DDC293DF6E6E859DF7A9A075519@kamalatta.ddnss.de \
    --to=stevie@kamalatta.ddnss.de \
    --cc=9front@9front.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).