There is a feature that I used in KDE's Konsole that I really miss when I'm on a non-GUI server. The ability to "broadcast" what I type to all open windows. That led me to wonder if this could be done with GNU screen (since it can do a whole lot of other cool stuff)? Basically, it would be... (3 Replies)
I finally gave up and installed the prepackaged version of 'screen', but I really want to get a better understanding of why my compilation of 'screen' failed on HP-UX 11i using GNU gcc (also from a prepackaged version). Whenever I would try to run './configure' to prep for building screen, it... (4 Replies)
I'm using GNU screen as a terminal to connect with a usb serial port. eg. screen /dev/tty.usbserial . This works well enough for manual processes. Is there a way to redirect the output of a script running in another session to the stdin of this virtual terminal? ie. I want to repeatedly send some... (1 Reply)
I'm trying to get GNU screen to show the output of "uptime" for the host being accessed in the current window, but unfortunately, no matter what window I go in, it shows the uptime for the host I originally launched screen in ("adminhost").
Does anyone know how to get this to update from the... (0 Replies)
I generate a hardcopy (C-a h) of an ncurses screen which has some formatting on it (boxes, highlights).
If I "cat" the file, i get only text.
If I do a cat hardcopy.n | less , then i see a lot of control characters where the boxes are.
most hardcopy.n shows me a hexdump of the file.
less... (0 Replies)
I compiled GNU screen on HP-UX 11.23 and following the compile, I get the following error when I try to run screen
Cannot find terminfo entry for 'vt100'
By default the TERMINFO is not set, I found a reference that setting it might help. I tried the following but I still receive the same... (2 Replies)
Using GNU-Screen for a long time.
C-a 1 2 n p to navigate to other tabs. This works till 9. I often have 10, 11 etc. Is there any way to go to them quickly ?
Currently, i have to do C-a 9, C-a n which is quite a pain. Thanks. (0 Replies)
After I do CTRL-" to show all of my screen sessions, I typically use the up and down arrows to navigate up and down.
Suddenly this has changed, and instead only "j" and "k" seem to work for up and down.
This has changed in the middle of my screen session. First one changed, and then the... (1 Reply)
Discussion started by: akbar
1 Replies
LEARN ABOUT CENTOS
create_sub_zbuffer
create_sub_zbuffer(3alleg4) Allegro manual create_sub_zbuffer(3alleg4)NAME
create_sub_zbuffer - Creates a sub-z-buffer. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
ZBUFFER *create_sub_zbuffer(ZBUFFER *parent, int x, int y, int width, int height);
DESCRIPTION
Creates a sub-z-buffer, ie. a z-buffer sharing drawing memory with a pre-existing z-buffer, but possibly with a different size. The same
rules as for sub-bitmaps apply: the sub-z-buffer width and height can extend beyond the right and bottom edges of the parent (they will be
clipped), but the origin point must lie within the parent region.
When drawing z-buffered to a bitmap, the top left corner of the bitmap is always mapped to the top left corner of the current z-buffer. So
this function is primarily useful if you want to draw to a sub-bitmap and use the corresponding sub-area of the z-buffer. In other cases,
eg. if you just want to draw to a sub-bitmap of screen (and not to other parts of screen), then you would usually want to create a normal
z-buffer (not sub-z-buffer) the size of the visible screen. You don't need to first create a z-buffer the size of the virtual screen and
then a sub-z-buffer of that.
RETURN VALUE
Returns the pointer to the sub ZBUFFER or NULL if there was an error. Remember to destroy the ZBUFFER once you are done with it, to avoid
having memory leaks.
SEE ALSO create_zbuffer(3alleg4), create_sub_bitmap(3alleg4), destroy_zbuffer(3alleg4)Allegro version 4.4.2 create_sub_zbuffer(3alleg4)