Sponsored Content
Top Forums UNIX for Advanced & Expert Users GNU Screen: Send to Multiple Screens at Once? Post 302164371 by Dave Miller on Monday 4th of February 2008 04:26:04 PM
Old 02-04-2008
Try the 'wall' command.

On my system, the 'wall' command will send a short message to everyone that's logged in.

That's good except:
It kinda screws up thier screen till they do a screen refresh. And, if whatever they were doing was about to do a refresh, they'll miss it.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Compiling GNU 'screen' on HP-UX 11i

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)
Discussion started by: deckard
4 Replies

2. UNIX for Advanced & Expert Users

GNU screen

Hello, One of the things I like about screen is that it has a scrollback buffer, which if you go into the copy mode, will let you go back for a specified number of line. Is there a way to extend the number of scrollback lines in screen? I've looked thoroughly online and I could not find a... (2 Replies)
Discussion started by: neked
2 Replies

3. UNIX for Dummies Questions & Answers

Redirection to GNU screen attached serial port

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)
Discussion started by: geoffjMontreal
1 Replies

4. UNIX for Advanced & Expert Users

Help with GNU screen: Backtick and Caption.

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)
Discussion started by: akbar
0 Replies

5. UNIX for Dummies Questions & Answers

GNU Screen - viewing hardcopy (binary)

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)
Discussion started by: sentinel
0 Replies

6. HP-UX

GNU screen on HP-UX 11.23

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)
Discussion started by: scotbuff
2 Replies

7. UNIX for Advanced & Expert Users

GNU screen: shortcut to go to tab 10,11 etc

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)
Discussion started by: sentinel
0 Replies

8. Shell Programming and Scripting

GNU-Screen Stuff problems

OPTIONS="java -Xms1024M -Xmx1024M -jar craftbukkit.jar" PROCESS=server01 screen -dmS $PROCESS $OPTIONS nogui # Starting the application screen -x $PROCESS -X stuff `printf "stop\r"` # Closing the application screen -x $PROCESS # Attaching to the... (3 Replies)
Discussion started by: Zanax
3 Replies

9. UNIX for Dummies Questions & Answers

Send output of command to screen and to multiple files

Hi there, I'm a newbie to Unix (taking a course in it right now) and I don't know how to do the following in bash: I need to write a command to display information about the used and free space on the file system, showing only local file systems, and then send the output of the command to... (1 Reply)
Discussion started by: damianberry
1 Replies

10. Linux

GNU Screen key bindings....

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
BlackPixelOfScreen(3)						  XLIB FUNCTIONS					     BlackPixelOfScreen(3)

NAME
BlackPixelOfScreen, WhitePixelOfScreen, CellsOfScreen, DefaultColormapOfScreen, DefaultDepthOfScreen, DefaultGCOfScreen, DefaultVisualOf- Screen, DoesBackingStore, DoesSaveUnders, DisplayOfScreen, XScreenNumberOfScreen, EventMaskOfScreen, HeightOfScreen, HeightMMOfScreen, Max- CmapsOfScreen, MinCmapsOfScreen, PlanesOfScreen, RootWindowOfScreen, WidthOfScreen, WidthMMOfScreen - screen information functions and macros SYNTAX
unsigned long BlackPixelOfScreen(Screen *screen); unsigned long WhitePixelOfScreen(Screen *screen); int CellsOfScreen(Screen *screen); Colormap DefaultColormapOfScreen(Screen *screen); int DefaultDepthOfScreen(Screen *screen); GC DefaultGCOfScreen(Screen *screen); Visual *DefaultVisualOfScreen(Screen *screen); int DoesBackingStore(Screen *screen); Bool DoesSaveUnders(Screen *screen); Display *DisplayOfScreen(Screen *screen); int XScreenNumberOfScreen(Screen *screen); long EventMaskOfScreen(Screen *screen); int HeightOfScreen(Screen *screen); int HeightMMOfScreen(Screen *screen); int MaxCmapsOfScreen(Screen *screen); int MinCmapsOfScreen(Screen *screen); int PlanesOfScreen(Screen *screen); Window RootWindowOfScreen(Screen *screen); int WidthOfScreen(Screen *screen); int WidthMMOfScreen(Screen *screen); ARGUMENTS
screen Specifies the appropriate Screen structure. DESCRIPTION
The BlackPixelOfScreen macro returns the black pixel value of the specified screen. The WhitePixelOfScreen macro returns the white pixel value of the specified screen. The CellsOfScreen macro returns the number of colormap cells in the default colormap of the specified screen. The DefaultColormapOfScreen macro returns the default colormap of the specified screen. The DefaultDepthOfScreen macro returns the default depth of the root window of the specified screen. The DefaultGCOfScreen macro returns the default GC of the specified screen, which has the same depth as the root window of the screen. The DefaultVisualOfScreen macro returns the default visual of the specified screen. The DoesBackingStore macro returns WhenMapped, NotUseful, or Always, which indicate whether the screen supports backing stores. The DoesSaveUnders macro returns a Boolean value indicating whether the screen supports save unders. The DisplayOfScreen macro returns the display of the specified screen. The XScreenNumberOfScreen function returns the screen index number of the specified screen. The EventMaskOfScreen macro returns the root event mask of the root window for the specified screen at connection setup. The HeightOfScreen macro returns the height of the specified screen. The HeightMMOfScreen macro returns the height of the specified screen in millimeters. The MaxCmapsOfScreen macro returns the maximum number of installed colormaps supported by the specified screen. The MinCmapsOfScreen macro returns the minimum number of installed colormaps supported by the specified screen. The PlanesOfScreen macro returns the number of planes in the root window of the specified screen. The RootWindowOfScreen macro returns the root window of the specified screen. The WidthOfScreen macro returns the width of the specified screen. The WidthMMOfScreen macro returns the width of the specified screen in millimeters. SEE ALSO
AllPlanes(3), ImageByteOrder(3), IsCursorKey(3) Xlib - C Language X Interface X Version 11 libX11 1.5.0 BlackPixelOfScreen(3)
All times are GMT -4. The time now is 11:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy