Re: terminals and mutt
- To: mutt-users@xxxxxxxx
- Subject: Re: terminals and mutt
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Wed, 13 Aug 2008 09:46:48 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=gT0zAA73rF21XAQpXhUAxNUwbcA=; b=Ow0j bFiDX8t7Ob17lYn7IAs4mAz+OmoA6ASYmOCVUy2IaRPc2y+pCw8MmUEefVP3I3X4 RabkZ0/hM/CzId/wX8Gt70FfdJaOjcEdqpbgK6LDsdq5AbubaZGP+GXWM4R/7/5O ERTAvUZ1TwvW5dSpFanwtxG05yx3DwbDkkXPnEo=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=Exq4mWteA9EHIJMTt8UvUV9V+XgxJYAhIy9NvRCSTx6VGbezhks7zO+hkRW7HKbsGKgZ4RzkmnGrw+9BJxiIaqdZLYFJEPIQYLAtGcvFx8f3QHTSJ4z/4N+BkKM0yfilcOBDQyMReaVNuoos97gPiRI6ZMpFP9E37ZQKPZEHzMg=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080812235613.GA6466@joanet>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080812235613.GA6466@joanet>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-07-21)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, August 13 at 01:56 AM, quoth mimosinnet@xxxxxxxxx:
> I am not sure if this make sense: there are terminal options more
> suitable for mutt and other for general purpose. I am wondering which
> terminal options are more suitable to work with mutt.
Honestly, I'd never considered them to be separate.
> For example, in my case I am moving to urxvt. I would say that, for
> exemple, I do not need:
> * simulated reverse video
> * scrolling
> * transparent window background
> * many perl extensions except tabbed terminals
With the exception of scrolling, I don't consider any of those
necessary for "general purpose" either (and I spend 90% of my day
working with my terminal).
> I am wondering if anybody is using different settings.
I use uxterm (or, on OSX 10.5.x, Apple's Terminal.app), and I put all
my settings into my .Xdefaults file:
xterm*scrollTtyOut: false
xterm*scrollTtyOutput: false
xterm*scrollKey: true
xterm*foreground: lightgrey
xterm*background: black
xterm*colorBD: white
xterm*saveLines: 5000
xterm*visualBell: true
xterm*color0: #000000
xterm*color4: #1e90ff
xterm*color8: #7f7f7f
xterm*color11: #ffff00
xterm*loginShell: false
xterm*jumpScroll: true
xterm*scrollBar: true
xterm*rightScrollBar: true
xterm*termName: xterm-16color
xterm*dynamicColors: on
xterm*colorMode: on
xterm*backarrowKey: false
xterm*ttyModes: erase ^?
> Also, I start urxvt from a script with the above options, but it
> would be more elegant to start mutt directly from the working
> terminal instead of opening a new one, specially if I want to use
> different instances of mutt in each tab window.
I don't think it's more elegant; I think it's a pain. I like the fact
that I can put mutt in the background (^Z) to quickly check something
and then come back (fg) without moving to another terminal. Plus, for
me, mutt dies whenever my internet connection dies (some weird
interaction with the ssl library, I think), and getting a new terminal
every time would be annoying.
> Finally, I am wondering how to deal with keyboard conflicts between
> terminals and mutt. For example, I have found that C-s (a macro for
> spam in my mutt) conflicts with some keybindings in urxvt (not in
> konsole). Therefore, some mutt configuration working in a terminal
> may not work in another terminal. Is there any way of disabling
> terminal key bindings when starting mutt?
C-s (or ^S) is the typical "STOP" character in most X11 terminals; you
can (if you must) call `stty stop somethingelse` to change it to
something else (I haven't tested whether that works; it may not). But
generally, there are a few standard key combinations that are used by
the terminal that have a special meaning---for example, ctrl-Z,
ctrl-C, ctrl-\, and so forth. There are very good reasons for wanting
these things to work INDEPENDENT of mutt. You can rebind them
elsewhere (using stty), but... getting rid of them is probably a bad
idea. And stty may not work quite the same on terminals like Konsole,
so using stty is not perfect. You're probably kinda stuck there.
~Kyle
- --
Well, I've wrestled with reality for over thirty five years, doctor,
and I'm happy to state I finally won out over it.
-- Jimmy Stewart, in "Harvey"
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkii89gACgkQBkIOoMqOI17hrgCgpLGbH+/SyvFikTkLul0bM5MH
qSAAn12MxinIZS1xPF8A/cqTMYkyliIr
=o01/
-----END PGP SIGNATURE-----