nano M-A hotkey











up vote
3
down vote

favorite












When using nano in the terminal, to do the "write file append" command, it lists the keystroke "M-A".



I am completely confused what this key command actually means. I read somewhere that it means Alt-A, which didn't work.



What am I supposed to use?



EDIT: I think the problem is because when I hit Alt-A, it opens my Xubuntu terminal windows Menu > Tabs menu item.



So by default the supplied xubuntu / xfce terminal has hotkeys that step on nano's hotkeys? Is this correct or have I modified them and forgot?










share|improve this question




















  • 1




    "didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
    – steeldriver
    Mar 18 '17 at 22:23






  • 2




    Try esc then A instead.
    – Doug Smythies
    Mar 18 '17 at 23:51















up vote
3
down vote

favorite












When using nano in the terminal, to do the "write file append" command, it lists the keystroke "M-A".



I am completely confused what this key command actually means. I read somewhere that it means Alt-A, which didn't work.



What am I supposed to use?



EDIT: I think the problem is because when I hit Alt-A, it opens my Xubuntu terminal windows Menu > Tabs menu item.



So by default the supplied xubuntu / xfce terminal has hotkeys that step on nano's hotkeys? Is this correct or have I modified them and forgot?










share|improve this question




















  • 1




    "didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
    – steeldriver
    Mar 18 '17 at 22:23






  • 2




    Try esc then A instead.
    – Doug Smythies
    Mar 18 '17 at 23:51













up vote
3
down vote

favorite









up vote
3
down vote

favorite











When using nano in the terminal, to do the "write file append" command, it lists the keystroke "M-A".



I am completely confused what this key command actually means. I read somewhere that it means Alt-A, which didn't work.



What am I supposed to use?



EDIT: I think the problem is because when I hit Alt-A, it opens my Xubuntu terminal windows Menu > Tabs menu item.



So by default the supplied xubuntu / xfce terminal has hotkeys that step on nano's hotkeys? Is this correct or have I modified them and forgot?










share|improve this question















When using nano in the terminal, to do the "write file append" command, it lists the keystroke "M-A".



I am completely confused what this key command actually means. I read somewhere that it means Alt-A, which didn't work.



What am I supposed to use?



EDIT: I think the problem is because when I hit Alt-A, it opens my Xubuntu terminal windows Menu > Tabs menu item.



So by default the supplied xubuntu / xfce terminal has hotkeys that step on nano's hotkeys? Is this correct or have I modified them and forgot?







nano






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 18 '17 at 23:18

























asked Mar 18 '17 at 22:09









ScottF

2521315




2521315








  • 1




    "didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
    – steeldriver
    Mar 18 '17 at 22:23






  • 2




    Try esc then A instead.
    – Doug Smythies
    Mar 18 '17 at 23:51














  • 1




    "didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
    – steeldriver
    Mar 18 '17 at 22:23






  • 2




    Try esc then A instead.
    – Doug Smythies
    Mar 18 '17 at 23:51








1




1




"didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
– steeldriver
Mar 18 '17 at 22:23




