ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/root-tail/root-tail.c
Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Sun Jun 16 03:25:52 2019 UTC (5 years, 1 month ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.65: +0 -12 lines
Diff to previous 1.65
*** empty log message ***

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Jun 16 01:24:29 2019 UTC (5 years, 1 month ago) by root
Branch: MAIN
CVS Tags: rel-1_3
Changes since 1.64: +96 -68 lines
Diff to previous 1.64
*** empty log message ***

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Tue Nov 23 15:54:41 2004 UTC (19 years, 7 months ago) by root
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63
*** empty log message ***

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Thu Apr 15 00:38:13 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
CVS Tags: rel-1_2
Changes since 1.62: +9 -6 lines
Diff to previous 1.62
*** empty log message ***

Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Sun Apr 11 23:49:58 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.61: +45 -26 lines
Diff to previous 1.61
Check that the geometry is tall enough to display at least one line in
each font, including any outline or shadow.

Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Sun Apr 11 22:08:16 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.60: +50 -64 lines
Diff to previous 1.60
*** empty log message ***

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Apr 11 01:02:05 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.59: +17 -0 lines
Diff to previous 1.59
Use code from XPenguins to find the root window under GNOME, KDE, etc.

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 23:11:58 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.58: +0 -2 lines
Diff to previous 1.58
Removed spurious 'todo' comment.

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 13:45:15 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.57: +4 -4 lines
Diff to previous 1.57
*** empty log message ***

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Sat Apr 10 13:26:24 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
*** empty log message ***

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Fri Apr 9 04:26:52 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.55: +6 -1 lines
Diff to previous 1.55
*** empty log message ***

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Thu Apr 8 19:46:04 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
CVS Tags: rel-1_1
Changes since 1.54: +6 -5 lines
Diff to previous 1.54
*** empty log message ***

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Thu Apr 8 03:34:35 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.53: +4 -1 lines
Diff to previous 1.53
Don't ignore the user's description for 'stdin' if one is given.

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Thu Apr 8 01:19:57 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.52: +7 -4 lines
Diff to previous 1.52
*** empty log message ***

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu Apr 8 00:37:03 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.51: +186 -131 lines
Diff to previous 1.51
Allow each logfile to display in a different font.

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Wed Apr 7 12:35:13 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.50: +1 -0 lines
Diff to previous 1.50
Fixed a teensy 1-byte memory leak that happened each time a "\n" was
added to an old partial line and -partial was in effect without
-update.

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Apr 7 03:57:00 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49
Squashed a warning.  I should try compiling before checking in!

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Wed Apr 7 03:54:30 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.48: +460 -263 lines
Diff to previous 1.48
new options -justify and -cont-color
linked list instead of array

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Fri Apr 2 00:27:30 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
CVS Tags: rel-1_0
Changes since 1.47: +3 -2 lines
Diff to previous 1.47
Fixed a memory leak.

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Apr 1 13:37:30 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.46: +7 -4 lines
Diff to previous 1.46
*** empty log message ***

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Thu Apr 1 02:40:47 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
CVS Tags: last_stable
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
Fixed the example geometry in the --help text.  It's in pixels now.

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Apr 1 02:02:27 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.44: +36 -27 lines
Diff to previous 1.44
lineinput() now reads to the next \n, or to EOF, even if that's a long
way away.  It used to stop if the buffer got full.

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 21:16:18 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
CVS Tags: rel-0_95
Changes since 1.43: +4 -4 lines
Diff to previous 1.43
Only realloc() the display_line's buffer if it needs to be bigger.

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 17:07:02 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.42: +6 -1 lines
Diff to previous 1.42
Trying to use "-update" and "-whole" together gave an error:
  "Specify at most one of -partial and -whole".
Now it gives a more suitable error message.

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 16:57:06 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.41: +3 -5 lines
Diff to previous 1.41
Remove the 1024 byte limit on the file's description.

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 16:42:22 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
Edit the text of the comment for lineinput().

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 16:27:04 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.39: +3 -0 lines
Diff to previous 1.39
The optimisation which avoids redrawing text which hasn't changed
should avoid skipping text which has changed colour.

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 01:59:19 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.38: +34 -29 lines
Diff to previous 1.38
*** empty log message ***

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 01:50:24 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.37: +1 -7 lines
Diff to previous 1.37
*** empty log message ***

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 01:47:50 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.36: +4 -5 lines
Diff to previous 1.36
*** empty log message ***

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 01:46:10 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35
*** empty log message ***

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 00:48:12 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.34: +0 -1 lines
Diff to previous 1.34
Removed debugging printf().

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 00:42:01 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.33: +7 -0 lines
Diff to previous 1.33
If we find we are having to wrap a line before managing to fit any
characters at all onto the previous line then something's very wrong.

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Wed Mar 31 00:14:13 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.32: +27 -5 lines
Diff to previous 1.32
When wrapping lines, insert the 'continuation string' at the start on
the new line.
----------------------------------------------------------------------
----------------------------------------------------------------------

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 23:33:59 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.31: +10 -8 lines
Diff to previous 1.31
Commented the 7 places that need attention.

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 23:23:46 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.30: +17 -9 lines
Diff to previous 1.30
Fix '-whole' behaviour for the case where lines are added to the
logfile a part at a time.

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 22:57:30 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.29: +20 -13 lines
Diff to previous 1.29
Don't use the 'only redraw changes' optimisation if '-noflicker' isn't specified.

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Mar 30 21:32:32 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.28: +50 -57 lines
Diff to previous 1.28
*** empty log message ***

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Mon Mar 29 17:25:51 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.27: +98 -38 lines
Diff to previous 1.27
Only redraw the lines which have changed when -noflicker is in
effect.  This reduces flicker further.

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Mon Mar 29 02:20:55 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.26: +66 -17 lines
Diff to previous 1.26
*** empty log message ***

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 21:53:09 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.25: +51 -10 lines
Diff to previous 1.25
*** empty log message ***

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 03:53:48 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.24: +4 -1 lines
Diff to previous 1.24
Fixed bug with very long (> 1024 character) lines being broken up.

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 03:28:54 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.23: +34 -5 lines
Diff to previous 1.23
Added '-wordwrap' option.

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Mar 28 02:39:47 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.22: +12 -10 lines
Diff to previous 1.22
Added the '-cont' functionality back in.

Replaced 'break' with 'continue' to skip just the current file when it
fails to open, rather than skipping all following files.

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 21:12:22 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.21: +15 -8 lines
Diff to previous 1.21
*** empty log message ***

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 20:54:33 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.20: +18 -4 lines
Diff to previous 1.20
*** empty log message ***

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 20:42:40 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.19: +8 -11 lines
Diff to previous 1.19
*** empty log message ***

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 16:25:11 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.18: +3 -4 lines
Diff to previous 1.18
*** empty log message ***

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 16:12:00 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.17: +9 -17 lines
Diff to previous 1.17
*** empty log message ***

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 15:59:20 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.16: +7 -2 lines
Diff to previous 1.16
*** empty log message ***

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 15:49:16 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.15: +7 -4 lines
Diff to previous 1.15
*** empty log message ***

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 15:35:44 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.14: +5 -3 lines
Diff to previous 1.14
*** empty log message ***

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 14:47:27 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.13: +19 -0 lines
Diff to previous 1.13
*** empty log message ***

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 01:35:58 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.12: +5 -20 lines
Diff to previous 1.12
*** empty log message ***

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Mar 27 00:52:52 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.11: +179 -146 lines
Diff to previous 1.11
*** empty log message ***

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 13:14:54 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.10: +826 -717 lines
Diff to previous 1.10
*** empty log message ***

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 12:11:05 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.9: +7 -3 lines
Diff to previous 1.9
	- call redraw() before entering the main loop to ensure that
          at least something is displayed on the root window
          immediately

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Fri Mar 26 03:00:52 2004 UTC (20 years, 3 months ago) by chris_moore
Branch: MAIN
Changes since 1.8: +142 -46 lines
Diff to previous 1.8
1.1  Fri Mar 26 03:58:50 CET 2004

	- added options:
	    * -whole : to only display lines once they are \n terminated
	    * -partial: to display lines whether they are terminated or not
	    * -update: to attempt to complete old partial lines 'in-place'
	    * -cont: to specify a string to prefix 'broken' partial lines with
	- set default interval back to 3 seconds, as mentioned in
	  '-help' text and man page.
	- set default 'reload' value to 0 to prevent reloads.
	- updated man page

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Mar 25 21:46:56 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.7: +37 -21 lines
Diff to previous 1.7
*** empty log message ***

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Thu Mar 25 21:07:26 2004 UTC (20 years, 3 months ago) by pcg
Branch: MAIN
Changes since 1.6: +91 -17 lines
Diff to previous 1.6
*** empty log message ***

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Oct 7 13:02:57 2003 UTC (20 years, 9 months ago) by pcg
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
*** empty log message ***

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed May 8 22:54:55 2002 UTC (22 years, 2 months ago) by pcg
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
*** empty log message ***

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun May 5 20:31:11 2002 UTC (22 years, 2 months ago) by jebusbfb
Branch: MAIN
Changes since 1.3: +4 -6 lines
Diff to previous 1.3
Fixes f/g color setting in -reverse mode

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun May 5 19:10:39 2002 UTC (22 years, 2 months ago) by pcg
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2
*** empty log message ***

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun May 5 15:51:24 2002 UTC (22 years, 2 months ago) by pcg
Branch: MAIN
Changes since 1.1: +56 -28 lines
Diff to previous 1.1
*** empty log message ***

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Mar 10 00:17:30 2002 UTC (22 years, 4 months ago) by pcg
Branch: MAIN
*** empty log message ***

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a