Sponsored Content
Operating Systems Linux Red Hat /etc folder deleted any solution? Post 302572805 by almirzaee on Friday 11th of November 2011 06:52:54 AM
Old 11-11-2011
Would you please explain it more? I am a noob and I don't want to damage my OS more than this! Smilie
 

6 More Discussions You Might Find Interesting

1. Solaris

restore deleted folder

Hi, Can someone help me out as to how to recover a deleted folder? the user id which deleted the folder is known, the approx time is known. Its urgent, plz help (2 Replies)
Discussion started by: aboxilica
2 Replies

2. Solaris

Deleted X11R6 folder - Help!

I am not a Solaris guy by a long stretch, but I have to work with it from time to time. While doing some unrelated testing I accidentally deleted the X11R6 directory and no longer have a GUI for the console. I'm looking for help to get it back. I deleted it through the gui, so I figured I could... (6 Replies)
Discussion started by: snowdust
6 Replies

3. Shell Programming and Scripting

File Management: How do I move all JPGS in a folder structure to a single folder?

This is the file structure: DESKTOP/Root of Photo Folders/Folder1qweqwasdfsd/*jpg DESKTOP/Root of Photo Folders/Folder2asdasdasd/*jpg DESKTOP/Root of Photo Folders/Folder3asdadfhgasdf/*jpg DESKTOP/Root of Photo Folders/Folder4qwetwdfsdfg/*jpg DESKTOP/Root of Photo... (4 Replies)
Discussion started by: guptaxpn
4 Replies

4. UNIX for Advanced & Expert Users

Recover Deleted Folder using rm command

Hi All, I accidentally deleted a important folder using rm command. Can i recover that folder. I don't have any backup mechanism. Please suggest.... its very urgant..Plz (1 Reply)
Discussion started by: vijay.gandra
1 Replies

5. Shell Programming and Scripting

Shell scripting for moving folder specific files into target directory of that country folder.

I need help to write shell script to copy files from one server to another server. Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies

6. Shell Programming and Scripting

Request for Shell script to move files from Subfolder to Parent folder and delete sub folder

Hi Team, I am new to shell script and there is a requirement where files should be moved from Subfolder to parent folder. Eg: parent folder --> /Interface/data/test/IN Sub folder -->/Interface/data/test/IN/Invoice20180607233338 Subfolder will be always with timestamp... (6 Replies)
Discussion started by: srivarun15
6 Replies
Damage(3U)						    InterViews Reference Manual 						Damage(3U)

NAME
Damage - repairs damaged graphics SYNOPSIS
#include <Unidraw/Graphic/damage.h> DESCRIPTION
Damage objects store damaged areas of a graphic for subsequent incremental repair. Areas of a graphic are "damaged" if they need to be redrawn for any reason, e.g., if their state has been modified or if under/overlapping graphics change their appearance. Damage objects try to minimize the amount of redrawing needed to repair a graphic. They are most useful when the graphic is complicated enough that it would be undesirable to redraw the entire canvas when the graphic is modified. Damage objects do not eliminate the need for an interac- tor's Redraw member function, though they could be used to implement it. PUBLIC OPERATIONS
Damage(Canvas* = nil, Painter* = nil, Graphic* = nil) Create a new Damage object for a graphic on the given canvas. The painter is used to erase damaged areas using its ClearRect func- tion prior to redrawing them. virtual void Incur(Graphic*) virtual void Incur(BoxObj&) virtual void Incur( Coord left, Coord bottom, Coord right, Coord top ) Notify the damage object that a rectangular area has been damaged, either by passing the graphic that contributed the area or the area itself. virtual void Added(Graphic*) Notify the damage object that the given graphic was appended (not inserted) to the graphic but never drawn. The damage object can thus be responsible for drawing newly added graphics as well. virtual void Repair() Repair all damage incurred since the last Repair (or since the damage object was created if this is the first Repair). virtual void Reset() Reset the damage object. Any damage incurred is lost. virtual boolean Incurred() Returns true if any damage has been incurred. void SetCanvas(Canvas*) void SetPainter(Painter*) void SetGraphic(Graphic*) Canvas* GetCanvas() Painter* GetPainter() Graphic* GetGraphic() Set and get attributes of the damage object. PROTECTED OPERATIONS
int Area(BoxObj&) A helper function that returns the area in square pixels occupied by the given BoxObj. virtual void DrawAreas() virtual void DrawAdditions() Explicitly draw the areas of incurred and added damage, respectively. virtual void Merge(BoxObj&) Merge the given BoxObj into the list of incur-damaged areas, coalescing it into an existing area if the number of non-overlapping areas exceeds 2. void FirstArea(Iterator&) void FirstAddition(Iterator&) void Next(Iterator&) boolean Done(Iterator) BoxObj* GetArea(Iterator) Graphic* GetAddition(Iterator) Operations for iterating over the lists of damaged areas (represented with BoxObj objects) and added Graphics. FirstArea and FirstAddition initialize the iterator to point to the first item on the corresponding list, Next advances the iterator, and Done returns true if the iterator points beyond the end of the list. GetArea and GetAddition return the BoxObj or Graphic to which the iterator points. UList* Elem(Iterator) A helper function for returning the UList to which an iterator points. The _areas protected member is a UList that stores the list of damaged areas, and the _additions protected stores the list of added graphics. void DeleteArea(BoxObj*) void DeleteAreas() DeleteArea is a helper function for deleting the storage associated with a damaged area, including the area itself and the UList element. DeleteAreas is a helper function that deletes the list of damaged areas. SEE ALSO
Canvas(3I), Graphic(3U), Iterator(3U), Painter(3I), UList(3U), geomobjs(3U) Unidraw 30 January 1991 Damage(3U)
All times are GMT -4. The time now is 05:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy