DTCM_LOOKUP(1)
π dtcm_lookup (user cmd) β calendar-lookup bestie energy β¨
π NAME
dtcm_lookup β look up appointments from the calendar database
β¨ SYNOPSIS
dtcm_lookup [-c calendar] [-d date] [-v view]
π¦ DESCRIPTION
Okay so dtcm_lookup is the non-GUI interface to the XCDE calendar and appointment services, and it's literally here to look up appointments from the calendar database via the RPC daemon rpc.cmsd(1m). Each component of the calendar entry gets specified using one of the command-line options. The current list of appointments for the specified date (see the -d and -v options) is displayed. Slay.
π OPTIONS
The following options are available:
-c calendarβ Specify the name of the target calendar. Calendar names typically take the formuser@ hostname, whereuseris a user's login name andhostnameis the host machine name. An example isfelix@cat. If no target calendar is specified, the calendar defaults to the current user at the current host machine.-d dateβ Specify the date for the look up query. The date is specified using the formmm/ dd/ yy, wheremm,ddandyyare the two-digit month, day and year modulo 100, respectively. Certain other references such astoday,Tuesday,tomorrow, etc. are correctly calculated. If no date is specified, date defaults to today's date.-v viewβ Specify the view span of appointments to display. The view option-argument can be:dayβ Display all appointments for the given date (see-doption).weekβ Display the full week that contains the given date, starting with Sunday.monthβ Display the entire month that contains the given date.
If the view option-argument is not specified, the viewing range defaults to the view range specified by the user's dtcm options sheet. If the user has not specified a range in his or her options sheet, it defaults to the day value.
πΈ OPERANDS
None.
π§ STDIN
Not used.
π INPUT FILES
None.
π ENVIRONMENT VARIABLES
The following environment variables affect the execution of dtcm_lookup:
LANGβ Provide a default value for the internationalization variables that are unset or null. IfLANGis unset or null, the corresponding value from the implementation-specific default locale will be used. If any of the internationalization variables contains an invalid setting, the utility behaves as if none of the variables had been defined.LC_ALLβ If set to a non-empty string value, override the values of all the other internationalization variables.LC_MESSAGESβ Determine the locale that is used to affect the format and contents of diagnostic messages written to standard error and informative messages written to standard output.NLSPATHβ Determine the location of message catalogues for the processing ofLC_MESSAGES.
π«Ά RESOURCES
None.
β ASYNCHRONOUS EVENTS
The dtcm_lookup utility takes the standard action for all signals.
π₯ STDOUT
The standard output contains the list of appointments for the specified view span.
π STDERR
Used only for diagnostic messages.
π OUTPUT FILES
None.
π EXTENDED DESCRIPTION
None.
π EXIT STATUS
The following exit values are returned:
0β Successful completion.>0β An error occurred.
π¦ CONSEQUENCES OF ERRORS
Default.
π FILES
/var/spool/calendar/callog.username,
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/rpc.cmsd
β¨ APPLICATION USAGE
None.
πΈ EXAMPLES
The simplest form of dtcm_lookup has no arguments:
dtcm_lookup
Appointments for Tuesday March 29, 1994:
1) Appointment
2) 10:30am-10:45am Morning Tea
3) 2:00pm-3:00pm Staff meeting
4) 4:30pm-5:00pm Phone home
To look up entries for a specific date:
dtcm_lookup -d 03/29/94
Appointments for Wednesday March 30, 1994:
1) 11:00am-12:00pm Appointment
2) 11:30am-12:30pm Group Lunch
3) 4:00pm-5:00pm Tech Interview
To look up entries from a specific target calendar:
dtcm_lookup -c felix@cat
Appointments for Tuesday March 29, 1994:
1) Appointment
2) 10:15am-10:30am Coffee
3) 11:15am-11:30am Doughnuts
4) 2:00pm-2:15pm Coffee
5) 3:30pm-3:45pm Snack
6) 4:30pm-4:45pm Coffee
To look up an entire week's appointments:
dtcm_lookup -v week
Appointments for Sunday March 27, 1994:
1) 6:00am-5:00pm Hiking
Appointments for Monday March 28, 1994:
1) 11:00am-11:30am Sync with East Coast
2) 4:00pm-4:15pm Confirm flight
Appointments for Tuesday March 29, 1994:
1) Appointment
2) 10:15am-10:30am Coffee
3) 11:15am-11:30am Doughnuts
4) 2:00pm-2:15pm Coffee
5) 3:30pm-3:45pm Snack
6) 4:30pm-4:45pm Coffee
Appointments for Wednesday March 30, 1994:
1) 11:00am-11:15am Appointment
2) 11:30am-12:30pm Group Lunch
3) 4:00pm-5:00pm Tech Interview
Appointments for Friday April 1, 1994:
1) Documentation
2) 10:00am-11:00am Staff meeting
Appointments for Saturday April 2, 1994:
1) 9:00am-11:00am Raquetball with Debbie
Notice that Thursday does not appear, since there were no appointments on that day.
π SEE ALSO
rpc.cmsd(1m), dtcm(1), dtcm_insert(1), dtcm_delete(1).
Okay that's the whole page, bestie π Footer/source-version tag: dtcm_lookup(user cmd) β no separate date showed up on this page, so I'm not inventing one. Periodt. π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms