Sponsored Content
Top Forums Programming auto update on directory change Post 7677 by Neo on Saturday 29th of September 2001 10:13:58 AM
Old 09-29-2001
I suggest you look at opening the approproate directory and use the FD with select. Reading the select man page will help you formulate the strategy and algorithm.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

auto change filemanager folder colors dependent on location in directory hierarchy

Hello, Is it possible to make a file manager use different "colored folders" when browsing specific directories? For example, if I open a gnome file manager and browse my windows share at, smb://192.168.1.101/z/ , can I make those folders appear green? And when I open another instance of... (0 Replies)
Discussion started by: bz43
0 Replies

2. Web Development

How to auto update html page

is there any way to auto update html page. I created html page entry.html, whenever i change in html script i need to refresh my page. If not in html, can we do this in any other language and how? (2 Replies)
Discussion started by: RohitKJ
2 Replies

3. UNIX for Dummies Questions & Answers

auto change x screen and execute script

Hi there, I've been looking all day, but could not find anything helpfull, so I hope you can help me. When my system now starts up, the Xwindow is automaticly started and i get the log on screen (which is x screen 7 if I'm correct) Now what I would like is on startup that instead of going to... (1 Reply)
Discussion started by: Wonderke
1 Replies

4. Windows & DOS: Issues & Discussions

script to change widows update permissions

I want to allow windows update when ordinary users are logged on, I'm pretty sure that adjusting the permissions registry entry HEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/WindowsUpdate to allow acces to all domins users does the trick. I already have a logon.bat that runs at... (0 Replies)
Discussion started by: barrydocks
0 Replies

5. UNIX for Advanced & Expert Users

Update users password change time

Hello - Is this possible on Unix machines? Can we update user password change time? (6 Replies)
Discussion started by: manju--
6 Replies

6. UNIX for Dummies Questions & Answers

Auto Version update

We have a version for every file like RHZ 1.0 / Ver 1.4.2 etc. Whenever I place a new file with same file name i want the version to get auto upgraded. So can anyone suggest code.. Eg: RHX 1.0 -> RHZ 1.1 Ver 1.4.2. -> Ver 1.4.3 (1 Reply)
Discussion started by: krishna87
1 Replies

7. Shell Programming and Scripting

Change to directory and search some file in that directory in single command

I am trying to do the following task : export ENV=aaa export ENV_PATH=$(cd /apps | ls | grep $ENV) However, it's not working. What's the way to change to directory and search some file in that directory in single command Please help. (2 Replies)
Discussion started by: saurau
2 Replies

8. Shell Programming and Scripting

Shell Script for Auto IP Change

Hi, I am newbie to Linux/Asterisk. I am trying to write a shell script that would look for my SIP trunk registration, if found UNREACHABLE then it would execute a command and check my local IP, if my local IP is 192.168.1.106 then it would change the IP to 192.168.1.150 and vice versa, after... (8 Replies)
Discussion started by: jeetz
8 Replies
icetStrategy(3) 						  IceT Reference						   icetStrategy(3)

NAME
icetStrategy -- set the strategy used to composite images. Synopsis #include <IceT.h> void icetStrategy( IceTEnum strategy ); Description The IceT API comes packaged with several algorithms for compositing images. The algorithm to use is determined by selecting a strategy. The strategy is selected with icetStrategy. A strategy must be selected before icetDrawFrame is called. A strategy is chosen from one of the following provided enumerated values: ICET_STRATEGY_SEQUENTIAL Basically applies a ``traditional'' single tile composition (such as binary swap) to each tile in the order they were defined. Because each process must take part in the composition of each tile regardless of whether they draw into it, this strategy is usu- ally inefficient when compositing for more than one tile, but is recommended for the single tile case because it bypasses some of the communication necessary for the other multi-tile strategies. ICET_STRATEGY_DIRECT As each process renders an image for a tile, that image is sent directly to the process that will display that tile. This usually results in a few processes receiving and processing the majority of the data, and is therefore usually an inefficient strategy. ICET_STRATEGY_SPLIT Like ICET_STRATEGY_DIRECT, except that the tiles are split up, and each process is assigned a piece of a tile in such a way that each process receives and handles about the same amount of data. This strategy is often very efficient, but due to the large amount of messages passed, it has not proven to be very scalable or robust. ICET_STRATEGY_REDUCE A two phase algorithm. In the first phase, tile images are redistributed such that each process has one image for one tile. In the second phase, a ``traditional'' single tile composition is performed for each tile. Since each process contains an image for only one tile, all these compositions may happen simultaneously. This is a well rounded strategy that seems to perform well in a wide variety of multi-tile applications. (However, in the special case where only one tile is defined, the sequential strategy is proba- bly better.) ICET_STRATEGY_VTREE An extension to the binary tree algorithm for image composition. Sets up a ``virtual'' composition tree for each tile image. Pro- cesses that belong to multiple trees (because they render to more than one tile) are allowed to float between trees. This strategy is not quite as well load balanced as ICET_STRATEGY_REDUCE or ICET_STRATEGY_SPLIT, but has very well behaved network communication. Not all of the strategies support ordered image composition. ICET_STRATEGY_SEQUENTIAL, ICET_STRATEGY_DIRECT, and ICET_STRATEGY_REDUCE do support ordered image composition. ICET_STRATEGY_SPLIT and ICET_STRATEGY_VTREE do not support ordered image composition and will ignore ICET_ORDERED_COMPOSITE if it is enabled. Some of the strategies, namely ICET_STRATEGY_SEQUENTIAL and ICET_STRATEGY_REDUCE, use a sub-strategy that composites the image for a single tile. This single image strategy can also be specified with icetSingleImageStrategy. Errors ICET_INVALID_ENUM The strategy argument does not represent a valid strategy. Warnings None. Bugs None known. Copyright Copyright (C)2003 Sandia Corporation Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software. This source code is released under the New BSD License. See Also icetDrawFrame(3), icetGetStrategyName(3) icetSingleImageStrategy(3) IceT Reference August 9, 2010 icetStrategy(3)
All times are GMT -4. The time now is 05:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy