On Mon, 7 Aug 2023 11:18:30 +0200 U.Mutlu wrote: > void printf_test() > { > printf("\e[1mbold\e[0m\n"); > printf("\e[3mitalic\e[0m\n"); > printf("\e[3m\e[1mbold italic\e[0m\n"); > printf("\e[4munderline\e[0m\n"); > printf("\e[9mstrikethrough\e[0m\n"); > printf("\e[31mHello World\e[0m\n"); > printf("\x1B[31mHello World\e[0m\n"); > }
i could not reproduce the unexpected behavior - perhaps something (terminfo?) is over-ridden? - perhaps certain fonts or WMs are incompatible? can anyone else confirm the unexpected behavior? - those `printf` commands work as expected on my system, in both C and BASH $ printf "\e[1mbold\e[0m\n" $ printf "\e[3mitalic\e[0m\n" $ printf "\e[3m\e[1mbold italic\e[0m\n" $ printf "\e[4munderline\e[0m\n" $ printf "\e[9mstrikethrough\e[0m\n" $ printf "\e[31mHello World\e[0m\n" $ printf "\x1B[31mHello World\e[0m\n" _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list