How can I get italic fonts in byobu

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I'm following the guide here: https://alexpearce.me/2014/05/italics-in-iterm2-vim-tmux/



and it works for default tmux, but if I start tmux via byobu, the term type is screen-256color. It seems ~/.tmux.conf is not getting sourced.



I tried adding the same set -g default-terminal "tmux" to ~/.byobu/window.tmux but that prevented byobu from starting.










share|improve this question

























    up vote
    0
    down vote

    favorite












    I'm following the guide here: https://alexpearce.me/2014/05/italics-in-iterm2-vim-tmux/



    and it works for default tmux, but if I start tmux via byobu, the term type is screen-256color. It seems ~/.tmux.conf is not getting sourced.



    I tried adding the same set -g default-terminal "tmux" to ~/.byobu/window.tmux but that prevented byobu from starting.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm following the guide here: https://alexpearce.me/2014/05/italics-in-iterm2-vim-tmux/



      and it works for default tmux, but if I start tmux via byobu, the term type is screen-256color. It seems ~/.tmux.conf is not getting sourced.



      I tried adding the same set -g default-terminal "tmux" to ~/.byobu/window.tmux but that prevented byobu from starting.










      share|improve this question













      I'm following the guide here: https://alexpearce.me/2014/05/italics-in-iterm2-vim-tmux/



      and it works for default tmux, but if I start tmux via byobu, the term type is screen-256color. It seems ~/.tmux.conf is not getting sourced.



      I tried adding the same set -g default-terminal "tmux" to ~/.byobu/window.tmux but that prevented byobu from starting.







      byobu






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 29 at 20:17









      Jay _silly_evarlast_ Wren

      1,84711629




      1,84711629




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          I tried again today and I found that byobu reads .tmux.conf from ~/.byobu or maybe it is ~/.local/share/byobu/. I symlinked that to my ~/.tmux.conf and I now have italic fonts. I rarely use tmux directly. I guess I could have copied it.



          Summary:



          # Paste this in a terminal.
          cat <<EOF|tic -x -
          tmux|tmux terminal multiplexer,
          ritm=E[23m, rmso=E[27m, sitm=E[3m, smso=E[7m, Ms@,
          use=xterm+tmux, use=screen,

          tmux-256color|tmux with 256 colors,
          use=xterm+256setaf, use=tmux,
          EOF
          echo 'set -g default-terminal "tmux-256color"' >> ~/.local/share/byobu/.tmux.conf


          Restart byobu and test that it works:



          # I have italics
          echo `tput sitm`italics`tput ritm`
          # I have 256 colors





          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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f1001117%2fhow-can-i-get-italic-fonts-in-byobu%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            I tried again today and I found that byobu reads .tmux.conf from ~/.byobu or maybe it is ~/.local/share/byobu/. I symlinked that to my ~/.tmux.conf and I now have italic fonts. I rarely use tmux directly. I guess I could have copied it.



            Summary:



            # Paste this in a terminal.
            cat <<EOF|tic -x -
            tmux|tmux terminal multiplexer,
            ritm=E[23m, rmso=E[27m, sitm=E[3m, smso=E[7m, Ms@,
            use=xterm+tmux, use=screen,

            tmux-256color|tmux with 256 colors,
            use=xterm+256setaf, use=tmux,
            EOF
            echo 'set -g default-terminal "tmux-256color"' >> ~/.local/share/byobu/.tmux.conf


            Restart byobu and test that it works:



            # I have italics
            echo `tput sitm`italics`tput ritm`
            # I have 256 colors





            share|improve this answer
























              up vote
              0
              down vote



              accepted










              I tried again today and I found that byobu reads .tmux.conf from ~/.byobu or maybe it is ~/.local/share/byobu/. I symlinked that to my ~/.tmux.conf and I now have italic fonts. I rarely use tmux directly. I guess I could have copied it.



              Summary:



              # Paste this in a terminal.
              cat <<EOF|tic -x -
              tmux|tmux terminal multiplexer,
              ritm=E[23m, rmso=E[27m, sitm=E[3m, smso=E[7m, Ms@,
              use=xterm+tmux, use=screen,

              tmux-256color|tmux with 256 colors,
              use=xterm+256setaf, use=tmux,
              EOF
              echo 'set -g default-terminal "tmux-256color"' >> ~/.local/share/byobu/.tmux.conf


              Restart byobu and test that it works:



              # I have italics
              echo `tput sitm`italics`tput ritm`
              # I have 256 colors





              share|improve this answer






















                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                I tried again today and I found that byobu reads .tmux.conf from ~/.byobu or maybe it is ~/.local/share/byobu/. I symlinked that to my ~/.tmux.conf and I now have italic fonts. I rarely use tmux directly. I guess I could have copied it.



                Summary:



                # Paste this in a terminal.
                cat <<EOF|tic -x -
                tmux|tmux terminal multiplexer,
                ritm=E[23m, rmso=E[27m, sitm=E[3m, smso=E[7m, Ms@,
                use=xterm+tmux, use=screen,

                tmux-256color|tmux with 256 colors,
                use=xterm+256setaf, use=tmux,
                EOF
                echo 'set -g default-terminal "tmux-256color"' >> ~/.local/share/byobu/.tmux.conf


                Restart byobu and test that it works:



                # I have italics
                echo `tput sitm`italics`tput ritm`
                # I have 256 colors





                share|improve this answer












                I tried again today and I found that byobu reads .tmux.conf from ~/.byobu or maybe it is ~/.local/share/byobu/. I symlinked that to my ~/.tmux.conf and I now have italic fonts. I rarely use tmux directly. I guess I could have copied it.



                Summary:



                # Paste this in a terminal.
                cat <<EOF|tic -x -
                tmux|tmux terminal multiplexer,
                ritm=E[23m, rmso=E[27m, sitm=E[3m, smso=E[7m, Ms@,
                use=xterm+tmux, use=screen,

                tmux-256color|tmux with 256 colors,
                use=xterm+256setaf, use=tmux,
                EOF
                echo 'set -g default-terminal "tmux-256color"' >> ~/.local/share/byobu/.tmux.conf


                Restart byobu and test that it works:



                # I have italics
                echo `tput sitm`italics`tput ritm`
                # I have 256 colors






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 8 at 15:08









                Jay _silly_evarlast_ Wren

                1,84711629




                1,84711629



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1001117%2fhow-can-i-get-italic-fonts-in-byobu%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error