Re: Fwd: Question: how to interrupt a process by pressing Ctrl-C in tmux?

2011-05-10 Thread Nicholas Marriott
this also annoys me immensely so i need to work on it sometime

there is buffering in there but it is currently disabled and only helps
on localhost, need to figure out how to do it better, either we need
throttling or to use the libevent watermarks



On Sun, May 08, 2011 at 09:03:23PM -0700, Robin Lee Powell wrote:
 As far as I know it's not on the drawing board; I gather it would be
 hard.
 
 I'd be more than happy to bounty in (buy a t-shirt or book or
 something) for this, fwiw (although I've noticed that saying that is
 oddly demotivating to a lot of FOSS geeks?, I'm honestly not sure
 why).
 
 -Robin
 
 On Mon, May 09, 2011 at 12:01:39PM +0800, solotim wrote:
  -- Forwarded message --
  From: solotim solotim...@gmail.com
  Date: 2011/5/9
  Subject: Re: Question: how to interrupt a process by pressing Ctrl-C in 
  tmux?
  To: Robin Lee Powell rlpow...@digitalkingdom.org
  
  
  Thank you for the quick response.
  So, do you mean there is no way to solve this problem in the near
  future? Do the developers have any plan on this?
  
  -solotim
  
  2011/5/9 Robin Lee Powell rlpow...@digitalkingdom.org:
   On Mon, May 09, 2011 at 09:31:05AM +0800, solotim wrote:
  
   I've been enjoying tmux for couple of weeks. There is a problem
   baffled me a lot and I don't know how to bypass it.
  
   Say, I have a long txt file, and I 'cat file.txt' in tmux, then
   the tmux will be busy to take over the output. If I press Ctrl-C
   at this time, it just doesn't work.
  
   This is an output buffering and/or SSH issue, and it's just about
   the one thing that really makes tmux a problem for me. ?GNU screen
   didn't have this problem, so I know it's fixable, but unfortunately
   (unlike the copy  paste stuff that I submitted a bunch of patches
   for), it's so far from my area of expertise that I don't feel at all
   comfortable trying to hack a solution together.
  
   -Robin
  
   --
   http://singinst.org/ : ?Our last, best hope for a fantastic future.
   Lojban (http://www.lojban.org/): The language in which this parrot
   is dead is ti poi spitaki cu morsi, but this sentence is false
   is na nei. ? My personal page: http://www.digitalkingdom.org/rlp/
  
  
  --
  WhatsUp Gold - Download Free Network Management Software
  The most intuitive, comprehensive, and cost-effective network 
  management toolset available today.  Delivers lowest initial 
  acquisition cost and overall TCO of any competing solution.
  http://p.sf.net/sfu/whatsupgold-sd
  ___
  tmux-users mailing list
  tmux-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tmux-users
 
 -- 
 http://singinst.org/ :  Our last, best hope for a fantastic future.
 Lojban (http://www.lojban.org/): The language in which this parrot
 is dead is ti poi spitaki cu morsi, but this sentence is false
 is na nei.   My personal page: http://www.digitalkingdom.org/rlp/
 
 --
 WhatsUp Gold - Download Free Network Management Software
 The most intuitive, comprehensive, and cost-effective network 
 management toolset available today.  Delivers lowest initial 
 acquisition cost and overall TCO of any competing solution.
 http://p.sf.net/sfu/whatsupgold-sd
 ___
 tmux-users mailing list
 tmux-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tmux-users

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Question: how to interrupt a process by pressing Ctrl-C in tmux?

2011-05-09 Thread Tom Prince
On 2011-05-09, solotim wrote:
 Hi peers,
 
 I've been enjoying tmux for couple of weeks.
 There is a problem baffled me a lot and I don't know how to bypass it.
 
 Say, I have a long txt file, and I 'cat file.txt' in tmux, then the
 tmux will be busy to take over the output. If I press Ctrl-C at this
 time, it just doesn't work. Tmux is keeping refreshing the screen to
 present the output. When all the text has been printed out, tmux then
 process the interrupt signal. This is not what I expected.

If this is occuring over a ssh link (or possibly some other link), a
workaround is to force close the connection (~. in ssh) and then
reconnect.

  Tom

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users