Sponsored Content
The Lounge What is on Your Mind? STILL can't buy a Linux PC easily Post 302477443 by Scrutinizer on Sunday 5th of December 2010 05:50:09 AM
Old 12-05-2010
Couldn't it be that the trend is towards the cheapest OS, which happens to be free, open and community driven (or an illegal copy of Windows gets installed after-the-fact)?
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to see all the subdirectories easily?

Suppose I have two directories a and b. Each directory has a few subdirectories, a1 a2 a3 and b1, b2, b3 respectively. Using ls, I can see a and b. Then I need cd a, ls, cd ../b, ls to see all the subdirectories. How to see all the directories and subdirectories easily, say using just one... (2 Replies)
Discussion started by: fld2007
2 Replies

2. Fedora

Unix which can easily boot from a DVD

Hi, Really sorry if this is in the wrong place etc but I really need some big time newbie help :o I am a recent Maths graduate and have been invited to a 4 day job interview/assessment where I will be taught and tested on the following: "Fedora UNIX, Bash Scripting". Having no experience... (8 Replies)
Discussion started by: Rich147
8 Replies

3. Shell Programming and Scripting

Easily search file and get line - little problem

hi, file1.txt: cell101 1 20.24.1.1 10 cell101 2 20.24.1.2 20 cell101 3 20.24.1.3 30 cell327 1 20.24.1.4 40 cell327 2 20.24.1.5 50 cell327 3 20.24.1.5 60 ... file2.txt: cell101 1 cell327 1 cell327 3 ... according to values in file2.txt, the script should search lines and get... (7 Replies)
Discussion started by: gc_sw
7 Replies

4. Linux

How to easily identify socket given a PID on Linux?

I have the PID of a process running on Linux mymac 2.6.18-417.el5 #1 SMP Sat Nov 19 14:54:59 EST 2016 x86_64 x86_64 x86_64 GNU/Linux I need to get the ip & port i.e socket details of the given PID (32752). Based on a suggestion on my other thread i tried bash-3.2$ netstat -anpt | grep... (8 Replies)
Discussion started by: mohtashims
8 Replies
request_refresh_rate(3alleg4)					  Allegro manual				     request_refresh_rate(3alleg4)

NAME
request_refresh_rate - Requests a specific refresh rate during graphic mode switch. Allegro game programming library. SYNOPSIS
#include <allegro.h> void request_refresh_rate(int rate); DESCRIPTION
Requests that the next call to set_gfx_mode() try to use the specified refresh rate, if possible. Not all drivers are able to control this at all, and even when they can, not all rates will be possible on all hardware, so the actual settings may differ from what you requested. After you call set_gfx_mode(), you can use get_refresh_rate() to find out what was actually selected. At the moment only the DOS VESA 3.0, X DGA 2.0 and some Windows DirectX drivers support this function. The speed is specified in Hz, eg. 60, 70. To return to the normal default selection, pass a rate value of zero. Example: request_refresh_rate(60); if (set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0) != 0) abort_on_error("Couldn't set graphic mode!"); if (get_refresh_rate() != 60) abort_on_error("Couldn't set refresh rate to 60Hz!"); SEE ALSO
set_gfx_mode(3alleg4), get_refresh_rate(3alleg4) Allegro version 4.4.2 request_refresh_rate(3alleg4)
All times are GMT -4. The time now is 10:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy