New User of tmux

2013-04-28 Thread Sharon Kimble
I have only started using tmux today for the first time and am enjoying
learning about it and getting it working as I want. But its leaving me
with several puzzles. First of all, my 'tmux.conf' is at
http://dpaste.com/hold/1076967/ and as can be seen its a bit messy but
it in the main works. 

1 - Why, when I start up, does it not have 'ncmpcpp' showing in the
first window please?
2 - Why cant I split the window into vertical or horizontal panes
please?
3 - Why cant I rename the windows in the status bar please? I enter the
right keypresses and get the prompt, but whatever I put in there does
not stick!

Hopefully somebody will help me out and progress my knowledge. But I'm
enjoying using it :)

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 7.0, LXDE 4+nmu1, LibreOffice 4.0.2.2, 
Claws-Mail 3.9.0-182-g852877
Registered Linux user 334501 

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


'curses not found'

2013-07-10 Thread Sharon Kimble
I'm trying to compile the latest tmux from the git repo and its failing
on ./configure && make with 'curses not found'. What programme is it
looking for please as i cant find a programme called 'curses' in the
debian repos?

Thanks
Sharon
-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 7, Fluxbox 1.3.5, LibreOffice 4.0.3.3
Registered Linux user 334501 

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: 'curses not found'

2013-07-11 Thread Sharon Kimble
On Thu, 11 Jul 2013 00:14:04 +0100
Thomas Adam  wrote:

> On 10 July 2013 23:39, Sharon Kimble  wrote:
> > I'm trying to compile the latest tmux from the git repo and its
> > failing on ./configure && make with 'curses not found'. What
> > programme is it looking for please as i cant find a programme
> > called 'curses' in the debian repos?
> 
> In Debian, that's called 'libncurses5-dev'.
> 
> -- Thomas Adam

Thanks, that’s sorted it out so it now compiles and runs.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 7, Fluxbox 1.3.5, LibreOffice 4.0.3.3
Registered Linux user 334501 

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Uptime?

2013-07-15 Thread Sharon Kimble
I've been trying this for several days now and I just cant get it to
work, how do you get your machines uptime in the status bar please?

I've tried - #set -g status-left '#[fg=green]#H #[fg=black]•
#[fg=green,bright]###(uptime|awk '{split(substr($0, index($0, "load")),
a, ":"); print a[2]})'#[default]'

and 

set -g status-right '#[fg=red,bg=default]#(uptime) #[fg=blue]%a
%d-%m-%Y %H:%M:%S'

What I'm looking for is just a straight uptime of days:hours:minutes,
which will be updated every 30 seconds with the normal statusbar update.

Can anyone help me out please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.0.3.3
Registered Linux user 334501 


signature.asc
Description: PGP signature
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


What version?

2013-08-10 Thread Sharon Kimble
How can I find out what version of tmux I'm running please from within
tmux? I've just used 'myrepo' to clone the git repo and built it from
source, but whatever I've tried I cant find out the version number. I
know I'm running a new version as the man file is dated 10 August.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.0.4
Registered Linux user 334501 


signature.asc
Description: PGP signature
--
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


tmux version?

2013-08-28 Thread Sharon Kimble
I have just built tmux from a downloaded git repository and got the
version number from 'git describe' which gave the version as
'1.8-114-g06d1016', which then built 'tmux_1.8-114-gd71cb73-1_i386.deb'
with no problem.

But 'tmux -V' gives 'tmux 1.9', although 'apt-cache policy' gives - 
tmux:
  Installed: 1.8-114-gd71cb73-1
  Candidate: 1.8-114-gd71cb73-1
  Version table:
 *** 1.8-114-gd71cb73-1 0
100 /var/lib/dpkg/status
 1.8-4 0
500 http://mirror.bytemark.co.uk/debian/ testing/main i386
Packages 500 http://http.debian.net/debian/ jessie/main i386 Packages

There appears to be some discrepancy between the version number, and
the just built .deb. So which is correct please?

The .deb was built with 'checkinstall' as I haven’t found out how to use
debbuilder yet, sorry! :)

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.0.4
Registered Linux user 334501 


signature.asc
Description: PGP signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Mon, 23 Sep 2013 13:13:59 -0500
Mark Volkmann  wrote:

> On Mon, Sep 23, 2013 at 1:00 PM, Sharon Kimble
> wrote:
> 
> > I have the urgent need to copy a tmux pane to either the normal
> > clipboard or a text file. I have used these instructions to copy the
> > text output in tmux -
> >
> > Cut & Paste -
> > 1) enter copy mode using Control+a [
> > 2) navigate to beginning of text, you want to select and hit
> > Control+Space
> >
> 
> I thought this was just Space.

Well that highlights it all
> 
> 
> > 3) move around using arrow keys to select region
> > 4) when you reach end of region simply hit Alt+w to copy the region
> >
> 
> I thought this was just Enter.

That turned off the highlighting, but its still not showing in my
clipboard, with the 'clipit' programme. 
> 
> 
> > 5) now Control+a ] will paste the selection
> 
Nothing seems to happen with 'CTRL+a+]' so I don’t know where its gone!

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 334501 


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Mon, 23 Sep 2013 19:25:15 +0100
Nicholas Marriott  wrote:

> Do "tmux saveb -" to send it to stdout, or just paste it into emacs or
> something with C-b ].

Thanks for this, I'm now got to the stage of highlighting it, then
press ENTER and 'tmux saveb -' and it pastes itself into the same pane!
It doesn't get as far as the clipboard, which is still showing 'Do
"tmux saveb -" to send it to stdout, or just paste it into emacs or
something with C-b ].' and that’s pasted into emacs too!

Just for clarity in case its relevant I'm using 'tmux version 1.9'
which is up-to-date with the git repo. 

Thanks
Sharon.
> 
> 
> On Mon, Sep 23, 2013 at 07:00:38PM +0100, Sharon Kimble wrote:
> > I have the urgent need to copy a tmux pane to either the normal
> > clipboard or a text file. I have used these instructions to copy the
> > text output in tmux - 
> > 
> > Cut & Paste - 
> > 1) enter copy mode using Control+a [ 
> > 2) navigate to beginning of text, you want to select and hit
> > Control+Space 
> > 3) move around using arrow keys to select region
> > 4) when you reach end of region simply hit Alt+w to copy the region
> > 5) now Control+a ] will paste the selection
> > 
> > And its copied somewhere but I cant see it or find it. 'xclip' is
> > running to help in the process. Whilst I was following the
> > instructions the text was not highlighted, I don???t know if it
> > should have been? 
> > 
> > Can somebody please help me save this pane output so that I can
> > post a bug against the new kernel for Debian testing. 
> > 
> > Thanks
> > Sharon.
> 
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
I have the urgent need to copy a tmux pane to either the normal
clipboard or a text file. I have used these instructions to copy the
text output in tmux - 

Cut & Paste - 
1) enter copy mode using Control+a [ 
2) navigate to beginning of text, you want to select and hit
Control+Space 
3) move around using arrow keys to select region
4) when you reach end of region simply hit Alt+w to copy the region
5) now Control+a ] will paste the selection

And its copied somewhere but I cant see it or find it. 'xclip' is
running to help in the process. Whilst I was following the
instructions the text was not highlighted, I don’t know if it should
have been? 

Can somebody please help me save this pane output so that I can post a
bug against the new kernel for Debian testing. 

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 334501 


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Mon, 23 Sep 2013 20:54:43 +0100
Nicholas Marriott  wrote:

> Pipe it to xclip or xsel or something.

How? I thought it just went to xclip automatically, which then
transferred it to the normal clipboard?

Sharon. 
> 
>  Original message 
> From: Sharon Kimble  
> Date: 23/09/2013  20:07  (GMT+00:00) 
> To: Nicholas Marriott  
> Cc: tmux-users@lists.sourceforge.net 
> Subject: Re: Copying from tmux to clipboard or text file needed
> urgently. 
> On Mon, 23 Sep 2013 19:25:15 +0100
> Nicholas Marriott  wrote:
> 
> > Do "tmux saveb -" to send it to stdout, or just paste it into emacs
> > or something with C-b ].
> 
> Thanks for this, I'm now got to the stage of highlighting it, then
> press ENTER and 'tmux saveb -' and it pastes itself into the same
> pane! It doesn't get as far as the clipboard, which is still showing
> 'Do "tmux saveb -" to send it to stdout, or just paste it into emacs
> or something with C-b ].' and that’s pasted into emacs too!
> 
> Just for clarity in case its relevant I'm using 'tmux version 1.9'
> which is up-to-date with the git repo. 
> 
> Thanks
> Sharon.
> > 
> > 
> > On Mon, Sep 23, 2013 at 07:00:38PM +0100, Sharon Kimble wrote:
> > > I have the urgent need to copy a tmux pane to either the normal
> > > clipboard or a text file. I have used these instructions to copy
> > > the text output in tmux - 
> > > 
> > > Cut & Paste - 
> > > 1) enter copy mode using Control+a [ 
> > > 2) navigate to beginning of text, you want to select and hit
> > > Control+Space 
> > > 3) move around using arrow keys to select region
> > > 4) when you reach end of region simply hit Alt+w to copy the
> > > region 5) now Control+a ] will paste the selection
> > > 
> > > And its copied somewhere but I cant see it or find it. 'xclip' is
> > > running to help in the process. Whilst I was following the
> > > instructions the text was not highlighted, I don???t know if it
> > > should have been? 
> > > 
> > > Can somebody please help me save this pane output so that I can
> > > post a bug against the new kernel for Debian testing. 
> > > 
> > > Thanks
> > > Sharon.
> > 



