Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tmux first impression
Date: Fri, 04 Mar 2011 05:54:56
Message-Id: 4D707E4D.6070405@gmail.com
In Reply to: [gentoo-user] tmux first impression by Walter Dnes
1 Walter Dnes wrote:
2 > On Wed, Mar 02, 2011 at 06:48:47PM -0600, Dale wrote
3 >
4 >
5 >> I read that but still would love to here of someone else's experience.
6 >> From that link tho, it sounds . . . interesting.
7 >>
8 > I emerged tmux a couple of hours ago and have been playing around with
9 > it. It looks like fun. I have a 24" LCD monitor. I prefer console text
10 > mode for non-graphic stuff (e.g. email). Here's what I've done so
11 > far...
12 > 1) grep 1280 /var/log/Xorg.0.log
13 > This gives me a list of 1280xwhatever modes that my monitor supports.
14 > In my case, it's 1280x720 and 1280x960 and 1280x1024.
15 >
16 > 2) I entered the line
17 >
18 > CONSOLEFONT="lat1-14"
19 >
20 > in /etc/conf.d/consolefont
21 >
22 > 3) and also "video=1280x720" in the "append" line of /etc/lilo.conf
23 >
24 > 4) I entered the line
25 >
26 > set -g prefix C-a
27 >
28 > in ~/.tmux.conf because every site on the web that reviewed it said that
29 > was the way to go. Apparently, the developer uses {CONTROL-B} as the
30 > default hotkey to avoid colliding with {CONTROL-A} which screen uses.
31 > But everyone agrees that {CONTROL-B} is badly placed on the keyboard.
32 >
33 > 5) Then I rebooted
34 >
35 > The text console mode is now 1280 pixels x 720 pixels as per the
36 > "video=" parameter. The consolefont sets 8x14 (EGA) font. A bit of
37 > division gives...
38 > 1280 / 8 = 160
39 > 720 / 14 = 51 plus a bit.
40 > So I have a 160 x 51 text console. I fired up tmux, and split the
41 > screen vertically. I now have 2 panes. The first one is 80 x 50 and
42 > the second is 79 x 50. This is after allowing for the vertical dividing
43 > line (one column) and the status bar at the bottom. The 14-pixel high
44 > font is quite nice. And on a 24" monitor it's very readable. If you
45 > prefer, you could go with the 16-pixel high (VGA) font. That gives 720
46 > / 16 = 45 rows, or 44 working rows plus the status line. Both text
47 > pages are in "portrait mode", i.e. they're higher than they are wide.
48 > Sort of like 2 facing pages of a book. This could be useful for
49 > editing a program in one pane, and then compile and execute in another.
50 >
51 > If your eyesight is better than mine, you could try "video=1280x960"
52 > and 16-pixel high font, which will give a 160 x 60 text console.
53 >
54 > I like it. One of these days, when desktop monitors hit 30", I'll set
55 > the video to 1920x1080 and have 3 pages across.<G>
56 >
57 >
58
59 I installed it too. It seems a lot like screen to me and screen seems
60 to do what I need. I did hit ctrl a several times tho. lol I was
61 wondering what would happen if you started tmux then started a screen
62 session inside it.
63
64 My 22" LCD monitor is 1920x1080. Since my glasses are sort of old, I
65 would rather have a slightly smaller screen. I need new glasses for
66 sure. Anyway, I got everything set up for this size now.
67
68 I may play with tmux some more tho. I do like the little status thingy
69 at the bottom. I had that on screen on my old rig but forgot to copy it
70 over to my new rig.
71
72 Thanks for the post and the tips.
73
74 Dale
75
76 :-) :-)

Replies

Subject Author
Re: [gentoo-user] tmux first impression Joshua Murphy <poisonbl@×××××.com>
[gentoo-user] Re: tmux first impression nunojsilva@ist.utl.pt (Nuno J. Silva)