Changeset e1c4636 for global.c


Ignore:
Timestamp:
Jul 9, 2002, 12:04:35 AM (22 years ago)
Author:
Erik Nygren <nygren@mit.edu>
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:
2c8a07c
Parents:
10b866d
Message:
* Added owl::send_zwrite(command, message) to the perl glue
         to allow for the direct sending of multi-line messages.
         For example:  owl::send_zwrite("-c foo -i bar", "hello");
* Reverted attempted fix for the pagedown problem
         which just made things worse.
* Changed owl_fmtext_print_plain to return an alloc'd string to
         avoid buffer overrun risks.
* Added owl::ztext_stylestrip("...") function to perlglue
          which returns the ztext with formatting stripped out.
* Added colorztext variable which can be used to disable @color()
          strings arriving in messages after it is set.
          (Currently, changing its value won't reformat messages).
* Outgoing zephyr logging now obeys the logpath variable.
* The '~' character in logpath and classlogpath now gets
          replaced with the user's home directory.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • global.c

    r10b866d re1c4636  
    1818  struct hostent *hent;
    1919  char hostname[MAXHOSTNAMELEN];
    20   char buff[MAXPATHLEN];
    2120
    2221  gethostname(hostname, MAXHOSTNAMELEN);
     
    7877  /* TODO: come back later and check passwd file first */
    7978  strcpy(g->homedir, getenv("HOME"));
    80   sprintf(buff, "%s/zlog/people/", owl_global_get_homedir(g));
    81   owl_global_set_logpath(g, buff);
    82   sprintf(buff, "%s/zlog/class/", owl_global_get_homedir(g));
    83   owl_global_set_classlogpath(g, buff);
    84  
    8579
    8680  owl_messagelist_create(&(g->msglist));
Note: See TracChangeset for help on using the changeset viewer.