-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


How to copy the whole buffer?

2013-09-23 Thread Sharon Kimble
Okay, I'm attacking the problem from another direction - how can i copy
*all* of the buffer to a text file please. I've used 'tmux capture-pane
-t keep \; save-buffer -b 0 ~/tmuxtest.txt' which worked slightly in
that it only copied over the visible part of the buffer/pane but I'm
after everything!

Can it be done please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: How to copy the whole buffer?

2013-09-23 Thread Sharon Kimble
On Mon, 23 Sep 2013 23:52:06 +0100
Thomas Adam  wrote:

> On Mon, Sep 23, 2013 at 11:46:04PM +0100, Sharon Kimble wrote:
> > Okay, I'm attacking the problem from another direction - how can i
> > copy *all* of the buffer to a text file please. I've used 'tmux
> > capture-pane -t keep \; save-buffer -b 0 ~/tmuxtest.txt' which
> > worked slightly in that it only copied over the visible part of the
> > buffer/pane but I'm after everything!
> 
> I feel like we're going round in circles here, from what I've read in
> the other thread.
> 
> Which version of tmux is this on?  Git (1.9)?  If so, I think when
> you say "whole buffer" here, you're probably wanting to capture the
> entire pane (see capture-pane, with the -S and -E options).

Yes, git 1.9 up-to-date. 

So I've used this 'tmux capture-pane -E 3319 -S 1 -t keep \;
save-buffer -b 0 ~/tmuxtest2.txt' and 'tmuxtest2.txt' is created
but still only shows just the visible part of the pane, so what am I
failing on atm please?
> 
> Getting the contents of that in to the clipboard, if that's even what
> you want now (given that again, capturep can output the result to
> STDOUT), is down to tools like xclip, etc., but if the content is in
> a file, what difference would it make?

I'd be happy if it just created a whole buffer/pane text-file. 

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Tue, 24 Sep 2013 10:57:02 +1200
Jan Larres  wrote:

> On 24/09/13 09:21, Sharon Kimble wrote:
> > On Mon, 23 Sep 2013 20:54:43 +0100
> > Nicholas Marriott  wrote:
> >
> >> Pipe it to xclip or xsel or something.
> >
> > How? I thought it just went to xclip automatically, which then
> > transferred it to the normal clipboard?
> 
> No. Tmux copies things to its own internal paste buffers without
> touching the system clipboard. To pipe the current buffer to xclip do
> this:
> 
>   $ tmux saveb - | xclip -i -selection clipboard

Thanks for this Jan, and I've used the command you’ve given, but its
failing atm due to an old alias of xclip which is now commented out but
unable to get rid of it completely due to some unknown error
in .bashrc, so the whole thing is failing atm!

If you feel like it, the whole of the .bashrc is at
http://paste.debian.net/45437/ but I cant see why its failing at all. 

> For doing this more easily in the future add these two bindings to
> your tmux.conf:
> 
>   # Copy tmux paste buffer to CLIPBOARD
>   # Use save-buffer instead of show-buffer to avoid inserting
> spurious linebreaks bind-key C-y run-shell -b "tmux save-buffer - |
> xclip -i -selection clipboard" # Copy CLIPBOARD to tmux paste buffer
> and paste tmux paste buffer bind-key C-p run-shell "xclip -o
> -selection clipboard | tmux load-buffer -; tmux paste-buffer"
> 
> Jan

Yes, I will amend my tmux.conf once I've got this sorted out.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-23 Thread Sharon Kimble
On Tue, 24 Sep 2013 11:58:35 +1200
Jan Larres  wrote:

> On 24/09/13 11:26, Sharon Kimble wrote:
> > On Tue, 24 Sep 2013 10:57:02 +1200
> > Jan Larres  wrote:
> >> No. Tmux copies things to its own internal paste buffers without
> >> touching the system clipboard. To pipe the current buffer to xclip
> >> do this:
> >>
> >>   $ tmux saveb - | xclip -i -selection clipboard
> >
> > Thanks for this Jan, and I've used the command you’ve given, but its
> > failing atm due to an old alias of xclip which is now commented out
> > but unable to get rid of it completely due to some unknown error
> > in .bashrc, so the whole thing is failing atm!
> 
> You can either remove the alias with the 'unalias' command or call
> xclip as 'command xclip' which will bypass the alias.
> 
> > If you feel like it, the whole of the .bashrc is at
> > http://paste.debian.net/45437/ but I cant see why its failing at
> > all.
> 
> If you are talking about the 'unexpected end of file' errors then
> that's because you have commented out the closing braces of the
> prompt_on() and prompt_off() functions and are missing a 'fi' at the
> end.
> 
> Jan
> 
Thanks Jan, thats .bashrc is now sorted out, so I do this - 

1 - CTRL+a+[
2 - move cursor to beginning of required text
3 - press SPACE
4 - move cursor to end of required text
5 - press ENTER
6 - CTRL+a+]
7 - command xclip -o > tmuxing.txt

tmuxing.txt is created but is only 5 bytes big consisting of one word
'xclip'.

So where am I going wrong please? I'm genuinely at a loss with this.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Copying from tmux to clipboard or text file needed urgently.

2013-09-24 Thread Sharon Kimble
On Tue, 24 Sep 2013 12:54:42 +1200
Jan Larres  wrote:

> On 24/09/13 12:15, Sharon Kimble wrote:
> > Thanks Jan, thats .bashrc is now sorted out, so I do this -
> >
> > 1 - CTRL+a+[
> > 2 - move cursor to beginning of required text
> > 3 - press SPACE
> > 4 - move cursor to end of required text
> > 5 - press ENTER
> > 6 - CTRL+a+]
> > 7 - command xclip -o > tmuxing.txt
> >
> > tmuxing.txt is created but is only 5 bytes big consisting of one
> > word 'xclip'.
> 
> 'Ctrl-a ]' will paste the buffer directly into whatever application
> you're currently running, which would be the terminal in your case. I
> guess that's not really what you want. Is anything happening when you
> press that? I can't tell from your notation but note that you're NOT
> supposed to hold Ctrl when pressing ']'.
> 
> The correct sequence for you would be instead of doing 6+7 to execute
> the pipeline I wrote earlier:
> 
>   $ tmux saveb - | command xclip -i -selection clipboard
> 
> Jan

Brilliant! Thank you very much Jan, its worked and I've been able to
copy part of the pane dump into another programme, which means that I
can now reboot! :)

Again, thank you very much Jan, its now working.
Sharon. 
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: How to copy the whole buffer?

2013-09-24 Thread Sharon Kimble
On Tue, 24 Sep 2013 08:04:26 +0100
Nicholas Marriott  wrote:

> Or on older versions just select all the text in copy mode then paste
> it into emacs or some text editor and save the file. Or use tmux
> saveb. Why is this so hard?

Because I'm in uncharted territory here! I've been using tmux for a
couple of years now and have never been able to use copy n'paste for
anything. I've had various notes I've made when surfing the net about
copying but whatever I tried hasn't worked, up until now. But now I've
got a winning formulae, that I've made a note of, and that will work
for future requirements. 

So thank you, you've helped in increasing my knowledge :)

Thanks
Sharon.
> 
>  Original message 
> From: Thomas Adam  
> Date: 23/09/2013  23:52  (GMT+00:00) 
> To: Sharon Kimble  
> Cc: tmux-users@lists.sourceforge.net 
> Subject: Re: How to copy the whole buffer? 
>  
> On Mon, Sep 23, 2013 at 11:46:04PM +0100, Sharon Kimble wrote:
> > Okay, I'm attacking the problem from another direction - how can i
> > copy *all* of the buffer to a text file please. I've used 'tmux
> > capture-pane -t keep \; save-buffer -b 0 ~/tmuxtest.txt' which
> > worked slightly in that it only copied over the visible part of the
> > buffer/pane but I'm after everything!
> 
> I feel like we're going round in circles here, from what I've read in
> the other thread.
> 
> Which version of tmux is this on?  Git (1.9)?  If so, I think when
> you say "whole buffer" here, you're probably wanting to capture the
> entire pane (see capture-pane, with the -S and -E options).
> 
> Getting the contents of that in to the clipboard, if that's even what
> you want now (given that again, capturep can output the result to
> STDOUT), is down to tools like xclip, etc., but if the content is in
> a file, what difference would it make?
> 
> -- Thomas Adam
> 
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.1.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


'make' from a fresh git clone.

