Re: Tmux: echos to the status bar

2012-11-06 Thread Nicholas Marriott
If they are 1 character wide then you shouldn't need to change anything. Make sure UTF-8 is enabled properly and if it is then show me exactly and entirely what you are sending. On Tue, Nov 06, 2012 at 03:55:57PM -0800, ian m wrote: > I will look into the UTF table. I am not using UTF8, nor was

Re: Tmux: echos to the status bar

2012-11-06 Thread ian m
I will look into the UTF table. I am not using UTF8, nor was I planning on it. The characters were indeed something else before I modified the font, so I made them myself. In order to print the two character wide wifi bar, the script of course prints two seperate characters one after another fol

Re: pane divider characters

2012-11-06 Thread Mark Volkmann
Great! Are the pane divider characters configurable? On Tue, Nov 6, 2012 at 5:14 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > tmux will use UTF-8 characters if it can. > > On Tue, Nov 06, 2012 at 05:05:02PM -0600, Mark Volkmann wrote: > >Is there a way to customize the charac

Re: pane divider characters

2012-11-06 Thread Nicholas Marriott
tmux will use UTF-8 characters if it can. On Tue, Nov 06, 2012 at 05:05:02PM -0600, Mark Volkmann wrote: >Is there a way to customize the characters (hyphen and vertical bar) that >are used as pane dividers? >If so, we could use unicode characters that connect to make continuous >

Re: Feature request from omnitty, keyhole view of latest output

2012-11-06 Thread Nicholas Marriott
Yes all of these things could be useful. For the last, extending capture-pane to do more shouldn't be difficult. On Tue, Nov 06, 2012 at 08:43:24AM -0800, Felix Rosencrantz wrote: > And the crickets chirp... > > It's not even possible to fake this via scripts or commands, since > there is no pro

Re: pane divider characters

2012-11-06 Thread Thomas Adam
Hi, On 6 November 2012 23:05, Mark Volkmann wrote: > Is there a way to customize the characters (hyphen and vertical bar) that > are used as pane dividers? No, they're using the ACS characters which will use ASCII as a fallback in the case the terminal doesn't support ACS. -- Thomas Adam -

Re: Tmux: echos to the status bar

2012-11-06 Thread Nicholas Marriott
Where did you get these characters from? 0xc398 is UTF-8 'LATIN CAPITAL LETTER O WITH STROKE' http://www.fileformat.info/info/unicode/char/d8/index.htm 0xc399 is UTF-8 'LATIN CAPITAL LETTER U WITH GRAVE' http://www.fileformat.info/info/unicode/char/d9/index.htm Both of these are one character in

pane divider characters

2012-11-06 Thread Mark Volkmann
Is there a way to customize the characters (hyphen and vertical bar) that are used as pane dividers? If so, we could use unicode characters that connect to make continuous lines. -- R. Mark Volkmann Object Computing, Inc. ---

Re: Tmux: echos to the status bar

2012-11-06 Thread ian m
I am printing the characters for the icons via scripts in the status right. in the status left, the icons are static, and thus can simply be pasted into the string. that causes no glitch. The wifi icon is two characters, and the battery icon is three. resulting in 5 glitched characters at the en

Re: [PATCH 0/1] Hook support: proof-of-concept

2012-11-06 Thread shawn wilson
as i think was mentioned, a variable with session information would really make this most useful. my particular use case is: i'd like bell-action to send a desktop-notify message with the last x characters of the session that caused the bell. with this, i could get the notification, but can't tell

Re: Feature request from omnitty, keyhole view of latest output

2012-11-06 Thread Felix Rosencrantz
And the crickets chirp... It's not even possible to fake this via scripts or commands, since there is no programmatic access to the screen contents. Copy mode allow us to manually grab screen content into a buffer, however there is no command to grab some area of the screen or scrollback back buf

Re: [PATCH 0/1] Hook support: proof-of-concept

2012-11-06 Thread Thomas Adam
Hi, On Tue, Nov 06, 2012 at 12:48:54PM +, Nicholas Marriott wrote: > On Sun, Nov 04, 2012 at 01:22:50AM +, Thomas Adam wrote: > > * The hook-name matters; at the moment the implementation assumes > > cmd->entry->name and NOT cmd->entry->alias -- should both be checked? > > That might m

Re: Python Scripting

2012-11-06 Thread Nicholas Marriott
On Sat, Nov 03, 2012 at 11:14:32AM +, Philip Herron wrote: > Hey > > Yeah i didn't think it would be included in tmux proper since i end up > reworking the cmd_table a lot and get rid of the const in it all and > allocate it memory so i can change it at runtime etc. Probably not > really in th

Re: [PATCH 0/1] Hook support: proof-of-concept

2012-11-06 Thread Nicholas Marriott
On Sun, Nov 04, 2012 at 01:22:50AM +, Thomas Adam wrote: > Hi, > > I'm attaching one patch for now -- an idea for how hook support in tmux > might work. There's no documentation yet as I envisage things still in a > state of flux. > > All commands that tmux recognise have the ability to have

Re: [PATCH 1/1] Hook support: Proof-of-concept

2012-11-06 Thread Nicholas Marriott
This looks fine apart from some style nits but let me play with it a bit later this week. On Sun, Nov 04, 2012 at 01:22:51AM +, Thomas Adam wrote: > Suggested patch on how to implement before/after hook support. > --- > Makefile.am | 3 ++ > cmd-set-hook.c | 90

Re: Tmux: echos to the status bar

2012-11-06 Thread Nicholas Marriott
In-Reply-To: <1352169473.5476.yahoomail...@web142502.mail.bf1.yahoo.com> Tell us what you are printing. What do you see when you send the output of your script through "cat -v" from the shell? On Mon, Nov 05, 2012 at 06:37:53PM -0800, ian m wrote: >Yes you are correct. the 2nd colon and the