Changeset e75011e for commands.c
- Timestamp:
- Jun 30, 2002, 1:21:42 PM (22 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- b68f9cd
- Parents:
- 1403ee9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r8ee73f8d re75011e 98 98 OWLCMD_ARGS("reply", owl_command_reply, OWL_CTX_INTERACTIVE, 99 99 "reply to the current message", 100 "reply [-e] [ sender | all ]",100 "reply [-e] [ sender | all | zaway ]", 101 101 "If -e is specified, the zwrite command line is presented to\n" 102 102 "allow editing.\n\n" … … 104 104 "If 'all' or no args are specified, reply publically to the\n" 105 105 "same class/instance for non-personal messages and to the\n" 106 "sender for personal messages.\n"), 106 "sender for personal messages.\n\n" 107 "If 'zaway' is specified, replies with a zaway message.\n\n"), 107 108 108 109 OWLCMD_ARGS("set", owl_command_set, OWL_CTX_ANY, … … 1127 1128 if ((argc==1) || (argc==2 && !strcmp(argv[1], "all"))) { 1128 1129 owl_function_reply(0, !edit); 1129 } else if ( (argc==1) || (argc==2 && !strcmp(argv[1], "sender"))) {1130 } else if (argc==2 && !strcmp(argv[1], "sender")) { 1130 1131 owl_function_reply(1, !edit); 1132 } else if (argc==2 && !strcmp(argv[1], "zaway")) { 1133 owl_message *m; 1134 owl_view *v; 1135 v = owl_global_get_current_view(&g); 1136 m = owl_view_get_element(v, owl_global_get_curmsg(&g)); 1137 if (m) owl_zephyr_zaway(m); 1131 1138 } else { 1132 1139 owl_function_makemsg("Invalid arguments to the reply command.");
Note: See TracChangeset
for help on using the changeset viewer.