Write command working one way?












0














I want to communicate with my girlfriend through the write command. She's on a mac, I am on a debian laptop. I did the next steps:




  1. adduser haly

  2. apt-get install openssh-server

  3. systemctl start ssh


Then she logins with ssh haly@my ip address (we are both connected to the same wifi) with the given password.
In our terminals we both do mesg y and I do write haly. She can see everything I write, but I cannot see anything she writes. What is wrong?



Thanks



[Editing to have a more complete question]



This is me:



murphy@eva02:~$ who
murphy tty2 2018-12-17 22:58 (:0)
haly pts/1 2018-12-17 23:25 (192.168.0.9)
murphy@eva02:~$ mesg y
murphy@eva02:~$ write haly pts/1
las rosas son rojas, el cielo es azul ...


She receives the last line in her terminal (after logging into eva02 and doing mesg y). But If she tries write murphy tty2 the write program seems to work in her terminal, but I see nothing in mine.










share|improve this question





























    0














    I want to communicate with my girlfriend through the write command. She's on a mac, I am on a debian laptop. I did the next steps:




    1. adduser haly

    2. apt-get install openssh-server

    3. systemctl start ssh


    Then she logins with ssh haly@my ip address (we are both connected to the same wifi) with the given password.
    In our terminals we both do mesg y and I do write haly. She can see everything I write, but I cannot see anything she writes. What is wrong?



    Thanks



    [Editing to have a more complete question]



    This is me:



    murphy@eva02:~$ who
    murphy tty2 2018-12-17 22:58 (:0)
    haly pts/1 2018-12-17 23:25 (192.168.0.9)
    murphy@eva02:~$ mesg y
    murphy@eva02:~$ write haly pts/1
    las rosas son rojas, el cielo es azul ...


    She receives the last line in her terminal (after logging into eva02 and doing mesg y). But If she tries write murphy tty2 the write program seems to work in her terminal, but I see nothing in mine.










    share|improve this question



























      0












      0








      0







      I want to communicate with my girlfriend through the write command. She's on a mac, I am on a debian laptop. I did the next steps:




      1. adduser haly

      2. apt-get install openssh-server

      3. systemctl start ssh


      Then she logins with ssh haly@my ip address (we are both connected to the same wifi) with the given password.
      In our terminals we both do mesg y and I do write haly. She can see everything I write, but I cannot see anything she writes. What is wrong?



      Thanks



      [Editing to have a more complete question]



      This is me:



      murphy@eva02:~$ who
      murphy tty2 2018-12-17 22:58 (:0)
      haly pts/1 2018-12-17 23:25 (192.168.0.9)
      murphy@eva02:~$ mesg y
      murphy@eva02:~$ write haly pts/1
      las rosas son rojas, el cielo es azul ...


      She receives the last line in her terminal (after logging into eva02 and doing mesg y). But If she tries write murphy tty2 the write program seems to work in her terminal, but I see nothing in mine.










      share|improve this question















      I want to communicate with my girlfriend through the write command. She's on a mac, I am on a debian laptop. I did the next steps:




      1. adduser haly

      2. apt-get install openssh-server

      3. systemctl start ssh


      Then she logins with ssh haly@my ip address (we are both connected to the same wifi) with the given password.
      In our terminals we both do mesg y and I do write haly. She can see everything I write, but I cannot see anything she writes. What is wrong?



      Thanks



      [Editing to have a more complete question]



      This is me:



      murphy@eva02:~$ who
      murphy tty2 2018-12-17 22:58 (:0)
      haly pts/1 2018-12-17 23:25 (192.168.0.9)
      murphy@eva02:~$ mesg y
      murphy@eva02:~$ write haly pts/1
      las rosas son rojas, el cielo es azul ...


      She receives the last line in her terminal (after logging into eva02 and doing mesg y). But If she tries write murphy tty2 the write program seems to work in her terminal, but I see nothing in mine.







      write






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 18 at 5:38

























      asked Dec 17 at 21:05









      murpholinox

      236




      236






















          2 Answers
          2






          active

          oldest

          votes


















          3














          Nothing is wrong; write is unidirectional:




          Any further lines you enter will be copied to the specified user's terminal. If the other user wants to reply, they must run write as well.




          ... so she must write your-username in order to write back to you.



          You may be thinking of the more-interactive talk utility; on Debian, apt install ytalk will get you started.






          share|improve this answer























          • Yeah, the man doc on write says that "If the other user wants to reply, they must run write as well." She does but I see nothing on my end.
            – murpholinox
            Dec 18 at 5:39










          • With talk I cannot communicate with her (the program stays forever on "Checking on invitation on caller's machine")
            – murpholinox
            Dec 18 at 5:58










          • Yes, write is unidirectional, but if she writes to me I receive nothing. talk seems better but did not work... ytalk on the other hand worked pretty well. Thanks
            – murpholinox
            Dec 18 at 6:39










          • After she does write murphy, does she type another line (and hit Enter)?
            – Jeff Schaller
            Dec 18 at 14:26










          • Yeah, we tried it...but nothing. Obviously I did mesg y as well. There has to be something wrong with write and talk, because there was no problem at all with ytalk.
            – murpholinox
            Dec 20 at 4:11



















          0














          Try having her add your device name. You can use who, w or finger to get this information. Usage: write username devicename , see if that helps...






          share|improve this answer





















          • Not working. write haly pts/0 gives the same behavior: she receives my messages, I do not receive anything.
            – murpholinox
            Dec 17 at 22:16













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489567%2fwrite-command-working-one-way%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          Nothing is wrong; write is unidirectional:




          Any further lines you enter will be copied to the specified user's terminal. If the other user wants to reply, they must run write as well.




          ... so she must write your-username in order to write back to you.



          You may be thinking of the more-interactive talk utility; on Debian, apt install ytalk will get you started.






          share|improve this answer























          • Yeah, the man doc on write says that "If the other user wants to reply, they must run write as well." She does but I see nothing on my end.
            – murpholinox
            Dec 18 at 5:39










          • With talk I cannot communicate with her (the program stays forever on "Checking on invitation on caller's machine")
            – murpholinox
            Dec 18 at 5:58










          • Yes, write is unidirectional, but if she writes to me I receive nothing. talk seems better but did not work... ytalk on the other hand worked pretty well. Thanks
            – murpholinox
            Dec 18 at 6:39










          • After she does write murphy, does she type another line (and hit Enter)?
            – Jeff Schaller
            Dec 18 at 14:26










          • Yeah, we tried it...but nothing. Obviously I did mesg y as well. There has to be something wrong with write and talk, because there was no problem at all with ytalk.
            – murpholinox
            Dec 20 at 4:11
















          3














          Nothing is wrong; write is unidirectional:




          Any further lines you enter will be copied to the specified user's terminal. If the other user wants to reply, they must run write as well.




          ... so she must write your-username in order to write back to you.



          You may be thinking of the more-interactive talk utility; on Debian, apt install ytalk will get you started.






          share|improve this answer























          • Yeah, the man doc on write says that "If the other user wants to reply, they must run write as well." She does but I see nothing on my end.
            – murpholinox
            Dec 18 at 5:39










          • With talk I cannot communicate with her (the program stays forever on "Checking on invitation on caller's machine")
            – murpholinox
            Dec 18 at 5:58










          • Yes, write is unidirectional, but if she writes to me I receive nothing. talk seems better but did not work... ytalk on the other hand worked pretty well. Thanks
            – murpholinox
            Dec 18 at 6:39










          • After she does write murphy, does she type another line (and hit Enter)?
            – Jeff Schaller
            Dec 18 at 14:26










          • Yeah, we tried it...but nothing. Obviously I did mesg y as well. There has to be something wrong with write and talk, because there was no problem at all with ytalk.
            – murpholinox
            Dec 20 at 4:11














          3












          3








          3






          Nothing is wrong; write is unidirectional:




          Any further lines you enter will be copied to the specified user's terminal. If the other user wants to reply, they must run write as well.




          ... so she must write your-username in order to write back to you.



          You may be thinking of the more-interactive talk utility; on Debian, apt install ytalk will get you started.






          share|improve this answer














          Nothing is wrong; write is unidirectional:




          Any further lines you enter will be copied to the specified user's terminal. If the other user wants to reply, they must run write as well.




          ... so she must write your-username in order to write back to you.



          You may be thinking of the more-interactive talk utility; on Debian, apt install ytalk will get you started.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 18 at 2:05

























          answered Dec 18 at 1:47









          Jeff Schaller

          38.7k1053125




          38.7k1053125












          • Yeah, the man doc on write says that "If the other user wants to reply, they must run write as well." She does but I see nothing on my end.
            – murpholinox
            Dec 18 at 5:39










          • With talk I cannot communicate with her (the program stays forever on "Checking on invitation on caller's machine")
            – murpholinox
            Dec 18 at 5:58










          • Yes, write is unidirectional, but if she writes to me I receive nothing. talk seems better but did not work... ytalk on the other hand worked pretty well. Thanks
            – murpholinox
            Dec 18 at 6:39










          • After she does write murphy, does she type another line (and hit Enter)?
            – Jeff Schaller
            Dec 18 at 14:26










          • Yeah, we tried it...but nothing. Obviously I did mesg y as well. There has to be something wrong with write and talk, because there was no problem at all with ytalk.
            – murpholinox
            Dec 20 at 4:11


















          • Yeah, the man doc on write says that "If the other user wants to reply, they must run write as well." She does but I see nothing on my end.
            – murpholinox
            Dec 18 at 5:39










          • With talk I cannot communicate with her (the program stays forever on "Checking on invitation on caller's machine")
            – murpholinox
            Dec 18 at 5:58










          • Yes, write is unidirectional, but if she writes to me I receive nothing. talk seems better but did not work... ytalk on the other hand worked pretty well. Thanks
            – murpholinox
            Dec 18 at 6:39










          • After she does write murphy, does she type another line (and hit Enter)?
            – Jeff Schaller
            Dec 18 at 14:26










          • Yeah, we tried it...but nothing. Obviously I did mesg y as well. There has to be something wrong with write and talk, because there was no problem at all with ytalk.
            – murpholinox
            Dec 20 at 4:11
















          Yeah, the man doc on write says that "If the other user wants to reply, they must run write as well." She does but I see nothing on my end.
          – murpholinox
          Dec 18 at 5:39




          Yeah, the man doc on write says that "If the other user wants to reply, they must run write as well." She does but I see nothing on my end.
          – murpholinox
          Dec 18 at 5:39












          With talk I cannot communicate with her (the program stays forever on "Checking on invitation on caller's machine")
          – murpholinox
          Dec 18 at 5:58




          With talk I cannot communicate with her (the program stays forever on "Checking on invitation on caller's machine")
          – murpholinox
          Dec 18 at 5:58












          Yes, write is unidirectional, but if she writes to me I receive nothing. talk seems better but did not work... ytalk on the other hand worked pretty well. Thanks
          – murpholinox
          Dec 18 at 6:39




          Yes, write is unidirectional, but if she writes to me I receive nothing. talk seems better but did not work... ytalk on the other hand worked pretty well. Thanks
          – murpholinox
          Dec 18 at 6:39












          After she does write murphy, does she type another line (and hit Enter)?
          – Jeff Schaller
          Dec 18 at 14:26




          After she does write murphy, does she type another line (and hit Enter)?
          – Jeff Schaller
          Dec 18 at 14:26












          Yeah, we tried it...but nothing. Obviously I did mesg y as well. There has to be something wrong with write and talk, because there was no problem at all with ytalk.
          – murpholinox
          Dec 20 at 4:11




          Yeah, we tried it...but nothing. Obviously I did mesg y as well. There has to be something wrong with write and talk, because there was no problem at all with ytalk.
          – murpholinox
          Dec 20 at 4:11













          0














          Try having her add your device name. You can use who, w or finger to get this information. Usage: write username devicename , see if that helps...






          share|improve this answer





















          • Not working. write haly pts/0 gives the same behavior: she receives my messages, I do not receive anything.
            – murpholinox
            Dec 17 at 22:16


















          0














          Try having her add your device name. You can use who, w or finger to get this information. Usage: write username devicename , see if that helps...






          share|improve this answer





















          • Not working. write haly pts/0 gives the same behavior: she receives my messages, I do not receive anything.
            – murpholinox
            Dec 17 at 22:16
















          0












          0








          0






          Try having her add your device name. You can use who, w or finger to get this information. Usage: write username devicename , see if that helps...






          share|improve this answer












          Try having her add your device name. You can use who, w or finger to get this information. Usage: write username devicename , see if that helps...







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 17 at 21:16









          Michael Prokopec

          1,022116




          1,022116












          • Not working. write haly pts/0 gives the same behavior: she receives my messages, I do not receive anything.
            – murpholinox
            Dec 17 at 22:16




















          • Not working. write haly pts/0 gives the same behavior: she receives my messages, I do not receive anything.
            – murpholinox
            Dec 17 at 22:16


















          Not working. write haly pts/0 gives the same behavior: she receives my messages, I do not receive anything.
          – murpholinox
          Dec 17 at 22:16






          Not working. write haly pts/0 gives the same behavior: she receives my messages, I do not receive anything.
          – murpholinox
          Dec 17 at 22:16




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489567%2fwrite-command-working-one-way%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Morgemoulin

          Scott Moir

          Souastre