2013-10-11 Thread Sharon Kimble
When 'make'ing tmux from a fresh git clone tonight, i got this error
report - 
[boudiccas:Fri Oct 11 19:18:36 @~/git/tmux]$ [2702]>; make
depbase=`echo format.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\"
-DPACKAGE_VERSION=\"1.9\" -DPACKAGE_STRING=\"tmux\ 1.9\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"
-DVERSION=\"1.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CURSES_H=1 -DHAVE_DIRENT_H=1
-DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_NCURSES_H=1
-DHAVE_PATHS_H=1 -DHAVE_PTY_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_DIR_H=1
-DHAVE_TERM_H=1 -DHAVE_B64_NTOP=1 -DHAVE_FORKPTY=1 -DHAVE_DAEMON=1
-DHAVE_SETENV=1 -DHAVE_ASPRINTF=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1
-DHAVE_CFMAKERAW=1 -DHAVE_OPENAT=1 -DHAVE_DECL_OPTARG=1
-DHAVE_DECL_OPTIND=1 -DHAVE_DECL_OPTRESET=0 -DHAVE_BZERO=1
-DHAVE_DIRFD=1 -DHAVE_SYSCONF=1 -DHAVE_CFMAKERAW=1 -DHAVE_BSD_TYPES=1
-DHAVE___PROGNAME=1 -DHAVE_PROC_PID=1 -I.
-DTMUX_CONF="\"/etc/tmux.conf\"" -DDEBUG -iquote.
-I/usr/local/include -D_GNU_SOURCE -std=gnu99 -O0 -g -Wno-long-long
-Wall -W -Wnested-externs -Wformat=2 -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -Wshadow
-Wpointer-arith -Wsign-compare -Wundef -Wbad-function-cast -Winline
-Wcast-align -Wdeclaration-after-statement  -Wno-pointer-sign  -MT
format.o -MD -MP -MF $depbase.Tpo -c -o format.o format.c &&\ mv -f
$depbase.Tpo $depbase.Po format.c: In function ‘format_window_pane’:
format.c:527:10: error: conflicting types for ‘cmd’ format.c:526:15:
note: previous declaration of ‘cmd’ was here format.c:559:7: error:
‘cwd’ undeclared (first use in this function) format.c:559:7: note:
each undeclared identifier is reported only once for each function it
appears in make: *** [format.o] Error 1

Is this just a one-off, or is it a problem in my making and gittifying
at this end please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian stable, Fluxbox 1.3.5, LibreOffice  4.1.0.4
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: 'make' from a fresh git clone.

2013-10-11 Thread Sharon Kimble
On Fri, 11 Oct 2013 19:28:41 +0100
Thomas Adam  wrote:

> What system is this on?

From my sig line - Debian stable, Fluxbox 1.3.5 :)

Thanks
Sharon.
> 
> Thomas Adam
> On 11 Oct 2013 19:24, "Sharon Kimble"  wrote:
> 
> > When 'make'ing tmux from a fresh git clone tonight, i got this error
> > report -
> > [boudiccas:Fri Oct 11 19:18:36 @~/git/tmux]$ [2702]>; make
> > depbase=`echo format.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> > gcc -DPACKAGE_NAME=\"tmux\" -DPACKAGE_TARNAME=\"tmux\"
> > -DPACKAGE_VERSION=\"1.9\" -DPACKAGE_STRING=\"tmux\ 1.9\"
> > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"tmux\"
> > -DVERSION=\"1.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CURSES_H=1
> > -DHAVE_DIRENT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1
> > -DHAVE_NCURSES_H=1 -DHAVE_PATHS_H=1 -DHAVE_PTY_H=1
> > -DHAVE_STDINT_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_TERM_H=1
> > -DHAVE_B64_NTOP=1 -DHAVE_FORKPTY=1 -DHAVE_DAEMON=1 -DHAVE_SETENV=1
> > -DHAVE_ASPRINTF=1 -DHAVE_STRCASESTR=1 -DHAVE_STRSEP=1
> > -DHAVE_CFMAKERAW=1 -DHAVE_OPENAT=1 -DHAVE_DECL_OPTARG=1
> > -DHAVE_DECL_OPTIND=1 -DHAVE_DECL_OPTRESET=0 -DHAVE_BZERO=1
> > -DHAVE_DIRFD=1 -DHAVE_SYSCONF=1 -DHAVE_CFMAKERAW=1
> > -DHAVE_BSD_TYPES=1 -DHAVE___PROGNAME=1 -DHAVE_PROC_PID=1 -I.
> > -DTMUX_CONF="\"/etc/tmux.conf\"" -DDEBUG -iquote.
> > -I/usr/local/include -D_GNU_SOURCE -std=gnu99 -O0 -g
> > -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
> > -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
> > -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare -Wundef
> > -Wbad-function-cast -Winline -Wcast-align
> > -Wdeclaration-after-statement  -Wno-pointer-sign  -MT format.o -MD
> > -MP -MF $depbase.Tpo -c -o format.o format.c &&\ mv -f $depbase.Tpo
> > $depbase.Po format.c: In function ‘format_window_pane’:
> > format.c:527:10: error: conflicting types for ‘cmd’
> > format.c:526:15: note: previous declaration of ‘cmd’ was here
> > format.c:559:7: error: ‘cwd’ undeclared (first use in this
> > function) format.c:559:7: note: each undeclared identifier is
> > reported only once for each function it appears in make: ***
> > [format.o] Error 1
> >
> > Is this just a one-off, or is it a problem in my making and
> > gittifying at this end please?
> >
> > Thanks
> > Sharon.
> > --
> > A taste of linux = http://www.sharons.org.uk
> > efever = http://www.efever.blogspot.com/
> > efever = http://sharon04.livejournal.com/
> > my git repo = https://github.com/boudiccas/dots
> > Debian stable, Fluxbox 1.3.5, LibreOffice  4.1.0.4
> > Registered Linux user 561944
> >
>
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian stable, Fluxbox 1.3.5, LibreOffice  4.1.0.4
Registered Linux user 561944


signature.asc
Description: PGP signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Return to original place?

2013-11-07 Thread Sharon Kimble

I have my window divided into three, the long part contains the output
of 'apt-cache search' [where I'm looking through the apt-cache
database], the top right quarter contains my 'apt-cache policy' which
tells me if the programme is actually installed, and finally the bottom
right quarter contains my install commands. So you see I'm mousing
between various sections of the window quite regularly, but every time
that I return to the long section it dumps me back at the command
prompt at the end of the section. Now this is unwanted behaviour as I
could well have been in the middle or near the beginning of the
programme output. How then can I just return to the original place
my cursor was at before I moved out of the pane and without any active
scrolling please?

Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.0.4
Registered Linux user 561944


signature.asc
Description: PGP signature
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


No text colour in tmux window.

2013-11-17 Thread Sharon Kimble

I have a script called 'serv-stats' which pages *all* the services on
this box and shows what their current status is. In an 'evilvte' or
'xterm' window that script shows *all* the output coloured and with
little [ok] status boxes. However, using the same shells but with tmux
running in both, it only shows a white line of text and a bald
statement like 'NTP server is running'. Why the difference please? 

I do have this line in my 'tmux.conf' - 'set -g default-terminal
"screen-256color"' but it doesn't seem to have made any difference.

Ideas please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
On Sun, 17 Nov 2013 13:47:21 +
Nicholas Marriott  wrote:

> It probably does something silly like whitelist particular TERM
> settings. Does it work if you run it with TERM set temporarily to
> xterm-256color inside tmux?

With 'set TERM xterm-256color' and I then run 'serv-status' it makes no
difference, just plain white output. Exactly the same as if I'd piped
it out to a text-file. 

Thanks
Sharon.
> 
> ---- Original message 
> From: Sharon Kimble  
> Date: 17/11/2013  13:32  (GMT+00:00) 
> To: tmux-users@lists.sourceforge.net 
> Subject: No text colour in tmux window. 
>  
> 
> I have a script called 'serv-stats' which pages *all* the services on
> this box and shows what their current status is. In an 'evilvte' or
> 'xterm' window that script shows *all* the output coloured and with
> little [ok] status boxes. However, using the same shells but with tmux
> running in both, it only shows a white line of text and a bald
> statement like 'NTP server is running'. Why the difference please? 
> 
> I do have this line in my 'tmux.conf' - 'set -g default-terminal
> "screen-256color"' but it doesn't seem to have made any difference.
> 
> Ideas please?
> 
> Thanks
> Sharon.



-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
On Sun, 17 Nov 2013 15:01:48 +
Nicholas Marriott  wrote:

> Show me the script please or enough of it to reproduce

Attached.

Thanks
Sharon.
> 
>  Original message 
> From: Sharon Kimble  
> Date: 17/11/2013  14:43  (GMT+00:00) 
> To: Nicholas Marriott
> ,tmux-users@lists.sourceforge.net
> Subject: Re: No text colour in tmux window. 
> On Sun, 17 Nov 2013 13:47:21 +
> Nicholas Marriott  wrote:
> 
> > It probably does something silly like whitelist particular TERM
> > settings. Does it work if you run it with TERM set temporarily to
> > xterm-256color inside tmux?
> 
> With 'set TERM xterm-256color' and I then run 'serv-status' it makes
> no difference, just plain white output. Exactly the same as if I'd
> piped it out to a text-file. 
> 
> Thanks
> Sharon.
> > 
> >  Original message 
> > From: Sharon Kimble  
> > Date: 17/11/2013  13:32  (GMT+00:00) 
> > To: tmux-users@lists.sourceforge.net 
> > Subject: No text colour in tmux window. 
> >  
> > 
> > I have a script called 'serv-stats' which pages *all* the services
> > on this box and shows what their current status is. In an 'evilvte'
> > or 'xterm' window that script shows *all* the output coloured and
> > with little [ok] status boxes. However, using the same shells but
> > with tmux running in both, it only shows a white line of text and a
> > bald statement like 'NTP server is running'. Why the difference
> > please? 
> > 
> > I do have this line in my 'tmux.conf' - 'set -g default-terminal
> > "screen-256color"' but it doesn't seem to have made any difference.
> > 
> > Ideas please?
> > 
> > Thanks
> > Sharon.
> 
> 
> 



-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944


serv-status
Description: Binary data


signature.asc
Description: PGP signature
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
On Sun, 17 Nov 2013 18:43:59 +
Nicholas Marriott  wrote:

> What platform is this on? 

Debian testing, with fluxbox being the Desktop Environment. Its all in
the sig.

Thanks
Sharon.
> 
> 
> On Sun, Nov 17, 2013 at 03:07:17PM +0000, Sharon Kimble wrote:
> > On Sun, 17 Nov 2013 15:01:48 +
> > Nicholas Marriott  wrote:
> > 
> > > Show me the script please or enough of it to reproduce
> > 
> > Attached.
> > 
> > Thanks
> > Sharon.
> > > 
> > >  Original message 
> > > From: Sharon Kimble  
> > > Date: 17/11/2013  14:43  (GMT+00:00) 
> > > To: Nicholas Marriott
> > > ,tmux-users@lists.sourceforge.net
> > > Subject: Re: No text colour in tmux window. 
> > > On Sun, 17 Nov 2013 13:47:21 +
> > > Nicholas Marriott  wrote:
> > > 
> > > > It probably does something silly like whitelist particular TERM
> > > > settings. Does it work if you run it with TERM set temporarily
> > > > to xterm-256color inside tmux?
> > > 
> > > With 'set TERM xterm-256color' and I then run 'serv-status' it
> > > makes no difference, just plain white output. Exactly the same as
> > > if I'd piped it out to a text-file. 
> > > 
> > > Thanks
> > > Sharon.
> > > > 
> > > >  Original message 
> > > > From: Sharon Kimble  
> > > > Date: 17/11/2013?? 13:32?? (GMT+00:00) 
> > > > To: tmux-users@lists.sourceforge.net 
> > > > Subject: No text colour in tmux window. 
> > > >?? 
> > > > 
> > > > I have a script called 'serv-stats' which pages *all* the
> > > > services on this box and shows what their current status is. In
> > > > an 'evilvte' or 'xterm' window that script shows *all* the
> > > > output coloured and with little [ok] status boxes. However,
> > > > using the same shells but with tmux running in both, it only
> > > > shows a white line of text and a bald statement like 'NTP
> > > > server is running'. Why the difference please? 
> > > > 
> > > > I do have this line in my 'tmux.conf' - 'set -g default-terminal
> > > > "screen-256color"' but it doesn't seem to have made any
> > > > difference.
> > > > 
> > > > Ideas please?
> > > > 
> > > > Thanks
> > > > Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: No text colour in tmux window.

2013-11-17 Thread Sharon Kimble
On Sun, 17 Nov 2013 19:08:41 +
Nicholas Marriott  wrote:

> The Debian init scripts check for hpa terminfo attribute which is not
> present in screen/screen-256color terminfo entry.
> 
> Because the scripts are simple and only use hpa and setaf, you can
> just put "export TERM=ansi" at the top of your script and it should
> work fine.

Thank you, your right, it almost works well. Having 'export TERM=ansi'
at the head of the column allows the 'okay-box', which shows as
'[...]' to open in both evilvte with and without tmux. But it does not
populate the 'okay-box', a service might be running but it will have a
'nil' entry in the okay-box, and this occurs both with and without tmux.

But thankyou for finding a partial solution to this problem.

Sharon.
> 
> Alternatively you could build your own version of the screen terminfo
> with hpa using infocmp and tic.
> 
> 
> On Sun, Nov 17, 2013 at 06:59:42PM +, Sharon Kimble wrote:
> > On Sun, 17 Nov 2013 18:43:59 +
> > Nicholas Marriott  wrote:
> > 
> > > What platform is this on? 
> > 
> > Debian testing, with fluxbox being the Desktop Environment. Its all
> > in the sig.
> > 
> > Thanks
> > Sharon.
> > > 
> > > 
> > > On Sun, Nov 17, 2013 at 03:07:17PM +, Sharon Kimble wrote:
> > > > On Sun, 17 Nov 2013 15:01:48 +
> > > > Nicholas Marriott  wrote:
> > > > 
> > > > > Show me the script please or enough of it to reproduce
> > > > 
> > > > Attached.
> > > > 
> > > > Thanks
> > > > Sharon.
> > > > > 
> > > > >  Original message 
> > > > > From: Sharon Kimble  
> > > > > Date: 17/11/2013  14:43  (GMT+00:00) 
> > > > > To: Nicholas Marriott
> > > > > ,tmux-users@lists.sourceforge.net
> > > > > Subject: Re: No text colour in tmux window. 
> > > > > On Sun, 17 Nov 2013 13:47:21 +
> > > > > Nicholas Marriott  wrote:
> > > > > 
> > > > > > It probably does something silly like whitelist particular
> > > > > > TERM settings. Does it work if you run it with TERM set
> > > > > > temporarily to xterm-256color inside tmux?
> > > > > 
> > > > > With 'set TERM xterm-256color' and I then run 'serv-status' it
> > > > > makes no difference, just plain white output. Exactly the
> > > > > same as if I'd piped it out to a text-file. 
> > > > > 
> > > > > Thanks
> > > > > Sharon.
> > > > > > 
> > > > > >  Original message 
> > > > > > From: Sharon Kimble  
> > > > > > Date: 17/11/2013?? 13:32?? (GMT+00:00) 
> > > > > > To: tmux-users@lists.sourceforge.net 
> > > > > > Subject: No text colour in tmux window. 
> > > > > >?? 
> > > > > > 
> > > > > > I have a script called 'serv-stats' which pages *all* the
> > > > > > services on this box and shows what their current status
> > > > > > is. In an 'evilvte' or 'xterm' window that script shows
> > > > > > *all* the output coloured and with little [ok] status
> > > > > > boxes. However, using the same shells but with tmux running
> > > > > > in both, it only shows a white line of text and a bald
> > > > > > statement like 'NTP server is running'. Why the difference
> > > > > > please? 
> > > > > > 
> > > > > > I do have this line in my 'tmux.conf' - 'set -g
> > > > > > default-terminal "screen-256color"' but it doesn't seem to
> > > > > > have made any difference.
> > > > > > 
> > > > > > Ideas please?
> > > > > > 
> > > > > > Thanks
> > > > > > Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://github.com/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Tmux at startup

