05-15-2009
console /dev/console get image
We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server is not producing the images and therefore has no knowledge of the image. I've tried doing a display dump (xwd) and displaying the image I captured (xwud) but the image is blank (black). I have learned that the application is most likely using 'Direct Graphics Access' and so my dumps I've taken prove that that is the case and cannot go that route. I was hoping to find some way of getting the image being display by taking a pixel-by-pixel dump of the screen. I'm not sure, other than writing an application to reads the framebuffer (/dev/fb) and then dumping the image (somehow) from there? Extremely delicate scenario if not impossible. What other options do you recommend?
Thank you,
~Sreyes27
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I am fairly new to UNIX. I ran command tty on my shell prompt and it return me /dev/console.
I was reading in the book that normally output of tty command is tty01 , tty02 or so on.
My question is this is the file for my monitor? UNIX called it Terminal or Workstation?
What is this... (4 Replies)
Discussion started by: malikabid
4 Replies
2. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
3. Solaris
I am running solaris 8 on a sparcs box. The system is connected to a lightwave console server. I have a script that hangs when sending output to '/dev/console'. Any ideas?
-V (2 Replies)
Discussion started by: vada010
2 Replies
4. BSD
Hi,
The output of the cat ttys on a free BSD m/c
console none unknown off secure
#
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyd0 "/usr/libexec/getty std.9600" unknown on secure
ttyd1 "/usr/libexec/getty std.9600" dialup off
ttyd2... (0 Replies)
Discussion started by: mlalitha
0 Replies
5. Shell Programming and Scripting
hi,
how to access console of a switch having rj45 on switch side to db 9 female on pc side console cable which needs to be connected to one console server having rj11 on its side and db 9 female on other end.i.e. on switch side,console cable has rj45 and db 9 pin female connector on other side of... (1 Reply)
Discussion started by: pankajd
1 Replies
6. UNIX for Dummies Questions & Answers
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
Discussion started by: wbdevilliers
1 Replies
7. UNIX for Dummies Questions & Answers
Hi Gurus,
Can some one explain me the difference between a IP console and a serial console. (1 Reply)
Discussion started by: rama krishna
1 Replies
8. Emergency UNIX and Linux Support
Hi,
I have been trying to capture console logs from the init script.
When the ramfs is mounted, i check if usb is connected , if conncted, i mount it and redirected the console logs like so:
cat & /dev/ttyS1 >> /mnt/logs.txt
I'm getting
/bin/sh : /dev/ttyS1 :permission denied
... (8 Replies)
Discussion started by: xerox
8 Replies
9. Solaris
hi guys,
I don't know why I run this command:
echo a>/dev/console
It is not responsed from console and hang. If I run echo a>/dev/null, it is OK.
here it is the console file:
mcl1101 root#ls -ltr /dev/console
lrwxrwxrwx 1 root other 30 Aug 18 2009 /dev/console ->... (4 Replies)
Discussion started by: caspian
4 Replies
10. UNIX for Beginners Questions & Answers
HI All,
I have created a kickstart file and converted into .img with below procedure to mount this as a floppy image file to supply the kickstart file during the installation time.
But installation failing with unknown ks file location and other error messages.
1. Build an empty floppy... (3 Replies)
Discussion started by: venumutyalu
3 Replies
xwud(1X) xwud(1X)
NAME
xwud - image displayer for X
SYNOPSIS
xwud [-in file] [-noclick] [-geometry geom] [-display display] [-new] [-std <maptype>] [-raw] [-vis <vis-type-or-id>] [-help] [-rv] [-plane
number] [-fg color] [-bg color]
OPTIONS
If a bitmap image (or a single plane of an image) is displayed, this option can be used to specify the color to display for the 0 bits in
the image. This option allows you to specify the server to connect to; see X(1X). If a bitmap image (or a single plane of an image) is
displayed, this option can be used to specify the color to display for the 1 bits in the image. This option allows you to specify the size
and position of the window. Typically you will only want to specify the position, and let the size default to the actual size of the image.
Print out a short description of the allowable options. This option allows the user to explicitly specify the input file on the command
line. If no input file is given, the standard input is assumed. This option forces creation of a new colormap for displaying the image.
If the image characteristics happen to match those of the display, this can get the image on the screen faster, but at the cost of using a
new colormap (which on most displays will cause other windows to go technicolor). Clicking any button in the window will terminate the
application, unless this option is specified. Termination can always be achieved by typing 'q', 'Q', or ctrl-c. You can select a single
bit plane of the image to display with this option. Planes are numbered with zero being the least significant bit. This option can be
used to figure out which plane to pass to xpr(1X) for printing. This option forces the image to be displayed with whatever color values
happen to currently exist on the screen. This option is mostly useful when undumping an image back onto the same screen that the image
originally came from, while the original windows are still on the screen, and results in getting the image on the screen faster. If a bit-
map image (or a single plane of an image) is displayed, this option forces the foreground and background colors to be swapped. This may be
needed when displaying a bitmap image which has the color sense of pixel values 0 and 1 reversed from what they are on your display. This
option causes the image to be displayed using the specified Standard Colormap. The property name is obtained by converting the type to
upper case, prepending RGB_, and appending _MAP. Typical types are best, default, and gray. See xstdcmap(1X) for one way of creating Stan-
dard Colormaps. This option allows you to specify a particular visual or visual class. The default is to pick the "best" one. A particu-
lar class can be specified: StaticGray, GrayScale, StaticColor, PseudoColor, DirectColor, or TrueColor. Or Match can be specified, meaning
use the same class as the source image. Alternatively, an exact visual id (specific to the server) can be specified, either as a hexadeci-
mal number (prefixed with 0x) or as a decimal number. Finally, default can be specified, meaning to use the same class as the colormap of
the root window. Case is not significant in any of these strings.
DESCRIPTION
The xwud program is an X Window System image undumping utility. xwud allows X users to display in a window an image saved in a specially
formatted dump file, such as produced by xwd(1X).
ENVIRONMENT
To get default display.
FILES
X Window Dump File format definition file.
SEE ALSO
xwd(1X), xpr(1X), xstdcmap(1X), X(1X)
AUTHOR
Bob Scheifler, MIT X Consortium
xwud(1X)