1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA512 |
3 |
|
4 |
On 06/07/2014 06:33 AM, Mick wrote: |
5 |
> On Tuesday 03 Jun 2014 15:16:56 Stroller wrote: |
6 |
>> On Tue, 3 June 2014, at 6:59 am, Mick <michaelkintzios@×××××.com> |
7 |
>> wrote: |
8 |
>>>> … I have: |
9 |
>>>> |
10 |
>>>> … status-left "#[fg=blue]#T" … status-right "#[fg=blue][#S]" |
11 |
>>>> … |
12 |
>>> |
13 |
>>> Thanks Stroller, |
14 |
>>> |
15 |
>>> On the left status bar I see this: |
16 |
>>> |
17 |
>>> [0] 0:bash* |
18 |
>>> |
19 |
>>> with one window open. As I create more windows it adds to it |
20 |
>>> like so: |
21 |
>>> |
22 |
>>> [0] 0:bash 1:bash- 2:bash* |
23 |
>>> |
24 |
>>> |
25 |
>>> The right hand side shows the prompt, or command being run, but |
26 |
>>> not all of it if it is too long. |
27 |
>>> |
28 |
>>> … status-left "[#S]" … status-right ""#22T" %H:%M %d-%b-%y" |
29 |
>> |
30 |
>> It looks to me like I've merely swapped left and right panes |
31 |
>> because, presumably, I thought it looked better that way. |
32 |
>> |
33 |
>> And I've removed the clock - that's one way you could reclaim |
34 |
>> some screen space. |
35 |
> |
36 |
> Right, on my default setup the clock is on the right, the number of |
37 |
> windows on the left and the title in the middle. |
38 |
> |
39 |
> As is the title shows: |
40 |
> |
41 |
> "root@compaq:/usr/src/l" |
42 |
> |
43 |
> instead of "root@compaq:/usr/src/linux". This is what I mean of it |
44 |
> being cut short. |
45 |
> |
46 |
> |
47 |
> [snip ...] |
48 |
>> As I say, I don't seem to be firing on all cylinders right now, |
49 |
>> but it doesn't look to me like the "commands being run" are shown |
50 |
>> where you say they are, not on the far right, at least. |
51 |
>> |
52 |
>> I think they're shown in the *middle* section of the status bar. |
53 |
> |
54 |
> Yes, they are shown in the middle, but on a 82x25 pixel terminal |
55 |
> the title is displayed about 2/3 towards the right of the status |
56 |
> bar, right against the clock. See attached screenshot. |
57 |
> |
58 |
> Running tmux set -g status-right "#32T" removed the clock and |
59 |
> increased the real estate for the title bar. |
60 |
> |
61 |
> Thanks again Stroller. |
62 |
> |
63 |
|
64 |
The "#22T" means (I think) to show the *first 22 characters* of the |
65 |
title, cutting it off if it is too long. You may just want to |
66 |
increase that number to something that matches the room you have |
67 |
available. |
68 |
-----BEGIN PGP SIGNATURE----- |
69 |
Version: GnuPG v2.0.22 (GNU/Linux) |
70 |
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ |
71 |
|
72 |
iQIcBAEBCgAGBQJTlyfpAAoJELHSF2kinlg49csP/1XsKO/l2RGUfMd7/VlKV7Iq |
73 |
z6FdY/9qMepDvk4fZgkGB4wvsA45H8i2Dgj6Ua8PwsMW0NOo11McHGkBTwWzlZln |
74 |
bJKGX4+on+vu24omf7amTpRddiDNXIfyE1jn0E0kgcpLGOqAGf8yf3YLWLCHe2Ao |
75 |
MVariiSq3d3+QtUzf9NSXtCVZTsBmZAS63aYa9IRNikNfjVgiMIBUuhyrMZzaRCQ |
76 |
/cwEH2xhiZLcuiSkJ7299r9OoFipSYg2gzgjz5EBpimxpxnWPPazlr2qQH10kGXX |
77 |
VL4B3YX3RFpFzRJ1lyvBEyninCx9+aJcyx+WlkF3g8NpymwvRRJrlYMpwqQkEuhD |
78 |
2ckNQLQBGdvv/XRpGPZqMedsW3Zk6tFWp8r4OrSrRRI+jBZhqqV8/edEQAqW8Zw2 |
79 |
S+qjO8jviWrahEXjcbMSuVVrsy0Dr9muYIwY1wLRR3fgpQwFA4VztwCTPTft2/40 |
80 |
rh0A3PoVdHO/6Z8eI08pQsno+DrxCuDNQAq6CtULGMLmiur9U5iT9xReNQgnz6YV |
81 |
QGvmSw141fp6kzvi1zPpby/O88d2XJR44ovTcbJBOH3JtRGb8aOLBJeenQDwk3Wu |
82 |
O6DhgvqdW8/K8yChvZWbWEECJ9GItINungrXEKa+HQbrqxi2AB7ccxJfJTqinwUd |
83 |
oqGlxGJod38/7IhGX2MX |
84 |
=RisW |
85 |
-----END PGP SIGNATURE----- |