~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to alpine/alpine.c

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2010-10-03 15:31:55 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101003153155-2exypc96j1e8tw0p
Tags: 2.02-1
* New upstream release, based on re-alpine project
* Updated debian/copyright to reflect this fact
* re-alpine removed the non-free from the tarball, so now
  we do not repack the upstream tarball. (Yay!)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#if !defined(lint) && !defined(DOS)
2
 
static char rcsid[] = "$Id: alpine.c 1071 2008-06-03 22:31:05Z hubert@u.washington.edu $";
 
2
static char rcsid[] = "$Id: alpine.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $";
3
3
#endif
4
4
 
5
5
/*
60
60
#include "print.h"
61
61
#include "after.h"
62
62
#include "smime.h"
 
63
#include "newmail.h"
63
64
#ifndef _WINDOWS
64
65
#include "../pico/osdep/raw.h"  /* for STD*_FD */
65
66
#endif
165
166
    pith_opt_condense_thread_cue   = condensed_thread_cue;
166
167
    pith_opt_truncate_sfstr        = truncate_subj_and_from_strings;
167
168
    pith_opt_save_and_restore      = save_and_restore;
 
169
    pith_opt_newmail_announce      = newmail_status_message;
168
170
    pith_opt_newmail_check_cue     = newmail_check_cue;
169
171
    pith_opt_checkpoint_cue        = newmail_check_point_cue;
170
172
    pith_opt_icon_text             = icon_text;
2214
2216
    if(!quick_draw && FOOTER_ROWS(ps)+1 < ps->ttyo->screen_rows){
2215
2217
        utf8_to_width(buf2, LEGAL_NOTICE, sizeof(buf2),
2216
2218
                      ps->ttyo->screen_cols-3, NULL);
 
2219
        PutLine0(ps->ttyo->screen_rows - (FOOTER_ROWS(ps)+2),
 
2220
                 MAX(0, ((ps->ttyo->screen_cols-utf8_width(buf2))/2)),
 
2221
                 buf2);
 
2222
    }
 
2223
    if(!quick_draw && FOOTER_ROWS(ps)+1 < ps->ttyo->screen_rows){
 
2224
        utf8_to_width(buf2, LEGAL_NOTICE2, sizeof(buf2),
 
2225
                      ps->ttyo->screen_cols-3, NULL);
2217
2226
        PutLine0(ps->ttyo->screen_rows - (FOOTER_ROWS(ps)+1),
2218
2227
                 MAX(0, ((ps->ttyo->screen_cols-utf8_width(buf2))/2)),
2219
2228
                 buf2);