Re: disable exit
- To: mutt-users <mutt-users@xxxxxxxx>
- Subject: Re: disable exit
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Wed, 6 Jun 2007 07:26:33 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=0.5; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; q=dns/txt; s=default; bh=cQV1h7vZhZgkmwcXSEWctaDDXBc=; b=M3HOehj+Ii8M0XNIa1afH3T1O+Oo3MgwYmpajBoGV1m5uFgCPMqURXRXWTruJbmaYHwBkR0734pBKoM/sAiEiyrjS1vX6YhIG5P/2VTlRRklwc8b+GvB/HOT1Prh4Ksz56Noq9hgR0GrFo58z4DQMcWhltl9jC1879KFucBmI9U=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=Bm9WzpmvJnHD2/65qpZK4RYUHtGzD57yAxunkYrBP7fWc6/bp3sF4lILUVo6hswLTN9FdQoWE57cE5Cs5sqtgesudsxXldejkitGfkeocIvYgIASy5w5Y/EWI0TxOzwZZgGz7Drx6f0mF+Kcq7qrEB2mXRcmHSsCpTNqq5bu2RU=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20070606070131.GH19319@xxxxxxxxxxxx>
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Mail-followup-to: mutt-users <mutt-users@xxxxxxxx>
- References: <20070606070131.GH19319@xxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.15 (2007-05-20)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, June 6 at 09:01 AM, quoth Eric Smith:
>How do I disable exit in mutt? So no matter what macros or
>keypresses, mutt does not exit.
Well... that's going to be tough. Particularly since various
control-key combinations cause the terminal itself to issue signals to
the running application (e.g. the un-catchable SIGKILL).
You'd have to patch mutt to tell it to completely ignore SIGTERM
(control-C), but other termination signals are going to be tough to
beat. Presuming you can abuse your terminal into not sending those
signals, it's relatively easy to unbind all the exit commands: just
find them, and rebind those keys to something else.
Of course, you'd also have to get rid of mutt's ability to accept user
config commands (such as the default : key), because you can make mutt
exit that way too.
I'm thinking you'd really have to patch mutt to thoroughly get rid of
any possible mechanism for exiting.
~Kyle
- --
When we blindly adopt any religion, political system, or literary
dogma, we become automatons. We cease to grow.
-- Anais Nin
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFGZrYJBkIOoMqOI14RAqMvAJ9wg3QhXH9Hc/ceYtgWPeTb245zBwCgzHXz
fqdgGgY+4YtD3D/Eh3dZSvM=
=hi/z
-----END PGP SIGNATURE-----