# Re: fbutils

- From: John Zielinski \<hidden\>
- Date: 2004-01-08 02:25:47 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2004/01/13452183
- Thread: https://ratatoskr.run/linux-fbdev/2003/12/13452099/t.md

```text
Geert Uytterhoeven wrote:

>--- fbutils-john-2/etc/modes	2004-01-04 15:38:38.000000000 +0100
>+++ fbutils/etc/modes	2004-01-04 15:33:21.000000000 +0100
>@@ -14,7 +14,7 @@
>     "640x480@75"	# 640x480 @ 75 Hz, 37.50 kHz hsync
> 	{ 640 480 31746 120 16 16 1 64 3 }
>     "800x600@60"	# 800x600 @ 60 Hz, 37.8 kHz hsync
>-	{ 800 600 25000 88 40 23 1 128 4 0 hsync+ vsync+ }
>+	{ 800 600 25000 88 40 23 1 128 4 hsync+ vsync+ }
>     "640x480@85"	# 640x480 @ 85 Hz, 43.27 kHz hsync
> 	{ 640 480 27777 80 56 25 1 56 3 }
>     "1152x864@89"	# 1152x864 @ 89 Hz interlaced, 44 kHz hsync
>  
>

Woops.  I changed that in my /etc/fb/modes file but forgot to update the one in the source package.

>--- fbutils-john-2/fbset/fbset.C	2004-01-04 15:38:38.000000000 +0100
>+++ fbutils/fbset/fbset.C	2004-01-04 15:42:02.000000000 +0100
>@@ -259,8 +259,8 @@
>
>     //  Parse the Options
>
>-    while (id = GetNextOption(argc, argv, Options,
>-			       sizeof(Options)/sizeof(*Options))) {
>+    while ((id = GetNextOption(argc, argv, Options,
>+			       sizeof(Options)/sizeof(*Options)))) {
> 	switch (id) {
> 	    case ID_HELP:
> 		Usage();
>
>  
>
Already cought that one.  Don't know why I changed it in the first place.  That must have been a late night session or something.  :)

I still have a couple of  command line options that need finishing.  I'll have another updated patch with those in the next few days.  I've been extremely busy lately: holidays, email server dying, Prince of Persia....

John




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
```
