xterm_get_font(3f) - [M_xterm] obtain xterm(1) font name (LICENSE:MIT)
Synopsis
Description
Example
Author
License
function xterm_get_font() result(fontname)
character(len=:),allocatable :: fontname
Sends an escape sequence to stdout to query the fontname of an xterm(1) window.For this to work stdout must be your terminal device; so this may not be used effectively in a pipe or when redirection is used, depending on your system.
A sample program:
program demo_xterm_get_font use M_xterm, only : xterm_get_font implicit none write(*,*) xterm_get_font() end program demo_xterm_get_font
John S. Urban
Nemo Release 3.1 | xterm_get_font (3) | February 23, 2025 |