08-21-2009
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I'm new to the whole X-windows environment.
Need help please..
Believe it or not- I have a licensed "Reflection".
I use the XDMCP host, and I can see 4 servers there.
2 of the servers are aix servers: one is ver 4.3, the other one is ver 5.
When I open a session to the aix4.3 a large... (2 Replies)
Discussion started by: sunbird
2 Replies
2. Shell Programming and Scripting
Hi
I am trying to write a script to automatically use a predefined program to open a file according to its extension... But I don't know how to pass "programeta" ... :confused:
while ]; do
case $1 in
-pdf ) programeta="kpdf"
shift 1 ;;
... (1 Reply)
Discussion started by: pau
1 Replies
3. HP-UX
Hi ,
I have installed HP-UX OS installation, it remains in command prompt screen.I need to move to CDE for my work to be done.
Can anybody help me reg this??
I am using HP-UX 11i V2.
Also, how to disable the mail daemon option, bcoz its taking too much time while rebooting.
... (1 Reply)
Discussion started by: Jagadeesh BR
1 Replies
4. Red Hat
hi,
I am using red hat .I want that when ever the user login in GUI interface the terminal windows automatically open and then the user want to logout it 1st close the terminal and then login. There is a file in #ls -a i.e .bashrc and .bash_logout
I does not know how to add my... (0 Replies)
Discussion started by: mypass
0 Replies
5. Linux
OK this is a bit messy.
I run Fedora with gnome on a compiz desktop, I have a script (userstart) that opens my 'standard' environment for all my machines when I login. userstart flips to a specific workspace and then opens the required applications in that workspace then flips to the next... (2 Replies)
Discussion started by: Bashingaway
2 Replies
6. Shell Programming and Scripting
Hi All ,
i am trying to create an alias to open a new gnome-terminal and run some commands in each tab & to have a specific name for each tab
i am using csh ,
tried this command
gnome-terminal --tab -t "s1" --tab -t "s2" --tab -t "s3" --tab -t "s4"
it opened 4 tabs but the title didn't... (0 Replies)
Discussion started by: Assem
0 Replies
7. UNIX for Beginners Questions & Answers
Hi Friends,
Every I try to open a vi window vim help.txt automatically opens evertime.
After doing ZZ or :q! also the same page opens automatically.
How to stop this? Is it machine specific ? Other users who are opening the same servers and files are not facing this issue.
Thanks... (1 Reply)
Discussion started by: sudiptabhaskar
1 Replies
8. Shell Programming and Scripting
Hi Friends,
Every I try to open a vi window, vim help.txt automatically opens evertime.
After doing ZZ or :q! also the same page opens automatically.
How to stop this? Is it machine specific ? Other users who are opening the same servers and files are not facing this issue.
Thanks... (3 Replies)
Discussion started by: sudiptabhaskar
3 Replies
LEARN ABOUT SUSE
map_slippy_cache
map::slippy::cache(n) Mapping utilities map::slippy::cache(n)
__________________________________________________________________________________________________________________________________________________
NAME
map::slippy::cache - Management of a tile cache in the local filesystem
SYNOPSIS
package require Tcl 8.4
package require Tk 8.4
package require img::png
package require map::slippy
package require map::slippy::cache ?0.2?
::map::slippy::cache cacheName cachedir provider
cacheName valid tile ?msgvar?
cacheName exists tile
cacheName get tile donecmd
_________________________________________________________________
DESCRIPTION
This package provides a class for managing a cache of tiles for slippy-based maps in the local filesystem.
API
::map::slippy::cache cacheName cachedir provider
Creates the cache cacheName and configures it with both the path to the directory contaiing the locally cached tiles (cachedir), and
the command prefix from which it will pull tiles asked for and not yet known to the cache itself (provider).
The result of the command is cacheName.
METHODS
cacheName valid tile ?msgvar?
This method checks the validity of a the given tile identifier. This is a convenience wrapper to ::map::slippy tile valid and has
the same interface.
cacheName exists tile
This methods tests whether the cache contains the specified tile or not. The result is a boolean value, true if the tile is known,
and false otherwise. The tile is identified by a list containing three elements, zoom level, row, and column number, in this order.
cacheName get tile donecmd
This is the main method of the cache, retrieving the image for the specified tile from the cache. The tile identifier is a list con-
taining three elements, the zoom level, row, and column number of the tile, in this order.
The command refix donecmd will be invoked when the cache either knows the image for the tile or that no image will forthcoming. It
will be invoked with either 2 or 3 arguments, i.e.
[1] The string set, the tile, and the image.
[2] The string unset, and the tile.
These two possibilities are used to either signal the image for the tile, or that the tile has no image defined for it.
When the cache has no information about the tile it will invoke the provider command prefix specified during its construction, adding three
arguments: The string get, the tile, and a callback into the cache. The latter will be invoked by the provider to either transfer the image
to the cache, or signal that the tile has no image.
When multiple requests for the same tile are made only one request will be issued to the provider.
REFERENCES
[1] http://wiki.openstreetmap.org/wiki/Main_Page
KEYWORDS
cache, filesystem, location, map, slippy, tile, zoom
map 0.2 map::slippy::cache(n)