tin  2.6.1
About: TIN is a threaded NNTP and spool based UseNet newsreader.
  Fossies Dox: tin-2.6.1.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

screen.c File Reference
#include "tin.h"
#include "tcurses.h"
Include dependency graph for screen.c:

Go to the source code of this file.

Macros

#define DISPLAY_FMT   "%s %3d%%"
 

Functions

void stow_cursor (void)
 
char * fmt_message (const char *fmt, va_list ap)
 
void info_message (const char *fmt,...)
 
void wait_message (unsigned int sdelay, const char *fmt,...)
 
void error_message (unsigned int sdelay, const char *fmt,...)
 
void perror_message (const char *fmt,...)
 
void clear_message (void)
 
void center_line (int line, t_bool inverse, const char *str)
 
void draw_arrow_mark (int line)
 
void erase_arrow (void)
 
void show_title (const char *title)
 
void ring_bell (void)
 
void spin_cursor (void)
 
void show_progress (const char *txt, t_artnum count, t_artnum total)
 

Variables

int mark_offset = 0
 
struct t_screenscreen
 

Macro Definition Documentation

◆ DISPLAY_FMT

#define DISPLAY_FMT   "%s %3d%%"

Definition at line 523 of file screen.c.

Function Documentation

◆ center_line()

◆ clear_message()

◆ draw_arrow_mark()

◆ erase_arrow()

◆ error_message()

void error_message ( unsigned int  sdelay,
const char *  fmt,
  ... 
)

◆ fmt_message()

char * fmt_message ( const char *  fmt,
va_list  ap 
)

◆ info_message()

◆ perror_message()

◆ ring_bell()

void ring_bell ( void  )

◆ show_progress()

◆ show_title()

void show_title ( const char *  title)

◆ spin_cursor()

void spin_cursor ( void  )

◆ stow_cursor()

◆ wait_message()

void wait_message ( unsigned int  sdelay,
const char *  fmt,
  ... 
)

Definition at line 133 of file screen.c.

References buf, cCOLS, clear_message(), cursoron(), errno, fmt_message(), forever, giveup(), my_flush, my_fputc, my_fputs, perror_message(), ReadCh(), STDIN_FILENO, strunc(), tin_progname, and tinrc.

Referenced by add_filter_rule(), append_group_line(), append_mail(), art_open(), assign_attributes_to_groups(), auto_subscribe_groups(), cancel_article(), check_for_any_new_groups(), check_start_save_any_news(), create_newsrc(), create_save_active_file(), decode_save_one(), do_read_newsrc_active_file(), do_update(), feed_articles(), filter_articles(), generate_savepath(), get_search_pattern(), grp_del_mail_arts(), idna_decode(), index_group(), insert_from_header(), load_article(), mail_bug_report(), mail_to_author(), main(), my_tmpfile(), nntp_open(), open_save_filename(), overview_xref_support(), post_loop(), post_process_files(), post_process_sh(), post_response(), postpone_article(), print_save_summary(), process_parts(), process_url(), prompt_slk_redraw(), read_active_file(), read_attributes_file(), read_cmd_line_groups(), read_cmd_line_options(), read_config_file(), read_filter_file(), read_input_history_file(), read_newsgroups_file(), read_newsrc(), read_overview(), reposition_group(), reread_active_after_posting(), selection_page(), show_art_msg(), start_viewer(), submit_mail_file(), subscribe(), subscribe_pattern(), sync_active_file(), tin_done(), toggle_read_unread(), upgrade_keymap_file(), write_attributes_file(), write_config_file(), write_newsrc_line(), and write_overview().

Variable Documentation

◆ mark_offset

◆ screen