#{client_tty} maybe or pane_tty. tmux doesn't write to utmp because there is no
portable way to do it without being setuid or setgid.
-------- Original message --------
From: Porcelain Mouse <porcelain_mo...@q.com>
Date: 16/09/2013 01:54 (GMT+00:00)
To: tmux-us...@lists.sf.net
Subject: Cannot 'write' to pts because user not logged in
Hello All,
I use 'write' for a number of things, but since I switched to tmux, I can
no longer write to different terminals. 'write' complains that the use
I'm trying to send a message isn't logged in on the target terminal.
write: <username> is not logged in on pts/10
One idea is to get tmux to register the pty as a login. Is that possible?
Another idea is to find out which is the "controlling" pts for the tmux
client and 'write' to that. That would be an acceptable workaround...but
I can't quite figure out how to do it. I've tried to get tmux to list
information like #{client_id} using the -F <format> option but I get
nothing. So, how can I ask tmux to tell me which terminal a particular
session is on? Is that possible?
Thanks,
PMouse
--
PMouse
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users
------------------------------------------------------------------------------
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