/* global variable definitions */ #ifndef LYGLOBALDEFS_H #define LYGLOBALDEFS_H #ifndef USERDEFS_H #include #endif /* USERDEFS_H */ #ifndef HTUTILS_H #include #endif /* HTUTILS_H */ #ifndef LYSTRUCTS_H #include #endif /* LYSTRUCTS_H */ #ifdef HAVE_CONFIG_H #include #else #define COOKIE_JAR_HELP "Lynx_users_guide.html#Cookies" #define CURRENT_KEYMAP_HELP "keystrokes/keystroke_help.html" #define DIRED_MENU_HELP "keystrokes/dired_help.html" #define DOWNLOAD_OPTIONS_HELP "Lynx_users_guide.html#RemoteSource" #define HISTORY_PAGE_HELP "keystrokes/history_help.html" #define LIST_PAGE_HELP "keystrokes/follow_help.html" #define OPTIONS_HELP "keystrokes/option_help.html" #define PRINT_OPTIONS_HELP "keystrokes/print_help.html" #define UPLOAD_OPTIONS_HELP "Lynx_users_guide.html#DirEd" #define VISITED_LINKS_HELP "keystrokes/visited_help.html" #endif /* LYHELP_H */ #ifdef SOCKS extern BOOLEAN socks_flag; #endif /* SOCKS */ #ifdef IGNORE_CTRL_C extern BOOLEAN sigint; #endif /* IGNORE_CTRL_C */ #ifdef VMS extern char *mail_adrs; extern BOOLEAN UseFixedRecords; /* convert binary files to FIXED 512 records */ #endif /* VMS */ #ifndef VMS extern char *list_format; #endif /* !VMS */ #ifdef VMS extern char *LYCSwingPath; #endif /* VMS */ #ifdef DIRED_SUPPORT extern BOOLEAN lynx_edit_mode; extern BOOLEAN no_dired_support; extern int dir_list_style; extern HTList *tagged; #define FILES_FIRST 1 #define MIXED_STYLE 2 #ifdef OK_OVERRIDE extern BOOLEAN prev_lynx_edit_mode; #endif /* OK_OVERRIDE */ #ifdef OK_PERMIT extern BOOLEAN no_change_exec_perms; #endif /* OK_PERMIT */ #endif /* DIRED_SUPPORT */ extern int HTCacheSize; /* the number of documents cached in memory */ #if defined(VMS) && defined(VAXC) && !defined(__DECC) extern int HTVirtualMemorySize; /* bytes allocated and not yet freed */ #endif /* VMS && VAXC && !__DECC */ #if defined(EXEC_LINKS) || defined(EXEC_SCRIPTS) extern BOOLEAN local_exec; /* TRUE to enable local program execution */ extern BOOLEAN local_exec_on_local_files; /* TRUE to enable local program * * execution in local files only */ #endif /* defined(EXEC_LINKS) || defined(EXEC_SCRIPTS) */ #if defined(LYNXCGI_LINKS) && !defined(VMS) /* WebSter Mods -jkt */ extern char *LYCgiDocumentRoot; /* DOCUMENT_ROOT in the lynxcgi env */ #endif /* LYNXCGI_LINKS */ /* Values to which keypad_mode can be set */ #define NUMBERS_AS_ARROWS 0 #define LINKS_ARE_NUMBERED 1 #define LINKS_AND_FORM_FIELDS_ARE_NUMBERED 2 #define HIDDENLINKS_MERGE 0 #define HIDDENLINKS_SEPARATE 1 #define HIDDENLINKS_IGNORE 2 #define NOVICE_MODE 0 #define INTERMEDIATE_MODE 1 #define ADVANCED_MODE 2 extern BOOLEAN LYUseNoviceLineTwo; /* True if TOGGLE_HELP is not mapped */ #define MAX_LINE 1024 /* Hope that no window is larger than this */ extern char star_string[MAX_LINE + 1]; /* from GridText.c */ #define STARS(n) \ ((n) >= MAX_LINE ? star_string : &star_string[(MAX_LINE-1)] - (n)) #define DIRNAMESIZE 256 #define SHOW_COLOR_UNKNOWN (-1) #define SHOW_COLOR_NEVER 0 #define SHOW_COLOR_OFF 1 #define SHOW_COLOR_ON 2 #define SHOW_COLOR_ALWAYS 3 extern int LYShowColor; /* Show color or monochrome? */ extern int LYChosenShowColor; /* extended color/monochrome choice */ extern int LYrcShowColor; /* ... as read or last written */ extern BOOLEAN LYShowCursor; /* Show the cursor or hide it? */ extern BOOLEAN verbose_img; /* display filenames of images? */ extern BOOLEAN LYUseDefShoCur; /* Command line -show_cursor toggle */ extern BOOLEAN LYCursesON; /* start_curses()->TRUE, stop_curses()->FALSE */ extern BOOLEAN LYUserSpecifiedURL; /* URL from a goto or document? */ extern BOOLEAN LYJumpFileURL; /* URL from the jump file shortcuts? */ extern BOOLEAN jump_buffer; /* TRUE if offering default shortcut */ extern BOOLEAN goto_buffer; /* TRUE if offering default goto URL */ extern char *LYRequestTitle; /* newdoc.title in calls to getfile() */ extern char *jumpprompt; /* The default jump statusline prompt */ extern int more; /* is there more document to display? */ extern int display_lines; /* number of lines in the display *
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module ranger.ext.human_readable</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.ext.html"><font color="#ffffff">ext</font></a>.human_readable</strong></big></big>