How can I get italic fonts in byobu

Clash 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.
byobu
add a comment |Â
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.
byobu
add a comment |Â
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.
byobu
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
byobu
asked Jan 29 at 20:17
Jay _silly_evarlast_ Wren
1,84711629
1,84711629
add a comment |Â
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
answered Feb 8 at 15:08
Jay _silly_evarlast_ Wren
1,84711629
1,84711629
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password