Sponsored Content
Full Discussion: Weird Question
Top Forums UNIX for Advanced & Expert Users Weird Question Post 57183 by jim mcnamara on Wednesday 20th of October 2004 10:55:21 AM
Old 10-20-2004
Video memory is a PC thing. Unix runs on a LOT of different hardware platforms, and was around before PC's. I/O operations are initiated in kernel mode.

The ncurses library supports some screen operations, which allow you to get data from what is on the display. Check that out.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Weird script

I need a script to do the following and have no idea how to do it...can someone help? I need to start Sql*Plus, load a query, say "unmatched.sql", run the query, then load unmatched.sc and run it, then print the output file that unmatched.sc created... any help greatly appreciated. Duckman (2 Replies)
Discussion started by: Duckman
2 Replies

2. UNIX for Dummies Questions & Answers

Weird Problem???

I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler #!/bin/ksh VAR='Oranges' if then echo "Found Lemons" elif then echo "Found Oranges" fi The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99
2 Replies

3. Shell Programming and Scripting

weird permissions

Context: Apache 2.0, Redhat 8.0, Perl 5.80 I am using the follwing line to write a file open UPLOADFILE, ">$writeto" or errorcantwrite(); which works just fine when the directory permissions are 700 However .... I dont want to have a directory that allows users to both upload and... (1 Reply)
Discussion started by: andyj
1 Replies

4. UNIX for Dummies Questions & Answers

Kind of weird question

I recently purchased a book titled Hacking: The Art of Exploitation. When I got it home I read the preface and found out that i shouldnt have bought it. It says the code examples in this book were done on an x86 based computer (I have a mac). Is there anything I can do to make my mac run similar to... (2 Replies)
Discussion started by: Cyberaxe
2 Replies

5. HP-UX

HP-UX weird FTP ?

Hi, I am trying to connect to a distributors FTP server (which returns the prompt at the bottom of this post). Each week these people post our sales data using the same file names. When you do an ls you can see them all there for months on end. When I use my windows or linux ftp clients I can... (10 Replies)
Discussion started by: IngmarMeins
10 Replies

6. UNIX for Dummies Questions & Answers

Weird File

$ls -lrt -rw-r--r-- 1 rathodr users 1757 Jan 6 13:36 cleanup.archive.files.pl -rwxr-xr-x 1 rathodr users 20503 Jan 6 13:52 alarm.control.pl -rw-r--r-- 1 rathodr users 20503 Jan 9 04:52q The last file seems to be a weird file. I am not sure how was it created. Maybe... (5 Replies)
Discussion started by: rahulrathod
5 Replies

7. Shell Programming and Scripting

Help with my weird script!

So I have this script titled "testing.sh" #!/bin/ksh #PROGRAM INITIALIZATION HomeDir=/home/sap/gl/ftp server=testftp01 userid=ftp_uatollmsgbus password="f&p53715" MSGLOG=${HomeDir}/msglog.txt FTPLogTmp=${HomeDir}/testing.tmp FTPLogFile=${HomeDir}/testing.log... (1 Reply)
Discussion started by: kdyzsa
1 Replies

8. UNIX for Dummies Questions & Answers

weird 'ls' output

Hi, Anyone knows why I can't display the contents of my directory and how to fix this? http://i50.tinypic.com/4smfth.jpg Thanks in advance for any advise. Deanne Double post. Continued here. (0 Replies)
Discussion started by: Deanne
0 Replies

9. Red Hat

Something weird with the FS size

Hi, I have a problem with a Files system. # df -h Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur /dev/cciss/c0d0p3 5,7G 3,7G 1,8G 68% / /dev/cciss/c0d0p1 97M 9,9M 82M 11% /boot /dev/cciss/c0d0p7 2,9G 2,0G 802M 71% /cache tmpfs 506M 0 ... (2 Replies)
Discussion started by: Castelior
2 Replies

10. Shell Programming and Scripting

Tcsh precmd weird question

I encountered a weird question while using tcsh. I wrote a test script trying to control 'history' behavior as below, set history=(1000 "%h\t%Y-%W-%D %P %R\n") set savehist=(1000 merge) alias precmd 'history -S;history -M' I was hoping all the user's commands input in multiple terminals... (6 Replies)
Discussion started by: bestard
6 Replies
pods::SDL::VideoInfo(3pm)				User Contributed Perl Documentation				 pods::SDL::VideoInfo(3pm)

NAME
SDL::VideoInfo - Video Target Information CATEGORY Core, Video, Structure SYNOPSIS
my $video_info = SDL::Video::get_video_info(); VideoInfo is only accessible "SDL::Video::get_video_info". This module only provides getters to the struct "SDL_VideoInfo". DESCRIPTION
This object is a read-only structure and is returned by "SDL::Video::get_video_info". It contains information on either the best available mode if called before "SDL::Video::set_video_mode" or the current video mode if called after "SDL::Video::set_video_mode". METHODS
hw_available $video_info->hw_available() # 1 if Hardware Accelerated Surfaces available Is it possible to create hardware surfaces ? wm_available $video_info->wm_available() # 1 if Window Manager available Is there a window manager available ? blit_hw $video_info->blit_hw() Are hardware to hardware blits accelerated ? blit_hw_CC $video_info->blit_hw_CC() Are hardware to hardware colorkey blits accelerated ? blit_hw_A $video_info->blit_hw_A() Are hardware to hardware alpha blits accelerated ? blit_sw $video_info->blit_sw() Are software to hardware blits accelerated ? blit_sw_CC $video_info->blit_sw_CC() Are software to hardware colorkey blits accelerated ? blit_sw_A $video_info->blit_sw_A() Are software to hardware alpha blits accelerated ? blit_fill $video_info->blit_fill() Are color fills accelerated ? video_mem my $video_mem = $video_info->video_mem(); Total amount of video memory in Kilobytes, should be accessed only if hw_available == 1, otherwise it is equal to 0 vfmt my $vd_pixel_format = $video_info->vfmt(); "SDL::PixelFormat" of the video device current_w, current_h $video_info->current_w(); $video_info->current_h(); Width and height of the current video mode, or of the desktop mode if "SDL_GetVideoInfo" was called before "SDL::Video::set_video_mode" (available since SDL 1.2.10) SEE ALSO
SDL::Video, SDL::PixelFormat AUTHORS
See "AUTHORS" in SDL. perl v5.14.2 2012-05-28 pods::SDL::VideoInfo(3pm)
All times are GMT -4. The time now is 02:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy