Changeset c15bbfb


Ignore:
Timestamp:
Oct 19, 2003, 11:06:24 PM (20 years ago)
Author:
James M. Kretchmar <kretch@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:
f17bff98
Parents:
9119a47
Message:
Added the 'fancylines' variable.
Enabled OWL_STDERR_REDIR by default
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r9119a47 rc15bbfb  
    11$Id$
    22
     32.0.9-pre-4
     4        Added the 'fancylines' variable.
     5        Enabled OWL_STDERR_REDIR by default
     6       
    372.0.9-pre-3
    48        Added testing feature for capturing stderr messages
  • aim.c

    r836ea3a3 rc15bbfb  
    114114  aim_session_init(owl_global_get_aimsess(&g), AIM_SESS_FLAGS_NONBLOCKCONNECT, 0);
    115115  aim_setdebuggingcb(owl_global_get_aimsess(&g), faimtest_debugcb);
     116
     117  /* an experiment to expose idle time */
     118  aim_ssi_setpresence(owl_global_get_aimsess(&g), 0x00000400);
    116119}
    117120
     
    141144  }
    142145  owl_global_set_doaimevents(&g);
     146
    143147  return(0);
    144148}
     
    212216  owl_timer_reset_newstart(owl_global_get_aim_login_timer(&g),
    213217                           owl_global_get_aim_ignorelogin_timer(&g));
     218
     219  /* aim_bos_setidle(owl_global_get_aimsess(&g), owl_global_get_bosconn(&g), 5000); */
    214220}
    215221
     
    437443    return 1;
    438444  }
     445  owl_global_set_bossconn(&g, bosconn);
    439446  owl_aim_successful_login(info->sn);
    440447  addcb_bos(sess, bosconn);
  • commands.c

    rec6ff52 rc15bbfb  
    577577              "show commands\n"
    578578              "show command <command>\n"
    579               "show subs\n"
    580               "show subscriptions\n"
     579              "show subscriptions / show subs\n"
    581580              "show zpunts\n"
    582581              "show styles\n"
  • global.c

    rec6ff52 rc15bbfb  
    715715}
    716716
    717 
    718717aim_session_t *owl_global_get_aimsess(owl_global *g)
    719718{
     
    721720}
    722721
    723 aim_conn_t *owl_global_get_waitingconn(owl_global *g)
    724 {
    725   return(&(g->waitingconn));
     722aim_conn_t *owl_global_get_bosconn(owl_global *g)
     723{
     724  return(&(g->bosconn));
     725}
     726
     727void owl_global_set_bossconn(owl_global *g, aim_conn_t *conn)
     728{
     729  g->bosconn=*conn;
    726730}
    727731
  • owl.h

    r2a2bb60 rc15bbfb  
    463463  owl_filterelement fe_null;
    464464  aim_session_t aimsess;
    465   aim_conn_t waitingconn;
     465  aim_conn_t bosconn;
    466466  owl_timer aim_noop_timer;
    467467  owl_timer aim_ignorelogin_timer;
  • popwin.c

    rb2b0773 rc15bbfb  
    4444  werase(pw->popwin);
    4545  werase(pw->borderwin);
    46   box(pw->borderwin, 0, 0);
     46  if (owl_global_is_fancylines(&g)) {
     47    box(pw->borderwin, 0, 0);
     48  } else {
     49    box(pw->borderwin, '|', '-');
     50  }
     51   
    4752  wnoutrefresh(pw->popwin);
    4853  wnoutrefresh(pw->borderwin);
  • util.c

    r6a50af2 rc15bbfb  
    2323  werase(sepwin);
    2424  wattron(sepwin, A_REVERSE);
    25   whline(sepwin, ACS_HLINE, owl_global_get_cols(&g));
     25  if (owl_global_is_fancylines(&g)) {
     26    whline(sepwin, ACS_HLINE, owl_global_get_cols(&g));
     27  } else {
     28    whline(sepwin, '-', owl_global_get_cols(&g));
     29  }
    2630
    2731  if (owl_global_is_sepbar_disable(&g)) {
  • variable.c

    r27c3a93 rc15bbfb  
    116116               "Note that only messages received after this variable\n"
    117117               "is set will be affected." ),
     118
     119  OWLVAR_BOOL( "fancylines" /* %OwlVarStub */, 1,
     120               "Use 'nice' line drawing on the terminal.",
     121               "If turned off, dashes, pipes and pluses will be used\n"
     122               "to draw lines on the screen.  Useful when the terminal\n"
     123               "is causing problems" ),
    118124
    119125  OWLVAR_BOOL( "zcrypt" /* %OwlVarStub */, 1,
Note: See TracChangeset for help on using the changeset viewer.