I'm running on CentOS 6 and running the "wall" command, or the "write" command 
sending a message to any of the terminals listed out of the "who" command. Any 
message sent appears on the terminal but after any interaction with that 
terminal it disappears as if it never existed.

Your idea about sending messages to the right TTY device does appear to be 
correct. If I "echo" into the TTY listed from the "who" command, it disappears 
like the "wall" and "write" commands do, but there is another TTY listed in 
/dev/pts/ that is owned by my user, which I assume is the TTY used by tmux and 
if I "echo" into there, the text remains as I'd expect.

Is there a way I can pull the TTY reported by tmux that it's using?

-----Original Message-----
From: Balazs Kezes [mailto:rlblas...@gmail.com] 
Sent: 21 July 2014 20:47
To: Adam Carrgilson (NBI)
Cc: tmux-users@lists.sourceforge.net
Subject: Re: Wall and Write messages disappear

Can you please describe the exact commands you use and the expected results?

Also, are you sure the messages go to the right tty device? E.g. not to the tty 
in which tmux the client is running in but rather to the tty *inside* tmux?

--
Balazs

On 2014-07-21 11:05 +0000, Adam Carrgilson (NBI) wrote:
> When a wall or write message is sent through to a terminal inside of 
> tmux, any further interaction with the terminal completely resets 
> things such that it appears that the message was never there rather 
> than the default terminal behaviour to leave the message there.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to