"didn't work" how exactly? Alt-A should be the right interpretation - the slightly confusing thing is that the keymapping only applies in the "write screen" (i.e. after you've hit Ctrl-O). In regular edit mode, M-A (Alt-A) sets a mark in the text.
– steeldriver
Mar 18 '17 at 22:23




2




2




Try esc then A instead.
– Doug Smythies
Mar 18 '17 at 23:51




Try esc then A instead.
– Doug Smythies
Mar 18 '17 at 23:51










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










M-A means ALT+A. But that does not directly appends the contents to the file selected.



ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:



File name to write to



File name to append to



After you toggle to the desired command, press Enter.

This will append the contents to the file.






share|improve this answer










New contributor




Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    up vote
    0
    down vote













    A test example using the append write file output option.

    Starting conditions:



    doug@s15:~$ cat cccc
    this is file cccc.
    doug@s15:~$ cat bbbb
    this is file bbbb.


    Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:



    File Name to Append to: cccc


    To this:



    File Name to Append to: bbbb


    And then Enter followed by CTRL+X

    See this:



    doug@s15:~$ cat bbbb
    this is file bbbb.
    this is file cccc.


    Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:



     The notation for shortcuts is as follows: Control-key sequences are
    notated with a caret (^) symbol and can be entered either by using the
    Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
    sequences are notated with the Meta (M-) symbol and can be entered using
    either the Esc, Alt, or Meta key depending on your keyboard setup.





    share|improve this answer























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      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',
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      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%2faskubuntu.com%2fquestions%2f894436%2fnano-m-a-hotkey%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








      up vote
      1
      down vote



      accepted










      M-A means ALT+A. But that does not directly appends the contents to the file selected.



      ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:



      File name to write to



      File name to append to



      After you toggle to the desired command, press Enter.

      This will append the contents to the file.






      share|improve this answer










      New contributor




      Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        up vote
        1
        down vote



        accepted










        M-A means ALT+A. But that does not directly appends the contents to the file selected.



        ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:



        File name to write to



        File name to append to



        After you toggle to the desired command, press Enter.

        This will append the contents to the file.






        share|improve this answer










        New contributor




        Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




















          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          M-A means ALT+A. But that does not directly appends the contents to the file selected.



          ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:



          File name to write to



          File name to append to



          After you toggle to the desired command, press Enter.

          This will append the contents to the file.






          share|improve this answer










          New contributor




          Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          M-A means ALT+A. But that does not directly appends the contents to the file selected.



          ALT+A toggles the mode of modification of file between "write to file" and "append to file" shown in the images below:



          File name to write to



          File name to append to



          After you toggle to the desired command, press Enter.

          This will append the contents to the file.







          share|improve this answer










          New contributor




          Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer








          edited 2 days ago





















          New contributor




          Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered Nov 19 at 20:17









          Akash Pushkar

          263




          263




          New contributor




          Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Akash Pushkar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.
























              up vote
              0
              down vote













              A test example using the append write file output option.

              Starting conditions:



              doug@s15:~$ cat cccc
              this is file cccc.
              doug@s15:~$ cat bbbb
              this is file bbbb.


              Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:



              File Name to Append to: cccc


              To this:



              File Name to Append to: bbbb


              And then Enter followed by CTRL+X

              See this:



              doug@s15:~$ cat bbbb
              this is file bbbb.
              this is file cccc.


              Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:



               The notation for shortcuts is as follows: Control-key sequences are
              notated with a caret (^) symbol and can be entered either by using the
              Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
              sequences are notated with the Meta (M-) symbol and can be entered using
              either the Esc, Alt, or Meta key depending on your keyboard setup.





              share|improve this answer



























                up vote
                0
                down vote













                A test example using the append write file output option.

                Starting conditions:



                doug@s15:~$ cat cccc
                this is file cccc.
                doug@s15:~$ cat bbbb
                this is file bbbb.


                Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:



                File Name to Append to: cccc


                To this:



                File Name to Append to: bbbb


                And then Enter followed by CTRL+X

                See this:



                doug@s15:~$ cat bbbb
                this is file bbbb.
                this is file cccc.


                Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:



                 The notation for shortcuts is as follows: Control-key sequences are
                notated with a caret (^) symbol and can be entered either by using the
                Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
                sequences are notated with the Meta (M-) symbol and can be entered using
                either the Esc, Alt, or Meta key depending on your keyboard setup.





                share|improve this answer

























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  A test example using the append write file output option.

                  Starting conditions:



                  doug@s15:~$ cat cccc
                  this is file cccc.
                  doug@s15:~$ cat bbbb
                  this is file bbbb.


                  Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:



                  File Name to Append to: cccc


                  To this:



                  File Name to Append to: bbbb


                  And then Enter followed by CTRL+X

                  See this:



                  doug@s15:~$ cat bbbb
                  this is file bbbb.
                  this is file cccc.


                  Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:



                   The notation for shortcuts is as follows: Control-key sequences are
                  notated with a caret (^) symbol and can be entered either by using the
                  Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
                  sequences are notated with the Meta (M-) symbol and can be entered using
                  either the Esc, Alt, or Meta key depending on your keyboard setup.





                  share|improve this answer














                  A test example using the append write file output option.

                  Starting conditions:



                  doug@s15:~$ cat cccc
                  this is file cccc.
                  doug@s15:~$ cat bbbb
                  this is file bbbb.


                  Now, nano cccc, and then Ctrl+O, followed by CTRL+X, followed by Esc then A but change this:



                  File Name to Append to: cccc


                  To this:



                  File Name to Append to: bbbb


                  And then Enter followed by CTRL+X

                  See this:



                  doug@s15:~$ cat bbbb
                  this is file bbbb.
                  this is file cccc.


                  Note: There are other key combinations to achieve the same end result. See the help file within nano, a segment extracted below:



                   The notation for shortcuts is as follows: Control-key sequences are
                  notated with a caret (^) symbol and can be entered either by using the
                  Control (Ctrl) key or pressing the Escape (Esc) key twice. Escape-key
                  sequences are notated with the Meta (M-) symbol and can be entered using
                  either the Esc, Alt, or Meta key depending on your keyboard setup.






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Mar 19 '17 at 0:24

























                  answered Mar 18 '17 at 22:49









                  Doug Smythies

                  6,95631428




                  6,95631428






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f894436%2fnano-m-a-hotkey%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

                      Category:香港粉麵

                      List *all* the tuples!

                      Channel [V]