[UP]


Manual Reference Pages  - xterm_get_iconstate (3)

NAME

xterm_get_iconstate(3f) - [M_xterm] obtain xterm(1) icon state using escape sequences (LICENSE:PD)

CONTENTS

Synopsis
Description
Result
Example
Author
License

SYNOPSIS

function xterm_get_iconstate() result(state) integer :: state

DESCRIPTION

Sends an escape sequence to stdout to query the icon state of an xterm(1) window.

For this to work stdout must be your terminal device; so this may not work effectively in a pipe or when redirection is used, depending on your system.

RESULT

state returns ’opened’ if window is not iconified; ’closed’ if iconified.

EXAMPLE

A sample program:

   program demo_xterm_get_iconstate
   use M_xterm, only : xterm_get_iconstate
   implicit none
      write(*,*) xterm_get_iconstate()
   end program demo_xterm_get_iconstate

AUTHOR

John S. Urban

LICENSE

Public Domain


xterm_get_iconstate (3) March 11, 2021
Generated by manServer 1.08 from 83163a65-5657-49e4-92cb-be13c4a925a7 using man macros.