True stories
What's this all about then?
http://www.nseries.com/truestories/
2 hours to go...
14-Nov-200710:46 AM
psychomania wrote:
The next big thing needs to be a device with all of the N95's features plus a far more advanced web browser with a quality touch screen.
It also needs to be thin and light with a long lasting battery.
We can but hope
Lol, you aren't asking for much!
The nokia touch screen device is a little further off (although they've had a touch screen S60 product on the market for quite a while ....).
Not sure a much better browser is required - the S60 browser is based on the same open source engine as Apples much touted Safari browser in the iPhone, but with a very natty preview function. I just wish I was on a decent data tariff to make use of it!
Similar Messages
-
I'm trying to search using a wildcard in a AOP data store.
This produces a result:
Back EMF Date: 2012-08-20 Time: 14:16:04
But this does not
Back*
How can I use wildcards in a data store search?
Solved!
Go to Solution.I would assume all of the following should create correct results
dim query : set query = store.CreateQuery
query.ReturnType = "Measurement"
query.Conditions.Add "Measurement", "name", "=", "Back*"
store.Search(query)
store.GetElementList("Measurement", "name=Back%", true)
store.GetElementList("Measurement", "name=Back*", false)
store.GetElementList("Measurement", "name=Back*")
Please take into account that AOP does not support case insensitive query.
I assume that you are using a AVL Puma. You might need to set a switch in the Advanced DIalog of the AOP connection. "Use Like instead of MATCH".
In the connection parameter this shows up as
<santorinlike>YES</santorinlike> -
Using store.sync in threaded environment
Dear All,
I just wanted to know what will happen during this condition.
I have been using berkeley DB java edition for a while.
I have this environment set
private Environment myEnv;
private EntityStore store;
private PrimaryIndex pk;
private SecondaryIndex sk;
EnvironmentConfig myEnvConfig = new EnvironmentConfig();
myEnvConfig.setAllowCreate(true);
myEnvConfig.setSharedCache(true);
myEnv = new Environment(envHome, myEnvConfig);
StoreConfig storeConfig = new StoreConfig();
storeConfig.setAllowCreate(true);
storeConfig.setDeferredWrite(true);
store = new EntityStore(myEnv, storeName, storeConfig);
As you can see I have set deferredwrite as true .
Due to this I have to use sync.store whenever inserts and delete take place.
I have threaded environment . I just wanted to know .
Due to the above setting during inserts and delete happening in together will my berkeley db cache ever get corrupted .
I have not yet seen any issue .
Is there by any chance cache would be corrupted. Please update me on this
Regards
AshwinAshwin,
When you use deferred write, you are (a) running without transactions, and (b) reducing your durability guarantee. That is, if the environment goes down, you might lose some portion of the operations you were doing with deferred write.
(b) only applies when the environment crashes and restarts. I think that you are asking about concurrent reads to the deferred write database while the environment is up. In that case, the issues you have to think about are the same as with regular non-transactional updates. Because you are not using transactions, there is a chance that a reading thread will see data that is logically inconsistent. For example, since you have secondary indices, an insert into the store will result in an insert both into the primary and the secondary index. Since the insert is non transactional, those two updates are not atomic, and another thread may happen to read the primary before the secondary index insert has completed.
However, you should never see a data record that is physically corrupt. Each data record will be correct, which considered on its own.
Regards,
Linda -
Unable to respond to Calendar Invitations
I seem to be running into a strange bug and am curious if anyone has seen this before. On all of my devices (iPhone, iPad, and iMac), I am unable to respond to a Calendar event. On the iOS devices, when I tap on a response, it displays in the calendar, then switches back over to tentative about two seconds after I respond. On the Mac end, I get an error that may be potentially helpful (screenshot attached). I have also tried the iCloud.com browser and run into the same issue.
I am seeing this issue when trying to respond to invitations that have been sent from various services (gmail, iCloud, and AOL), so it doesn't look like it's something on their ends.
Error from iCloud.com:
TITLE
Report Calendar problem.
MESSAGE
Help Apple improve its products by sending us diagnostic and usage information about iCloud.
BUTTON ONE
OK
ORIGIN
server
TYPE
error
APPLICATION NAME
calendar
CURRENT VIEW
Month
BUILD NUMBER
1U43
TIME
Mon Nov 18 2013 08:58:52 GMT-0600 (CST) (1384786732977)
HOST
www.icloud.com
USER AGENT
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9) AppleWebKit/537.71 (KHTML, like Gecko) Version/7.0 Safari/537.71
DSID
218050986
ENVIRONMENT
PROD
RECENT LOG MESSAGES
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: BEGIN initialize statechart
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: BEGIN gotoState: __ROOT_STATE__
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: starting from current state: ---
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: current states before: ---
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: --> entering state: __ROOT_STATE__
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: --> entering state: waitingToFinishLaunching
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: current states after: waitingToFinishLaunching
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: END gotoState: __ROOT_STATE__
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: END initialize statechart
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Creating local CK.User object
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: OfflineDataSource: The user name has changed. Clearing localStorage and sessionStorage.
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: OfflineDataSource: Successfully set up session storage
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: BEGIN sendEvent: 'applicationHasFinishedLaunching'
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: waitingToFinishLaunching: will handle event 'applicationHasFinishedLaunching'
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Creating local CK.AccountPreferences object
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Cal.Preferences({showDeclinedEvents: false , showHoursAtATime: 12 , saveToMailbox: false , calendarListWidth: 250 , timeFormat: 12 , visibleDays: 7 , hideToDosOutsideView: false , alarmsByDefault: false , hideToDos: false , enableTimeZone: true , timeSeparator: : , viewingMode: 2 , promptEventUpdates: true , dateFormat: MM/DD/YYYY , hideEventsNum: 1 , showTodoPane: true , emailParticipantsSharingChange: false , showBirthdays: false , startWithTodayInWeekView: false , isCalendarListVisible: true , todoSortOrder: priority , hideEvents: false , triggerAlarmsInUI: true , lastAlarmSet: , selectedCollection: home , defaultEventAlarm: [object Object] , defaultCalendar: home , startingWeekday: 0 , hideToDosNum: 7 , dateSeparator: / , lastTimeZoneSet: America/Winnipeg,Canada/Saskatchewan,US/Pacific , guid: 1}) BUSY_LOADING: Deleting key from underlying data hash due to normalization: saveToMailbox
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Cal.Preferences({showDeclinedEvents: false , showHoursAtATime: 12 , calendarListWidth: 250 , timeFormat: 12 , visibleDays: 7 , hideToDosOutsideView: false , alarmsByDefault: false , hideToDos: false , enableTimeZone: true , timeSeparator: : , viewingMode: 2 , promptEventUpdates: true , dateFormat: MM/DD/YYYY , hideEventsNum: 1 , showTodoPane: true , emailParticipantsSharingChange: false , showBirthdays: false , startWithTodayInWeekView: false , isCalendarListVisible: true , todoSortOrder: priority , hideEvents: false , triggerAlarmsInUI: true , lastAlarmSet: , selectedCollection: home , defaultEventAlarm: [object Object] , defaultCalendar: home , startingWeekday: 0 , hideToDosNum: 7 , dateSeparator: / , lastTimeZoneSet: America/Winnipeg,Canada/Saskatchewan,US/Pacific , guid: 1}) BUSY_LOADING: Deleting key from underlying data hash due to normalization: hideToDosOutsideView
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Cal.Preferences({showDeclinedEvents: false , showHoursAtATime: 12 , calendarListWidth: 250 , timeFormat: 12 , visibleDays: 7 , alarmsByDefault: false , hideToDos: false , enableTimeZone: true , timeSeparator: : , viewingMode: 2 , promptEventUpdates: true , dateFormat: MM/DD/YYYY , hideEventsNum: 1 , showTodoPane: true , emailParticipantsSharingChange: false , showBirthdays: false , startWithTodayInWeekView: false , isCalendarListVisible: true , todoSortOrder: priority , hideEvents: false , triggerAlarmsInUI: true , lastAlarmSet: , selectedCollection: home , defaultEventAlarm: [object Object] , defaultCalendar: home , startingWeekday: 0 , hideToDosNum: 7 , dateSeparator: / , lastTimeZoneSet: America/Winnipeg,Canada/Saskatchewan,US/Pacific , guid: 1}) BUSY_LOADING: Deleting key from underlying data hash due to normalization: hideToDos
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Cal.Preferences({showDeclinedEvents: false , showHoursAtATime: 12 , calendarListWidth: 250 , timeFormat: 12 , visibleDays: 7 , alarmsByDefault: false , enableTimeZone: true , timeSeparator: : , viewingMode: 2 , promptEventUpdates: true , dateFormat: MM/DD/YYYY , hideEventsNum: 1 , showTodoPane: true , emailParticipantsSharingChange: false , showBirthdays: false , startWithTodayInWeekView: false , isCalendarListVisible: true , todoSortOrder: priority , hideEvents: false , triggerAlarmsInUI: true , lastAlarmSet: , selectedCollection: home , defaultEventAlarm: [object Object] , defaultCalendar: home , startingWeekday: 0 , hideToDosNum: 7 , dateSeparator: / , lastTimeZoneSet: America/Winnipeg,Canada/Saskatchewan,US/Pacific , guid: 1}) BUSY_LOADING: Deleting key from underlying data hash due to normalization: showTodoPane
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Cal.Preferences({showDeclinedEvents: false , showHoursAtATime: 12 , calendarListWidth: 250 , timeFormat: 12 , visibleDays: 7 , alarmsByDefault: false , enableTimeZone: true , timeSeparator: : , viewingMode: 2 , promptEventUpdates: true , dateFormat: MM/DD/YYYY , hideEventsNum: 1 , emailParticipantsSharingChange: false , showBirthdays: false , startWithTodayInWeekView: false , isCalendarListVisible: true , todoSortOrder: priority , hideEvents: false , triggerAlarmsInUI: true , lastAlarmSet: , selectedCollection: home , defaultEventAlarm: [object Object] , defaultCalendar: home , startingWeekday: 0 , hideToDosNum: 7 , dateSeparator: / , lastTimeZoneSet: America/Winnipeg,Canada/Saskatchewan,US/Pacific , guid: 1}) BUSY_LOADING: Deleting key from underlying data hash due to normalization: todoSortOrder
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Cal.Preferences({showDeclinedEvents: false , showHoursAtATime: 12 , calendarListWidth: 250 , timeFormat: 12 , visibleDays: 7 , alarmsByDefault: false , enableTimeZone: true , timeSeparator: : , viewingMode: 2 , promptEventUpdates: true , dateFormat: MM/DD/YYYY , hideEventsNum: 1 , emailParticipantsSharingChange: false , showBirthdays: false , startWithTodayInWeekView: false , isCalendarListVisible: true , hideEvents: false , triggerAlarmsInUI: true , lastAlarmSet: , selectedCollection: home , defaultEventAlarm: [object Object] , defaultCalendar: home , startingWeekday: 0 , hideToDosNum: 7 , dateSeparator: / , lastTimeZoneSet: America/Winnipeg,Canada/Saskatchewan,US/Pacific , guid: 1}) BUSY_LOADING: Deleting key from underlying data hash due to normalization: triggerAlarmsInUI
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Cal.Preferences({showDeclinedEvents: false , showHoursAtATime: 12 , calendarListWidth: 250 , timeFormat: 12 , visibleDays: 7 , alarmsByDefault: false , enableTimeZone: true , timeSeparator: : , viewingMode: 2 , promptEventUpdates: true , dateFormat: MM/DD/YYYY , hideEventsNum: 1 , emailParticipantsSharingChange: false , showBirthdays: false , startWithTodayInWeekView: false , isCalendarListVisible: true , hideEvents: false , lastAlarmSet: , selectedCollection: home , defaultEventAlarm: [object Object] , defaultCalendar: home , startingWeekday: 0 , hideToDosNum: 7 , dateSeparator: / , lastTimeZoneSet: America/Winnipeg,Canada/Saskatchewan,US/Pacific , guid: 1}) BUSY_LOADING: Deleting key from underlying data hash due to normalization: hideToDosNum
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: The retrieved preferences do not include all necessary keys — saving back a complete set.
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: - removed: saveToMailbox,hideToDosOutsideView,hideToDos,showTodoPane,todoSortOrder,trigger AlarmsInUI,hideToDosNum
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: The preferences have not changed, so there is no need to save them.
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Pending fetch request: {range: [10/27/2013 - 11/30/2013] , delegate: SC.ArrayController:sc1551 , loadDetails: false , callbackIfLoaded: true , store: Calendar main store (Cal.Store:sc3094)}
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: --> Request 1: GET to https://p03-calendarws.icloud.com:443/ca/time?clientBuildNumber=1U43&clientId=34 77FDFE-8F04-4B60-B9A3-FEDA20308B68&clientVersion=5.0&dsid=218050986&lang=en-us&r equestID=2&usertz=America%2FWinnipeg, headers: Content-Type=text/plain, body: (omitted)
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Delta calculations for Cal.MonthEventsCollectionView:sc3164: added: 0, removed: 0, updated: 0
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Delta calculations for Cal.MonthEventsCollectionView:sc3164: added: 0, removed: 0, updated: 0
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Delta calculations for Cal.MonthEventsCollectionView:sc3164: added: 0, removed: 0, updated: 0
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Delta calculations for Cal.MonthEventsCollectionView:sc3164: added: 0, removed: 0, updated: 0
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: BEGIN gotoState: waitingForStartupData
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: starting from current state: waitingToFinishLaunching
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: current states before: waitingToFinishLaunching
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: pivot state = __ROOT_STATE__
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: <-- exiting state: waitingToFinishLaunching
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: --> entering state: waitingForStartupData
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Issuing startup request…
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Updating loaded state to 257 for range [12/1/2013 - 1/4/2014]…
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: --> Request 2: GET to https://p03-calendarws.icloud.com:443/ca/startup?clientBuildNumber=1U43&clientId =3477FDFE-8F04-4B60-B9A3-FEDA20308B68&clientVersion=5.0&dsid=218050986&endDate=2 014-01-04&lang=en-us&requestID=3&startDate=2013-12-01&usertz=America%2FWinnipeg, headers: Content-Type=text/plain, body: (omitted)
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: current states after: waitingForStartupData
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: END gotoState: waitingForStartupData
Mon, 18 Nov 2013 14:58:37 GMT: INFO: SC.Statechart<sc2295>: END sendEvent: 'applicationHasFinishedLaunching'
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: <-- Response 1: 200 (92ms), headers: Cache-Control=no-store, no-cache, must-revalidate, max-age=0, Content-Type=text/json, Expires=Mon, 26 Jul 1997 05:00:00 GMT, X-Transaction-Id=e76b3bbc-5061-11e3-8f13-984be175f634 body: (omitted)
Mon, 18 Nov 2013 14:58:37 GMT: DEBUG: Delta calculations for Cal.MonthEventsCollectionView:sc3164: added: 0, removed: 0, updated: 0
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: APPLICATION: Received applicationWillBecomeActive
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: APPLICATION: Received routeDidChange
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Delta calculations for Cal.MonthEventsCollectionView:sc3164: added: 0, removed: 0, updated: 0
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: <-- Response 2: 200 (652ms, suspended for 589ms), headers: Cache-Control=no-store, no-cache, must-revalidate, max-age=0, Content-Type=text/json, Expires=Mon, 26 Jul 1997 05:00:00 GMT, X-Transaction-Id=e778a1bc-5061-11e3-8f13-984be175f634 body: (omitted)
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Updating loaded state to 1025 for range [12/1/2013 - 1/4/2014]…
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: BEGIN sendEvent: 'startupHasBeenLoaded'
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: waitingForStartupData: will handle event 'startupHasBeenLoaded'
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: BEGIN gotoState: readyToUse
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: starting from current state: waitingForStartupData
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: current states before: waitingForStartupData
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: pivot state = __ROOT_STATE__
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: <-- exiting state: waitingForStartupData
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: --> entering state: readyToUse
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: current states after: readyToUse
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: END gotoState: readyToUse
Mon, 18 Nov 2013 14:58:38 GMT: INFO: SC.Statechart<sc2295>: END sendEvent: 'startupHasBeenLoaded'
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Online mode
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Enqueuing new commit cycle because cycles are suspended…
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Beginning commit cycle (Cal.CommitCycle:sc7225) (no pending cycles)…
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: For Calendar with storeKey 9: requiresSharingAPI=false, requiresUpdateAPI=true
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: --> Request 3: POST to https://p03-calendarws.icloud.com:443/ca/collections/882c60b8167f94373d999eba3ed 1ba94b8671fdbeb1f0972ad3862e7c2c38780?clientBuildNumber=1U43&clientId=3477FDFE-8 F04-4B60-B9A3-FEDA20308B68&clientVersion=5.0&dsid=218050986&endDate=2014-01-04&l ang=en-us&methodOverride=PUT&requestID=4&startDate=2013-12-01&usertz=America%2FW innipeg, headers: Content-Type=text/plain, body: (omitted)
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: We cannot advance from the 'main' stage to the next stage yet, because there is 1 pending/outstanding request…
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Triggering pended fetch request: {range: [10/27/2013 - 11/30/2013] , delegate: SC.ArrayController:sc1551 , loadDetails: false , callbackIfLoaded: true , store: Calendar main store (Cal.Store:sc3094)}
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Fetching event data for range [10/27/2013 - 11/30/2013] from the server…
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Enqueuing new read cycle because there is a commit cycle in progress…
Mon, 18 Nov 2013 14:58:38 GMT: DEBUG: Updating loaded state to 257 for range [10/27/2013 - 11/30/2013]…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: <-- Response 3: 200 (365ms), headers: Content-Type=text/json, X-Transaction-Id=e84b4bda-5061-11e3-bdfa-984be16804c4 body: (omitted)
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: commit cycle (Cal.CommitCycle:sc7225): There are no more pending/outstanding requests.
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: pushRetrieve(): Merging newly-loaded data for storeKey 9 into main store…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: > taking value from server-retrieved data for 'ctag' ('FT=-@RU=5c162550-1ccc-4821-80d6-e2fab587c348@S=1685'), since it didn’t change in Calendar main store (it was 'FT=-@RU=5c162550-1ccc-4821-80d6-e2fab587c348@S=1684')…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: > taking value from server-retrieved data for 'extendedDetailsAreIncluded' ('true'), since it didn’t change in Calendar main store (it was 'false')…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: > taking value from server-retrieved data for 'participants' ('882c60b8167f94373d999eba3ed1ba94b8671fdbeb1f0972ad3862e7c2c38780:[email protected],882c60b8167f94373d999eba3ed1ba94b8671fdbeb1f0972ad3862e7c2c38780:[email protected]'), since it didn’t change in Calendar main store (it was 'null')…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: > taking value from server-retrieved data for 'lastModifiedDate' ('20131118,2013,11,18,14,58,898'), since it didn’t change in Calendar main store (it was '20131115,2013,11,15,18,28,1108')…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: > taking value from server-retrieved data for 'enabled' ('true'), since it didn’t change in Calendar main store (it was 'false')…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: > taking value from server-retrieved data for 'symbolicColor' ('null'), since it didn’t change in Calendar main store (it was 'purple')…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: Ending commit cycle (Cal.CommitCycle:sc7225) and will move on to pending cycles (read cycle (Cal.ReadCycle:sc7442))
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: Beginning read cycle (Cal.ReadCycle:sc7442) (no pending cycles)…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: --> Request 4: GET to https://p03-calendarws.icloud.com:443/ca/events?clientBuildNumber=1U43&clientId= 3477FDFE-8F04-4B60-B9A3-FEDA20308B68&clientVersion=5.0&dsid=218050986&endDate=20 13-11-30&lang=en-us&requestID=5&startDate=2013-10-27&usertz=America%2FWinnipeg, headers: Content-Type=text/plain, body: (omitted)
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: read cycle (Cal.ReadCycle:sc7442): There is 1 pending/outstanding request (a read)…
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: SC.Module: Prefetching module 'calendar/secondary'.
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: SC.Module: Loading JavaScript file in 'calendar/secondary' -> '/applications/calendar/1U43/frameworks/calendar/secondary/1U43/en-us/javascrip t-strings.js'
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: SC.Module: Module 'calendar/secondary' finished loading.
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: SC.Module: Module 'calendar/secondary' was prefetched, not evaluating until needed.
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: <-- Response 4: 200 (660ms), headers: Cache-Control=no-store, no-cache, must-revalidate, max-age=0, Content-Type=text/json, Expires=Mon, 26 Jul 1997 05:00:00 GMT, X-Transaction-Id=e884207c-5061-11e3-bdfa-984be16804c4 body: (omitted)
Mon, 18 Nov 2013 14:58:39 GMT: DEBUG: Updating loaded state to 1025 for range [10/27/2013 - 11/30/2013]…
Mon, 18 Nov 2013 14:58:40 GMT: DEBUG: read cycle (Cal.ReadCycle:sc7442): There are no more pending/outstanding requests.
Mon, 18 Nov 2013 14:58:40 GMT: DEBUG: Delta calculations for Cal.MonthEventsCollectionView:sc3164: added: 56, removed: 0, updated: 0
Mon, 18 Nov 2013 14:58:40 GMT: DEBUG: Ending read cycle (Cal.ReadCycle:sc7442) (no pending cycles)
Mon, 18 Nov 2013 14:58:46 GMT: DEBUG: SC.Module: Attempting to load 'calendar/secondary'
Mon, 18 Nov 2013 14:58:46 GMT: DEBUG: SC.Module: Module 'calendar/secondary' already loaded.
Mon, 18 Nov 2013 14:58:46 GMT: DEBUG: SC.Module: Evaluating JavaScript for module 'calendar/secondary'.
Mon, 18 Nov 2013 14:58:46 GMT: DEBUG: SC.Module: Module 'calendar/secondary' has completed loading, invoking callbacks.
Mon, 18 Nov 2013 14:58:46 GMT: DEBUG: SC.Module: Attempting to load 'calendar/secondary/event_inspector'
Mon, 18 Nov 2013 14:58:46 GMT: DEBUG: SC.Module: Module 'calendar/secondary/event_inspector' already loaded.
Mon, 18 Nov 2013 14:58:46 GMT: DEBUG: SC.Module: Evaluating JavaScript for module 'calendar/secondary/event_inspector'.
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Module 'calendar/secondary/event_inspector' has completed loading, invoking callbacks.
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Object:sc10534:initStatechart()
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: -> entering "EI Closed"
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: We need to load the event details…
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: Retrieving details for Event with storeKey 139…
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: --> Request 5: GET to https://p03-calendarws.icloud.com:443/ca/eventdetail/home/62CD0577-431E-408D-AC0 F-EFA3D50C4D12?clientBuildNumber=1U43&clientId=3477FDFE-8F04-4B60-B9A3-FEDA20308 B68&clientVersion=5.0&dsid=218050986&lang=en-us&requestID=6&usertz=America%2FWin nipeg, headers: Content-Type=text/plain, body: (omitted)
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Object:sc10534:dispatch('show')
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: ContactsAutocomplete name order preference set: 'first,last'
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: "EI Closed" handled event 'show' with a transition to "ReadOnly EI Opened"
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: <- leaving "EI Closed"
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: -> entering "ReadOnly EI Opened"
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: <-- Response 5: 200 (135ms), headers: Cache-Control=no-store, no-cache, must-revalidate, max-age=0, Content-Type=text/json, Expires=Mon, 26 Jul 1997 05:00:00 GMT, X-Transaction-Id=ed1d53ce-5061-11e3-b714-984be1734e54 body: (omitted)
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Object:sc10534:dispatch('statusChange')
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Attempting to load 'calendar/secondary/event_inspector/invitees_list'
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Module 'calendar/secondary/event_inspector/invitees_list' already loaded.
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Evaluating JavaScript for module 'calendar/secondary/event_inspector/invitees_list'.
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Module 'calendar/secondary/event_inspector/invitees_list' has completed loading, invoking callbacks.
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: "ReadOnly EI Opened" handled event 'statusChange' with a transition to "Event Invitation"
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: -> entering "Event Invitation"
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: Warning: Use the element reference for the heightForString method. Just using class names may result in inaccurate values.
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Attempting to load 'calendar/secondary/alarms'
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Module 'calendar/secondary/alarms' already loaded.
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Evaluating JavaScript for module 'calendar/secondary/alarms'.
Mon, 18 Nov 2013 14:58:47 GMT: DEBUG: SC.Module: Module 'calendar/secondary/alarms' has completed loading, invoking callbacks.
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: SC.Object:sc10534:dispatch('button1Action')
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Warning: Use the element reference for the heightForString method. Just using class names may result in inaccurate values.
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Beginning commit cycle (Cal.CommitCycle:sc7225) (no pending cycles)…
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: --> Request 6: POST to https://p03-calendarws.icloud.com:443/ca/events/home/62CD0577-431E-408D-AC0F-EFA 3D50C4D12?clientBuildNumber=1U43&clientId=3477FDFE-8F04-4B60-B9A3-FEDA20308B68&c lientVersion=5.0&dsid=218050986&endDate=2014-01-04&ifMatch=C%3D2714%40U%3Db92d24 18-7a97-4736-8263-997a344ac99a&lang=en-us&methodOverride=PUT&requestID=7&startDa te=2013-10-27&usertz=America%2FWinnipeg, headers: Content-Type=text/plain, body: (omitted)
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: We cannot advance from the 'main' stage to the next stage yet, because there is 1 pending/outstanding request…
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: "Event Invitation" handled event 'button1Action' with a transition to "EI Closed"
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: <- leaving "Event Invitation"
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: <- leaving "ReadOnly EI Opened"
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: -> entering "EI Closed"
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: <-- Response 6: 403 (536ms), headers: Content-Type=text/json, X-Transaction-Id=edd59bdc-5061-11e3-8b5e-984be1741b40 body: {"status": 403, "ChangeSet": {"UpcomingAlarm": [], "fullState": false}, "message": null, "guid": "62CD0577-431E-408D-AC0F-EFA3D50C4D12"}
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Received special response: CW.Response:sc13580<POST /ca/events/home/62CD0577-431E-408D-AC0F-EFA3D50C4D12, status=403
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Failed to update Event with storeKey 139
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: commit cycle (Cal.CommitCycle:sc7225): There are no more pending/outstanding requests.
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Event with storeKey 139 is not included in the changeset, so we need to roll back its data…
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Rolling back all properties of Event with storeKey 139 to the values at the beginning of the commit cycle…
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Rolling back all properties of Invitee with storeKey 227 to the values at the beginning of the commit cycle…
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Rolling back all properties of Invitee with storeKey 229 to the values at the beginning of the commit cycle…
Mon, 18 Nov 2013 14:58:48 GMT: DEBUG: Ending commit cycle (Cal.CommitCycle:sc7225) (no pending cycles)
Mon, 18 Nov 2013 14:58:52 GMT: DEBUG: CloudKit: ErrorCatcher dialog invoked.
Mon, 18 Nov 2013 14:58:52 GMT: DEBUG: SC.Module: Attempting to load 'cloudkit/error_catcher'
Mon, 18 Nov 2013 14:58:52 GMT: DEBUG: SC.Module: Module 'cloudkit/error_catcher' is not loaded, loading now.
Mon, 18 Nov 2013 14:58:52 GMT: DEBUG: SC.Module: Loading CSS file in 'cloudkit/error_catcher' -> '/applications/calendar/1U43/frameworks/cloudkit/error_catcher/1U43/en-us/style sheet.css'
Mon, 18 Nov 2013 14:58:52 GMT: DEBUG: SC.Module: Loading JavaScript file in 'cloudkit/error_catcher' -> '/applications/calendar/1U43/frameworks/cloudkit/error_catcher/1U43/en-us/javas cript.js'
Mon, 18 Nov 2013 14:58:52 GMT: DEBUG: SC.Module: Module 'cloudkit/error_catcher' finished loading.
Mon, 18 Nov 2013 14:58:52 GMT: DEBUG: SC.Module: Evaluating and invoking callbacks for 'cloudkit/error_catcher'.
Mon, 18 Nov 2013 14:58:52 GMT: DEBUG: SC.Module: Module 'cloudkit/error_catcher' has completed loading, invoking callbacks.To make an email or reply you compose in Gmail contain an invitation:
Start composing a new message or reply in Gmail.
Click Add event info.
Type the event title under Event:.
Specify a location (optional) under Where:.
Set the event's time and duration under When:.
Continue composing and eventually send your message
To make an email or reply you compose in Gmail contain an invitation:
Start composing a new message or reply in Gmail.Click Add event info.Type the event title under Event:.Specify a location (optional) under Where:.Set the event's time and duration under When:.Continue composing and eventually send your message -
Database Performace Is Very Poor On IBM AIX Compared To Windows NT
Hi,
Recently we have migrated Our Oracle 10g DataBase from Windows NT to IBM AIX Box. Unfortunately, the Database Performance is gone down when compared to Windows NT environment. Since been a week we are working to pick the problem. We have altered the init.ora parameters to see the database behaviour., But there no Improvement is been observerd.
Below are the Init.Ora Parameters ,
Name Value Description
tracefile_identifier null trace file custom identifier
lock_name_space null lock name space used for generating lock names for standby/clone database
processes 395 user processes
sessions 439 user and system sessions
timed_statistics TRUE maintain internal timing statistics
timed_os_statistics 0 internal os statistic gathering interval in seconds
resource_limit TRUE master switch for resource limit
license_max_sessions 0 maximum number of non-system user sessions allowed
license_sessions_warning 0 warning level for number of non-system user sessions
cpu_count 16 number of CPUs for this instance
instance_groups null list of instance group names
event null debug event control - default null string
sga_max_size 15032385536 max total SGA size
pre_page_sga FALSE pre-page sga for process
shared_memory_address 0 SGA starting address (low order 32-bits on 64-bit platforms)
hi_shared_memory_address 0 SGA starting address (high order 32-bits on 64-bit platforms)
use_indirect_data_buffers FALSE Enable indirect data buffers (very large SGA on 32-bit platforms)
lock_sga TRUE Lock entire SGA in physical memory
shared_pool_size 0 size in bytes of shared pool
large_pool_size 0 size in bytes of large pool
java_pool_size 0 size in bytes of java pool
streams_pool_size 50331648 size in bytes of the streams pool
shared_pool_reserved_size 84724940 size in bytes of reserved area of shared pool
java_soft_sessionspace_limit 0 warning limit on size in bytes of a Java sessionspace
java_max_sessionspace_size 0 max allowed size in bytes of a Java sessionspace
spfile /oracle/app/product/10.2.0.3.0/dbs/spfileCALMDB.ora server parameter file
instance_type RDBMS type of instance to be executed
trace_enabled FALSE enable KST tracing
nls_language AMERICAN NLS language name
nls_territory AMERICA NLS territory name
nls_sort null NLS linguistic definition name
nls_date_language null NLS date language name
nls_date_format null NLS Oracle date format
nls_currency null NLS local currency symbol
nls_numeric_characters null NLS numeric characters
nls_iso_currency null NLS ISO currency territory name
nls_calendar null NLS calendar system name
nls_time_format null time format
nls_timestamp_format null time stamp format
nls_time_tz_format null time with timezone format
nls_timestamp_tz_format null timestampe with timezone format
nls_dual_currency null Dual currency symbol
nls_comp null NLS comparison
nls_length_semantics BYTE create columns using byte or char semantics by default
nls_nchar_conv_excp FALSE NLS raise an exception instead of allowing implicit conversion
fileio_network_adapters null Network Adapters for File I/O
filesystemio_options asynch IO operations on filesystem files
disk_asynch_io FALSE Use asynch I/O for random access devices
tape_asynch_io TRUE Use asynch I/O requests for tape devices
dbwr_io_slaves 0 DBWR I/O slaves
backup_tape_io_slaves FALSE BACKUP Tape I/O slaves
resource_manager_plan null resource mgr top plan
cluster_interconnects null interconnects for RAC use
file_mapping FALSE enable file mapping
gcs_server_processes 0 number of background gcs server processes to start
active_instance_count null number of active instances in the cluster database
sga_target 15032385536 Target size of SGA
control_files /oradata10/oradata/CALMDB/control/CONTROL02.CTL control file names list
db_file_name_convert null datafile name convert patterns and strings for standby/clone db
log_file_name_convert null logfile name convert patterns and strings for standby/clone db
control_file_record_keep_time 0 control file record keep time in days
db_block_buffers 0 Number of database blocks cached in memory
db_block_checksum TRUE store checksum in db blocks and check during reads
db_block_size 8192 Size of database block in bytes
db_cache_size 2147483648 Size of DEFAULT buffer pool for standard block size buffers
db_2k_cache_size 0 Size of cache for 2K buffers
db_4k_cache_size 0 Size of cache for 4K buffers
db_8k_cache_size 0 Size of cache for 8K buffers
db_16k_cache_size 0 Size of cache for 16K buffers
db_32k_cache_size 0 Size of cache for 32K buffers
db_keep_cache_size 0 Size of KEEP buffer pool for standard block size buffers
db_recycle_cache_size 0 Size of RECYCLE buffer pool for standard block size buffers
db_writer_processes 6 number of background database writer processes to start
buffer_pool_keep null Number of database blocks/latches in keep buffer pool
buffer_pool_recycle null Number of database blocks/latches in recycle buffer pool
db_cache_advice ON Buffer cache sizing advisory
max_commit_propagation_delay 0 Max age of new snapshot in .01 seconds
compatible 10.2.0.3.0 Database will be completely compatible with this software version
remote_archive_enable TRUE remote archival enable setting
log_archive_config null log archive config parameter
log_archive_start FALSE start archival process on SGA initialization
log_archive_dest null archival destination text string
log_archive_duplex_dest null duplex archival destination text string
log_archive_dest_1 null archival destination #1 text string
log_archive_dest_2 null archival destination #2 text string
log_archive_dest_3 null archival destination #3 text string
log_archive_dest_4 null archival destination #4 text string
log_archive_dest_5 null archival destination #5 text string
log_archive_dest_6 null archival destination #6 text string
log_archive_dest_7 null archival destination #7 text string
log_archive_dest_8 null archival destination #8 text string
log_archive_dest_9 null archival destination #9 text string
log_archive_dest_10 null archival destination #10 text string
log_archive_dest_state_1 enable archival destination #1 state text string
log_archive_dest_state_2 enable archival destination #2 state text string
log_archive_dest_state_3 enable archival destination #3 state text string
log_archive_dest_state_4 enable archival destination #4 state text string
log_archive_dest_state_5 enable archival destination #5 state text string
log_archive_dest_state_6 enable archival destination #6 state text string
log_archive_dest_state_7 enable archival destination #7 state text string
log_archive_dest_state_8 enable archival destination #8 state text string
log_archive_dest_state_9 enable archival destination #9 state text string
log_archive_dest_state_10 enable archival destination #10 state text string
log_archive_max_processes 2 maximum number of active ARCH processes
log_archive_min_succeed_dest 1 minimum number of archive destinations that must succeed
standby_archive_dest ?/dbs/arch standby database archivelog destination text string
log_archive_trace 0 Establish archivelog operation tracing level
log_archive_local_first TRUE Establish EXPEDITE attribute default value
log_archive_format %t_%s_%r.dbf archival destination format
fal_client null FAL client
fal_server null FAL server list
log_buffer 176918528 redo circular buffer size
log_checkpoint_interval 0 # redo blocks checkpoint threshold
log_checkpoint_timeout 0 Maximum time interval between checkpoints in seconds
archive_lag_target 0 Maximum number of seconds of redos the standby could lose
db_files 200 max allowable # db files
db_file_multiblock_read_count 128 db block to be read each IO
read_only_open_delayed FALSE if TRUE delay opening of read only files until first access
cluster_database FALSE if TRUE startup in cluster database mode
parallel_server FALSE if TRUE startup in parallel server mode
parallel_server_instances 1 number of instances to use for sizing OPS SGA structures
cluster_database_instances 1 number of instances to use for sizing cluster db SGA structures
db_create_file_dest null default database location
db_create_online_log_dest_1 null online log/controlfile destination #1
db_create_online_log_dest_2 null online log/controlfile destination #2
db_create_online_log_dest_3 null online log/controlfile destination #3
db_create_online_log_dest_4 null online log/controlfile destination #4
db_create_online_log_dest_5 null online log/controlfile destination #5
db_recovery_file_dest null default database recovery file location
db_recovery_file_dest_size 0 database recovery files size limit
standby_file_management MANUAL if auto then files are created/dropped automatically on standby
gc_files_to_locks null mapping between file numbers and global cache locks
thread 0 Redo thread to mount
fast_start_io_target 0 Upper bound on recovery reads
fast_start_mttr_target 0 MTTR target of forward crash recovery in seconds
log_checkpoints_to_alert FALSE log checkpoint begin/end to alert file
recovery_parallelism 0 number of server processes to use for parallel recovery
logmnr_max_persistent_sessions 1 maximum number of threads to mine
db_flashback_retention_target 1440 Maximum Flashback Database log retention time in minutes.
dml_locks 1000 dml locks - one for each table modified in a transaction
ddl_wait_for_locks FALSE Disable NOWAIT DML lock acquisitions
replication_dependency_tracking TRUE tracking dependency for Replication parallel propagation
instance_number 0 instance number
transactions 482 max. number of concurrent active transactions
transactions_per_rollback_segment 5 number of active transactions per rollback segment
rollback_segments null undo segment list
undo_management AUTO instance runs in SMU mode if TRUE, else in RBU mode
undo_tablespace UNDOTBS1 use/switch undo tablespace
undo_retention 10800 undo retention in seconds
fast_start_parallel_rollback LOW max number of parallel recovery slaves that may be used
resumable_timeout 0 set resumable_timeout
db_block_checking FALSE header checking and data and index block checking
recyclebin off recyclebin processing
create_stored_outlines null create stored outlines for DML statements
serial_reuse disable reuse the frame segments
ldap_directory_access NONE RDBMS's LDAP access option
os_roles FALSE retrieve roles from the operating system
rdbms_server_dn null RDBMS's Distinguished Name
max_enabled_roles 150 max number of roles a user can have enabled
remote_os_authent FALSE allow non-secure remote clients to use auto-logon accounts
remote_os_roles FALSE allow non-secure remote clients to use os roles
O7_DICTIONARY_ACCESSIBILITY FALSE Version 7 Dictionary Accessibility Support
remote_login_passwordfile NONE password file usage parameter
license_max_users 0 maximum number of named users that can be created in the database
audit_sys_operations TRUE enable sys auditing
global_context_pool_size null Global Application Context Pool Size in Bytes
db_domain null directory part of global database name stored with CREATE DATABASE
global_names TRUE enforce that database links have same name as remote database
distributed_lock_timeout 60 number of seconds a distributed transaction waits for a lock
commit_point_strength 1 Bias this node has toward not preparing in a two-phase commit
instance_name CALMDB instance name supported by the instance
service_names CALMDB service names supported by the instance
dispatchers (PROTOCOL=TCP) (SERVICE=CALMDB) specifications of dispatchers
shared_servers 1 number of shared servers to start up
max_shared_servers null max number of shared servers
max_dispatchers null max number of dispatchers
circuits null max number of circuits
shared_server_sessions null max number of shared server sessions
local_listener null local listener
remote_listener null remote listener
cursor_space_for_time FALSE use more memory in order to get faster execution
session_cached_cursors 200 Number of cursors to cache in a session.
remote_dependencies_mode TIMESTAMP remote-procedure-call dependencies mode parameter
utl_file_dir null utl_file accessible directories list
smtp_out_server null utl_smtp server and port configuration parameter
plsql_v2_compatibility FALSE PL/SQL version 2.x compatibility flag
plsql_compiler_flags INTERPRETED, NON_DEBUG PL/SQL compiler flags
plsql_native_library_dir null plsql native library dir
plsql_native_library_subdir_count 0 plsql native library number of subdirectories
plsql_warnings DISABLE:ALL PL/SQL compiler warnings settings
plsql_code_type INTERPRETED PL/SQL code-type
plsql_debug FALSE PL/SQL debug
plsql_optimize_level 2 PL/SQL optimize level
plsql_ccflags null PL/SQL ccflags
job_queue_processes 10 number of job queue slave processes
parallel_min_percent 0 minimum percent of threads required for parallel query
create_bitmap_area_size 8388608 size of create bitmap buffer for bitmap index
bitmap_merge_area_size 1048576 maximum memory allow for BITMAP MERGE
cursor_sharing FORCE cursor sharing mode
parallel_min_servers 10 minimum parallel query servers per instance
parallel_max_servers 320 maximum parallel query servers per instance
parallel_instance_group null instance group to use for all parallel operations
parallel_execution_message_size 4096 message buffer size for parallel execution
hash_area_size 62914560 size of in-memory hash work area
shadow_core_dump partial Core Size for Shadow Processes
background_core_dump partial Core Size for Background Processes
background_dump_dest /oradata28/oradata/CALMDB/bdump Detached process dump directory
user_dump_dest /oradata28/oradata/CALMDB/udump User process dump directory
max_dump_file_size 10M Maximum size (blocks) of dump file
core_dump_dest /oradata28/oradata/CALMDB/cdump Core dump directory
use_sigio TRUE Use SIGIO signal
audit_file_dest /oracle/app/product/10.2.0.3.0/rdbms/audit Directory in which auditing files are to reside
audit_syslog_level null Syslog facility and level
object_cache_optimal_size 102400 optimal size of the user session's object cache in bytes
object_cache_max_size_percent 10 percentage of maximum size over optimal of the user session's object cache
session_max_open_files 20 maximum number of open files allowed per session
open_links 4 max # open links per session
open_links_per_instance 4 max # open links per instance
commit_write null transaction commit log write behaviour
optimizer_features_enable 10.2.0.3 optimizer plan compatibility parameter
fixed_date null fixed SYSDATE value
audit_trail DB enable system auditing
sort_area_size 31457280 size of in-memory sort work area
sort_area_retained_size 3145728 size of in-memory sort work area retained between fetch calls
db_name TESTDB database name specified in CREATE DATABASE
db_unique_name TESTDB Database Unique Name
open_cursors 2000 max # cursors per session
ifile null include file in init.ora
sql_trace FALSE enable SQL trace
os_authent_prefix ops$ prefix for auto-logon accounts
optimizer_mode ALL_ROWS optimizer mode
sql92_security FALSE require select privilege for searched update/delete
blank_trimming FALSE blank trimming semantics parameter
star_transformation_enabled FALSE enable the use of star transformation
parallel_adaptive_multi_user TRUE enable adaptive setting of degree for multiple user streams
parallel_threads_per_cpu 2 number of parallel execution threads per CPU
parallel_automatic_tuning TRUE enable intelligent defaults for parallel execution parameters
optimizer_index_cost_adj 250 optimizer index cost adjustment
optimizer_index_caching 0 optimizer percent index caching
query_rewrite_enabled TRUE allow rewrite of queries using materialized views if enabled
query_rewrite_integrity enforced perform rewrite using materialized views with desired integrity
sql_version NATIVE sql language version parameter for compatibility issues
pga_aggregate_target 3221225472 Target size for the aggregate PGA memory consumed by the instance
workarea_size_policy AUTO policy used to size SQL working areas (MANUAL/AUTO)
optimizer_dynamic_sampling 2 optimizer dynamic sampling
statistics_level TYPICAL statistics level
skip_unusable_indexes TRUE skip unusable indexes if set to TRUE
optimizer_secure_view_merging TRUE optimizer secure view merging and predicate pushdown/movearound
aq_tm_processes 1 number of AQ Time Managers to start
hs_autoregister TRUE enable automatic server DD updates in HS agent self-registration
dg_broker_start FALSE start Data Guard broker framework (DMON process)
drs_start FALSE start DG Broker monitor (DMON process)
dg_broker_config_file1 /oracle/app/product/10.2.0.3.0/dbs/dr1CALMDB.dat data guard broker configuration file #1
dg_broker_config_file2 /oracle/app/product/10.2.0.3.0/dbs/dr2CALMDB.dat data guard broker configuration file #2
olap_page_pool_size 0 size of the olap page pool in bytes
asm_diskstring null disk set locations for discovery
asm_diskgroups null disk groups to mount automatically
asm_power_limit 1 number of processes for disk rebalancing
sqltune_category DEFAULT Category qualifier for applying hintsets pls suggest
Thanks
KrWe have examined the AWR Reports, That shows ,
Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 1074 27-Jul-09 13:00:03 147 16.7
End Snap: 1075 27-Jul-09 14:01:00 150 22.3
Elapsed: 60.96 (mins)
DB Time: 9.63 (mins)
Report Summary
Cache Sizes
Begin End
Buffer Cache: 12,368M 12,368M Std Block Size: 8K
Shared Pool Size: 1,696M 1,696M Log Buffer: 178,172K
Load Profile
Per Second Per Transaction
Redo size: 12,787.87 24,786.41
Logical reads: 7,409.85 14,362.33
Block changes: 61.17 118.57
Physical reads: 0.51 0.98
Physical writes: 4.08 7.90
User calls: 60.11 116.50
Parses: 19.38 37.56
Hard parses: 0.36 0.69
Sorts: 7.87 15.25
Logons: 0.07 0.14
Executes: 50.34 97.57
Transactions: 0.52
% Blocks changed per Read: 0.83 Recursive Call %: 74.53
Rollback per transaction %: 3.29 Rows per Sort: 292.67
Instance Efficiency Percentages (Target 100%)
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.99 In-memory Sort %: 100.00
Library Hit %: 98.40 Soft Parse %: 98.15
Execute to Parse %: 61.51 Latch Hit %: 99.96
Parse CPU to Parse Elapsd %: 24.44 % Non-Parse CPU: 98.99
Shared Pool Statistics
Begin End
Memory Usage %: 72.35 72.86
% SQL with executions>1: 98.69 96.86
% Memory for SQL w/exec>1: 96.72 87.64
Top 5 Timed Events
Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
CPU time 535 92.5
db file parallel write 596 106 177 18.3 System I/O
log file parallel write 3,844 40 10 6.9 System I/O
control file parallel write 1,689 29 17 5.0 System I/O
log file sync 2,357 29 12 5.0 Commit
Time Model Statistics
Total time in database user-calls (DB Time): 578s
Statistics including the word "background" measure background process time, and so do not contribute to the DB time statistic
Ordered by % or DB time desc, Statistic name
Statistic Name Time (s) % of DB Time
sql execute elapsed time 560.61 96.99
DB CPU 534.91 92.55
parse time elapsed 24.16 4.18
hard parse elapsed time 17.90 3.10
PL/SQL execution elapsed time 7.65 1.32
connection management call elapsed time 0.89 0.15
repeated bind elapsed time 0.49 0.08
hard parse (sharing criteria) elapsed time 0.28 0.05
sequence load elapsed time 0.05 0.01
PL/SQL compilation elapsed time 0.03 0.00
failed parse elapsed time 0.02 0.00
hard parse (bind mismatch) elapsed time 0.00 0.00
DB time 577.98
background elapsed time 190.39
background cpu time 15.49
Wait Class
s - second
cs - centisecond - 100th of a second
ms - millisecond - 1000th of a second
us - microsecond - 1000000th of a second
ordered by wait time desc, waits desc
Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
System I/O 8,117 0.00 175 22 4.30
Commit 2,357 0.00 29 12 1.25
Network 226,127 0.00 7 0 119.83
User I/O 1,004 0.00 4 4 0.53
Application 91 0.00 2 27 0.05
Other 269 0.00 1 4 0.14
Concurrency 32 0.00 0 7 0.02
Configuration 59 0.00 0 3 0.03
Wait Events
s - second
cs - centisecond - 100th of a second
ms - millisecond - 1000th of a second
us - microsecond - 1000000th of a second
ordered by wait time desc, waits desc (idle events last)
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
db file parallel write 596 0.00 106 177 0.32
log file parallel write 3,844 0.00 40 10 2.04
control file parallel write 1,689 0.00 29 17 0.90
log file sync 2,357 0.00 29 12 1.25
SQL*Net more data from client 4,197 0.00 7 2 2.22
db file sequential read 689 0.00 4 5 0.37
enq: RO - fast object reuse 32 0.00 2 50 0.02
rdbms ipc reply 32 0.00 1 34 0.02
db file scattered read 289 0.00 1 2 0.15
enq: KO - fast object checkpoint 47 0.00 1 14 0.02
control file sequential read 1,988 0.00 0 0 1.05
SQL*Net message to client 218,154 0.00 0 0 115.61
os thread startup 6 0.00 0 34 0.00
SQL*Net break/reset to client 12 0.00 0 15 0.01
log buffer space 59 0.00 0 3 0.03
latch free 10 0.00 0 8 0.01
SQL*Net more data to client 3,776 0.00 0 0 2.00
latch: shared pool 5 0.00 0 5 0.00
reliable message 79 0.00 0 0 0.04
LGWR wait for redo copy 148 0.00 0 0 0.08
buffer busy waits 19 0.00 0 0 0.01
direct path write temp 24 0.00 0 0 0.01
latch: cache buffers chains 2 0.00 0 0 0.00
direct path write 2 0.00 0 0 0.00
SQL*Net message from client 218,149 0.00 136,803 627 115.61
PX Idle Wait 18,013 100.06 35,184 1953 9.55
virtual circuit status 67,690 0.01 3,825 57 35.87
Streams AQ: qmn slave idle wait 130 0.00 3,563 27404 0.07
Streams AQ: qmn coordinator idle wait 264 50.76 3,563 13494 0.14
class slave wait 3 0.00 0 0 0.00
Back to Wait Events Statistics
Back to Top
Background Wait Events
ordered by wait time desc, waits desc (idle events last)
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn
db file parallel write 596 0.00 106 177 0.32
log file parallel write 3,843 0.00 40 10 2.04
control file parallel write 1,689 0.00 29 17 0.90
os thread startup 6 0.00 0 34 0.00
log buffer space 59 0.00 0 3 0.03
control file sequential read 474 0.00 0 0 0.25
log file sync 1 0.00 0 11 0.00
events in waitclass Other 148 0.00 0 0 0.08
rdbms ipc message 32,384 54.67 49,367 1524 17.16
pmon timer 1,265 100.00 3,568 2821 0.67
Streams AQ: qmn slave idle wait 130 0.00 3,563 27404 0.07
Streams AQ: qmn coordinator idle wait 264 50.76 3,563 13494 0.14
smon timer 63 11.11 3,493 55447 0.03
SQL ordered by Gets
Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
Total Buffer Gets: 27,101,711
Captured SQL account for 81.1% of Total
Buffer Gets Executions Gets per Exec %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
11,889,257 3 3,963,085.67 43.87 145.36 149.62 8hr7mrcqpvw7n Begin Pkg_Pg_consolidation.Pro...
5,877,417 17,784 330.49 21.69 59.94 62.30 3mw7tf64wzgv4 SELECT TOTALVOL.PERIOD_NUMBER ...
5,877,303 17,784 330.48 21.69 62.01 63.54 g3vhvg8cz6yu3 SELECT TOTALVOL.PERIOD_NUMBER ...
3,423,336 0 12.63 200.67 200.67 6jrnq2ua8cjnq SELECT ROWNUM , first , sec...
2,810,100 2,465 1,140.00 10.37 19.29 19.29 7f4y1a3k1tzjn SELECT /*+CLUSTER(VA_STATIC_CC...
1,529,253 230 6,648.93 5.64 15.92 16.97 6trp3txn7rh1q SELECT /*+ index(va_gap_irlc_P...
1,523,043 230 6,621.93 5.62 16.22 17.18 3fu81ar131nj9 SELECT /*+ index(va_gap_irla_P...
855,620 358 2,390.00 3.16 11.49 13.31 a3g12c11x7yd0 SELECT FX_DATE, FX_RATE, CCY...
689,979 708 974.55 2.55 4.37 4.43 b7znr5szwjrtx SELECT /*+RULE*/ YIELD_CURVE_C...
603,631 2,110 286.08 2.23 11.03 13.40 3c2gyz9fhswxx SELECT ASSET_LIABILITY_GAP, AL...
554,080 5 110,816.00 2.04 2.37 2.44 9w1b11p6baqat SELECT DISTINCT consolidation_...
318,378 624 510.22 1.17 3.20 3.45 1auhbw1rd5yn2 SELECT /*+ index(va_gap_irla_P...
318,378 624 510.22 1.17 3.19 3.42 6gq9rj96p9aq0 SELECT /*+ index(va_gap_irlc_P...
313,923 3 104,641.00 1.16 2.38 2.38 7vsznt4tvh1b5 ...
SQL ordered by Reads
Total Disk Reads: 1,857
Captured SQL account for 2.1% of Total
Physical Reads Executions Reads per Exec %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
57 36 1.58 3.07 3.55 5.81 c6vdhsbw1t03d BEGIN citidba.proc_analyze_tab...
32 507 0.06 1.72 0.22 0.40 c49tbx3qqrtm4 insert into dependency$(d_obj#...
28 8 3.50 1.51 0.76 3.02 4crh3z5ya2r27 BEGIN PROC_DELETE_PACK_TABLES(...
20 3 6.67 1.08 145.36 149.62 8hr7mrcqpvw7n Begin Pkg_Pg_consolidation.Pro...
10 1 10.00 0.54 6.21 18.11 4m9ts1b1b27sv BEGIN domain.create_tables(:1,...
7 23 0.30 0.38 1.56 2.22 4vw03w673b9k7 BEGIN PROC_CREATE_PACK_TABLES(...
4 4 1.00 0.22 0.29 1.06 1vw6carbvp4z0 BEGIN Proc_ReCreate_Gap_temp_t...
2 182 0.01 0.11 0.06 0.08 2h0gb24h6zpnu insert into access$(d_obj#, or...
2 596 0.00 0.11 0.26 0.29 5fbmafvm27kfm insert into obj$(owner#, name,...
1 1 1.00 0.05 0.01 0.02 7jsrvff8hnqft UPDATE VA_PRR_IRUT_POL_IBCB_R...
SQL ordered by Executions
Total Executions: 184,109
Captured SQL account for 71.6% of Total
Executions Rows Processed Rows per Exec CPU per Exec (s) Elap per Exec (s) SQL Id SQL Module SQL Text
43,255 43,255 1.00 0.00 0.00 4m94ckmu16f9k JDBC Thin Client select count(*) from dual
25,964 24,769 0.95 0.00 0.00 2kxdq3m953pst SELECT SURROGATE_KEY FROM TB_P...
17,784 54,585 3.07 0.00 0.00 3mw7tf64wzgv4 SELECT TOTALVOL.PERIOD_NUMBER ...
17,784 54,585 3.07 0.00 0.00 g3vhvg8cz6yu3 SELECT TOTALVOL.PERIOD_NUMBER ...
2,631 2,631 1.00 0.00 0.00 60uw2vh6q9vn2 insert into col$(obj#, name, i...
2,465 924,375 375.00 0.01 0.01 7f4y1a3k1tzjn SELECT /*+CLUSTER(VA_STATIC_CC...
2,202 36 0.02 0.00 0.00 96g93hntrzjtr select /*+ rule */ bucket_cnt,...
2,110 206,464 97.85 0.01 0.01 3c2gyz9fhswxx SELECT ASSET_LIABILITY_GAP, AL...
2,043 2,043 1.00 0.00 0.00 28dvpph9k610y SELECT COUNT(*) FROM TB_TECH_S...
842 35 0.04 0.00 0.00 04xtrk7uyhknh select obj#, type#, ctime, mti...
SQL ordered by Parse Calls
Total Parse Calls: 70,872
Captured SQL account for 69.7% of Total
Parse Calls Executions % Total Parses SQL Id SQL Module SQL Text
17,784 17,784 25.09 3mw7tf64wzgv4 SELECT TOTALVOL.PERIOD_NUMBER ...
17,784 17,784 25.09 g3vhvg8cz6yu3 SELECT TOTALVOL.PERIOD_NUMBER ...
2,110 2,110 2.98 3c2gyz9fhswxx SELECT ASSET_LIABILITY_GAP, AL...
786 786 1.11 2s6amyv4qz2h2 exp@PSLDB03 (TNS V1-V3) SELECT INIEXT, SEXT, MINEXT,...
596 596 0.84 5fbmafvm27kfm insert into obj$(owner#, name,...
590 590 0.83 2ym6hhaq30r73 select type#, blocks, extents,...
550 550 0.78 7gtztzv329wg0 select c.name, u.name from co...
512 512 0.72 9qgtwh66xg6nz update seg$ set type#=:4, bloc...
480 480 0.68 6x2cz59yrxz3a exp@PSLDB03 (TNS V1-V3) SELECT NAME, OBJID, OWNER, ...
457 457 0.64 bsa0wjtftg3uw select file# from file$ where ...
Instance Activity Stats
Statistic Total per Second per Trans
CPU used by this session 54,051 14.78 28.64
CPU used when call started 53,326 14.58 28.26
CR blocks created 1,114 0.30 0.59
Cached Commit SCN referenced 755,322 206.51 400.28
Commit SCN cached 29 0.01 0.02
DB time 62,190 17.00 32.96
DBWR checkpoint buffers written 3,247 0.89 1.72
DBWR checkpoints 79 0.02 0.04
DBWR object drop buffers written 118 0.03 0.06
DBWR parallel query checkpoint buffers written 0 0.00 0.00
DBWR revisited being-written buffer 0 0.00 0.00
DBWR tablespace checkpoint buffers written 169 0.05 0.09
DBWR thread checkpoint buffers written 3,078 0.84 1.63
DBWR transaction table writes 0 0.00 0.00
DBWR undo block writes 11,245 3.07 5.96
DFO trees parallelized 0 0.00 0.00
DML statements parallelized 0 0.00 0.00
IMU CR rollbacks 29 0.01 0.02
IMU Flushes 982 0.27 0.52
IMU Redo allocation size 1,593,112 435.57 844.26
IMU commits 991 0.27 0.53
IMU contention 3 0.00 0.00
IMU ktichg flush 3 0.00 0.00
IMU pool not allocated 0 0.00 0.00
IMU recursive-transaction flush 1 0.00 0.00
IMU undo allocation size 3,280,968 897.05 1,738.72
IMU- failed to get a private strand 0 0.00 0.00
Misses for writing mapping 0 0.00 0.00
OS Integral shared text size 0 0.00 0.00
OS Integral unshared data size 0 0.00 0.00
OS Involuntary context switches 0 0.00 0.00
OS Maximum resident set size 0 0.00 0.00
OS Page faults 0 0.00 0.00
OS Page reclaims 0 0.00 0.00
OS System time used 0 0.00 0.00
OS User time used 0 0.00 0.00
OS Voluntary context switches 0 0.00 0.00
PX local messages recv'd 0 0.00 0.00
PX local messages sent 0 0.00 0.00
Parallel operations downgraded to serial 0 0.00 0.00
Parallel operations not downgraded 0 0.00 0.00
SMON posted for dropping temp segment 0 0.00 0.00
SMON posted for undo segment shrink 0 0.00 0.00
SQL*Net roundtrips to/from client 266,339 72.82 141.14
active txn count during cleanout 677 0.19 0.36
application wait time 243 0.07 0.13
background checkpoints completed 0 0.00 0.00
background checkpoints started 0 0.00 0.00
background timeouts 17,769 4.86 9.42
branch node splits 0 0.00 0.00
buffer is not pinned count 11,606,002 3,173.19 6,150.50
buffer is pinned count 65,043,685 17,783.53 34,469.36
bytes received via SQL*Net from client 27,009,252 7,384.57 14,313.33
bytes sent via SQL*Net to client ############### 69,310,703.02 134,343,168.92
calls to get snapshot scn: kcmgss 382,084 104.47 202.48
calls to kcmgas 15,558 4.25 8.24
calls to kcmgcs 1,886 0.52 1.00
change write time 488 0.13 0.26
cleanout - number of ktugct calls 628 0.17 0.33
cleanouts and rollbacks - consistent read gets 3 0.00 0.00
cleanouts only - consistent read gets 53 0.01 0.03
cluster key scan block gets 77,478 21.18 41.06
cluster key scans 41,479 11.34 21.98
commit batch/immediate performed 550 0.15 0.29
commit batch/immediate requested 550 0.15 0.29
commit cleanout failures: block lost 0 0.00 0.00
commit cleanout failures: buffer being written 0 0.00 0.00
commit cleanout failures: callback failure 29 0.01 0.02
commit cleanout failures: cannot pin 0 0.00 0.00
commit cleanouts 19,562 5.35 10.37
commit cleanouts successfully completed 19,533 5.34 10.35
commit immediate performed 550 0.15 0.29
commit immediate requested 550 0.15 0.29
commit txn count during cleanout 396 0.11 0.21
concurrency wait time 23 0.01 0.01
consistent changes 1,803 0.49 0.96
consistent gets 26,887,134 7,351.18 14,248.61
consistent gets - examination 1,524,222 416.74 807.75
consistent gets direct 0 0.00 0.00
consistent gets from cache 26,887,134 7,351.18 14,248.61
cursor authentications 773 0.21 0.41
data blocks consistent reads - undo records applied 1,682 0.46 0.89
db block changes 223,743 61.17 118.57
db block gets 214,573 58.67 113.71
db block gets direct 74 0.02 0.04
db block gets from cache 214,499 58.65 113.67
deferred (CURRENT) block cleanout applications 9,723 2.66 5.15
dirty buffers inspected 5,106 1.40 2.71
enqueue conversions 1,130 0.31 0.60
enqueue releases 49,151 13.44 26.05
enqueue requests 49,151 13.44 26.05
enqueue timeouts 0 0.00 0.00
enqueue waits 79 0.02 0.04
exchange deadlocks 0 0.00 0.00
execute count 184,109 50.34 97.57
failed probes on index block reclamation 1 0.00 0.00
free buffer inspected 6,521 1.78 3.46
free buffer requested 8,656 2.37 4.59
global undo segment hints helped 0 0.00 0.00
global undo segment hints were stale 0 0.00 0.00
heap block compress 457 0.12 0.24
hot buffers moved to head of LRU 5,016 1.37 2.66
immediate (CR) block cleanout applications 56 0.02 0.03
immediate (CURRENT) block cleanout applications 4,230 1.16 2.24
index crx upgrade (found) 0 0.00 0.00
index crx upgrade (positioned) 8,362 2.29 4.43
index fast full scans (full) 3,845 1.05 2.04
index fast full scans (rowid ranges) 0 0.00 0.00
index fetch by key 842,761 230.42 446.61
index scans kdiixs1 376,413 102.91 199.48
leaf node 90-10 splits 42 0.01 0.02
leaf node splits 89 0.02 0.05
lob reads 6,759,932 1,848.23 3,582.37
lob writes 11,788 3.22 6.25
lob writes unaligned 11,788 3.22 6.25
logons cumulative 272 0.07 0.14
messages received 133,602 36.53 70.80
messages sent 133,602 36.53 70.80
no buffer to keep pinned count 219 0.06 0.12
no work - consistent read gets 18,462,318 5,047.76 9,783.95
opened cursors cumulative 77,042 21.06 40.83
parse count (failures) 57 0.02 0.03
parse count (hard) 1,311 0.36 0.69
parse count (total) 70,872 19.38 37.56
parse time cpu 542 0.15 0.29
parse time elapsed 2,218 0.61 1.18
physical read IO requests 821 0.22 0.44
physical read bytes 15,212,544 4,159.25 8,061.76
physical read total IO requests 2,953 0.81 1.56
physical read total bytes 48,963,584 13,387.08 25,947.85
physical read total multi block requests 289 0.08 0.15
physical reads 1,857 0.51 0.98
physical reads cache 1,857 0.51 0.98
physical reads cache prefetch 1,036 0.28 0.55
physical reads direct 0 0.00 0.00
physical reads direct (lob) 0 0.00 0.00
physical reads direct temporary tablespace 0 0.00 0.00
physical reads prefetch warmup 0 0.00 0.00
physical write IO requests 6,054 1.66 3.21
physical write bytes 122,142,720 33,394.92 64,728.52
physical write total IO requests 11,533 3.15 6.11
physical write total bytes 199,223,808 54,469.58 105,577.00
physical write total multi block requests 5,894 1.61 3.12
physical writes 14,910 4.08 7.90
physical writes direct 74 0.02 0.04
physical writes direct (lob) 0 0.00 0.00
physical writes direct temporary tablespace 72 0.02 0.04
physical writes from cache 14,836 4.06 7.86
physical writes non checkpoint 14,691 4.02 7.79
pinned buffers inspected 4 0.00 0.00
prefetch clients - default 0 0.00 0.00
prefetch warmup blocks aged out before use 0 0.00 0.00
prefetch warmup blocks flushed out before use 0 0.00 0.00
prefetched blocks aged out before use 0 0.00 0.00
process last non-idle time 2,370 0.65 1.26
queries parallelized 0 0.00 0.00
recovery blocks read 0 0.00 0.00
recursive aborts on index block reclamation 0 0.00 0.00
recursive calls 643,220 175.86 340.87
recursive cpu usage 15,900 4.35 8.43
redo blocks read for recovery 0 0.00 0.00
redo blocks written 96,501 26.38 51.14
redo buffer allocation retries 0 0.00 0.00
redo entries 115,246 31.51 61.07
redo log space requests 0 0.00 0.00
redo log space wait time 0 0.00 0.00
redo ordering marks 3,605 0.99 1.91 -
Help needed with passing data between classes, graph building application?
Good afternoon please could you help me with a problem with my application, my head is starting to hurt?
I have run into some difficulties when trying to build an application that generates a linegraph?
Firstly i have a gui that the client will enter the data into a text area call jta; this data is tokenised and placed into a format the application can use, and past to a seperate class that draws the graph?
I think the problem lies with the way i am trying to put the data into co-ordinate form (x,y) as no line is being generated.
The following code is from the GUI:
+public void actionPerformed(ActionEvent e) {+
+// Takes data and provides program with CoOrdinates+
int[][]data = createData();
+// Set the data data to graph for display+
grph.showGrph(data);
+// Show the frame+
grphFrame.setVisible(true);
+}+
+/** set the data given to the application */+
+private int[][] createData() {+
+ //return data;+
+ String rawData = jta.getText();+
+ StringTokenizer tokens = new StringTokenizer(rawData);+
+ List list = new LinkedList();+
+ while (tokens.hasMoreElements()){+
+ String number = "";+
+ String token = tokens.nextToken();+
+ for (int i=0; i<token.length(); i++){+
+ if (Character.isDigit(token.charAt(i))){+
+ number += token.substring(i, i+1);+
+ }+
+ } +
+ }+
+ int [][]data = new int[list.size()/2][2];+
+ int index = -2;+
+ for (int i=0; i<data.length;i++){+
+ index += 2;+
+ data[0] = Integer.parseInt(+
+ (list.get(index).toString()));+
+ data[i][1] = Integer.parseInt(+
+ (list.get(index +1).toString()));+
+ }+
+ return data;+
The follwing is the coding for drawing the graph?
+public void showGrph(int[][] data) {+
this.data = data;
repaint();
+} +
+/** Paint the graph */+
+protected void paintComponent(Graphics g) {+
+//if (data == null)+
+ //return; // No display if data is null+
super.paintComponent(g);
+// x is the start position for the first point+
int x = 30;
int y = 30;
for (int i = 0; i < data.length; i+) {+
+g.drawLine(data[i][0],data[i][1],data[i+1][0],data[i+1][1]);+
+}+
+}+Thanks for that tip!
package LineGraph;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.*;
import java.util.List;
public class GUI extends JFrame
implements ActionListener {
private JTextArea Filejta;
private JTextArea jta;
private JButton jbtShowGrph = new JButton("Show Chromatogram");
public JButton jbtExit = new JButton("Exit");
public JButton jbtGetFile = new JButton("Search File");
private Grph grph = new Grph();
private JFrame grphFrame = new JFrame(); // Create a new frame to hold the Graph panel
public GUI() {
JScrollPane pane = new JScrollPane(Filejta = new JTextArea("Default file location: - "));
pane.setPreferredSize(new Dimension(350, 20));
Filejta.setWrapStyleWord(true);
Filejta.setLineWrap(true);
// Store text area in a scroll pane
JScrollPane scrollPane = new JScrollPane(jta = new JTextArea("\n\n Type in file location and name and press 'Search File' button: - "
+ "\n\n\n Data contained in the file will be diplayed in this Scrollpane "));
scrollPane.setPreferredSize(new Dimension(425, 300));
jta.setWrapStyleWord(true);
jta.setLineWrap(true);
// Place scroll pane and button in the frame
JPanel jpButtons = new JPanel();
jpButtons.setLayout(new FlowLayout());
jpButtons.add(jbtShowGrph);
jpButtons.add(jbtExit);
JPanel searchFile = new JPanel();
searchFile.setLayout(new FlowLayout());
searchFile.add(pane);
searchFile.add(jbtGetFile);
add (searchFile, BorderLayout.NORTH);
add(scrollPane, BorderLayout.CENTER);
add(jpButtons, BorderLayout.SOUTH);
// Exit Program
jbtExit.addActionListener(new ActionListener(){
public void actionPerformed(ActionEvent e) {
System.exit(0);
// Read Files data contents
jbtGetFile.addActionListener(new ActionListener(){
public void actionPerformed( ActionEvent e) {
String FileLoc = Filejta.getText();
LocateFile clientsFile;
clientsFile = new LocateFile(FileLoc);
if (FileLoc != null){
String filePath = clientsFile.getFilePath();
String filename = clientsFile.getFilename();
String DocumentType = clientsFile.getDocumentType();
public String getFilecontents(){
String fileString = "\t\tThe file contains the following data:";
return fileString;
// Register listener // Create a new frame to hold the Graph panel
jbtShowGrph.addActionListener(this);
grphFrame.add(grph);
grphFrame.pack();
grphFrame.setTitle("Chromatogram showing data contained in file \\filename");
/** Handle the button action */
public void actionPerformed(ActionEvent e) {
// Takes data and provides program with CoOrdinates
int[][]data = createData();
// Set the data data to graph for display
grph.showGrph(data);
// Show the frame
grphFrame.setVisible(true);
/** set the data given to the application */
private int[][] createData() {
String rawData = jta.getText();
StringTokenizer tokens = new StringTokenizer(rawData);
List list = new LinkedList();
while (tokens.hasMoreElements()){
String number = "";
String token = tokens.nextToken();
for (int i=0; i<token.length(); i++){
if (Character.isDigit(token.charAt(i))){
number += token.substring(i, i+1);
int [][]data = new int[list.size()/2][2];
int index = -2;
for (int i=0; i<data.length;i++){
index += 2;
data[0] = Integer.parseInt(
(list.get(index).toString()));
data[i][1] = Integer.parseInt(
(list.get(index +1).toString()));
return data;
public static void main(String[] args) {
GUI frame = new GUI();
frame.setLocationRelativeTo(null); // Center the frame
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setTitle("Clients Data Retrival GUI");
frame.pack();
frame.setVisible(true);
package LineGraph;
import javax.swing.*;
import java.awt.*;
public class Grph extends JPanel {
private int[][] data;
/** Set the data and display Graph */
public void showGrph(int[][] data) {
this.data = data;
repaint();
/** Paint the graph */
protected void paintComponent(Graphics g) {
//if (data == null)
//return; // No display if data is null
super.paintComponent(g);
//Find the panel size and bar width and interval dynamically
int width = getWidth();
int height = getHeight();
//int intervalw = (width - 40) / data.length;
//int intervalh = (height - 20) / data.length;
//int individualWidth = (int)(((width - 40) / 24) * 0.60);
////int individualHeight = (int)(((height - 40) / 24) * 0.60);
// Find the maximum data. The maximum data
//int maxdata = 0;
//for (int i = 0; i < data.length; i++) {
//if (maxdata < data[i][0])
//maxdata = data[i][1];
// x is the start position for the first point
int x = 30;
int y = 30;
//draw a vertical axis
g.drawLine(20, height - 45, 20, (height)* -1);
// Draw a horizontal base line4
g.drawLine(20, height - 45, width - 20, height - 45);
for (int i = 0; i < data.length; i++) {
//int Value = i;
// Display a line
//g.drawLine(x, height - 45 - Value, individualWidth, height - 45);
g.drawLine(data[i][0],data[i][1],data[i+1][0],data[i+1][1]);
// Display a number under the x axis
g.drawString((int)(0 + i) + "", (x), height - 30);
// Display a number beside the y axis
g.drawString((int)(0 + i) + "", width - 1277, (y) + 900);
// Move x for displaying the next character
//x += (intervalw);
//y -= (intervalh);
/** Override getPreferredSize */
public Dimension getPreferredSize() {
return new Dimension(1200, 900); -
Slow urxvt launching after system migration
Hi everyone!
I've just migrated my arch system to a new computer (I kept my home partition and backed up pacman's cache and /etc as well as a list of packages installed). I manually installed the main packages needed to set up my system, I didn't re install secondary software yet. However I'm having trouble with urxvt, it takes a few seconds to launch whereas before the migration it would just inmediatly appear. I'm using my old .bashrc and .Xresources, so the configuration is the same as before, also Xterm for example has no problem so it appears to be no problem with .bashrc... Based on what I've read it could be due to font loading, however I have no idea what my previous font configuration actually means:
URxvt.font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1
URxvt.boldFont: -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1
I must have copied that from some example or something and I don't know what it actually does...
Nevertheless, if I comment that out from .Xresources, it changes the font used, but it still takes a few seconds to load...
Anyway, any help is apreciatted, just for reference my .bashrc and .Xresources:
# /etc/bash.bashrc
# https://wiki.archlinux.org/index.php/Color_Bash_Prompt
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
# If not running interactively, don't do anything!
[[ $- != *i* ]] && return
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control.
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
# Enable history appending instead of overwriting.
shopt -s histappend
case ${TERM} in
xterm*|rxvt*|Eterm|aterm|kterm|gnome*)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
screen)
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/~}"'
esac
# fortune is a simple program that displays a pseudorandom message
# from a database of quotations at logon and/or logout.
# If you wish to use it, please install "fortune-mod" from the
# official repositories, then uncomment the following line:
# [[ "$PS1" ]] && /usr/bin/fortune
# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS. Try to use the external file
# first to take advantage of user additions. Use internal bash
# globbing instead of external grep binary.
# sanitize TERM:
safe_term=${TERM//[^[:alnum:]]/?}
match_lhs=""
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
[[ -z ${match_lhs} ]] \
&& type -P dircolors >/dev/null \
&& match_lhs=$(dircolors --print-database)
if [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] ; then
# we have colors :-)
# Enable colors for ls, etc. Prefer ~/.dir_colors
if type -P dircolors >/dev/null ; then
if [[ -f ~/.dir_colors ]] ; then
eval $(dircolors -b ~/.dir_colors)
elif [[ -f /etc/DIR_COLORS ]] ; then
eval $(dircolors -b /etc/DIR_COLORS)
fi
fi
#PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h'; else echo '\[\033[01;32m\]\u@\h'; fi)\[\033[01;34m\] \w \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] \")\\$\[\033[00m\] "
# https://bbs.archlinux.org/viewtopic.php?pid=1156660#p1156660
if [[ ${EUID} == 0 ]] ; then
sq_color="\[\033[0;31m\]"
else
sq_color="\[\033[0;34m\]"
fi
PS1="\n\$(if [[ \$? == 0 ]]; then echo \"$sq_color\"; else echo \"\[\033[0;31m\]\"; fi)\342\226\210\342\226\210 [ \W ] [ \t ]\n\[\033[0m\]\342\226\210\342\226\210 "
# Use this other PS1 string if you want \W for root and \w for all other users:
# PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h\[\033[01;34m\] \W'; else echo '\[\033[01;32m\]\u@\h\[\033[01;34m\] \w'; fi) \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]:(\[\033[01;34m\] \")\\$\[\033[00m\] "
alias ls="ls --color=auto"
alias dir="dir --color=auto"
alias grep="grep --color=auto"
alias dmesg='dmesg --color'
# Uncomment the "Color" line in /etc/pacman.conf instead of uncommenting the following line...!
# alias pacman="pacman --color=auto"
else
# show root@ when we do not have colors
PS1="\u@\h \w \$([[ \$? != 0 ]] && echo \":( \")\$ "
# Use this other PS1 string if you want \W for root and \w for all other users:
# PS1="\u@\h $(if [[ ${EUID} == 0 ]]; then echo '\W'; else echo '\w'; fi) \$([[ \$? != 0 ]] && echo \":( \")\$ "
fi
PS2="> "
PS3="> "
PS4="+ "
# Try to keep environment pollution down, EPA loves us.
unset safe_term match_lhs
# Try to enable the auto-completion (type: "pacman -S bash-completion" to install it).
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
# Try to enable the "Command not found" hook ("pacman -S pkgfile" to install it).
# See also: https://wiki.archlinux.org/index.php/Bash#The_.22command_not_found.22_hook
[ -r /usr/share/doc/pkgfile/command-not-found.bash ] && . /usr/share/doc/pkgfile/command-not-found.bash
# ~/.bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
#PS1='[\u@\h \W]\$ '
# Simple note taker
note () {
# if file doesn't exist, create it
if [[ ! -f $HOME/.notes ]]; then
touch $HOME/.notes
fi
if [[ $# -eq 0 ]]; then
# no arguments, print file
cat $HOME/.notes
elif [[ "$1" == "-c" ]]; then
# clear file
echo "" > $HOME/.notes
else
# add all arguments to file
echo -e "$@" >> $HOME/.notes
fi
# Simple ToDo list
todo() {
if [[ ! -f $HOME/.todo ]]; then
touch $HOME/.todo
fi
if [[ $# -eq 0 ]]; then
cat $HOME/.todo
elif [[ "$1" == "-l" ]]; then
cat -n $HOME/.todo
elif [[ "$1" == "-c" ]]; then
echo "" > $HOME/.todo
elif [[ "$1" == "-r" ]]; then
cat -n $HOME/.todo
echo -ne "----------------------------\nType a number to remove: "
read NUMBER
sed -ie ${NUMBER}d $HOME/.todo
else
echo "$@" >> $HOME/.todo
fi
#g09root="/home/naoh/Documents/BecaCIN/gaussian"
#GAUSS_SCRDIR="/home/naoh/Documents/BecaCIN/gaussian/scratch"
#export g09root GAUSS_SCRDIR
#. $g09root/g09/bsd/g09.profile
! Compile xft: Attempt to find a visual with the given bit depth; option -depth.
! URxvt*depth: bitdepth
! Compile xft: Turn on/off double-buffering for xft (default enabled). On some card/driver
! URxvt*buffered: boolean
! Create the window with the specified X window geometry [default 80x24]; option -geometry.
! URxvt*geometry: geom
! Use the specified colour as the windows background colour [default White]; option -bg.
! URxvt*background: colour
! Use the specified colour as the windows foreground colour [default Black]; option -fg.
! URxvt*foreground: colour
! Use the specified colour for the colour value n, where 0-7 corresponds to low-intensity
! URxvt*colorn: colour
! URxvt*colorBD: colour
! Use the specified colour to display bold or italic characters when the foreground colour
! URxvt*colorIT: colour
! Use the specified colour to display underlined characters when the foreground colour is
! URxvt*colorUL: colour
! If set, use the specified colour as the colour for the underline itself. If unset, use the
! URxvt*underlineColor: colour
! If set, use the specified colour as the background for highlighted characters. If unset,
! URxvt*highlightColor: colour
! If set and highlightColor is set, use the specified colour as the foreground for
! URxvt*highlightTextColor: colour
! Use the specified colour for the cursor. The default is to use the foreground colour;
! URxvt*cursorColor: colour
! Use the specified colour for the colour of the cursor text. For this to take effect,
! URxvt*cursorColor2: colour
! True: simulate reverse video by foreground and background colours; option -rv. False:
! URxvt*reverseVideo: boolean
! True: specify that jump scrolling should be used. When receiving lots of lines, urxvt will
! URxvt*jumpScroll: boolean
! True: (the default) specify that skip scrolling should be used. When receiving lots of
! URxvt*skipScroll: boolean
! Fade the text by the given percentage when focus is lost; option -fade.
! URxvt*fading: number
! Fade to this colour, when fading is used (see fading:). The default colour is black;
! URxvt*fadeColor: colour
! Set the application icon pixmap; option -icon.
! URxvt*iconFile: file
! Use the specified colour for the scrollbar [default #B2B2B2].
! URxvt*scrollColor: colour
! Use the specified colour for the scrollbars trough area [default #969696]. Only relevant
! URxvt*troughColor: colour
! The colour of the border around the text area and between the scrollbar and the text.
! URxvt*borderColor: colour
! Select the fonts to be used. This is a comma separated list of font names that are checked
! URxvt*font: fontlist
! URxvt*boldFont: fontlist
! URxvt*italicFont: fontlist
! The font list to use for displaying bold, italic or bold italic characters, respectively.
! URxvt*boldItalicFont: fontlist
! When font styles are not enabled, or this option is enabled (True, option -is, the
! URxvt*intensityStyles: boolean
! Set window title string, the default title is the command-line specified after the -e
! URxvt*title: string
! Set the name used to label the windows icon or displayed in an icon manager window, it
! URxvt*iconName: string
! True: de-iconify (map) on receipt of a bell character. False: no de-iconify (map) on
! URxvt*mapAlert: boolean
! True: set the urgency hint for the wm on receipt of a bell character. False: do not set
! URxvt*urgentOnBell: boolean
! True: use visual bell on receipt of a bell character; option -vb. False: no visual bell
! URxvt*visualBell: boolean
! True: start as a login shell by prepending a - to argv[0] of the shell; option -ls.
! URxvt*loginShell: boolean
! True: inhibit writing record into the system log file utmp; option -ut. False: write
! URxvt*utmpInhibit: boolean
! Specify a command pipe for vt100 printer [default lpr(1)]. Use Print to initiate a screen
! URxvt*print-pipe: string
! Set scrollbar style to rxvt, plain, next or xterm. plain is the authors favourite.
! URxvt*scrollstyle: mode
! Set the scrollbar width in pixels.
! URxvt*thickness: number
! True: enable the scrollbar [default]; option -sb. False: disable the scrollbar; option
! URxvt*scrollBar: boolean
! True: place the scrollbar on the right of the window; option -sr. False: place the
! URxvt*scrollBar_right: true
! True: display an rxvt scrollbar without a trough; option -st. False: display an rxvt
! URxvt*scrollBar_floating: boolean
! Align the top, bottom or centre [default] of the scrollbar thumb with the pointer on
! URxvt*scrollBar_align: mode
! True: scroll to bottom when tty receives output; option -si. False: do not scroll to
! URxvt*scrollTtyOutput: boolean
! True: scroll with scrollback buffer when tty receives new lines (i.e. try to show the
! URxvt*scrollWithBuffer: boolean
! True: scroll to bottom when a non-special key is pressed. Special keys are those which are
! URxvt*scrollTtyKeypress: boolean
! Save number lines in the scrollback buffer [default 64]. This resource is limited on most
! URxvt*saveLines: number
! Internal border of number pixels. This resource is limited to 100; option -b.
! URxvt*internalBorder: number
! External border of number pixels. This resource is limited to 100; option -w, -bw,
! URxvt*externalBorder: number
! Set MWM hints to request a borderless window, i.e. if honoured by the WM, the rxvt-unicode
! URxvt*borderLess: boolean
! Compile frills: Disable the usage of the built-in block graphics/line drawing characters
! URxvt*skipBuiltinGlyphs: boolean
! Specifies the terminal type name to be set in the TERM environment variable; option -tn.
! URxvt*termName: termname
! Specifies number of lines (pixel height) to insert between each row of the display
! URxvt*lineSpace: number
! True: handle Meta (Alt) + keypress to set the 8th bit. False: handle Meta (Alt) + keypress
! URxvt*meta8: boolean
! True: the mouse wheel scrolls a page full. False: the mouse wheel scrolls five lines
! URxvt*mouseWheelScrollPage: boolean
! True: store tabs as wide characters. False: interpret tabs as cursor movement only; option
! URxvt*pastableTabs: boolean
! True: blink the cursor. False: do not blink the cursor [default]; option -bc.
! URxvt*cursorBlink: boolean
! True: Make the cursor underlined. False: Make the cursor a box [default]; option -uc.
! URxvt*cursorUnderline: boolean
! True: blank the pointer when a key is pressed or after a set number of seconds of
! URxvt*pointerBlank: boolean
! Mouse pointer foreground colour.
! URxvt*pointerColor: colour
! Mouse pointer background colour.
! URxvt*pointerColor2: colour
! Specifies number of seconds before blanking the pointer [default 2]. Use a large number
! URxvt*pointerBlankDelay: number
! The string to send when the backspace key is pressed. If set to DEC or unset it will send
! URxvt*backspacekey: string
! The string to send when the delete key (not the keypad delete key) is pressed. If unset it
! URxvt*deletekey: string
! The characters used as delimiters for double-click word selection (whitespace delimiting
! URxvt*cutchars: string
! URxvt*{|}
! OverTheSpot, OffTheSpot, Root; option -pt.
! URxvt*preeditType: style
! name of inputMethod to use; option -im.
! URxvt*inputMethod: name
! The locale to use for opening the IM. You can use an "LC_CTYPE" of e.g. "de_DE.UTF-8" for
! URxvt*imLocale: name
! Specify the font-set used for XIM styles "OverTheSpot" or "OffTheSpot". It must be a
! URxvt*imFont: fontset
! Change the meaning of triple-click selection with the left mouse button. Instead of
! URxvt*tripleclickwords: boolean
! Enables "insecure" mode. Rxvt-unicode offers some escape sequences that echo arbitrary
! URxvt*insecure: boolean
! Set the key to be interpreted as the Meta key to: alt, meta, hyper, super, mod1, mod2,
! URxvt*modifier: modifier
! Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) character is
! URxvt*answerbackString: string
! Turn on/off secondary screen (default enabled).
! URxvt*secondaryScreen: boolean
! Turn on/off secondary screen scroll (default enabled). If this option is enabled, scrolls
! URxvt*secondaryScroll: boolean
! Turn on/off hold window after exit support. If enabled, urxvt will not immediately destroy
! URxvt*hold: boolean
! Sets the working directory for the shell (or the command specified via -e). The path must
! URxvt*chdir: path
! Compile frills: Associate string with keysym sym. The intervening resource name keysym.
! URxvt*keysym.sym: string
! URxvt*perl-ext-common: string
! Comma-separated list(s) of perl extension scripts (default: "default") to use in this
! URxvt*perl-ext: string
! Perl code to be evaluated when all extensions have been registered. See the urxvtperl(3)
! URxvt*perl-eval: string
! Colon-separated list of additional directories that hold extension scripts. When looking
! URxvt*perl-lib: path
! Additional selection patterns, see the urxvtperl(3) manpage for details.
! URxvt*selection.pattern-idx: perl-regex
! Selection auto-transform patterns, see the urxvtperl(3) manpage for details.
! URxvt*selection-autotransform.idx: perl-transform
! Sets the hotkey that starts the incremental scrollback buffer search (default: "M-s").
! URxvt*searchable-scrollback: keysym
! Specifies the program to be started with a URL argument. Used by the "selection-popup" and
! URxvt*url-launcher: string
! Compile frills: Sets the WM_TRANSIENT_FOR property to the given window id.
! URxvt*transient-for: windowid
! Compile frills: Sets override-redirect for the terminal window, making it almost invisible
! URxvt*override-redirect: boolean
! Turn on/off ISO 14755 (default enabled).
! URxvt*iso14755: boolean
! Turn on/off ISO 14755 5.2 mode (default enabled).
! URxvt*iso14755_52: boolean
! #### configuracion copiada de
! http://wiki.afterstep.org/index.php?title=Rxvt-Unicode_Configuration_Tutorial
! transparency - true or false (default)
! URxvt*transparent: true
! tint with any color; i.e., blue, red, tomato4, olivedrab2, etc.
! some nice listings are at:
! http://www.nisrv.com/drupal/?q=node/11
! http://www.htmlgoodies.com/tutorials/colors/article.php/3478921
! URxvt*tintColor: Blue
! shading - 0 to 99 darkens, 101 to 200 lightens.
! Dont use with tintColor; just use a darker or lighter color instead.
!URxvt*shading: 40
! scrollback buffer lines - 65535 is max on most machines (64 is default)
URxvt*saveLines: 12000
! font color (default is black)
URxvt*foreground: White
! background color (prior to tinting) (default is white)
!URxvt*background: Black
URxvt.depth: 32
URxvt.background: rgba:1111/1111/1111/dddd
! Xft (X FreeType) with Bitstream, DejaVu, Liberation, or Terminus fonts:
! Fedora/debian packages: libXft/libxft2
! An anti-aliased font setup with Xft looks fantastic; it can be a bit choppy
! on older systems. You can always turn off anti-aliasing (antialias=false) if
! your terminal is sluggish. Use only ONE of the Xft pairs below:
! Xft: Bitstream fonts
! Fedora/debian packages: bitstream-vera-sans-mono-fonts/ttf-bitstream-vera
!URxvt*font: xft:Bitstream Vera Sans Mono:pixelsize=12:antialias=true:hinting=true
!URxvt*boldFont: xft:Bitstream Vera Sans Mono:bold:pixelsize=12:antialias=true:hinting=true
! Xft: DejaVu fonts
! Fedora/debian packages: dejavu-sans-mono-fonts/ttf-dejavu
!URxvt*font: xft:DejaVu Sans Mono:pixelsize=12:antialias=true:hinting=true
!URxvt*boldFont: xft:DejaVu Sans Mono:bold:pixelsize=12:antialias=true:hinting=true
! Xft: Liberation fonts
! Fedora/debian packages: liberation-mono-fonts/ttf-liberation
!URxvt*font: xft:Liberation Mono:pixelsize=13:antialias=true:hinting=true
!URxvt*boldFont: xft:Liberation Mono:bold:pixelsize=13:antialias=true:hinting=true
! Xft: Terminus fonts
! Fedora/debian packages: terminus-fonts/xfonts-terminus
!URxvt*font: xft:terminus:pixelsize=15
!URxvt*boldFont: xft:terminus:bold:pixelsize=15
! Traditional fonts - a more traditional font setup in lieu of xft
!URxvt*font:-*-courier-medium-r-normal-*-14-*-*-*-*-*-iso8859-1
!URxvt*boldFont:-*-courier-bold-r-normal-*-14-*-*-*-*-*-iso8859-1
URxvt.font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1
URxvt.boldFont: -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso8859-1
! Replace blue folder colors with a lighter shade for clarity. To
! set colored folders and files within urxvt, xterm, and aterm, add
! the following line to your ~/.bashrc ($HOME/.bashrc) file under
! the heading "! User specific aliases and functions":
! alias ls="ls -h --color=auto"
URxvt*color4: RoyalBlue
URxvt*color12: RoyalBlue
! scrollbar - true (default) or false
URxvt*scrollBar: true
! scrollbar position - left=false (default) or right=true
URxvt*scrollBar_right: true
! scrollbar style - rxvt (default), plain, next, or xterm
URxvt*scrollstyle: rxvt
! Perl extensions
URxvt*perl-ext-common: default,matcher,tabbed
!URxvt*perl-ext-common: default,matcher
!Open URLs with firefox
URxvt.url-launcher: /usr/bin/firefox
URxvt.matcher.button: 1
! Tabs
URxvt.tabbed.tabbar-fg: 2
URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg: 3
URxvt.tabbed.tab-bg: 0
Thanks!strace -o log urxvt -e exit
execve("/usr/bin/urxvt", ["urxvt", "-e", "exit"], [/* 24 vars */]) = 0
brk(0) = 0x21ee000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/core_perl/CORE/tls/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/CORE/tls/x86_64", 0x7fffb449bba0) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/core_perl/CORE/tls/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/CORE/tls", 0x7fffb449bba0) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/core_perl/CORE/x86_64/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/CORE/x86_64", 0x7fffb449bba0) = -1 ENOENT (No such file or directory)
open("/usr/lib/perl5/core_perl/CORE/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/CORE", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=80332, ...}) = 0
mmap(NULL, 80332, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f9adfd01000
close(3) = 0
open("/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200U\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1059240, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfd00000
mmap(NULL, 3154264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adf7f3000
mprotect(0x7f9adf8f4000, 2097152, PROT_NONE) = 0
mmap(0x7f9adfaf4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x101000) = 0x7f9adfaf4000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libfontconfig.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libfontconfig.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000p\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=244696, ...}) = 0
mmap(NULL, 2340456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adf5b7000
mprotect(0x7f9adf5f1000, 2093056, PROT_NONE) = 0
mmap(0x7f9adf7f0000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x39000) = 0x7f9adf7f0000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libXft.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXft.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000C\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=85432, ...}) = 0
mmap(NULL, 2180648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adf3a2000
mprotect(0x7f9adf3b6000, 2093056, PROT_NONE) = 0
mmap(0x7f9adf5b5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7f9adf5b5000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libXrender.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXrender.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\33\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=39376, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcff000
mmap(NULL, 2134664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adf198000
mprotect(0x7f9adf1a1000, 2093056, PROT_NONE) = 0
mmap(0x7f9adf3a0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f9adf3a0000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libX11.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libX11.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\335\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1289752, ...}) = 0
mmap(NULL, 3386784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adee5d000
mprotect(0x7f9adef92000, 2097152, PROT_NONE) = 0
mmap(0x7f9adf192000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x135000) = 0x7f9adf192000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libstartup-notification-1.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libstartup-notification-1.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3003\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=39576, ...}) = 0
mmap(NULL, 2135192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adec53000
mprotect(0x7f9adec5c000, 2093056, PROT_NONE) = 0
mmap(0x7f9adee5b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f9adee5b000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libperl.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\30\3\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0555, st_size=1740664, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcfe000
mmap(NULL, 3735184, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9ade8c3000
mprotect(0x7f9adea49000, 2097152, PROT_NONE) = 0
mmap(0x7f9adec49000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x186000) = 0x7f9adec49000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20o\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=144938, ...}) = 0
mmap(NULL, 2212976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9ade6a6000
mprotect(0x7f9ade6be000, 2093056, PROT_NONE) = 0
mmap(0x7f9ade8bd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f9ade8bd000
mmap(0x7f9ade8bf000, 13424, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9ade8bf000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\34\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2031229, ...}) = 0
mmap(NULL, 3840528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9ade2fc000
mprotect(0x7f9ade49c000, 2097152, PROT_NONE) = 0
mmap(0x7f9ade69c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a0000) = 0x7f9ade69c000
mmap(0x7f9ade6a2000, 14864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9ade6a2000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260*\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=89000, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcfd000
mmap(NULL, 2184800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9ade0e6000
mprotect(0x7f9ade0fb000, 2097152, PROT_NONE) = 0
mmap(0x7f9ade2fb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f9ade2fb000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libfreetype.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\335\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=675656, ...}) = 0
mmap(NULL, 2770832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adde41000
mprotect(0x7f9addee0000, 2093056, PROT_NONE) = 0
mmap(0x7f9ade0df000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9e000) = 0x7f9ade0df000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`?\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=170144, ...}) = 0
mmap(NULL, 2265320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9addc17000
mprotect(0x7f9addc3e000, 2097152, PROT_NONE) = 0
mmap(0x7f9adde3e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x27000) = 0x7f9adde3e000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libxcb.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libxcb.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\244\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=129776, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcfc000
mmap(NULL, 2225160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9add9f7000
mprotect(0x7f9adda15000, 2097152, PROT_NONE) = 0
mmap(0x7f9addc15000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e000) = 0x7f9addc15000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libdl.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14648, ...}) = 0
mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9add7f3000
mprotect(0x7f9add7f6000, 2093056, PROT_NONE) = 0
mmap(0x7f9add9f5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f9add9f5000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libxcb-util.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libxcb-util.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260$\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=20712, ...}) = 0
mmap(NULL, 2115824, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9add5ee000
mprotect(0x7f9add5f2000, 2097152, PROT_NONE) = 0
mmap(0x7f9add7f2000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f9add7f2000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libX11-xcb.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libX11-xcb.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \6\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=6008, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcfb000
mmap(NULL, 2101304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9add3ec000
mprotect(0x7f9add3ed000, 2093056, PROT_NONE) = 0
mmap(0x7f9add5ec000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f9add5ec000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\f\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=35160, ...}) = 0
mmap(NULL, 2318848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9add1b5000
mprotect(0x7f9add1bd000, 2093056, PROT_NONE) = 0
mmap(0x7f9add3bc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f9add3bc000
mmap(0x7f9add3be000, 184832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9add3be000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libz.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000#\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=88592, ...}) = 0
mmap(NULL, 2183688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adcf9f000
mprotect(0x7f9adcfb4000, 2093056, PROT_NONE) = 0
mmap(0x7f9add1b3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f9add1b3000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libbz2.so.1.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\27\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=65760, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcfa000
mmap(NULL, 2160936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adcd8f000
mprotect(0x7f9adcd9e000, 2093056, PROT_NONE) = 0
mmap(0x7f9adcf9d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7f9adcf9d000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libpng16.so.16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libpng16.so.16", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20`\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=216216, ...}) = 0
mmap(NULL, 2311384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adcb5a000
mprotect(0x7f9adcb8e000, 2093056, PROT_NONE) = 0
mmap(0x7f9adcd8d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x33000) = 0x7f9adcd8d000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libXau.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXau.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \17\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14512, ...}) = 0
mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adc956000
mprotect(0x7f9adc958000, 2097152, PROT_NONE) = 0
mmap(0x7f9adcb58000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f9adcb58000
close(3) = 0
open("/usr/lib/perl5/core_perl/CORE/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXdmcp.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\23\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=22632, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcf9000
mmap(NULL, 2117864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f9adc750000
mprotect(0x7f9adc755000, 2093056, PROT_NONE) = 0
mmap(0x7f9adc954000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f9adc954000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcf8000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcf7000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfcf5000
arch_prctl(ARCH_SET_FS, 0x7f9adfcf5740) = 0
mprotect(0x7f9ade69c000, 16384, PROT_READ) = 0
mprotect(0x7f9adc954000, 4096, PROT_READ) = 0
mprotect(0x7f9adcb58000, 4096, PROT_READ) = 0
mprotect(0x7f9adfaf4000, 4096, PROT_READ) = 0
mprotect(0x7f9add1b3000, 4096, PROT_READ) = 0
mprotect(0x7f9adcd8d000, 4096, PROT_READ) = 0
mprotect(0x7f9add3bc000, 4096, PROT_READ) = 0
mprotect(0x7f9addc15000, 4096, PROT_READ) = 0
mprotect(0x7f9add9f5000, 4096, PROT_READ) = 0
mprotect(0x7f9adf192000, 4096, PROT_READ) = 0
mprotect(0x7f9add5ec000, 4096, PROT_READ) = 0
mprotect(0x7f9adde3e000, 8192, PROT_READ) = 0
mprotect(0x7f9ade0df000, 24576, PROT_READ) = 0
mprotect(0x7f9ade8bd000, 4096, PROT_READ) = 0
mprotect(0x7f9adec49000, 16384, PROT_READ) = 0
mprotect(0x7f9adee5b000, 4096, PROT_READ) = 0
mprotect(0x7f9adf3a0000, 4096, PROT_READ) = 0
mprotect(0x7f9adf7f0000, 8192, PROT_READ) = 0
mprotect(0x7f9adf5b5000, 4096, PROT_READ) = 0
mprotect(0x72e000, 8192, PROT_READ) = 0
mprotect(0x7f9adfd15000, 4096, PROT_READ) = 0
munmap(0x7f9adfd01000, 80332) = 0
set_tid_address(0x7f9adfcf5a10) = 4336
set_robust_list(0x7f9adfcf5a20, 24) = 0
rt_sigaction(SIGRTMIN, {0x7f9ade6ac9f0, [], SA_RESTORER|SA_SIGINFO, 0x7f9ade6b5870}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7f9ade6aca80, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f9ade6b5870}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
fcntl(0, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(1, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(2, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
getuid() = 1000
getgid() = 100
geteuid() = 1000
getegid() = 100
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
dup2(2, 0) = 0
dup2(2, 1) = 1
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
epoll_create1(EPOLL_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
brk(0) = 0x21ee000
brk(0x220f000) = 0x220f000
pipe([4, 5]) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl(5, F_SETFD, FD_CLOEXEC) = 0
fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
rt_sigaction(SIGCHLD, {0x436480, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f9ade6b5870}, NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN, [HUP], SA_RESTORER|SA_RESTART, 0x7f9ade331390}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 0x7f9ade331390}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x436480, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f9ade6b5870}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x436480, ~[RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f9ade6b5870}, NULL, 8) = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 6
fstat(6, {st_mode=S_IFREG|0644, st_size=1613216, ...}) = 0
mmap(NULL, 1613216, PROT_READ, MAP_PRIVATE, 6, 0) = 0x7f9adfb6b000
close(6) = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 6
connect(6, {sa_family=AF_LOCAL, sun_path=@"/tmp/.X11-unix/X0"}, 20) = 0
getpeername(6, {sa_family=AF_LOCAL, sun_path=@"/tmp/.X11-unix/X0"}, [20]) = 0
uname({sys="Linux", node="arch", ...}) = 0
access("/home/naoh/.Xauthority", R_OK) = 0
open("/home/naoh/.Xauthority", O_RDONLY) = 7
fstat(7, {st_mode=S_IFREG|0600, st_size=49, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9adfd14000
read(7, "\1\0\0\4arch\0\0010\0\22MIT-MAGIC-COOKIE-1\0"..., 4096) = 49
read(7, "", 4096) = 0
close(7) = 0
munmap(0x7f9adfd14000, 4096) = 0
getsockname(6, {sa_family=AF_LOCAL, NULL}, [2]) = 0
fcntl(6, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"l\0\v\0\0\0\22\0\20\0\0\0", 12}, {"", 0}, {"MIT-MAGIC-COOKIE-1", 18}, {"\0\0", 2}, {"\230\22|\350 GxS-2,\352\251\245\245\265", 16}, {"", 0}], 6) = 48
recvfrom(6, 0x21f8c10, 8, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvfrom(6, "\1\0\v\0\0\0s\2", 8, 0, NULL, NULL) = 8
recvfrom(6, "\310\6\256\0\0\0 \1\377\377\37\0\0\1\0\0\24\0\377\377\1\7\0\0 \10\377\0\0\0\0"..., 2508, 0, NULL, NULL) = 2508
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"b\0\5\0\f\0\0\0BIG-REQUESTS", 20}], 1) = 20
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\1\0\0\0\0\0\1\205\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\205\0\1\0", 4}], 1) = 4
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\2\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7fffb449bfa0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"7\0\5\0\0\0 \1_\1\0\0\10\0\0\0\377\377\377\0\24\0\6\0_\1\0\0\27\0\0\0"..., 44}, {NULL, 0}, {"", 0}], 3) = 44
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\4\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"b\0\5\0\t\0 \1", 8}, {"XKEYBOARD", 9}, {"\0\0\0", 3}], 3) = 20
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\5\0\0\0\0\0\1\207U\211\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7fffb449bee0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bee0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\207\0\2\0\1\0\0\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7fffb449bf70, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bf70, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\20\0\3\0\4\0\0\0TEXT\20\0\6\0\r\0\377\0COMPOUND_TEX"..., 836}, {NULL, 0}, {"", 0}], 3) = 836
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0\7\0\0\0\0\0\25\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 1248
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bfe0, 0) = -1 EAGAIN (Resource temporarily unavailable)
open("/home/naoh/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\24\0\6\0_\1\0\0+\1\0\0\37\0\0\0\0\0\0\0\0\341\365\5", 24}, {NULL, 0}, {"", 0}], 3) = 24
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0.\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7fffb449b9c0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449b9c0, 0) = -1 EAGAIN (Resource temporarily unavailable)
uname({sys="Linux", node="arch", ...}) = 0
open("/home/naoh/.Xdefaults-arch", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x7f9add9f60c8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/usr/lib/perl5/core_perl/CORE/libXcursor.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=80332, ...}) = 0
mmap(NULL, 80332, PROT_READ, MAP_PRIVATE, 7, 0) = 0x7f9adfd01000
close(7) = 0
open("/usr/lib/libXcursor.so.1", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p+\0\0\0\0\0\0"..., 832) = 832
fstat(7, {st_mode=S_IFREG|0755, st_size=43680, ...}) = 0
mmap(NULL, 2138928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7f9adc545000
mprotect(0x7f9adc54f000, 2093056, PROT_NONE) = 0
mmap(0x7f9adc74e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x9000) = 0x7f9adc74e000
close(7) = 0
open("/usr/lib/perl5/core_perl/CORE/libXfixes.so.3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libXfixes.so.3", O_RDONLY|O_CLOEXEC) = 7
read(7, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\25\0\0\0\0\0\0"..., 832) = 832
fstat(7, {st_mode=S_IFREG|0755, st_size=22576, ...}) = 0
mmap(NULL, 2117912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x7f9adc33f000
mprotect(0x7f9adc344000, 2093056, PROT_NONE) = 0
mmap(0x7f9adc543000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x4000) = 0x7f9adc543000
close(7) = 0
mprotect(0x7f9adc543000, 4096, PROT_READ) = 0
mprotect(0x7f9adc74e000, 4096, PROT_READ) = 0
munmap(0x7f9adfd01000, 80332) = 0
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"-\0\5\0\1\0 \1\5\0\0\0fixed\0\0\0b\341\4\0\6\0ND", 28}, {"RENDER", 6}, {"\0\0", 2}], 3) = 36
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0000\0\0\0\0\0\1\213\0\216\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(6, 0x7fffb449be90, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449be90, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"\213\0\3\0\0\0\0\0\v\0\0\0\213\1\1\0", 16}, {NULL, 0}, {"", 0}], 3) = 16
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0001\0\0\0\0\0\0\0\0\0\v\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 1684
recvmsg(6, 0x7fffb449bea0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bea0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bea0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bea0, 0) = -1 EAGAIN (Resource temporarily unavailable)
open("/home/naoh/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="arch", ...}) = 0
open("/home/naoh/.Xdefaults-arch", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/naoh/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="arch", ...}) = 0
open("/home/naoh/.Xdefaults-arch", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/naoh/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="arch", ...}) = 0
open("/home/naoh/.Xdefaults-arch", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/naoh/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="arch", ...}) = 0
open("/home/naoh/.Xdefaults-arch", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/naoh/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="arch", ...}) = 0
open("/home/naoh/.Xdefaults-arch", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/naoh/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="arch", ...}) = 0
open("/home/naoh/.Xdefaults-arch", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/naoh/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="arch", ...}) = 0
open("/home/naoh/.Xdefaults-arch", O_RDONLY) = -1 ENOENT (No such file or directory)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"/\0\2\0\1\0 \1", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0003\0005\3\0\0\0\0\0\0\6\0\377\377\366\377\0\0\0\0\0\0\2\0\6\0\6\0\v\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 3316
recvmsg(6, 0x7fffb449bf30, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449bf30, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=6, revents=POLLOUT}])
writev(6, [{"^\0\10\0\2\0 \1\1\0 \1\1\0 \1 \0 \0\0\0\0\0\0\0\0\0\0\0\0\0"..., 48}, {NULL, 0}, {"", 0}], 3) = 48
poll([{fd=6, events=POLLIN}], 1, 4294967295) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name(0)=NULL, msg_iov(1)=[{"\1\0006\0\16\0\0\0\6\0\0\0\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 88
recvmsg(6, 0x7fffb449c050, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(6, 0x7fffb449c050, 0) = -1 EAGAIN (Resource temporarily unavailable)
getsockname(6, {sa_family=AF_LOCAL, NULL}, [2]) = 0
fcntl(6, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGFPE, {SIG_IGN, [FPE], SA_RESTORER|SA_RESTART, 0x7f9ade331390}, {SIG_DFL, [], 0}, 8) = 0
brk(0x2230000) = 0x2230000
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
open("/dev/urandom", O_RDONLY) = 7
read(7, "O\0003n", 4) = 4
close(7) = 0
readlink("/proc/self/exe", "/usr/bin/urxvt", 4095) = 14
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
lseek(1, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
lseek(2, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
open("/dev/null", O_RDONLY) = 7
ioctl(7, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449be20) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(7, 0, SEEK_CUR) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
rt_sigaction(SIGCHLD, NULL, {0x436480, ~[KILL STOP RTMIN RT_1], SA_RESTORER|SA_RESTART, 0x7f9ade6b5870}, 8) = 0
brk(0x2251000) = 0x2251000
brk(0x2272000) = 0x2272000
stat("/usr/lib/urxvt/urxvt.pmc", 0x7fffb449ba10) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/urxvt.pm", {st_mode=S_IFREG|0644, st_size=60715, ...}) = 0
open("/usr/lib/urxvt/urxvt.pm", O_RDONLY) = 8
ioctl(8, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b720) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(8, 0, SEEK_CUR) = 0
read(8, "=encoding utf8\n\n=head1 NAME\n\nurx"..., 8192) = 8192
read(8, " filter/change and output the te"..., 8192) = 8192
stat("/usr/lib/urxvt/utf8.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/utf8.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/utf8.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/utf8.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/utf8.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/utf8.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/utf8.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/utf8.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/utf8.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/utf8.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/utf8.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/utf8.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/utf8.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/utf8.pm", {st_mode=S_IFREG|0444, st_size=7795, ...}) = 0
open("/usr/share/perl5/core_perl/utf8.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b0e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "package utf8;\n\n$utf8::hint_bits "..., 8192) = 7795
lseek(9, 378, SEEK_SET) = 378
lseek(9, 0, SEEK_CUR) = 378
close(9) = 0
stat("/usr/lib/urxvt/strict.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/strict.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/strict.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/strict.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/strict.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/strict.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/strict.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/strict.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/strict.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/strict.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/strict.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/strict.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/strict.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/strict.pm", {st_mode=S_IFREG|0444, st_size=3933, ...}) = 0
open("/usr/share/perl5/core_perl/strict.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b0e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "package strict;\n\n$strict::VERSIO"..., 8192) = 3933
brk(0x2293000) = 0x2293000
lseek(9, 1005, SEEK_SET) = 1005
lseek(9, 0, SEEK_CUR) = 1005
close(9) = 0
stat("/usr/lib/urxvt/Carp.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/Carp.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/Carp.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/Carp.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/Carp.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/Carp.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/Carp.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/Carp.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/Carp.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/Carp.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/Carp.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/Carp.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/Carp.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/Carp.pm", {st_mode=S_IFREG|0444, st_size=22004, ...}) = 0
open("/usr/share/perl5/core_perl/Carp.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b0e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "package Carp;\n\n{ use 5.006; }\nus"..., 8192) = 8192
stat("/usr/lib/urxvt/warnings.pmc", 0x7fffb449ad90) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/warnings.pm", 0x7fffb449ace0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/warnings.pmc", 0x7fffb449ad90) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/warnings.pm", 0x7fffb449ace0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/warnings.pmc", 0x7fffb449ad90) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/warnings.pm", 0x7fffb449ace0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/warnings.pmc", 0x7fffb449ad90) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/warnings.pm", 0x7fffb449ace0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/warnings.pmc", 0x7fffb449ad90) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/warnings.pm", 0x7fffb449ace0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/warnings.pmc", 0x7fffb449ad90) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/warnings.pm", 0x7fffb449ace0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/warnings.pmc", 0x7fffb449ad90) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/warnings.pm", {st_mode=S_IFREG|0444, st_size=20624, ...}) = 0
open("/usr/share/perl5/core_perl/warnings.pm", O_RDONLY) = 10
ioctl(10, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449aaa0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(10, 0, SEEK_CUR) = 0
read(10, "# -*- buffer-read-only: t -*-\n# "..., 8192) = 8192
read(10, "\", # [14]\n 'overflow'\t\t=> \"\\x"..., 8192) = 8192
brk(0x22b4000) = 0x22b4000
read(10, "ndef, @_) ;\n}\n\nsub import \n{\n "..., 8192) = 4240
brk(0x22d5000) = 0x22d5000
read(10, "", 8192) = 0
close(10) = 0
read(9, " # This *shouldn't* ha"..., 8192) = 8192
brk(0x22f6000) = 0x22f6000
lseek(9, 13751, SEEK_SET) = 13751
lseek(9, 0, SEEK_CUR) = 13751
close(9) = 0
stat("/usr/lib/urxvt/Exporter.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/Exporter.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/Exporter.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/Exporter.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/Exporter.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/Exporter.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/Exporter.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/Exporter.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/Exporter.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/Exporter.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/Exporter.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/Exporter.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/Exporter.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/Exporter.pm", {st_mode=S_IFREG|0444, st_size=18752, ...}) = 0
open("/usr/share/perl5/core_perl/Exporter.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b0e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "package Exporter;\n\nrequire 5.006"..., 8192) = 8192
brk(0x2319000) = 0x2319000
lseek(9, 2366, SEEK_SET) = 2366
lseek(9, 0, SEEK_CUR) = 2366
close(9) = 0
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
stat("/usr/lib/urxvt/Scalar/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/Scalar/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/Scalar/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/Scalar/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/Scalar/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/Scalar/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/Scalar/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/Scalar/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/Scalar/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/Scalar/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/Scalar/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/Scalar/Util.pm", {st_mode=S_IFREG|0444, st_size=8300, ...}) = 0
open("/usr/lib/perl5/core_perl/Scalar/Util.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b0e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "# Scalar::Util.pm\n#\n# Copyright "..., 8192) = 8192
lseek(9, 1109, SEEK_SET) = 1109
lseek(9, 0, SEEK_CUR) = 1109
close(9) = 0
stat("/usr/lib/urxvt/List/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/List/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/List/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/List/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/List/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/List/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/List/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/List/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/List/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/List/Util.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/List/Util.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/List/Util.pm", {st_mode=S_IFREG|0444, st_size=6391, ...}) = 0
open("/usr/lib/perl5/core_perl/List/Util.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b0e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "# List::Util.pm\n#\n# Copyright (c"..., 8192) = 6391
lseek(9, 652, SEEK_SET) = 652
lseek(9, 0, SEEK_CUR) = 652
close(9) = 0
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
stat("/usr/lib/urxvt/XSLoader.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/XSLoader.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/XSLoader.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/XSLoader.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/XSLoader.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/XSLoader.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/XSLoader.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/XSLoader.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/XSLoader.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/XSLoader.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/XSLoader.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/XSLoader.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/XSLoader.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/XSLoader.pm", {st_mode=S_IFREG|0444, st_size=10234, ...}) = 0
open("/usr/share/perl5/core_perl/XSLoader.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b0e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "# Generated from XSLoader.pm.PL "..., 8192) = 8192
lseek(9, 2886, SEEK_SET) = 2886
lseek(9, 0, SEEK_CUR) = 2886
close(9) = 0
stat("/usr/lib/perl5/core_perl/auto/List/Util/Util.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
stat("/usr/lib/perl5/core_perl/auto/List/Util/Util.so", {st_mode=S_IFREG|0555, st_size=31861, ...}) = 0
stat("/usr/lib/perl5/core_perl/auto/List/Util/Util.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/usr/lib/perl5/core_perl/auto/List/Util/Util.so", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \26\0\0\0\0\0\0"..., 832) = 832
fstat(9, {st_mode=S_IFREG|0555, st_size=31861, ...}) = 0
mmap(NULL, 2122192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0x7f9adc138000
mprotect(0x7f9adc13d000, 2097152, PROT_NONE) = 0
mmap(0x7f9adc33d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x5000) = 0x7f9adc33d000
close(9) = 0
mprotect(0x7f9adc33d000, 4096, PROT_READ) = 0
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
read(8, "\nThe following \"macros\" deal wit"..., 8192) = 8192
brk(0x233a000) = 0x233a000
brk(0x235b000) = 0x235b000
read(8, "e[, $hook_name..])\n\nDynamically "..., 8192) = 8192
brk(0x237c000) = 0x237c000
read(8, "o14755_52 jumpScroll loginShell\n"..., 8192) = 8192
read(8, " need. Correctly\naccounts for wi"..., 8192) = 8192
read(8, "row|col pair within the logical\n"..., 8192) = 8192
brk(0x239d000) = 0x239d000
stat("/usr/lib/urxvt/integer.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/integer.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/integer.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/integer.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/integer.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/integer.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/integer.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/integer.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/integer.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/integer.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/integer.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/integer.pm", 0x7fffb449b320) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/integer.pmc", 0x7fffb449b3d0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/core_perl/integer.pm", {st_mode=S_IFREG|0444, st_size=3266, ...}) = 0
open("/usr/share/perl5/core_perl/integer.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b0e0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "package integer;\n\nour $VERSION ="..., 8192) = 3266
read(9, "", 8192) = 0
close(9) = 0
read(8, "hen the timer\nis automatically r"..., 8192) = 3371
read(8, "", 8192) = 0
close(8) = 0
brk(0x23be000) = 0x23be000
close(7) = 0
stat("/home/naoh/.urxvt/ext/option-popup", 0x2207910) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/perl/option-popup", {st_mode=S_IFREG|0644, st_size=2172, ...}) = 0
open("/usr/lib/urxvt/perl/option-popup", O_RDONLY) = 7
ioctl(7, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449bc10) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(7, 0, SEEK_CUR) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=2172, ...}) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=2172, ...}) = 0
read(7, "#! perl\n\n=head1 NAME\n\noption-pop"..., 8192) = 2172
read(7, "", 8192) = 0
close(7) = 0
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
stat("/home/naoh/.urxvt/ext/readline", 0x2207910) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/perl/readline", {st_mode=S_IFREG|0644, st_size=2069, ...}) = 0
open("/usr/lib/urxvt/perl/readline", O_RDONLY) = 7
ioctl(7, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449bc10) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(7, 0, SEEK_CUR) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=2069, ...}) = 0
fcntl(7, F_SETFD, FD_CLOEXEC) = 0
fstat(7, {st_mode=S_IFREG|0644, st_size=2069, ...}) = 0
read(7, "#! perl\n\n=head1 NAME\n\nreadline -"..., 8192) = 2069
read(7, "", 8192) = 0
stat("/usr/lib/urxvt/POSIX.pmc", 0x7fffb449b950) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/POSIX.pm", 0x7fffb449b8a0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/POSIX.pmc", 0x7fffb449b950) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/POSIX.pm", 0x7fffb449b8a0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/POSIX.pmc", 0x7fffb449b950) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/POSIX.pm", 0x7fffb449b8a0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/POSIX.pmc", 0x7fffb449b950) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/POSIX.pm", 0x7fffb449b8a0) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/POSIX.pmc", 0x7fffb449b950) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/POSIX.pm", 0x7fffb449b8a0) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/POSIX.pmc", 0x7fffb449b950) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/POSIX.pm", {st_mode=S_IFREG|0444, st_size=16637, ...}) = 0
open("/usr/lib/perl5/core_perl/POSIX.pm", O_RDONLY) = 8
ioctl(8, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b660) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(8, 0, SEEK_CUR) = 0
read(8, "package POSIX;\nuse strict;\nuse w"..., 8192) = 8192
stat("/usr/lib/urxvt/Fcntl.pmc", 0x7fffb449b310) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/Fcntl.pm", 0x7fffb449b260) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/Fcntl.pmc", 0x7fffb449b310) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/site_perl/Fcntl.pm", 0x7fffb449b260) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/Fcntl.pmc", 0x7fffb449b310) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/site_perl/Fcntl.pm", 0x7fffb449b260) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/Fcntl.pmc", 0x7fffb449b310) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/vendor_perl/Fcntl.pm", 0x7fffb449b260) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/Fcntl.pmc", 0x7fffb449b310) = -1 ENOENT (No such file or directory)
stat("/usr/share/perl5/vendor_perl/Fcntl.pm", 0x7fffb449b260) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/Fcntl.pmc", 0x7fffb449b310) = -1 ENOENT (No such file or directory)
stat("/usr/lib/perl5/core_perl/Fcntl.pm", {st_mode=S_IFREG|0444, st_size=3924, ...}) = 0
open("/usr/lib/perl5/core_perl/Fcntl.pm", O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fffb449b020) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR) = 0
read(9, "package Fcntl;\n\n=head1 NAME\n\nFcn"..., 8192) = 3924
brk(0x23df000) = 0x23df000
read(9, "", 8192) = 0
close(9) = 0
getuid() = 1000
geteuid() = 1000
getgid() = 100
getegid() = 100
stat("/usr/lib/perl5/core_perl/auto/Fcntl/Fcntl.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
stat("/usr/lib/perl5/core_perl/auto/Fcntl/Fcntl.so", {st_mode=S_IFREG|0555, st_size=21954, ...}) = 0
stat("/usr/lib/perl5/core_perl/auto/Fcntl/Fcntl.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/usr/lib/perl5/core_perl/auto/Fcntl/Fcntl.so", O_RDONLY|O_CLOEXEC) = 9
read(9, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\33\0\0\0\0\0\0"..., 832) = 832
fstat(9, {st_mode=S_IFREG|0555, st_size=21954, ...}) = 0
mmap(NULL, 2113800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0x7f9adbf33000
mprotect(0x7f9adbf36000, 2097152, PROT_NONE) = 0
mmap(0x7f9adc136000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x3000) = 0x7f9adc136000
close(9) = 0
mprotect(0x7f9adc136000, 4096, PROT_READ) = 0
read(8, "\t\tEAGAIN EALREADY EBADF EBUSY EC"..., 8192) = 8192
brk(0x2400000) = 0x2400000
brk(0x2421000) = 0x2421000
read(8, "ub DELETE { delete $SIG{ &_check"..., 8192) = 253
read(8, "", 8192) = 0
close(8) = 0
stat("/usr/lib/perl5/core_perl/auto/POSIX/POSIX.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
stat("/usr/lib/perl5/core_perl/auto/POSIX/POSIX.so", {st_mode=S_IFREG|0555, st_size=98287, ...}) = 0
stat("/usr/lib/perl5/core_perl/auto/POSIX/POSIX.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/usr/lib/perl5/core_perl/auto/POSIX/POSIX.so", O_RDONLY|O_CLOEXEC) = 8
read(8, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 Z\0\0\0\0\0\0"..., 832) = 832
fstat(8, {st_mode=S_IFREG|0555, st_size=98287, ...}) = 0
mmap(NULL, 2180400, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 8, 0) = 0x7f9adbd1e000
mprotect(0x7f9adbd30000, 2093056, PROT_NONE) = 0
mmap(0x7f9adbf2f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x11000) = 0x7f9adbf2f000
close(8) = 0
mprotect(0x7f9adbf2f000, 12288, PROT_READ) = 0
brk(0x2442000) = 0x2442000
stat("/usr/lib/urxvt/Tie/Hash.pmc", 0x7fffb449b950) = -1 ENOENT (No such file or directory)
stat("/usr/lib/urxvt/Tie/Hash.pm", 0x7fffb449b8a0) = -1 ENOENT (N -
Berkeley DB Java Edition (JE) and JRuby Interoperability
I finally got around to doing a quick test of calling Berkeley DB Java Edition (JE) from JRuby (JRuby is a 100% pure-Java implementation of Ruby).
Before we get to JE and JRuby you probably want to know the answer to this question: "Why you would want to run Ruby on a JVM?" The answer is threefold:
1. Ruby Performance. A large amount of effort has been put into tuning contemporary JVMs (e.g. Hotspot, Java 6, etc.) and Ruby programmers (through JRuby) can benefit from these tuning efforts. The JRuby guys have set a goal to make JRuby the fastest Ruby implementation available and Sun is certainly throwing their weight behind that effort.
2. Portability. JRuby is a Ruby interpreter that runs anywhere a Java 5 JVM runs. You download it as a single tar.gz and it will run pretty much anywhere.
3. Legacy Code. JRuby makes legacy Java apps and libraries available to Ruby programmers (did you ever think you'd see the word "legacy" next to the word "Java"?).
JE interoperability with JRuby is important because it means that Ruby programmers now have a simple, embeddable, ACID storage engine (JE) available to them.
To test this interoperability, I cobbled together a simple Ruby test program which does the following:
* Opens an Environment, Database, and Transaction
* Creates 10 records with keys 1..10 and marshaled Ruby Time instances as the corresponding data. This uses the Ruby Marshal package for the data binding and the JE Integer binding on the key side. There's no reason why you couldn't use different marshaling packages or methods for keys and data.
* Commits the transaction,
* Performs a Cursor scan to read those 10 records and prints out the Time instances, and
* Searches for and reads the record with key 5 (an arbitrary key) and prints out the Time instance that is the corresponding data
By the way, hats off to the JRuby developers: all of this code "just worked", out of the box, and most of my two hour investment was spent learning enough basic Ruby to make it all work. If you already know Ruby and JE, then demonstrating this interoperability would take you all of about 10 minutes.
This was all done at the "base API" level of JE and no modifications to JE were required. I used Transactions in my code, but there's no reason that you need to. Mark and I have been talking about how to integrate JE's Direct Persistence Layer (DPL) with JRuby and we think it can be done with some remodularization of some of the DPL code. This is exciting because it would provide POJO ACID persistence to Ruby programmers.
Linda and I have been talking about whether it makes sense to possibly use Ruby as a scripting platform for JE in the future. Given how easy it was to bring up JE and JRuby, this certainly warrants some further thought.
The Ruby code and corresponding output is shown below. By the way, if you see something that I didn't do "The Ruby Way", feel free to let me know.
I'd love to hear about your experiences with JE and JRuby. Feel free to email me a charles.lamb at <theobviousdomain dot com>.
require 'java'
module JESimple
require 'date'
# Include all the Java and JE classes that we need.
include_class 'java.io.File'
include_class 'com.sleepycat.je.Cursor'
include_class 'com.sleepycat.je.Database'
include_class 'com.sleepycat.je.DatabaseConfig'
include_class 'com.sleepycat.je.DatabaseEntry'
include_class 'com.sleepycat.je.Environment'
include_class 'com.sleepycat.je.EnvironmentConfig'
include_class 'com.sleepycat.je.OperationStatus'
include_class 'com.sleepycat.je.Transaction'
include_class 'com.sleepycat.bind.tuple.IntegerBinding'
include_class 'com.sleepycat.bind.tuple.StringBinding'
# Create a JE Environment and Database. Make them transactional.
envConf = EnvironmentConfig.new()
envConf.setAllowCreate(true)
envConf.setTransactional(true)
f = File.new('/export/home/cwl/work-jruby/JE')
env = Environment.new(f, envConf);
dbConf = DatabaseConfig.new()
dbConf.setAllowCreate(true)
dbConf.setSortedDuplicates(true)
dbConf.setTransactional(true)
db = env.openDatabase(nil, "fooDB", dbConf)
# Create JE DatabaseEntry's for the key and data.
key = DatabaseEntry.new()
data = DatabaseEntry.new()
# Begin a transaction
txn = env.beginTransaction(nil, nil)
# Write some simple marshaled strings to the database. Use Ruby
# Time just to demonstrate marshaling a random instance into JE.
for i in (1..10)
# For demonstration purposes, use JE's Binding for the key and
# Ruby's Marshal package for the data. There's no reason you
# couldn't use JE's bindings for key and data or visa versa or
# some other completely different binding.
IntegerBinding.intToEntry(i, key)
StringBinding.stringToEntry(Marshal.dump(Time.at(i * 3600 * 24)),
data)
status = db.put(txn, key, data)
if (status != OperationStatus::SUCCESS)
puts "Funky status on put #{status}"
end
end
txn.commit()
# Read back all of the records with a cursor scan.
puts "Cursor Scan"
c = db.openCursor(nil, nil)
while (true) do
status = c.getNext(key, data, nil)
if (status != OperationStatus::SUCCESS)
break
end
retKey = IntegerBinding.entryToInt(key)
retData = Marshal.load(StringBinding.entryToString(data))
dow =
puts "#{retKey} => #{retData.strftime('%a %b %d')}"
end
c.close()
# Read back the record with key 5.
puts "\nSingle Record Retrieval"
IntegerBinding.intToEntry(5, key)
status = db.get(nil, key, data, nil)
if (status != OperationStatus::SUCCESS)
puts "Funky status on get #{status}"
end
retData = Marshal.load(StringBinding.entryToString(data))
puts "5 => #{retData.strftime('%a %b %d')}"
db.close
env.close
end
Cursor Scan
1 => Fri Jan 02
2 => Sat Jan 03
3 => Sun Jan 04
4 => Mon Jan 05
5 => Tue Jan 06
6 => Wed Jan 07
7 => Thu Jan 08
8 => Fri Jan 09
9 => Sat Jan 10
10 => Sun Jan 11
Single Record Retrieval
5 => Tue Jan 06In my previous post (Berkeley DB Java Edition in JRuby), I showed an example of calling JE's base API layer and mentioned that Mark and I had been thinking about how to use the DPL from JRuby. Our ideal is to be able to define classes in Ruby, annotate those class definitions with DPL-like annotations, and have the JE DPL store them. There are a number of technical hurdles to overcome before we can do this. For instance, Ruby classes defined in JRuby do not map directly to underlying Java classes; instead they all appear as generic RubyObjects to a Java method. Granted, it would be possible for the DPL to fish out all of the fields from these classes using reflection, but presently it's just not set up to do that (hence the modification to the DPL that I spoke about in my previous blog entry). Furthermore, unlike Java, Ruby allows classes to change on the fly (add/remote new fields and methods) causing more heartburn for the DPL unless we required that only frozen Ruby classes could be stored persistently.
On thinking about this some more, we realized that there may be a way to use the DPL from JRuby, albeit with some compromises. The key to this is that in JRuby, if a Java instance is passed back to the "Ruby side" (e.g. through a return value or by calling the constructor for a Java class), it remains a Java instance, even when passed around in JRuby (and eventually passed back into the "Java side"). So what if we require all persistent classes to be defined (i.e. annotated) on the Java side? That buys us the standard DPL annotations (effectively the DDL), freezes the classes that the DPL sees, and still lets us benefit from the POJO persistence of the DPL. All of this can be done without modification to JE or the DPL using the currently available release. I cooked up a quick example that builds on the standard "Person" example in the DPL doc and included the code below.
require 'java'
module DPL
require 'date'
# Include all the Java and JE classes that we need.
include_class 'java.io.File'
include_class 'com.sleepycat.je.Environment'
include_class 'com.sleepycat.je.EnvironmentConfig'
include_class 'com.sleepycat.persist.EntityCursor'
include_class 'com.sleepycat.persist.EntityIndex'
include_class 'com.sleepycat.persist.EntityStore'
include_class 'com.sleepycat.persist.PrimaryIndex'
include_class 'com.sleepycat.persist.SecondaryIndex'
include_class 'com.sleepycat.persist.StoreConfig'
include_class 'com.sleepycat.persist.model.Entity'
include_class 'com.sleepycat.persist.model.Persistent'
include_class 'com.sleepycat.persist.model.PrimaryKey'
include_class 'com.sleepycat.persist.model.SecondaryKey'
include_class 'com.sleepycat.persist.model.DeleteAction'
include_class 'persist.Person'
include_class 'persist.PersonExample'
# Create a JE Environment and Database. Make them transactional.
envConf = EnvironmentConfig.new()
envConf.setAllowCreate(true)
envConf.setTransactional(true)
f = File.new('/export/home/cwl/work-jruby/JE')
env = Environment.new(f, envConf);
# Open a transactional entity store.
storeConfig = StoreConfig.new();
storeConfig.setAllowCreate(true);
storeConfig.setTransactional(true);
store = EntityStore.new(env, "PersonStore", storeConfig);
class PersonAccessor
attr_accessor :personBySsn, :personByParentSsn
def init(store)
stringClass = java.lang.Class.forName('java.lang.String')
personClass = java.lang.Class.forName('persist.Person')
@personBySsn = store.getPrimaryIndex(stringClass, personClass)
@personByParentSsn =
store.getSecondaryIndex(@personBySsn, stringClass, "parentSsn");
end
end
dao = PersonAccessor.new(store)
dao.init(store)
personBySsn = dao.personBySsn
person = Person.new('Bob Smith', '111-11-1111', nil)
personBySsn.put(person);
person = Person.new('Mary Smith', '333-33-3333', '111-11-1111')
personBySsn.put(person);
person = Person.new('Jack Smith', '222-22-2222', '111-11-1111')
personBySsn.put(person);
# Get Bob by primary key using the primary index.
bob = personBySsn.get("111-11-1111")
puts "Lookup of Bob => #{bob.name}, #{bob.ssn}"
children = dao.personByParentSsn.subIndex(bob.ssn).entities()
puts "\nRetrieving children of Bob"
while (true) do
child = children.next()
break if child == nil
puts "#{child.name}, #{child.ssn}"
end
children.close()
store.close
env.close
end -
Why does this class not read and write at same time???
I had another thread where i was trying to combine two class files together
http://forum.java.sun.com/thread.jspa?threadID=5146796
I managed to do it myself but when i run the file it does not work right. If i write a file then try and open the file it says there are no records in the file, but if i close the gui down and open the file everything get read in as normal can anybody tell me why?
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import bank.BankUI;
import bank.*;
public class testing extends JFrame {
private ObjectOutputStream output;
private BankUI userInterface;
private JButton SaveToFile, SaveAs, Exit; //////////savetofile also saves to store need to split up and have 2 buttons
//private Store store; MIGHT BE SOMETHING TO DO WITH THIS AS I HAD TO COMMENT THIS STORE OUT TO GET IT WORKING AS STORE IS USED BELOW
private Employee record;
//////////////////////////////////////from read
private ObjectInputStream input;
private JButton nextButton, openButton, nextRecordButton ;
private Store store = new Store(100);
private Employee employeeList[] = new Employee[100];
private int count = 0, next = 0;
/////////////////////////////////////////////from read end
// set up GUI
public testing()
super( "Employee Data" ); // appears in top of gui
// create instance of reusable user interface
userInterface = new BankUI( 9 ); // nine textfields
getContentPane().add( userInterface, BorderLayout.CENTER );
// configure button doTask1 for use in this program
SaveAs = userInterface.getSaveAsButton();
SaveAs.setText( "Save as.." );
//////////////////from read
openButton = userInterface.getOpenFileButton();
openButton.setText( "Open File" );
openButton.addActionListener(
// anonymous inner class to handle openButton event
new ActionListener() {
// close file and terminate application
public void actionPerformed( ActionEvent event )
openFile();
} // end anonymous inner class
); // end call to addActionListener
// register window listener for window closing event
addWindowListener(
// anonymous inner class to handle windowClosing event
new WindowAdapter() {
// close file and terminate application
public void windowClosing( WindowEvent event )
if ( input != null )
closeFile();
System.exit( 0 );
} // end anonymous inner class
); // end call to addWindowListener
// get reference to generic task button doTask2 from BankUI
nextButton = userInterface.getDoTask2Button();
nextButton.setText( "Next Record" );
nextButton.setEnabled( false );
// register listener to call readRecord when button pressed
nextButton.addActionListener(
// anonymous inner class to handle nextRecord event
new ActionListener() {
// call readRecord when user clicks nextRecord
public void actionPerformed( ActionEvent event )
readRecord();
} // end anonymous inner class
); // end call to addActionListener
//get reference to generic task button do Task3 from BankUI
// get reference to generic task button doTask3 from BankUI
nextRecordButton = userInterface.getDoTask3Button();
nextRecordButton.setText( "Get Next Record" );
nextRecordButton.setEnabled( false );
// register listener to call readRecord when button pressed
nextRecordButton.addActionListener(
// anonymous inner class to handle nextRecord event
new ActionListener() {
// call readRecord when user clicks nextRecord
public void actionPerformed( ActionEvent event )
getNextRecord();
} // end anonymous inner class
); // end call to addActionListener
///////////from read end
// register listener to call openFile when button pressed
SaveAs.addActionListener(
// anonymous inner class to handle openButton event
new ActionListener() {
// call openFile when button pressed
public void actionPerformed( ActionEvent event )
SaveLocation();
} // end anonymous inner class
); // end call to addActionListener
// configure button doTask2 for use in this program
SaveToFile = userInterface.getSaveStoreToFileButton();
SaveToFile.setText( "Save to store and to file need to split this task up" );
SaveToFile.setEnabled( false ); // disable button
// register listener to call addRecord when button pressed
SaveToFile.addActionListener(
// anonymous inner class to handle enterButton event
new ActionListener() {
// call addRecord when button pressed
public void actionPerformed( ActionEvent event )
addRecord(); // NEED TO SPLIT UP SO DONT DO BOTH
} // end anonymous inner class
); // end call to addActionListener
Exit = userInterface.getExitAndSaveButton();
Exit.setText( "Exit " );
Exit.setEnabled( false ); // disable button
// register listener to call addRecord when button pressed
Exit.addActionListener(
// anonymous inner class to handle enterButton event
new ActionListener() {
// call addRecord when button pressed
public void actionPerformed( ActionEvent event )
addRecord(); // adds record to to file
closeFile(); // closes everything
} // end anonymous inner class
); // end call to addActionListener
// register window listener to handle window closing event
addWindowListener(
// anonymous inner class to handle windowClosing event
new WindowAdapter() {
// add current record in GUI to file, then close file
public void windowClosing( WindowEvent event )
if ( output != null )
addRecord();
closeFile();
} // end anonymous inner class
); // end call to addWindowListener
setSize( 600, 500 );
setVisible( true );
store = new Store(100);
} // end CreateSequentialFile constructor
// allow user to specify file name
////////////////from read
// enable user to select file to open
private void openFile()
// display file dialog so user can select file to open
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
int result = fileChooser.showOpenDialog( this );
// if user clicked Cancel button on dialog, return
if ( result == JFileChooser.CANCEL_OPTION )
return;
// obtain selected file
File fileName = fileChooser.getSelectedFile();
// display error if file name invalid
if ( fileName == null || fileName.getName().equals( "" ) )
JOptionPane.showMessageDialog( this, "Invalid File Name",
"Invalid File Name", JOptionPane.ERROR_MESSAGE );
else {
// open file
try {
input = new ObjectInputStream(
new FileInputStream( fileName ) );
openButton.setEnabled( false );
nextButton.setEnabled( true );
// process exceptions opening file
catch ( IOException ioException ) {
JOptionPane.showMessageDialog( this, "Error Opening File",
"Error", JOptionPane.ERROR_MESSAGE );
} // end else
} // end method openFile
public void readRecord() // need to merger with next record
Employee record;
// input the values from the file
try {
record = ( Employee ) input.readObject();
employeeList[count++]= record;
store.add(record);/////////ADDS record to Store
store.displayAll();
System.out.println("Count is " + store.getCount());
// create array of Strings to display in GUI
String values[] = {
String.valueOf(record.getName()),
String.valueOf(record.getGender()),
String.valueOf( record.getDateOfBirth()),
String.valueOf( record.getID()),
String.valueOf( record.getStartDate()),
String.valueOf( record.getSalary()),
String.valueOf( record.getAddress()),
String.valueOf( record.getNatInsNo()),
String.valueOf( record.getPhone())
// i added all those bits above split onto one line to look neater
// display record contents
userInterface.setFieldValues( values );
// display message when end-of-file reached
catch ( EOFException endOfFileException ) {
nextButton.setEnabled( false );
nextRecordButton.setEnabled( true );
JOptionPane.showMessageDialog( this, "No more records in file",
"End of File", JOptionPane.ERROR_MESSAGE );
// display error message if class is not found
catch ( ClassNotFoundException classNotFoundException ) {
JOptionPane.showMessageDialog( this, "Unable to create object",
"Class Not Found", JOptionPane.ERROR_MESSAGE );
// display error message if cannot read due to problem with file
catch ( IOException ioException ) {
JOptionPane.showMessageDialog( this,
"Error during read from file",
"Read Error", JOptionPane.ERROR_MESSAGE );
} // end method readRecord
private void getNextRecord()
Employee record = employeeList[next++%count];//cycles throught accounts
//create aray of string to display in GUI
String values[] = {String.valueOf(record.getName()),
String.valueOf(record.getGender()),
String.valueOf( record.getStartDate() ), String.valueOf( record.getAddress()),
String.valueOf( record.getNatInsNo()),
String.valueOf( record.getPhone()),
String.valueOf( record.getID() ),
String.valueOf( record.getDateOfBirth() ),
String.valueOf( record.getSalary() ) };
//display record contents
userInterface.setFieldValues(values);
//display record content
///////////////////////////////////from read end
private void SaveLocation()
// display file dialog, so user can choose file to open
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode( JFileChooser.FILES_ONLY );
int result = fileChooser.showSaveDialog( this );
// if user clicked Cancel button on dialog, return
if ( result == JFileChooser.CANCEL_OPTION )
return;
File fileName = fileChooser.getSelectedFile(); // get selected file
// display error if invalid
if ( fileName == null || fileName.getName().equals( "" ) )
JOptionPane.showMessageDialog( this, "Invalid File Name",
"Invalid File Name", JOptionPane.ERROR_MESSAGE );
else {
// open file
try {
output = new ObjectOutputStream(
new FileOutputStream( fileName ) );
SaveAs.setEnabled( false );
SaveToFile.setEnabled( true );
Exit.setEnabled( true );
// process exceptions from opening file
catch ( IOException ioException ) {
JOptionPane.showMessageDialog( this, "Error Opening File",
"Error", JOptionPane.ERROR_MESSAGE );
} // end else
} // end method openFile
// close file and terminate application
private void closeFile()
// close file
try {
//you want to cycle through each recordand add them to store here.
int storeSize = store.getCount();
for (int i = 0; i<storeSize;i++)
output.writeObject(store.elementAt(i));
output.close();
input.close();// from read!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
System.exit( 0 );
// process exceptions from closing file
catch( IOException ioException ) {
JOptionPane.showMessageDialog( this, "Error closing file",
"Error", JOptionPane.ERROR_MESSAGE );
System.exit( 1 );
} // end method closeFile
// add record to file
public void addRecord()
int employeeNumber = 0;
String fieldValues[] = userInterface.getFieldValues();
// if account field value is not empty
if ( ! fieldValues[ BankUI.IDNUMBER ].equals( "" ) ) {
// output values to file
try {
employeeNumber = Integer.parseInt(
fieldValues[ BankUI.IDNUMBER ] );
String dob = fieldValues[ BankUI.DOB ];
String[] dateofBirth = dob.split ("-"); // what used to put between number chnage to /
String sDate = fieldValues[ BankUI.START ];
String[] startDate = sDate.split ("-");
String sex = fieldValues[ BankUI.GENDER ];
char gender = (sex.charAt(0)); // check if m or f prob check in employee
if ( employeeNumber >= 0 ) {
/* create new record =String name, char gender, Date dob, String add, String nin, String phone, String id, Date start, float salary*/
record = new Employee(
fieldValues[ BankUI.NAME ],
gender,
new Date( Integer.parseInt(dateofBirth[0]),
Integer.parseInt(dateofBirth[1]),
Integer.parseInt(dateofBirth[2])),
fieldValues[ BankUI.ADDRESS ],
fieldValues[ BankUI.NATINTNO ],
fieldValues[ BankUI.PHONE ],
fieldValues[ BankUI.IDNUMBER ],
new Date( Integer.parseInt(startDate[0]),
Integer.parseInt(startDate[1]),
Integer.parseInt(startDate[2])),
Float.parseFloat( fieldValues[ BankUI.SALARY ] ));
if (!store.isFull())
store.add(record);
else
JOptionPane.showMessageDialog( this, "The Store is full you cannot add\n"+
"anymore employees. \nPlease Save Current File and Create a New File." );
System.out.println("Store full");
store.displayAll();
System.out.println("Count is " + store.getCount());
// output record and flush buffer
//output.writeObject( record );
output.flush();
else
JOptionPane.showMessageDialog( this,
"Account number must be greater than 0",
"Bad account number", JOptionPane.ERROR_MESSAGE );
// clear textfields
userInterface.clearFields();
} // end try
// process invalid account number or balance format
catch ( NumberFormatException formatException ) {
JOptionPane.showMessageDialog( this,
"Bad ID number, Date or Salary", "Invalid Number Format",
JOptionPane.ERROR_MESSAGE );
// process exceptions from file output
catch ( ArrayIndexOutOfBoundsException ArrayException ) {
JOptionPane.showMessageDialog( this, "Error with Start Date or Date of Birth\nPlease enter like: 01-01-2001",
"IO Exception", JOptionPane.ERROR_MESSAGE );
// process exceptions from file output
catch ( IOException ioException ) {
JOptionPane.showMessageDialog( this, "Error writing to file",
"IO Exception", JOptionPane.ERROR_MESSAGE );
closeFile();
} // end if
} // end method addRecord
public static void main( String args[] )
new testing();
} // end class CreateSequentialFileSure you can read and write at the same time. But normally you would be reading from one place and writing to another place.
I rather regret avoiding the OP's earlier post asking how to combine two classes. I looked at the two classes posted and realized the best thing to do was actually to break them into more classes. But I also realized it was going to be a big job explaining why and how, and I just don't have the patience for that sort of thing.
So now we have a Big Ball Of Tar™ and I feel partly responsible. -
Error Renaming/Deleting a folder!
Hi Guys -
I am having problem renaming and deleteing any folder. The functions return false each time and no delete or rename is done. Can anyone spot what I am doing wrong? Here are the tow methods for this functionality:
public boolean renameFolder(String oldName, String newName) {
try {
boolean result = false;
Folder folderToBeRenamed = getFolder(oldName);
if (folderToBeRenamed.exists()) {
if (folderToBeRenamed.isOpen())
folderToBeRenamed.close(false);
result = folderToBeRenamed.renameTo(f1);
if (!result)
EL.writeError("UserStore: renameFolder: Error while renaming folder!");
else
EL.writeError("UserStore: renameFolder: Folder does not exists!");
if (result)
updateFolderNames();
return(result);
catch (Exception ex) {
EL.writeError("UserStore: deleteFolder: "+ex.getMessage());
return(false);
public boolean deleteFolder(String folderName) {
try {
boolean result = false;
Folder folderToBeRemoved = getFolder(folderPrefix+userFolderPrefix+folderName);
if (folderToBeRemoved.exists()) {
if (folderToBeRemoved.isOpen())
folderToBeRemoved.close(true);
result = folderToBeRemoved.delete(false);
if (!result)
EL.writeError("UserStore: deleteFolder: Error while deleting folder!");
if (result)
updateFolderNames();
return(result);
catch (Exception ex) {
EL.writeError("UserStore: renameFolder: "+ex.getMessage());
return(false);
Thanks guys! I'll look forward to your comments!I've never tried renaming a folder but here is the class I use to delete one and move its contents to a deleted items folder.
=================================
import java.util.*;
import java.util.Properties;
import java.net.*;
import java.io.*;
import java.lang.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class EmailDeleteFolder06 {
String timeoutVal = "5000";
public String deleteFolder(String url, String srcFolder, int timeout) {
String timeoutVal = "" + timeout;
return deleteFolder(url,srcFolder);
public String deleteFolder(String url, String srcFolder) {
String destFolder = "Deleted";
return movemessages(url,srcFolder,destFolder);
private String movemessages(String url, String srcFolder, String destFolder) {
String messageString = "Folder Deleted<br>(The messages in this folder have been moved to the Deleted folder.)";
Properties props = System.getProperties();
props.put("mail.imap.connectiontimeout",timeoutVal);
props.put("mail.imap.timeout",timeoutVal);
Session session = Session.getInstance(props,null);
Store store = null;
Folder sourceF = null;
Folder destinationF = null;
try {
URLName urln = new URLName(url);
store = session.getStore(urln);
store.connect();
sourceF = store.getFolder(srcFolder);
destinationF = store.getFolder(destFolder);
sourceF.open(Folder.READ_WRITE);
destinationF.open(Folder.READ_WRITE);
Message[] msgs = sourceF.getMessages();
sourceF.copyMessages(msgs,destinationF);
} catch (Exception moveF2) {
moveF2.printStackTrace();
messageString = "An error occured while deleting the folder.";
try {
sourceF.close(true);
destinationF.close(true);
sourceF.delete(true);
store.close();
} catch (Exception closeExc)
closeExc.printStackTrace();
messageString = "An error occured while deleting the folder.";
return messageString;
} -
Save Attachment from exchange server 2010 from oracle using java mail API
Hello,
I want to read email from microsoft exchangeserver 2010 and save attachement into a folder.I created an Java program to import attachments from a exchange server mailbox using "POP3S".It works fine when run as a java application.But when i put this inside Oracle11g R2 using load java and while executing from a procedure it gives an error at parsing message into Multipart
Error at line : Multipart mp = (Multipart)m.getContent();
Error:
Content-Type: multipart/mixed;
boundary="_002_A0C2E09A..................................."
java.lang.ClassCastException
at mailPop3.checkmail(mailPop3:71)
My Java Class is as follows,
import java.io.*;
import java.util.Properties;
import javax.mail.*;
import javax.mail.internet.*;
import java.util.Date;
The function i used to check for attachments is given below.
public static boolean hasAttachments(Message m) throws java.io.IOException, MessagingException
Boolean hasAttachments = false;
try
// if it is a plain/html text - no attachements
if (m.isMimeType("text/*"))
return hasAttachments;
else if (m.isMimeType("multipart/alternative"))
return hasAttachments;
else if (m.isMimeType("multipart/*"))
Multipart mp = (Multipart)m.getContent();
if (mp.getCount() > 1)
hasAttachments = true;
return hasAttachments;
catch (Exception e) {
e.printStackTrace();
} finally {
return hasAttachments;
My Java Details as follows
java Version :1.5.0_10
java.vm.specification.version:1.0
java.vm.version :1.5.0_01
java.specification.version:1.5
java.class.version:48.0
Java mail API:javamail-1.4.4
Used Jars:mail.jar
Could someone explain why I am getting this error? What can I do to resolve this error?
Is any other Jar need other than mail.jar?
Any help would be much appreciated.
Regards,
NisanthHai EJP,
Thanks for your reply,
My full java class as follows,
import java.util.Properties;
import javax.mail.Authenticator;
import javax.mail.Folder;
import javax.mail.Message;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Store;
import javax.mail.Part;
import javax.mail.Multipart;
import javax.mail.internet.MimeMultipart;
import javax.mail.internet.MimeMessage;
public class Newmail
public Newmail()
super();
public static int mailPOP3(String phost,
String pusername,
String ppassword)
Folder inbox =null;
Store store =null;
int result = 1;
try
String host=phost;
final String username=pusername;
final String password=ppassword;
System.out.println("Authenticator");
Authenticator auth=new Authenticator()
protected PasswordAuthentication getPasswordAuthentication()
return new PasswordAuthentication(username, password);
System.out.println("Certificate");
String filename="D:\\Certi\\jssecacerts";
String password2 = "changeit";
System.setProperty("javax.net.ssl.trustStore",filename);
System.setProperty("javax.net.ssl.trustStorePassword",password2);
Properties props = System.getProperties();
System.out.println("host-----"+props);
props.setProperty("mail.pop3s.port", "993");
props.setProperty("mail.pop3s.starttls.enable","true");
props.setProperty("mail.pop3s.ssl.trust", "*");
Session session = Session.getInstance(props,auth);
session.setDebug(true);
store = session.getStore("pop3s");
System.out.println("store------"+store);
store.connect(host,username,password);
System.out.println("Connected...");
inbox = store.getDefaultFolder().getFolder("INBOX");
inbox.open(Folder.READ_ONLY);
Message[] msgs = inbox.getMessages();
System.out.println("msgs.length-----"+msgs.length);
result = 0;
int no_of_messages = msgs.length;
for ( int i=0; i < no_of_messages; i++)
System.out.println("msgs.count-----"+i);
System.out.println("Attachment....>"+msgs.getContentType());
Multipart mp = (Multipart)msgs[i].getContent();
System.out.println("Casting Success" + mp.getContentType());
catch(Exception e)
e.printStackTrace();
finally
try
if(inbox!=null)
inbox.close(false);
if(store!=null)
store.close();
return result;
catch(Exception e)
e.printStackTrace();
return result;
Please check it
Regards,
Nisanth -
Cut a merged document in several PDFs
After working on a project for Numbers, I applied the same scheme to Pages.
Assuming that you are merging datas from Numbers or AddressBook in a Pages Layout document, here is a script allowing you to print a PDF for each correspondent.
It may be done because we may
delete unwanted sections
keep only one
save it in a PDF
and repeat the task for an other section.
Here is the script:
--[SCRIPT 4mergedLayout]
Enregistrer le script en tant que Script : 4mergedLayout.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
Ouvrir le document Mise en pages résultant d'une fusion de données
menu Scripts > Pages > 4mergedLayout
crée un fichier PDF pour chaque section du document.
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
--=====
Save the script as a Script: 4mergedLayout.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
Maybe you would have to create the folder Pages and even the folder Applications by yourself.
Open the Layout document build by a Merge session.
menu Scripts > Pages > 4mergedLayout
create a PDF for every embedded section.
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
--=====
Yvan KOENIG (VALLAURIS, France)
2010/05/11
--=====
Some global constants
property targetFolderName : "Merged pages or sections"
property folderOnDesktop : true
true = stores the PDFs in a folder on the Desktop
false = stores the PDFs in a subfolder of the Documents folder
property useDateStamp : false
true = inserts a dateTimeStamp in the names of PDFs
false = doesn't insert a dateTimeStamp in the names of PDFs
--=====
on run
tell application "Pages"
set dName to name of document 1
tell document 1
set maybe to (get body text) is missing value
end tell
end tell -- Pages
if not maybe then
if my parleAnglais() then
error "The document “" & dName & "” is not a Layout one !"
else
error "“" & dName & "” n’est pas un document Mise en page !"
end if -- parleAnglais…
end if -- not maybe…
Build some constants
(1) Prepare a folder to store the PDF reports
if folderOnDesktop then
set p2d to path to desktop folder as text
else
set p2d to path to documents folder as text
end if
set targetFolder to p2d & targetFolderName & ":"
tell application "System Events"
if not (exists folder targetFolder) then make new folder at end of folder p2d with properties {name:targetFolderName}
end tell -- System Events
(2) Grabs the path to the source spreadsheet
tell application "Pages" to set thePath to path of document dName (* an Unix path *)
tell application "System Events" to set thePath to (path of disk item thePath) as text
(3) Build the name and the path of the temporary Pages document
set tempFolderHFS to path to temporary items
set tempDoc to (tempFolderHFS as text) & dName
tell application "System Events"
if exists disk item tempDoc then delete disk item tempDoc
end tell
tell application "Pages" to tell document dName
set nbSections to count of sections
end tell -- Pages
* Here we enter the main loop
repeat with i from 1 to nbSections
set sectionID to i
Grabs datas to build the name of the PDF then
save the document with the temporary sheet in the temporary folder
tell application "System Events" to make new file at end of tempFolderHFS with properties {name:dName}
set fullName to dName & "_section#" & text -5 thru -1 of ("00000" & sectionID)
tell application "Pages"
save document dName in (tempDoc as alias)
end tell -- Pages
Now, the displayed document is the one stored in the temporary items folder.
Builds the name and the pathname of the student's PDF.
if useDateStamp then
set pdfName to fullName & my dateTimeStamp() & ".pdf"
else
set pdfName to fullName & ".pdf"
end if -- useDateStamp
set pdfPath to targetFolder & pdfName
Create the PDF file
tell application "System Events" to make new file at end of folder targetFolder with properties {name:pdfName}
tell application "Pages"
tell document dName
if sectionID < nbSections then
repeat with s from nbSections to (sectionID + 1) by -1
delete section s
end repeat
end if
if sectionID > 1 then
repeat with s from 1 to (sectionID - 1)
delete section s
end repeat
end if
end tell -- temporary document
save document dName as "SLDocumentTypePDF" in (pdfPath as alias)
close document dName without saving
end tell -- Pages
tell application "System Events" to delete disk item tempDoc
tell application "Pages"
open (thePath as alias)
repeat until exists document dName
delay 0.2
end repeat
end tell -- Pages
end repeat -- for next section
end run
--=====
on parleAnglais()
local z
try
tell application "Pages" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
on dateTimeStamp()
return (do shell script "date +_%Y%m%d-%H%M%S")
end dateTimeStamp
--=====
--[/SCRIPT]
A property allow you to choose to store the PDFs in a folder on the Desktop
or in a subfolder of your Documents folder.
An other property allow you to insert a dateTime stamp in the PDFs names.
Yvan KOENIG (VALLAURIS, France) mardi 11 mai 2010 18:24:44JavaWorld online magazine published a series of topic regarding Printing in Java. Go to check then out.
-
New to java and having issues trying to modify sample code.
i was trying to edit the following code to add about 10+ more labels and textfields and save the information to the contacts.dat in the code. it currently displays all the fields i entered, but it only saves the first 7 fields information?? not sure why. also i was trying to just line the fields up using a flowlayout but it just errors. anyone have any suggestions?
<source code below this line>
====================START OF CODE ======================
// cm.java
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
// =========================================================
// Class: cm
// This class drives the contact manager. It contains the
// main method which gets called as soon as this application
// begins to run.
// =========================================================
class cm extends Frame implements ActionListener
// Container of contact objects (one object per business
// contact).
private Vector contacts = new Vector (100);
// List of names component. (Must specify java.awt in
// front of List to distinguish the List class in the
// java.awt package from the List class in the java.util
// package.)
private java.awt.List names = new java.awt.List ();
// delete and edit button components.
private Button delete;
private Button edit;
// Default constructor.
public cm ()
// Assign Contact Manager to title bar of frame window.
super ("Customer Manager Version 0.001 BY Pebkac");
// Add a listener that responds to window closing
// events. When this event occurs (by clicking on the
// close box in the title bar), save contacts and exit.
addWindowListener (new WindowAdapter ()
public void windowClosing
(WindowEvent e)
saveContacts ();
System.exit (0);
// Place an empty label in the north part of the frame
// window. This is done to correct an AWT positioning
// problem. (One thing that you'll come to realize as
// you work with the AWT is that there are lots of bugs.)
Label l = new Label ();
add ("North", l);
// Place the names component in the center part of the
// frame window.
add ("Center", names);
// Create a panel object to hold four buttons.
Panel p = new Panel ();
Button b;
// Add an add button to the Panel object and register
// the current cm object as a listener for button events.
p.add (b = new Button ("add"));
b.addActionListener (this);
// Add a delete button to the Panel object and register
// the current cm object as a listener for button events.
p.add (delete = new Button ("delete"));
delete.addActionListener (this);
// The delete button should be disabled until there is at
// least one contact to delete.
delete.setEnabled (false);
// Add an edit button to the Panel object and register
// the current cm object as a listener for button events.
p.add (edit = new Button ("edit"));
edit.addActionListener (this);
// The edit button should be disabled until there is at
// least one contact to edit.
edit.setEnabled (false);
// Add a quit button to the Panel object and register
// the current cm object as a listener for button events.
p.add (b = new Button ("quit"));
b.addActionListener (this);
// Add the panel object to the frame window container.
add ("South", p);
// Set the background of the frame window container to
// pink (to give a pleasing effect).
setBackground (Color.pink);
// Set the size of the frame window container to 400
// pixels horizontally by 200 pixels vertically.
setSize (400, 200);
// Do not allow the user to resize the frame window.
setResizable (false);
// Load all contacts.
loadContacts ();
// Make sure that the frame window is visible.
setVisible (true);
public void actionPerformed (ActionEvent e)
if (e.getActionCommand ().equals ("delete"))
delete ();
else
if (e.getActionCommand ().equals ("quit"))
saveContacts ();
System.exit (0);
else
if (e.getActionCommand ().equals ("add"))
add ();
else
edit ();
public Insets getInsets ()
// Return an Insets object that describes the number of
// pixels to reserve as a border around the edges of the
// frame window.
return new Insets (10, 10, 10, 10);
public static void main (String [] args)
// Create a new cm object and let it do its thing.
new cm ();
private void delete ()
// Obtain index of selected contact item from the names
// component.
int index = names.getSelectedIndex ();
// If no item was selected, index is -1. We cannot edit
// a contact if no contact item in the names component was
// selected - because we would have nothing to work with.
if (index != -1)
// Remove the contact item from the names component.
names.remove (index);
// Remove the Contact object from the contacts Vector
// object.
contacts.remove (index);
// If there are no more contacts ...
if (contacts.size () == 0)
delete.setEnabled (false);
edit.setEnabled (false);
else
// Make sure that the first contact item in the names
// list is highlighted.
names.select (0);
private void add ()
// Create an add data entry form to enter information
// for a new contact.
DataEntryForm def = new DataEntryForm (this, "add");
// If the bOk Boolean flag is set, this indicates the user
// exited the form by pressing the Ok button.
if (def.bOk)
// Create a Contact object and assign information from
// the form to its fields.
Contact temp = new Contact ();
temp.fname = new String (def.fname.getText ());
temp.lname = new String (def.lname.getText ());
temp.haddress = new String (def.haddress.getText ());
temp.maddress = new String (def.maddress.getText ());
temp.phone = new String (def.phone.getText ());
temp.wphone = new String (def.wphone.getText ());
temp.cphone = new String (def.cphone.getText ());
temp.email = new String (def.email.getText ());
temp.bdate = new String (def.bdate.getText ());
temp.comments = new String (def.comments.getText ());
// Add a new contact item to the names component.
names.add (temp.lname + ", " + temp.fname);
// Add the Contact object to the contacts Vector
// object.
contacts.add (temp);
// Make sure that the delete and edit buttons are
// enabled.
delete.setEnabled (true);
edit.setEnabled (true);
// Destroy the dialog box.
def.dispose ();
// Make sure that the first contact item in the names list
// is highlighted.
names.select (0);
// ===========================================================
// Load all contacts from contacts.dat into the contacts
// Vector object. Also, make sure that the last name/first
// name from each contact is combined into a String object and
// added into the names component - as a contact item.
// ===========================================================
private void loadContacts ()
FileInputStream fis = null;
try
fis = new FileInputStream ("contacts.dat");
DataInputStream dis = new DataInputStream (fis);
int nContacts = dis.readInt ();
for (int i = 0; i < nContacts; i++)
Contact temp = new Contact ();
temp.fname = dis.readUTF ();
temp.lname = dis.readUTF ();
temp.haddress = dis.readUTF ();
temp.maddress = dis.readUTF ();
temp.phone = dis.readUTF ();
temp.wphone = dis.readUTF ();
temp.cphone = dis.readUTF ();
temp.email = dis.readUTF ();
temp.bdate = dis.readUTF ();
temp.comments = dis.readUTF ();
names.add (temp.lname + ", " + temp.fname);
contacts.add (temp);
if (nContacts > 0)
delete.setEnabled (true);
edit.setEnabled (true);
catch (Exception e)
finally
if (fis != null)
try
fis.close ();
catch (Exception e) {}
// Make sure that the first contact item in the names list
// is highlighted.
names.select (0);
// ========================================================
// Save all Contact objects from the contacts Vector object
// to contacts.dat. The number of contacts are saved as an
// int to make it easy for loadContacts () to do its job.
// ========================================================
private void saveContacts ()
FileOutputStream fos = null;
try
fos = new FileOutputStream ("contacts.dat");
DataOutputStream dos = new DataOutputStream (fos);
dos.writeInt (contacts.size ());
for (int i = 0; i < contacts.size (); i++)
Contact temp = (Contact) contacts.elementAt (i);
dos.writeUTF (temp.fname);
dos.writeUTF (temp.lname);
dos.writeUTF (temp.haddress);
dos.writeUTF (temp.maddress);
dos.writeUTF (temp.phone);
dos.writeUTF (temp.wphone);
dos.writeUTF (temp.cphone);
dos.writeUTF (temp.email);
dos.writeUTF (temp.bdate);
dos.writeUTF (temp.comments);
catch (Exception e)
MsgBox mb = new MsgBox (this, "CM Error",
e.toString ());
mb.dispose ();
finally
if (fos != null)
try
fos.close ();
catch (Exception e) {}
private void edit ()
// Obtain index of selected contact item from the names
// component.
int index = names.getSelectedIndex ();
// If no item was selected, index is -1. We cannot edit
// a contact if no contact item in the names component was
// selected - because we would have nothing to work with.
if (index != -1)
// Obtain a reference to the Contact object (from the
// contacts Vector object) that is associated with the
// index.
Contact temp = (Contact) contacts.elementAt (index);
// Create and display an edit entry form.
DataEntryForm def = new DataEntryForm (this, "edit",
temp.fname,
temp.lname,
temp.haddress,
temp.maddress,
temp.phone,
temp.wphone,
temp.cphone,
temp.email,
temp.bdate,
temp.comments);
// If the user pressed Ok...
if (def.bOk)
// edit the contact information in the contacts
// Vector object.
temp.fname = new String (def.fname.getText ());
temp.lname = new String (def.lname.getText ());
temp.haddress = new String (def.haddress.getText ());
temp.maddress = new String (def.maddress.getText ());
temp.phone = new String (def.phone.getText ());
temp.wphone = new String (def.wphone.getText ());
temp.cphone = new String (def.cphone.getText ());
temp.email = new String (def.email.getText ());
temp.bdate = new String (def.bdate.getText ());
temp.comments = new String (def.comments.getText ());
// Make sure the screen reflects the edit.
names.replaceItem (temp.lname + ", " + temp.fname,
index);
// Destroy the dialog box.
def.dispose ();
// Make sure that the first contact item in the names
// list is highlighted.
names.select (0);
// ========================================================
// Class: Contact
// This class describes the contents of a business contact.
// ========================================================
class Contact
public String fname;
public String lname;
public String haddress;
public String maddress;
public String phone;
public String wphone;
public String cphone;
public String email;
public String bdate;
public String comments;
// ==========================================================
// Class: DataEntryForm
// This class provides a data entry form for entering contact
// information.
// ==========================================================
class DataEntryForm extends Dialog implements ActionListener
// bOk is a boolean flag. When true, it indicates that
// the Ok button was pressed to terminate the dialog box
// (as opposed to the Cancel button).
public boolean bOk;
// The following components hold the text that the user
// entered into the visible text fields.
public TextField fname;
public TextField lname;
public TextField haddress;
public TextField maddress;
public TextField phone;
public TextField wphone;
public TextField cphone;
public TextField email;
public TextField bdate;
public TextField comments;
public void actionPerformed (ActionEvent e)
// If the user pressed the Ok button, indicate this
// by assigning true to bOk.
if (e.getActionCommand ().equals ("Ok"))
bOk = true;
// Destroy the dialog box and return to the point
// just after the creation of the DataEntryForm object.
dispose ();
public DataEntryForm (Frame parent, String title)
// Call the other constructor. The current constructor
// is used for add operations. The other constructor
// is used for edit operations.
this (parent, title, "", "", "", "", "", "", "", "", "", "");
public DataEntryForm (Frame parent, String title,
String fname, String lname,
String haddress, String maddress,
String phone,String wphone,
String cphone,String email,
String bdate,String comments)
// Initialize the superclass layer.
super (parent, title, true);
// Choose a grid bag layout so that components can be more
// accurately positioned. (It looks nicer.)
setLayout (new GridBagLayout ());
// Add appropriate first name, last name, phone, wphone, and
// email components to the current DataEntryForm container.
// (Remember, DataEntryForm is a subclass of Dialog.
// Dialog is a container. Therefore, DataEntryForm
// inherits the ability to be a container.)
addComponent (this, new Label ("First Name: "),0, 0, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.fname = new TextField (20);
addComponent (this, this.fname, 1, 0, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.CENTER);
if (title.equals ("edit"))
this.fname.setText (fname);
addComponent (this, new Label ("Last Name: "), 0, 1, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.lname = new TextField (20);
addComponent (this, this.lname, 1, 1, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.CENTER);
if (title.equals ("edit"))
this.lname.setText (lname);
addComponent (this, new Label ("Home Address: "), 0, 2, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.haddress = new TextField (20);
addComponent (this, this.haddress, 1, 2, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.CENTER);
if (title.equals ("edit"))
this.haddress.setText (haddress);
addComponent (this, new Label ("Mailing Address: "), 0, 3, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.maddress = new TextField (20);
addComponent (this, this.maddress, 1, 3, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.CENTER);
if (title.equals ("edit"))
this.maddress.setText (maddress);
addComponent (this, new Label ("Home Number: "), 0, 4, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.phone = new TextField (20);
addComponent (this, this.phone, 1, 4, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.CENTER);
if (title.equals ("edit"))
this.phone.setText (phone);
addComponent (this, new Label ("Work Number: "), 0, 5, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.wphone = new TextField (20);
addComponent (this, this.wphone, 1, 5, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.CENTER);
if (title.equals ("edit"))
this.wphone.setText (wphone);
addComponent (this, new Label ("Cell Number: "), 0, 6, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.cphone = new TextField (20);
addComponent (this, this.cphone, 1, 6, 1, 1,
GridBagConstraints.WEST,
GridBagConstraints.WEST);
addComponent (this, new Label ("Email Address: "), 0, 7, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.email = new TextField (20);
addComponent (this, this.email, 1, 7, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
addComponent (this, new Label ("Birth Date: "), 0, 8, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.bdate = new TextField (20);
addComponent (this, this.bdate, 1, 8, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
addComponent (this, new Label ("Comments: "), 2, 0, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
this.comments = new TextField (20);
addComponent (this, this.comments, 2, 1, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
addComponent (this, new Label (""), 0, 9, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
addComponent (this, new Label (""), 1, 9, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.WEST);
Button b;
// Add an Ok button to this container.
addComponent (this, b = new Button ("Ok"), 0, -9, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.CENTER);
b.addActionListener (this);
// Add a Cancel button to this container.
addComponent (this, b = new Button ("Cancel"), 1, -9, 1, 1,
GridBagConstraints.NONE,
GridBagConstraints.CENTER);
b.addActionListener (this);
// Set the background of the frame window container to
// pink (to give a pleasing effect).
setBackground (Color.pink);
// Set the size of the dialog window to 250 pixels
// horizontally by 200 pixels vertically.
setSize (450, 500);
// Do not allow users to resize the dialog window.
setResizable (false);
// Make sure that the dialog window is visible.
setVisible (true);
private void addComponent (Container con, Component com,
int gridx, int gridy,
int gridw, int gridh, int fill,
int anchor)
// Get the current layout manager. It is assumed to
// be a GridBagLayout object.
LayoutManager lm = con.getLayout ();
// Create a GridBagConstraints object to make it
// possible to customize component positioning.
GridBagConstraints gbc = new GridBagConstraints ();
// Assign the x and y grid positions.
gbc.gridx = gridx;
gbc.gridy = gridy;
// Assign the number of grid blocks horizontally and
// vertically that are occupied by the component.
gbc.gridwidth = gridw;
gbc.gridheight = gridh;
// Specify the component's resize policy (fill) and
// the direction in which the component is positioned
// when its size is smaller than available space (anchor).
gbc.fill = fill;
gbc.anchor = anchor;
// Set the new constraints that the grid bag layout
// manager will use.
((GridBagLayout) lm).setConstraints (com, gbc);
// Add the component to the container.
con.add (com);
// ===========================================================
// Class: MsgBox
// This class displays a message box to the user. The message
// is usually an error message. The user must press the Ok
// button to terminate the message box.
// ===========================================================
class MsgBox extends Dialog implements ActionListener
public void actionPerformed (ActionEvent e)
// Terminate the dialog box in response to the user
// pressing the Ok button.
dispose ();
public MsgBox (Frame parent, String title, String msg)
// Initialize the superclass layer.
super (parent, title, true);
// Store the msg argument in a Label object and add
// this object to the center part of the dialog window.
Label l = new Label (msg);
add ("Center", l);
// Create a Button object and add it to the south part
// of the dialog window.
Button b = new Button ("Ok");
add ("South", b);
// Make the current object a listener to events that
// occur as a result of the user pressing the Ok
// button.
b.addActionListener (this);
// Make sure that the Ok button has the focus.
b.requestFocus ();
// Do not allow users to resize the dialog window.
setResizable (false);
// Allow the layout manager to choose an appropriate
// size for the dialog window.
pack ();
// Make sure that the dialog window is visible.
setVisible (true);
====================END OF CODE =======================You should first start by formatting the code before
posting. I lost my interest as I browsed thorugh the
code.
Read here -
http://forum.java.sun.com/help.jspa?sec=formatting
...and its way too much code to expect anyone to read. Post a short excerpt of the part you are having trouble with. -
Incredible?? really?
I have been a Verizon customer for many years now and I am debating to jump ship. I like the coverage of Verizon but there is a lack of quality in every device I have seen them put out for the past 3 years.
I currently have a BB 8330. I am on my 4th one in 13 months. I had two 8830's before that in a matter of 6 months. I want to blame RIM but I've learned that the carrier actually manufactures the devices. Correct me if i'm wrong. I've read nothing but problems with Verizon blackberries. Don't even get me going on the poorly executed under tested Storm. Garbage.
fastforward to now!
I saw the incredible commercials, researched the info and started to get a little excited. Not an iphone fan boy but a technology fan, I have come to appreciate the iphone and its glory. However, I believe in competition as it only benefits the customer.
After looking over the incredible I saw potential and wanted to have this device. That is when reality bit me.
Sprint is releasing the Evo on Friday and this phone should've been called the incredible because it makes the incredible look like a toy.
The incredible's screen is only 3.7 the evo is 4.3. The incredbile can't record hd video, the evo can. The incredible only has 512 rom while the evo has 1gig of rom. Evo has hdmi port and dual cameras. If Verizon is pushing skype as a service for so many smart phones, updates your blackberry with the **bleep** app for download without my permission, why build a next gen phone without a front facing camera?
I will tell you why.
Verizon like Microsoft is rushing products off the assembly line without proper testing. they see an old model as a solution but failed miserably in the early 90's. which is, build it, fix the major bugs but let the customer be our true test. While we are buying these subpart incomplete devices, they reap the benefits of our calls and complaints. so, while john doe bought his phone with 2 year contract to save 200 bucks on a device thats worth half that, he is stuck and can't upgrade from a manufacturers mistake.
While companies like ATT and sprint know that the coverage can always be added to, its the devices which matter. I am tired of it.
Why all of you buy into the hype and continue to support the beast, I will never know. I am not upgrading to anything new verizon has to offer and if they dont offer something competitive soon, I'll pay the 175.00 early termination fee and go to a carrier worth dealing with. I don't want a polished turd, I want a device worth the over priced mark up you're pitching, Mr. Man.
This incredible is anything BUT incredible. It has a small screen, low batt life, only 16 gig support and screams "patching needed".
Verizon is feeling the pinch and I know this because I got a random email from them asking a simple question "survey. why did you cancel service recently?" hahaha, really? I haven't but that leak means people are jumping ship for a better device, especially with plan rates like sprint that has also invested millions in their network.
I'm a verizon customer now as with most my family, but if they don't do something to address the lack of quality in their devices, I have not problem dealing with a dropped call once in a while at ATT. At least I know that can be addressed with adding services to that area vs costing me 300-600 for a new device every few months.
Thank you,
Keith H."While companies like ATT and sprint know that the coverage can always be added to, its the devices which matter"
if coverage is so easily added then why is that ATT's biggest problem...still? didn't the iphone come out like 3 years ago? and a few years later that is still a complaint.
also...do blackberries all run great on other networks? i'm not that familiar with them and have never owned one. i'm just guessing if you're gripe is with blackberries, wouldn't that have nothing to do with vzn? like i said, i'm not that familiar, but are you telling me a bb on ATT or sprint runs just fine?
2 quick true stories.
my buddy from chicago comes out to visit me a year and a half ago. he had just got his new iphone and we were goin golphing in north scottsdale. i live in phoenix and it's about a half hour drive to the course. he goes on about everything his new phone can do for almost the entire ride (he couldn't wait to try out his golf gps app....the funnty thing is that any decent course out here has gps on the golf carts). it was nice out and the course was packed so the round was taking about an hour and a half longer than normal. our wives were meeting us for dinner and we were obviously going to be late. anyone who is married knows that if you're going to be late for dinner with the wives then a heads up phone call is a MUST. halfway through the round my buddy asks if he can borrow my phone. i ask "why?" he says "i need to call and let the wife know we're runnin late (i had already texted my wife)." i said "sure, but what's wrong with your new iphone?" we both knew what was wrong....i just couldn't help but ask the question.
this past winter i go to an az cardinal football game. we get there early and i'm with another friend of mine with an iphone. on the way in he's showing me his cool new cbs sports app that he can use to manage his fantasy team. we are in the same fantasy football league and i'm checking (my env touch....non smart phone) for injury updates (just using the browser). i sub one of my players when i realize he's not playing that day. my buddy asks to borrow my phone. again...."why?" i ask. "i need to see if any of my guys are benched" he says. "what about that app you showed me outside?" he replies "no signal in here."
so maybe i'll always be a few months behind the technology. and maybe other phones on other carriers will be capable of doing a few more things than mine......but my phone will call my wife when i need to. it will browse the web whenever i want. it will send text, email, or MMS messages (and recieve them) whenever i need it to from wherever i may be. i live in AZ and travel all over the state. it is nothing but desert and mountains once you get outside of the city....and i never lose a signal. i have friends on sprint, att, and tmobile that can't do what they want sometimes....IN THE CITY. i prefer to have the best coverage and maybe slightly less superior devices, than superior devices with significantly less coverage that prevents the use of those superior devices. but that's just me. -
How to stop video from playing?
Hi,
i have a problem that i've already see that is pretty usual, the videoplayer that i have works fine but when i click in a button to go to another page the videoplayer doesn't stop,the audio continues playing even when i'm not on the videoplayer page.
I've already found some solutions in the web but none of them worked,probably because i didn't put them in the right place
The code is a little long:
// ############# CONSTANTS
// time to buffer for the video in sec.
const BUFFER_TIME:Number = 8;
// start volume when initializing player
const DEFAULT_VOLUME:Number = 0.6;
// update delay in milliseconds.
const DISPLAY_TIMER_UPDATE_DELAY:int = 10;
// smoothing for video. may slow down old computers
const SMOOTHING:Boolean = true;
// ############# VARIABLES
// flag for knowing if user hovers over description label
var bolDescriptionHover:Boolean = false;
// flag for knowing in which direction the description label is currently moving
var bolDescriptionHoverForward:Boolean = true;
// flag for knowing if flv has been loaded
var bolLoaded:Boolean = false;
// flag for volume scrubbing
var bolVolumeScrub:Boolean = false;
// flag for progress scrubbing
var bolProgressScrub:Boolean = false;
// holds the number of the active video
var intActiveVid:int;
// holds the last used volume, but never 0
var intLastVolume:Number = DEFAULT_VOLUME;
// net connection object for net stream
var ncConnection:NetConnection;
// net stream object
var nsStream:NetStream;
// object holds all meta data
var objInfo:Object;
// shared object holding the player settings (currently only the volume)
var shoVideoPlayerSettings:SharedObject = SharedObject.getLocal("playerSettings");
// url to flv file
var strSource:String = root.loaderInfo.parameters.playlist == null ? "playlist.xml" : root.loaderInfo.parameters.playlist;
// timer for updating player (progress, volume...)
var tmrDisplay:Timer;
// loads the xml file
var urlLoader:URLLoader;
// holds the request for the loader
var urlRequest:URLRequest;
// playlist xml
var xmlPlaylist:XML;
// ############# STAGE SETTINGS
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
// ############# FUNCTIONS
// sets up the player
function initVideoPlayer():void {
// hide video controls on initialisation
mcVideoControls.visible = false;
// hide buttons
mcVideoControls.btnUnmute.visible = false;
mcVideoControls.btnPause.visible = false;
mcVideoControls.btnFullscreenOff.visible = false;
// set the progress/preload fill width to 1
mcVideoControls.mcProgressFill.mcFillRed.width = 1;
mcVideoControls.mcProgressFill.mcFillGrey.width = 1;
// set time and duration label
mcVideoControls.lblTimeDuration.htmlText = "<font color='#ffffff'>00:00</font> / 00:00";
// add global event listener when mouse is released
stage.addEventListener(MouseEvent.MOUSE_UP, mouseReleased);
// add fullscreen listener
stage.addEventListener(FullScreenEvent.FULL_SCREEN, onFullscreen);
// add event listeners to all buttons
mcVideoControls.btnPause.addEventListener(MouseEvent.CLICK, pauseClicked);
mcVideoControls.btnPlay.addEventListener(MouseEvent.CLICK, playClicked);
mcVideoControls.btnStop.addEventListener(MouseEvent.CLICK, stopClicked);
mcVideoControls.btnNext.addEventListener(MouseEvent.CLICK, playNext);
mcVideoControls.btnPrevious.addEventListener(MouseEvent.CLICK, playPrevious);
mcVideoControls.btnMute.addEventListener(MouseEvent.CLICK, muteClicked);
mcVideoControls.btnUnmute.addEventListener(MouseEvent.CLICK, unmuteClicked);
mcVideoControls.btnFullscreenOn.addEventListener(MouseEvent.CLICK, fullscreenOnClicked);
mcVideoControls.btnFullscreenOff.addEventListener(MouseEvent.CLICK, fullscreenOffClicked);
mcVideoControls.btnVolumeBar.addEventListener(MouseEvent.MOUSE_DOWN, volumeScrubberClicked);
mcVideoControls.mcVolumeScrubber.btnVolumeScrubber.addEventListener(MouseEvent.MOUSE_DOWN , volumeScrubberClicked);
mcVideoControls.btnProgressBar.addEventListener(MouseEvent.MOUSE_DOWN, progressScrubberClicked);
mcVideoControls.mcProgressScrubber.btnProgressScrubber.addEventListener(MouseEvent.MOUSE_ DOWN, progressScrubberClicked);
mcVideoControls.mcVideoDescription.btnDescription.addEventListener(MouseEvent.MOUSE_OVER, startDescriptionScroll);
mcVideoControls.mcVideoDescription.btnDescription.addEventListener(MouseEvent.MOUSE_OUT, stopDescriptionScroll);
// create timer for updating all visual parts of player and add
// event listener
tmrDisplay = new Timer(DISPLAY_TIMER_UPDATE_DELAY);
tmrDisplay.addEventListener(TimerEvent.TIMER, updateDisplay);
// create a new net connection, add event listener and connect
// to null because we don't have a media server
ncConnection = new NetConnection();
ncConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
ncConnection.connect(null);
// create a new netstream with the net connection, add event
// listener, set client to this for handling meta data and
// set the buffer time to the value from the constant
nsStream = new NetStream(ncConnection);
nsStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nsStream.client = this;
nsStream.bufferTime = BUFFER_TIME;
// attach net stream to video object on the stage
vidDisplay.attachNetStream(nsStream);
// set the smoothing value from the constant
vidDisplay.smoothing = SMOOTHING;
// set default volume and get volume from shared object if available
var tmpVolume:Number = DEFAULT_VOLUME;
if(shoVideoPlayerSettings.data.playerVolume != undefined) {
tmpVolume = shoVideoPlayerSettings.data.playerVolume;
intLastVolume = tmpVolume;
// update volume bar and set volume
mcVideoControls.mcVolumeScrubber.x = (53 * tmpVolume) + 318;
mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 371 + 53;
setVolume(tmpVolume);
// create new request for loading the playlist xml, add an event listener
// and load it
urlRequest = new URLRequest(strSource);
urlLoader = new URLLoader();
urlLoader.addEventListener(Event.COMPLETE, playlistLoaded);
urlLoader.load(urlRequest);
function playClicked(e:MouseEvent):void {
// check's, if the flv has already begun
// to download. if so, resume playback, else
// load the file
if(!bolLoaded) {
nsStream.play(strSource);
bolLoaded = true;
else{
nsStream.resume();
vidDisplay.visible = true;
// switch play/pause visibility
mcVideoControls.btnPause.visible = true;
mcVideoControls.btnPlay.visible = false;
function pauseClicked(e:MouseEvent):void {
// pause video
nsStream.pause();
// switch play/pause visibility
mcVideoControls.btnPause.visible = false;
mcVideoControls.btnPlay.visible = true;
function stopClicked(e:MouseEvent):void {
// calls stop function
stopVideoPlayer();
function muteClicked(e:MouseEvent):void {
// set volume to 0
setVolume(0);
// update scrubber and fill position/width
mcVideoControls.mcVolumeScrubber.x = 318;
mcVideoControls.mcVolumeFill.mcFillRed.width = 1;
function unmuteClicked(e:MouseEvent):void {
// set volume to last used value or DEFAULT_VOLUME if last volume is zero
var tmpVolume:Number = intLastVolume == 0 ? DEFAULT_VOLUME : intLastVolume
setVolume(tmpVolume);
// update scrubber and fill position/width
mcVideoControls.mcVolumeScrubber.x = (53 * tmpVolume) + 318;
mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 371 + 53;
function volumeScrubberClicked(e:MouseEvent):void {
// set volume scrub flag to true
bolVolumeScrub = true;
// start drag
mcVideoControls.mcVolumeScrubber.startDrag(true, new Rectangle(318, 19, 53, 0)); // NOW TRUE
function progressScrubberClicked(e:MouseEvent):void {
// set progress scrub flag to true
bolProgressScrub = true;
// start drag
mcVideoControls.mcProgressScrubber.startDrag(true, new Rectangle(0, 2, 432, 0)); // NOW TRUE
function mouseReleased(e:MouseEvent):void {
// set progress/volume scrub to false
bolVolumeScrub = false;
bolProgressScrub = false;
// stop all dragging actions
mcVideoControls.mcProgressScrubber.stopDrag();
mcVideoControls.mcVolumeScrubber.stopDrag();
// update progress/volume fill
mcVideoControls.mcProgressFill.mcFillRed.width = mcVideoControls.mcProgressScrubber.x + 5;
mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 371 + 53;
// save the volume if it's greater than zero
if((mcVideoControls.mcVolumeScrubber.x - 318) / 53 > 0)
intLastVolume = (mcVideoControls.mcVolumeScrubber.x - 318) / 53;
function updateDisplay(e:TimerEvent):void {
// checks, if user is scrubbing. if so, seek in the video
// if not, just update the position of the scrubber according
// to the current time
if(bolProgressScrub)
nsStream.seek(Math.round(mcVideoControls.mcProgressScrubber.x * objInfo.duration / 432))
else
mcVideoControls.mcProgressScrubber.x = nsStream.time * 432 / objInfo.duration;
// set time and duration label
mcVideoControls.lblTimeDuration.htmlText = "<font color='#ffffff'>" + formatTime(nsStream.time) + "</font> / " + formatTime(objInfo.duration);
// update the width from the progress bar. the grey one displays
// the loading progress
mcVideoControls.mcProgressFill.mcFillRed.width = mcVideoControls.mcProgressScrubber.x + 5;
mcVideoControls.mcProgressFill.mcFillGrey.width = nsStream.bytesLoaded * 438 / nsStream.bytesTotal;
// update volume and the red fill width when user is scrubbing
if(bolVolumeScrub) {
setVolume((mcVideoControls.mcVolumeScrubber.x - 318) / 53);
mcVideoControls.mcVolumeFill.mcFillRed.width = mcVideoControls.mcVolumeScrubber.x - 371 + 53;
// chech if user is currently hovering over description label
if(bolDescriptionHover) {
// check in which direction we're currently moving
if(bolDescriptionHoverForward) {
// move to the left and check if we've shown everthing
mcVideoControls.mcVideoDescription.lblDescription.x -= 0.1;
if(mcVideoControls.mcVideoDescription.lblDescription.textWidth - 133 <= Math.abs(mcVideoControls.mcVideoDescription.lblDescription.x))
bolDescriptionHoverForward = false;
} else {
// move to the right and check if we're back to normal
mcVideoControls.mcVideoDescription.lblDescription.x += 0.1;
if(mcVideoControls.mcVideoDescription.lblDescription.x >= 0)
bolDescriptionHoverForward = true;
} else {
// reset label position and direction variable
mcVideoControls.mcVideoDescription.lblDescription.x = 0;
bolDescriptionHoverForward = true;
function onMetaData(info:Object):void {
// stores meta data in a object
objInfo = info;
// now we can start the timer because
// we have all the neccesary data
if(!tmrDisplay.running)
tmrDisplay.start();
function netStatusHandler(event:NetStatusEvent):void {
// handles net status events
switch (event.info.code) {
// trace a messeage when the stream is not found
case "NetStream.Play.StreamNotFound":
trace("Stream not found: " + strSource);
break;
// when the video reaches its end, we check if there are
// more video left or stop the player
case "NetStream.Play.Stop":
if(intActiveVid + 1 < xmlPlaylist..vid.length())
playNext();
else
stopVideoPlayer();
break;
function stopVideoPlayer():void {
// pause netstream, set time position to zero
nsStream.pause();
nsStream.seek(0);
// in order to clear the display, we need to
// set the visibility to false since the clear
// function has a bug
vidDisplay.visible = false;
// switch play/pause button visibility
mcVideoControls.btnPause.visible = false;
mcVideoControls.btnPlay.visible = true;
function setVolume(intVolume:Number = 0):void {
// create soundtransform object with the volume from
// the parameter
var sndTransform = new SoundTransform(intVolume);
// assign object to netstream sound transform object
nsStream.soundTransform = sndTransform;
// hides/shows mute and unmute button according to the
// volume
if(intVolume > 0) {
mcVideoControls.btnMute.visible = true;
mcVideoControls.btnUnmute.visible = false;
} else {
mcVideoControls.btnMute.visible = false;
mcVideoControls.btnUnmute.visible = true;
// store the volume in the flash cookie
shoVideoPlayerSettings.data.playerVolume = intVolume;
shoVideoPlayerSettings.flush();
function formatTime(t:int):String {
// returns the minutes and seconds with leading zeros
// for example: 70 returns 01:10
var s:int = Math.round(t);
var m:int = 0;
if (s > 0) {
while (s > 59) {
m++; s -= 60;
return String((m < 10 ? "0" : "") + m + ":" + (s < 10 ? "0" : "") + s);
} else {
return "00:00";
function fullscreenOnClicked(e:MouseEvent):void {
// go to fullscreen mode
stage.displayState = StageDisplayState.FULL_SCREEN;
function fullscreenOffClicked(e:MouseEvent):void {
// go to back to normal mode
stage.displayState = StageDisplayState.NORMAL;
function onFullscreen(e:FullScreenEvent):void {
// check if we're entering or leaving fullscreen mode
if (e.fullScreen) {
// switch fullscreen buttons
mcVideoControls.btnFullscreenOn.visible = false;
mcVideoControls.btnFullscreenOff.visible = true;
// bottom center align controls
mcVideoControls.x = (Capabilities.screenResolutionX - 440) / 2;
mcVideoControls.y = (Capabilities.screenResolutionY - 33);
// size up video display
vidDisplay.height = (Capabilities.screenResolutionY - 33);
vidDisplay.width = vidDisplay.height * 4 / 3;
vidDisplay.x = (Capabilities.screenResolutionX - vidDisplay.width) / 2;
} else {
// switch fullscreen buttons
mcVideoControls.btnFullscreenOn.visible = true;
mcVideoControls.btnFullscreenOff.visible = false;
// reset controls position
mcVideoControls.x = 0;
mcVideoControls.y = 330;
// reset video display
vidDisplay.y = 0;
vidDisplay.x = 0;
vidDisplay.width = 440;
vidDisplay.height = 241;
function playlistLoaded(e:Event):void {
// create new xml with loaded data from loader
xmlPlaylist = new XML(urlLoader.data);
// set source of the first video but don't play it
playVid(0, true)
// show controls
mcVideoControls.visible = true;
function playVid(intVid:int = 0, bolPlay = true):void {
if(bolPlay) {
// stop timer
tmrDisplay.stop();
// play requested video
nsStream.play(String(xmlPlaylist..vid[intVid].@src));
// switch button visibility
mcVideoControls.btnPause.visible = true;
mcVideoControls.btnPlay.visible = false;
} else {
strSource = xmlPlaylist..vid[intVid].@src;
// show video display
vidDisplay.visible = true;
// reset description label position and assign new description
mcVideoControls.mcVideoDescription.lblDescription.x = 0;
mcVideoControls.mcVideoDescription.lblDescription.htmlText = (intVid + 1) + ". <font color='#ffffff'>" + String(xmlPlaylist..vid[intVid].@desc) + "</font>";
// update active video number
intActiveVid = intVid;
function playNext(e:MouseEvent = null):void {
// check if there are video left to play and play them
if(intActiveVid + 1 < xmlPlaylist..vid.length())
playVid(intActiveVid + 1);
function playPrevious(e:MouseEvent = null):void {
// check if we're not and the beginning of the playlist and go back
if(intActiveVid - 1 >= 0)
playVid(intActiveVid - 1);
function startDescriptionScroll(e:MouseEvent):void {
// check if description label is too long and we need to enable scrolling
if(mcVideoControls.mcVideoDescription.lblDescription.textWidth > 138)
bolDescriptionHover = true;
function stopDescriptionScroll(e:MouseEvent):void {
// disable scrolling
bolDescriptionHover = false;
// ############# INIT PLAYER
initVideoPlayer();No,im not using flvplayback component (i think).
Heres the video player that i'm using:
http://www.thetechlabs.com/tutorials/xml/expanding-the-as3-videoplayer/
Maybe you are looking for
-
I wanna change my payment type to None, but it the system refuse. Help me, I can not download anything
-
Machine authentication using certificates
Hi, I am facing this error while machine authenticates agaist AD for wireless users. My requirement is users with corporate laptop get privileged vlan and BYOD should get normal vlan.I am using Cisco ISE 1.1.1 and configured authentication policies t
-
Configuration of the Message MAHN
Good afternom I am configuring the message <b>MAHN</b> for e-mail shipping for the vendors, even so it is presenting mistake: "Important modifications don't exist for the impression for document Purchase Order" I made the configuration of the menssag
-
I cannot update N95 RM-159 from 12.0.013 to 21.0.016 using Nokia software Updater. Nokia software updater says this: 'Updating software failed: Updating software in your phone has failed.Would you like to re-try the software update?' I recieved this
-
How do i get videos taken on my iPad to imovie
I took video on my iPad 2 and downloaded it to iPhoto. I am trying to get it into iMovie but it will not transfer over. The videos do not play in iPhoto either.