screeninfo

Display contents of binary files in /dev/screen

Syntax:

screeninfo [-blits  -events  -input -requests] filename
    

Runs on:

QNX Neutrino

Options:

-blits
Decode a blit log to provide information such as the following:
  • position of the rectangle in the source buffer
  • position of the rectangle in the destination buffer
-events
Decode an event queue log to provide information such as the following:
  • event type
  • event timestamp
  • event data
-input
Decode an input log to provide information such as the following:
  • input device type
  • input device data
-requests
Decode a requests log to provide information such as the following:
  • context ID
  • message type
  • message subtype

Description:

The screeninfo utility is a command-line tool for displaying the contents of binary files generated in /dev/screen. This tool is generally used for debugging purposes.

Log type Log file
blits

/dev/screen/0/blt-1

/dev/screen/0/blt-2

events

/dev/screen/application_pid/ctx-context_id

where application_pid is the process ID of the running Screen application and context_id is the ID of the application's Screen context.

input

/dev/screen/input

requests

/dev/screen/requests

To invoke screeninfo on your target:

  1. Ensure that screen is running.
  2. Run screeninfo from a shell.

Examples:

To view request blit logs:
screeninfo -blits /dev/screen/0/blt-1
To view request event logs:
screeninfo -events /dev/screen/1597661/ctx-0
To view input logs:
screeninfo -input /dev/screen/input
To view request logs:
screeninfo -requests /dev/screen/requests