Changeset e7cc1c3
- Timestamp:
- Jun 27, 2003, 1:03:16 PM (20 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- f562355
- Parents:
- b278973
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
rb278973 re7cc1c3 4 4 Fix in finding des for building zcrypt 5 5 Fixed description for alert_action variable 6 More detailed usage from -h 7 Special cased replies for webzephyr users on classes and 8 login notifications for webzephyr users 6 9 7 10 2.0.4 -
functions.c
rce7db4d re7cc1c3 1744 1744 1745 1745 1746 /* if type = 0 then normal reply. 1747 * if type = 1 then it's a reply to sender 1748 * if enter = 0 then allow the command to be edited 1749 * if enter = 1 then don't wait for editing 1750 */ 1746 1751 void owl_function_reply(int type, int enter) 1747 1752 { 1748 /* if type = 0 then normal reply.1749 * if type = 1 then it's a reply to sender1750 * if enter = 0 then allow the command to be edited1751 * if enter = 1 then don't wait for editing1752 */1753 1753 char *buff, *oldbuff; 1754 1754 owl_message *m; … … 1790 1790 } 1791 1791 1792 /* if it's a zephyr we sent, send it out the same way again */ 1792 1793 if (owl_message_is_direction_out(m)) { 1793 1794 owl_function_zwrite_setup(owl_message_get_zwriteline(m)); 1794 1795 owl_global_set_buffercommand(&g, owl_message_get_zwriteline(m)); 1795 1796 return; 1797 } 1798 1799 /* Special case a personal reply to a webzephyr user on a class */ 1800 if ((type==1) && !strcasecmp(owl_message_get_opcode(m), "webzephyr")) { 1801 class="webzephyr"; 1802 inst=owl_message_get_sender(m); 1803 to=OWL_WEBZEPHYR_PRINCIPAL; 1804 } 1805 1806 /* Special case LOGIN/LOGOUT notifications on class "webzephyr" */ 1807 if (!strcasecmp(owl_message_get_class(m), "webzephyr") && 1808 owl_message_is_loginout(m)) { 1809 class="webzephyr"; 1810 inst=owl_message_get_instance(m); 1811 to=OWL_WEBZEPHYR_PRINCIPAL; 1796 1812 } 1797 1813 -
owl.c
re075479 re7cc1c3 516 516 517 517 void usage() { 518 fprintf(stderr, "Usage: owl [-n] [-d] [-v] [-c <configfile>] [-t <ttyname>]\n"); 518 fprintf(stderr, "Owl version %s\n", OWL_VERSION_STRING); 519 fprintf(stderr, "Usage: owl [-n] [-d] [-v] [-h] [-c <configfile>] [-t <ttyname>]\n"); 520 fprintf(stderr, " -n don't load zephyr subscriptions\n"); 521 fprintf(stderr, " -d enable debugging\n"); 522 fprintf(stderr, " -v print the Owl version number and exit\n"); 523 fprintf(stderr, " -h print this help message\n"); 524 fprintf(stderr, " -c specify an alternate config file\n"); 525 fprintf(stderr, " -t set the tty name\n"); 526 519 527 } -
owl.h
r0435c7d re7cc1c3 122 122 123 123 #define OWL_CMD_ALIAS_SUMMARY_PREFIX "command alias to: " 124 125 #define OWL_WEBZEPHYR_PRINCIPAL "daemon.webzephyr" 124 126 125 127 #if defined(HAVE_DES_STRING_TO_KEY) && defined(HAVE_DES_KEY_SCHED) && defined(HAVE_DES_ECB_ENCRYPT) -
util.c
re4eebe8 re7cc1c3 469 469 return(out); 470 470 } 471 if (!strncasecmp(in, "daemon.webzephyr", strlen("daemon.webzephyr"))) {471 if (!strncasecmp(in, OWL_WEBZEPHYR_PRINCIPAL, strlen(OWL_WEBZEPHYR_PRINCIPAL))) { 472 472 return(out); 473 473 }
Note: See TracChangeset
for help on using the changeset viewer.