2013-12-11 Thread Sharon Kimble
On Wed, 11 Dec 2013 09:01:31 +0100
David Tabernero  wrote:

> Hi again,
> 
> I'm trying with:
> 
> tmux new -dsmain /usr/bin/newsbeuter
> 
> 
> But doesnt works, I see that the script where is located the command
> is executing but I cant see tmux executing when I do a ps, so the
> newsbeuter program also don't execute.
> 
> Could you help me please?
> 
> .
> 
> 
> 
> 
> 2013/12/10 Nicholas Marriott 
> 
> > Does it work if you do either:
> >
> > tmux new -dsmain /usr/bin/newsbeuter
> >
> > Or:
> >
> > tmux new -dsmain\; neww -tmain:1 /usr/bin/newsbeuter
> >
> >
> > On Tue, Dec 10, 2013 at 11:13:19PM +0100, David Tabernero wrote:
> > >Hi. I'm trying to execute an application (newsbeuter) at boot.
> > >I would like to execute in background and I would like to use
> > > tmux.
> > >
> > >I'm trying in a shell script with
> > >
> > >tmux new-session -d -s main*
> > >
> > >tmux new-window -t main:1 /usr/bin/newsbeuter
> > >
> > >But it seems that doesnt works, I don't see the application
> > >
> > >ps -ef | grep -i new
> > >
> > >root * * *2128 * * 1 *0 16:21 ? * * * *00:00:00 tmux
> > > new-session -d -s main
> > >
> > >pi * * * *2275 *2221 *0 16:33 pts/1 * *00:00:00 grep
> > > --color=auto -i
> > ne
> > >
> > >Could you help me please?
> >
Try with -

#!/bin/bash
sname=dave
tmux new-session -s $sname -d -x 140 -y 35
tmux new-window -t $sname -a -n newsbeuter  'exec newsbeuter'

Save as 'tmuxplus', and then make it executable, then run it and it
should do what you want.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: [tmux:tickets] #88 The resize command does not work

2013-12-21 Thread Sharon Kimble
On Sat, 14 Dec 2013 20:12:06 +
"jonas smith"  wrote:

> 
> 
> 
> ---
> 
> ** [tickets:#88] The resize command does not work**
> 
> **Status:** open
> **Created:** Sat Dec 14, 2013 08:12 PM UTC by jonas smith
> **Last Updated:** Sat Dec 14, 2013 08:12 PM UTC
> **Owner:** nobody
> 
> The resize command does not work when called inside of a tmux session.
> 
> Expected behavior:
> Calling "resize -s 100 50" inside a tmux shell should resize the
> terminal window.
> 
> Current behavior:
> The command returns "resize: Time out occurred".
> 
> resize works when called outside of a tmux session.
> 
> Ideally tmux should be able to set the size of the surrounding
> terminal. If there is more than one connection to the current
> session, tmux should resize all connected windows.
> 
If you look at the man page for 'resize' then it will *only* work with
'xterm', so if you're not using 'xterm' its pointless to use it.

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
Registered Linux user 561944


signature.asc
Description: PGP signature
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Command not working in tmux

2014-09-25 Thread Sharon Kimble

I have the strange situation that a command does not work in tmux, but
works in a plain terminal window. The command is "texdoc soul" which
opens the "soul.pdf" in the default PDF viewer. Except that it does not
work in tmux. In tmux it replies with -

╭
│Failed to get bus connection:  Could not connect: Connection refused
╰

Yet if I use that same command in a terminal window it works! So why
doesn't it work in tmux, but does in a straight terminal?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.93.1


signature.asc
Description: PGP signature
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users