From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] tmux first impression
Date: Fri, 4 Mar 2011 00:15:05 -0500 [thread overview]
Message-ID: <20110304051505.GA4215@waltdnes.org> (raw)
In-Reply-To: <4D6EE56F.8010500@gmail.com>
On Wed, Mar 02, 2011 at 06:48:47PM -0600, Dale wrote
> I read that but still would love to here of someone else's experience.
> From that link tho, it sounds . . . interesting.
I emerged tmux a couple of hours ago and have been playing around with
it. It looks like fun. I have a 24" LCD monitor. I prefer console text
mode for non-graphic stuff (e.g. email). Here's what I've done so
far...
1) grep 1280 /var/log/Xorg.0.log
This gives me a list of 1280xwhatever modes that my monitor supports.
In my case, it's 1280x720 and 1280x960 and 1280x1024.
2) I entered the line
CONSOLEFONT="lat1-14"
in /etc/conf.d/consolefont
3) and also "video=1280x720" in the "append" line of /etc/lilo.conf
4) I entered the line
set -g prefix C-a
in ~/.tmux.conf because every site on the web that reviewed it said that
was the way to go. Apparently, the developer uses {CONTROL-B} as the
default hotkey to avoid colliding with {CONTROL-A} which screen uses.
But everyone agrees that {CONTROL-B} is badly placed on the keyboard.
5) Then I rebooted
The text console mode is now 1280 pixels x 720 pixels as per the
"video=" parameter. The consolefont sets 8x14 (EGA) font. A bit of
division gives...
1280 / 8 = 160
720 / 14 = 51 plus a bit.
So I have a 160 x 51 text console. I fired up tmux, and split the
screen vertically. I now have 2 panes. The first one is 80 x 50 and
the second is 79 x 50. This is after allowing for the vertical dividing
line (one column) and the status bar at the bottom. The 14-pixel high
font is quite nice. And on a 24" monitor it's very readable. If you
prefer, you could go with the 16-pixel high (VGA) font. That gives 720
/ 16 = 45 rows, or 44 working rows plus the status line. Both text
pages are in "portrait mode", i.e. they're higher than they are wide.
Sort of like 2 facing pages of a book. This could be useful for
editing a program in one pane, and then compile and execute in another.
If your eyesight is better than mine, you could try "video=1280x960"
and 16-pixel high font, which will give a 160 x 60 text console.
I like it. One of these days, when desktop monitors hit 30", I'll set
the video to 1920x1080 and have 3 pages across. <G>
--
Walter Dnes <waltdnes@waltdnes.org>
next prev parent reply other threads:[~2011-03-04 5:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-01 18:56 [gentoo-user] How can I move running proces to background & out of screen? Jarry
2011-03-01 19:06 ` Edward Martinez
2011-03-01 19:07 ` Helmut Jarausch
2011-03-01 19:12 ` Michael Orlitzky
2011-03-01 21:07 ` Neil Bothwick
2011-03-01 21:19 ` Michael Orlitzky
2011-03-02 6:21 ` Stroller
2011-03-02 20:44 ` Volker Armin Hemmann
2011-03-02 20:54 ` Alex Schuster
2011-03-01 19:22 ` [gentoo-user] " Nikos Chantziaras
2011-03-01 20:21 ` [gentoo-user] " Alex Schuster
2011-03-02 19:02 ` Daniel Heemann
2011-03-02 19:55 ` Alex Schuster
2011-03-02 22:50 ` Dale
2011-03-02 23:01 ` Alex Schuster
2011-03-03 0:48 ` Dale
2011-03-04 5:15 ` Walter Dnes [this message]
2011-03-04 5:53 ` [gentoo-user] tmux first impression Dale
2011-03-04 19:37 ` Joshua Murphy
2011-03-06 11:37 ` [gentoo-user] " Nuno J. Silva
2011-03-06 11:58 ` Dale
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=20110304051505.GA4215@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.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