1 |
On Wed, Mar 02, 2011 at 06:48:47PM -0600, Dale wrote |
2 |
|
3 |
> I read that but still would love to here of someone else's experience. |
4 |
> From that link tho, it sounds . . . interesting. |
5 |
|
6 |
I emerged tmux a couple of hours ago and have been playing around with |
7 |
it. It looks like fun. I have a 24" LCD monitor. I prefer console text |
8 |
mode for non-graphic stuff (e.g. email). Here's what I've done so |
9 |
far... |
10 |
1) grep 1280 /var/log/Xorg.0.log |
11 |
This gives me a list of 1280xwhatever modes that my monitor supports. |
12 |
In my case, it's 1280x720 and 1280x960 and 1280x1024. |
13 |
|
14 |
2) I entered the line |
15 |
|
16 |
CONSOLEFONT="lat1-14" |
17 |
|
18 |
in /etc/conf.d/consolefont |
19 |
|
20 |
3) and also "video=1280x720" in the "append" line of /etc/lilo.conf |
21 |
|
22 |
4) I entered the line |
23 |
|
24 |
set -g prefix C-a |
25 |
|
26 |
in ~/.tmux.conf because every site on the web that reviewed it said that |
27 |
was the way to go. Apparently, the developer uses {CONTROL-B} as the |
28 |
default hotkey to avoid colliding with {CONTROL-A} which screen uses. |
29 |
But everyone agrees that {CONTROL-B} is badly placed on the keyboard. |
30 |
|
31 |
5) Then I rebooted |
32 |
|
33 |
The text console mode is now 1280 pixels x 720 pixels as per the |
34 |
"video=" parameter. The consolefont sets 8x14 (EGA) font. A bit of |
35 |
division gives... |
36 |
1280 / 8 = 160 |
37 |
720 / 14 = 51 plus a bit. |
38 |
So I have a 160 x 51 text console. I fired up tmux, and split the |
39 |
screen vertically. I now have 2 panes. The first one is 80 x 50 and |
40 |
the second is 79 x 50. This is after allowing for the vertical dividing |
41 |
line (one column) and the status bar at the bottom. The 14-pixel high |
42 |
font is quite nice. And on a 24" monitor it's very readable. If you |
43 |
prefer, you could go with the 16-pixel high (VGA) font. That gives 720 |
44 |
/ 16 = 45 rows, or 44 working rows plus the status line. Both text |
45 |
pages are in "portrait mode", i.e. they're higher than they are wide. |
46 |
Sort of like 2 facing pages of a book. This could be useful for |
47 |
editing a program in one pane, and then compile and execute in another. |
48 |
|
49 |
If your eyesight is better than mine, you could try "video=1280x960" |
50 |
and 16-pixel high font, which will give a 160 x 60 text console. |
51 |
|
52 |
I like it. One of these days, when desktop monitors hit 30", I'll set |
53 |
the video to 1920x1080 and have 3 pages across. <G> |
54 |
|
55 |
-- |
56 |
Walter Dnes <waltdnes@××××××××.org> |