The sequence number can be thought of as a kind of serial number which uniquely identifies a device. The main purpose of the sequence number is to identify multiple names that refer to the same physical device (or workstation window). Each device has to have its own sequence number as in the following GKS example:
xwindows/ 3800/xwindows/X window 1/ / 1/
xoverlay/ 3805/xwindows/X window 1/ / 1/
xwindows2/ 3801/xwindows2/X window 2/ / 2/
xoverlay2/ 3806/xwindows2/X window 2/ / 2/
The sequence number refers to the physical device, so that devices that
have multiple names should have the same sequence number. This also
applies to devices that have multiple GKS workstation types, such as an
overlay plane, or image display with VT terminal interface.
If a sequence number has been set in the gns_gksnames file and the same device has an entry in the gns_idinames file then it should be given the same sequence number (and vice versa). That is if a device supports both GKS and IDI then the sequence number should be the same in both files. Continuing the previous example the gns_idinames file would have the following entries:
xwindows/ XW/xwindows/X window 1/ / 1/
xwindows2/ XW2/xwindows2/X window 2/ / 2/
A sequence number is an integer in the range 1 to 99. If the sequence number
is not present in the database then a default value of 0 is used.
GNS [2.5exrkstation