On Monday 02 Jun 2014 15:17:10 Stroller wrote: > On Sat, 31 May 2014, at 4:22 pm, Mick <[email protected]> wrote: > > I am using tmux and find it convenient especially for managing remote > > sessions, but I have noticed that the commands running in a session shown > > at the bottom right hand side, within the status line, are too short. > > Can I extend the number of characters to be able to see more of the > > command being run at any time? > > I only see a *maximum* length option in the manpage - presumably because > tmux allocates as much space as possible to the left and right statuses, > but space must be consumed by the window titles in the middle. > > Is it possible you can give the right hand side more room by reducing the > maximum of the left? > > I'm interested to know what you're displaying on the right - it's been so > long since I set up tmux, I can't remember what the defaults are. Could > you possibly post the output of `tmux show -g status-right`, please? > > I have: > > $ tmux show -g | grep -E 'status-[lr]' > status-left "#[fg=blue]#T" > status-left-attr none > status-left-bg default > status-left-fg default > status-left-length 20 > status-right "#[fg=blue][#S]" > status-right-attr none > status-right-bg default > status-right-fg default > status-right-length 40 > $ > Thanks Stroller,
On the left status bar I see this: [0] 0:bash* with one window open. As I create more windows it adds to it like so: [0] 0:bash 1:bash- 2:bash* The right hand side shows the prompt, or command being run, but not all of it if it is too long. This is the output you requested: $ tmux show -g status-right status-right ""#22T" %H:%M %d-%b-%y" and this are the equivalent settings to yours: $ tmux show -g | grep -E 'status-[lr]' status-left "[#S]" status-left-attr none status-left-bg default status-left-fg default status-left-length 10 status-right ""#22T" %H:%M %d-%b-%y" status-right-attr none status-right-bg default status-right-fg default status-right-length 40 I don't have a ~/.tmux.conf yet. -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

