Thanks. That helps.

Best,

On Mon, Oct 30, 2017 at 1:52 AM, Suraj N. Kurapati <[email protected]> wrote:
> On Wed, 25 Oct 2017 05:03:36 +0000, Shiyao MA wrote:
>> I am using a simple customized program, which is invoked by tmux
>> through the `copy-pipe' command. The program needs access to the
>> terminal, but seems the fd it gets doesn't point to the current
>> terminal. So how to overcome this? any dirty hack is welcome.
>
> Use "#{pane_tty}" in place of /dev/tty in your copy-pipe command, per
> https://mail-archive.com/[email protected]/msg06588.html



-- 
Shiyao MA, PhD
Homepage: https://introo.me

In the ELisp world, (string (logand ?生 ?死))は ?愛 だ

このメッセージは秘密又は法律上の秘匿特権のある情報を含んでいる可能性があります。本電子メールを受取られた方が
本来当該メールを受け取るべき方ではない場合には、速やかに私どもにご連絡を頂き、このメッセージを削除して頂くようお願い申し上げます。

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to