Bonjour la liste,

C''est dans le cadre du projet RefPerSys http://refpersys.org/ (intelligence artificielle symbolique, en cours)

Debian GNU/Linux bookworm/sid (x86/64)

Je veux apprendre à coder pour la FOX-toolkit. Voir https://fox-toolkit.org/ (snapshot 1.7.80)


J'ai codé -comme exercice- l'exemple jouet https://github.com/bstarynk/misc-basile/blob/master/fox-tinyed.cc

qui se compile par le script en https://github.com/bstarynk/misc-basile/blob/master/tinyed-build.sh

Pour des raisons incompréhensibles, le commit b689595b84 <https://github.com/bstarynk/misc-basile/commit/b689595b84921814984b7ab9a39b42388bf5b77b> n'affiche qu'un rectangle blanc.


De mémoire, il existait un utilitaire X11 (en ligne de commande) qui obtenait les informations du serveur X11 sur une fenêtre selectionn&e à la souris.

De quel utilitaire s'agit-il?

pcbasile /home/basile 11:03 % xdpyinfo| head -60
name of display:    :0.0
version number:    11.0
vendor string:    The X.Org Foundation
vendor release number:    12101003
X.Org version: 1.21.1.3
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  window 0x2000026, revert to Parent
number of extensions:    28
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    DRI2
    DRI3
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    MIT-SHM
    Present
    RANDR
    RECORD
    RENDER
    SECURITY
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-DGA
    XFree86-VidModeExtension
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
    XVideo
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    6000x1440 pixels (1587x381 millimeters)
  resolution:    96x96 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x5da
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20



Merci de vos suggestions.


Librement

--
Basile Starynkevitch<[email protected]>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/

Répondre à