"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "misc.c" between
multitail-6.4.2.tgz and multitail-6.5.0.tgz

About: multitail lets you view one or multiple files like the original tail program.

misc.c  (multitail-6.4.2.tgz):misc.c  (multitail-6.5.0.tgz)
skipping to change at line 48 skipping to change at line 48
mvwprintw(mywin -> win, 4, 2, "Website: http://www.vanheusden.com/multita il/"); mvwprintw(mywin -> win, 4, 2, "Website: http://www.vanheusden.com/multita il/");
if (!use_colors) if (!use_colors)
mvwprintw(mywin -> win, line++, 2, "Your terminal doesn't support colors"); mvwprintw(mywin -> win, line++, 2, "Your terminal doesn't support colors");
if (uname(&uinfo) == -1) if (uname(&uinfo) == -1)
error_popup("Retrieving system information", -1, "uname() failed\ n"); error_popup("Retrieving system information", -1, "uname() failed\ n");
else else
{ {
line++; line++;
mvwprintw(mywin -> win, line++, 2, "Running on:"); mvwprintw(mywin -> win, line++, 2, "Running on:");
#ifdef _GNU_SOURCE #if defined(_GNU_SOURCE) && !defined(__APPLE__)
mvwprintw(mywin -> win, line++, 2, "%s/%s %s %s", uinfo.nodename, uinfo.sysname, uinfo.machine, uinfo.domainname); mvwprintw(mywin -> win, line++, 2, "%s/%s %s %s", uinfo.nodename, uinfo.sysname, uinfo.machine, uinfo.domainname);
#else #else
mvwprintw(mywin -> win, line++, 2, "%s/%s %s", uinfo.nodename, ui nfo.sysname, uinfo.machine); mvwprintw(mywin -> win, line++, 2, "%s/%s %s", uinfo.nodename, ui nfo.sysname, uinfo.machine);
#endif #endif
mvwprintw(mywin -> win, line++, 2, "%s %s", uinfo.release, uinfo. version); mvwprintw(mywin -> win, line++, 2, "%s %s", uinfo.release, uinfo. version);
line++; line++;
} }
if (has_colors()) if (has_colors())
mvwprintw(mywin -> win, line++, 2, "colors: %d, colorpairs: %d (% d), change colors: %s", COLORS, COLOR_PAIRS, cp.n_def, can_change_color()?"yes": "no"); mvwprintw(mywin -> win, line++, 2, "colors: %d, colorpairs: %d (% d), change colors: %s", COLORS, COLOR_PAIRS, cp.n_def, can_change_color()?"yes": "no");
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)