shithub: patch

Download patch

ref: d5db06b9b782a4e90aece9e8318f64fc0a61cdf4
parent: 02341a2305a07f7551c52464ed0da810bf9942e4
author: qwx <qwx@sciops.net>
date: Sat Mar 1 21:25:19 EST 2025

remove useless shit and index full of lies

--- a/INDEX
+++ /dev/null
@@ -1,56 +1,0 @@
-9fs-9paste				9fs(4) add 9paste.net service
-9nusbrc-nesusbjoy			recognize my nes/snes controller
-acme-col				colors
-colors-col				colors
-doom-autorun				doom(1) add autorun config option
-doom-chat				doom(1) quick hackfix for chat
-doom-limits				doom(1) raise static limits
-doom-mouseglitches			doom(1) fix(?) weird mouse movement glitches
-doom-mousegrab				doom(1) more aggressive mouse containment for faster terminals
-doom-naivescaleup			doom(1) raise scale limits
-doom-nodclick				doom(1) remove mouse double click and button 3 forward (→ wl3d-like controls)
-doom-skywallhit				doom(1) fix erroneous sky checks for projectiles
-doom-spy				doom(1) spy view on multiplayer (buggy)
-doom-udpip				doom(1) simply udp/ip networking
-dport-run				local fix for aijuboard displayport config
-faces-col				colors
-file-mod				file(1) recognize mod files
-file-opus				file(1) recognize opus files
-fplot-col				colors
-graveyard				do not exhume
-ircrc-jpmfix				ircrc(1) fixes hanging connections at startup (from jpm)
-ircrc-print-log				ircrc(1) print bikeshedding and logs
-kbdfs-fshalt				kbdfs(8) emergency killswitch for unresponsive rio
-kbmap-col				colors
-libdraw-menucol				colors
-libplumb-basic				recognize more audio formats
-man-joy					document nusb/joy
-man1audio-opus				document opusdec/enc
-midi-debug				games/midi debug mode
-midi-dobend				games/midi experimental bending
-mothra-col				colors
-mothra-font				fonts
-mothra-unifont				unifont, for very specific instances
-nusb-ure				driver for borked realtek usb ethernet
-page-invert				page(1) invert one image
-page-invertone				page(1) invert all images
-paint-reverse				colors
-pc64-nvidia				(now useless) add nvidia to pc64 build
-play-dmid-mod				play(1) add dmid/mod
-play-opus-aac				play(1) add opus/aac
-png-maxmem				png(1) raise maximum memory
-png-trns-unfinished			png(1) mTRS chunks for indexed rgb24 images, unfinished
-rio-col					colors
-rio-exit				rio exit menu option (with confirmation)	
-sam-fullfrontalnudity			sam pikesheds
-samterm-col				colors
-samterm-flayers				samterm(1) more panes
-samterm-fullfrontalnudity		samterm(1) pikesheds	
-spewaplay-col				colors
-spred-col				colors
-stats-col				colors
-statusbar-col				colors
-statusmsg-col				colors
-sudoku-col				colors
-troff-nchars				troff(1) raise table sizes for unifont and others
-vt-col					colors
--- a/acme-col
+++ /dev/null
@@ -1,283 +1,0 @@
-diff -r eafb71d27315 sys/src/cmd/acme/acme.c
---- a/sys/src/cmd/acme/acme.c	Wed Apr 14 20:30:24 2021 -0700
-+++ b/sys/src/cmd/acme/acme.c	Fri Apr 16 07:16:49 2021 +0200
-@@ -876,18 +876,18 @@
- 	Image *tmp;
- 
- 	/* Blue */
--	tagcols[BACK] = allocimagemix(display, DPalebluegreen, DWhite);
--	tagcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DPalegreygreen);
--	tagcols[BORD] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DPurpleblue);
--	tagcols[TEXT] = display->black;
--	tagcols[HTEXT] = display->black;
-+	tagcols[BACK] = display->black;
-+	tagcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x111111FF);
-+	tagcols[BORD] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x440000FF);
-+	tagcols[TEXT] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x770000FF);
-+	tagcols[HTEXT] = tagcols[TEXT];
- 
- 	/* Yellow */
--	textcols[BACK] = allocimagemix(display, DPaleyellow, DWhite);
--	textcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DDarkyellow);
--	textcols[BORD] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DYellowgreen);
--	textcols[TEXT] = display->black;
--	textcols[HTEXT] = display->black;
-+	textcols[BACK] = display->black;
-+	textcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x440000FF);
-+	textcols[BORD] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x111111FF);
-+	textcols[TEXT] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x884400FF);
-+	textcols[HTEXT] = textcols[TEXT];
- 
- 	if(button){
- 		freeimage(button);
-@@ -907,12 +907,12 @@
- 	r.max.x -= 2;
- 	border(modbutton, r, 2, tagcols[BORD], ZP);
- 	r = insetrect(r, 2);
--	tmp = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DMedblue);
-+	tmp = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x884400FF);
- 	draw(modbutton, r, tmp, nil, ZP);
- 	freeimage(tmp);
- 
- 	r = button->r;
--	colbutton = allocimage(display, r, screen->chan, 0, DPurpleblue);
-+	colbutton = allocimage(display, r, screen->chan, 0, 0x440000FF);
- 
- 	but2col = allocimage(display, r, screen->chan, 1, 0xAA0000FF);
- 	but3col = allocimage(display, r, screen->chan, 1, 0x006600FF);
-diff -r eafb71d27315 sys/src/cmd/acme/cols.c
---- a/sys/src/cmd/acme/cols.c	Wed Apr 14 20:30:24 2021 -0700
-+++ b/sys/src/cmd/acme/cols.c	Fri Apr 16 07:16:49 2021 +0200
-@@ -17,7 +17,7 @@
- 	Rectangle r1;
- 	Text *t;
- 
--	draw(screen, r, display->white, nil, ZP);
-+	draw(screen, r, display->black, nil, ZP);
- 	c->r = r;
- 	c->w = nil;
- 	c->nw = 0;
-@@ -30,7 +30,7 @@
- 	t->what = Columntag;
- 	r1.min.y = r1.max.y;
- 	r1.max.y += Border;
--	draw(screen, r1, display->black, nil, ZP);
-+	draw(screen, r1, tagcols[BORD], nil, ZP);
- 	textinsert(t, 0, L"New Cut Paste Snarf Sort Zerox Delcol ", 38, TRUE);
- 	textsetselect(t, t->file->nc, t->file->nc);
- 	draw(screen, t->scrollr, colbutton, nil, colbutton->r.min);
-@@ -79,7 +79,7 @@
- 		r1.max.y = min(y, v->body.r.min.y+v->body.nlines*v->body.font->height);
- 		r1.min.y = winresize(v, r1, FALSE);
- 		r1.max.y = r1.min.y+Border;
--		draw(screen, r1, display->black, nil, ZP);
-+		draw(screen, r1, tagcols[BORD], nil, ZP);
- 		r.min.y = r1.max.y;
- 	}
- 	if(w == nil){
-@@ -135,7 +135,7 @@
- 	memmove(c->w+i, c->w+i+1, (c->nw-i)*sizeof(Window*));
- 	c->w = realloc(c->w, c->nw*sizeof(Window*));
- 	if(c->nw == 0){
--		draw(screen, r, display->white, nil, ZP);
-+		draw(screen, r, display->black, nil, ZP);
- 		return;
- 	}
- 	up = 0;
-@@ -197,7 +197,7 @@
- 	draw(screen, c->tag.scrollr, colbutton, nil, colbutton->r.min);
- 	r1.min.y = r1.max.y;
- 	r1.max.y += Border;
--	draw(screen, r1, display->black, nil, ZP);
-+	draw(screen, r1, tagcols[BORD], nil, ZP);
- 	r1.max.y = r.max.y;
- 	new = Dy(r) - c->nw*(Border + font->height);
- 	old = Dy(c->r) - c->nw*(Border + font->height);
-@@ -213,7 +213,7 @@
- 		}
- 		r2 = r1;
- 		r2.max.y = r2.min.y+Border;
--		draw(screen, r2, display->black, nil, ZP);
-+		draw(screen, r2, tagcols[BORD], nil, ZP);
- 		r1.min.y = r2.max.y;
- 		r1.min.y = winresize(w, r1, FALSE);
- 	}
-@@ -269,7 +269,7 @@
- 			r.max.y = r.min.y+Dy(w->r)+Border;
- 		r1 = r;
- 		r1.max.y = r1.min.y+Border;
--		draw(screen, r1, display->black, nil, ZP);
-+		draw(screen, r1, tagcols[BORD], nil, ZP);
- 		r.min.y = r1.max.y;
- 		y = winresize(w, r, FALSE);
- 	}
-@@ -371,7 +371,7 @@
- 		}
- 		r.min.y = v->r.max.y;
- 		r.max.y += Border;
--		draw(screen, r, display->black, nil, ZP);
-+		draw(screen, r, tagcols[BORD], nil, ZP);
- 		y1 = r.max.y;
- 	}
- 	/* scan to see new size of everyone below */
-@@ -403,7 +403,7 @@
- 	if(i < c->nw-1){
- 		r.min.y = r.max.y;
- 		r.max.y += Border;
--		draw(screen, r, display->black, nil, ZP);
-+		draw(screen, r, tagcols[BORD], nil, ZP);
- 		for(j=i+1; j<c->nw; j++)
- 			ny[j] -= (y2-r.max.y);
- 	}
-@@ -423,7 +423,7 @@
- 		if(j < c->nw-1){	/* no border on last window */
- 			r.min.y = v->r.max.y;
- 			r.max.y = r.min.y + Border;
--			draw(screen, r, display->black, nil, ZP);
-+			draw(screen, r, tagcols[BORD], nil, ZP);
- 		}
- 		y1 = r.max.y;
- 	}
-@@ -511,7 +511,7 @@
- 	}
- 	r.min.y = v->r.max.y;
- 	r.max.y = r.min.y+Border;
--	draw(screen, r, display->black, nil, ZP);
-+	draw(screen, r, tagcols[BORD], nil, ZP);
- 	r.min.y = r.max.y;
- 	if(i == c->nw-1)
- 		r.max.y = c->r.max.y;
-diff -r eafb71d27315 sys/src/cmd/acme/rows.c
---- a/sys/src/cmd/acme/rows.c	Wed Apr 14 20:30:24 2021 -0700
-+++ b/sys/src/cmd/acme/rows.c	Fri Apr 16 07:16:49 2021 +0200
-@@ -18,7 +18,7 @@
- 	Rectangle r1;
- 	Text *t;
- 
--	draw(screen, r, display->white, nil, ZP);
-+	draw(screen, r, display->black, nil, ZP);
- 	row->r = r;
- 	row->col = nil;
- 	row->ncol = 0;
-@@ -32,7 +32,7 @@
- 	t->col = nil;
- 	r1.min.y = r1.max.y;
- 	r1.max.y += Border;
--	draw(screen, r1, display->black, nil, ZP);
-+	draw(screen, r1, tagcols[BORD], nil, ZP);
- 	textinsert(t, 0, L"Newcol Kill Putall Dump Exit ", 29, TRUE);
- 	textsetselect(t, t->file->nc, t->file->nc);
- }
-@@ -63,7 +63,7 @@
- 		r = d->r;
- 		if(Dx(r) < 100)
- 			return nil;
--		draw(screen, r, display->white, nil, ZP);
-+		draw(screen, r, display->black, nil, ZP);
- 		r1 = r;
- 		r1.max.x = min(x, r.max.x-50);
- 		if(Dx(r1) < 50)
-@@ -71,7 +71,7 @@
- 		colresize(d, r1);
- 		r1.min.x = r1.max.x;
- 		r1.max.x = r1.min.x+Border;
--		draw(screen, r1, display->black, nil, ZP);
-+		draw(screen, r1, tagcols[BORD], nil, ZP);
- 		r.min.x = r1.max.x;
- 	}
- 	if(c == nil){
-@@ -105,7 +105,7 @@
- 	textresize(&row->tag, r1);
- 	r1.min.y = r1.max.y;
- 	r1.max.y += Border;
--	draw(screen, r1, display->black, nil, ZP);
-+	draw(screen, r1, tagcols[BORD], nil, ZP);
- 	r.min.y = r1.max.y;
- 	r1 = r;
- 	r1.max.x = r1.min.x;
-@@ -119,7 +119,7 @@
- 		if(i > 0){
- 			r2 = r1;
- 			r2.max.x = r2.min.x+Border;
--			draw(screen, r2, display->black, nil, ZP);
-+			draw(screen, r2, tagcols[BORD], nil, ZP);
- 			r1.min.x = r2.max.x;
- 		}
- 		colresize(c, r1);
-@@ -178,14 +178,14 @@
- 		p.x = c->r.max.x-80-Scrollwid;
- 	r = d->r;
- 	r.max.x = c->r.max.x;
--	draw(screen, r, display->white, nil, ZP);
-+	draw(screen, r, display->black, nil, ZP);
- 	r.max.x = p.x;
- 	colresize(d, r);
- 	r = c->r;
- 	r.min.x = p.x;
- 	r.max.x = r.min.x;
- 	r.max.x += Border;
--	draw(screen, r, display->black, nil, ZP);
-+	draw(screen, r, tagcols[BORD], nil, ZP);
- 	r.min.x = r.max.x;
- 	r.max.x = c->r.max.x;
- 	colresize(c, r);
-@@ -210,7 +210,7 @@
- 	row->ncol--;
- 	row->col = realloc(row->col, row->ncol*sizeof(Column*));
- 	if(row->ncol == 0){
--		draw(screen, r, display->white, nil, ZP);
-+		draw(screen, r, display->black, nil, ZP);
- 		return;
- 	}
- 	if(i == row->ncol){		/* extend last column right */
-@@ -221,7 +221,7 @@
- 		c = row->col[i];
- 		r.max.x = c->r.max.x;
- 	}
--	draw(screen, r, display->white, nil, ZP);
-+	draw(screen, r, display->black, nil, ZP);
- 	colresize(c, r);
- }
- 
-@@ -550,12 +550,12 @@
- 			r2.min.x = x+Border;
- 			if(Dx(r1) < 50 || Dx(r2) < 50)
- 				continue;
--			draw(screen, Rpt(r1.min, r2.max), display->white, nil, ZP);
-+			draw(screen, Rpt(r1.min, r2.max), display->black, nil, ZP);
- 			colresize(c1, r1);
- 			colresize(c2, r2);
- 			r2.min.x = x;
- 			r2.max.x = x+Border;
--			draw(screen, r2, display->black, nil, ZP);
-+			draw(screen, r2, tagcols[BORD], nil, ZP);
- 		}
- 		if(i >= row->ncol)
- 			rowadd(row, nil, x);
-diff -r eafb71d27315 sys/src/cmd/acme/text.c
---- a/sys/src/cmd/acme/text.c	Wed Apr 14 20:30:24 2021 -0700
-+++ b/sys/src/cmd/acme/text.c	Fri Apr 16 07:16:49 2021 +0200
-@@ -1190,12 +1190,12 @@
- 				pt1 = pt0;
- 				reg = region(q, p0);
- 				if(reg == 0)
--					frdrawsel0(f, pt0, p0, p1, col, display->white);
-+					frdrawsel0(f, pt0, p0, p1, col, display->black);
- 			}
- 			qt = frptofchar(f, q);
- 			if(reg > 0){
- 				if(q > p1)
--					frdrawsel0(f, pt1, p1, q, col, display->white);
-+					frdrawsel0(f, pt1, p1, q, col, display->black);
- 
- 				else if(q < p1)
- 					selrestore(f, qt, q, p1);
-@@ -1203,7 +1203,7 @@
- 				if(q > p1)
- 					selrestore(f, pt1, p1, q);
- 				else
--					frdrawsel0(f, qt, q, p1, col, display->white);
-+					frdrawsel0(f, qt, q, p1, col, display->black);
- 			}
- 			p1 = q;
- 			pt1 = qt;
--- a/g-work
+++ /dev/null
@@ -1,12 +1,0 @@
-diff 4b637a24f9c2db696b6660bc7116441a43281302 uncommitted
---- a//rc/bin/g
-+++ b//rc/bin/g
-@@ -21,7 +21,7 @@
- pattern=$1
- shift
- 
--suffixes='\.([bcChlmsy]|asm|awk|cc|cgi|cpp|cs|go|goc|hs|java|lua|lx|mk|ml|mli|ms|myr|pl|py|rc|sh|tex|xy)$'
-+suffixes='\.([bcChlmsy]|asm|awk|cc|cgi|cpp|cs|go|goc|hs|java|lua|lx|mk|ml|mli|ms|myr|pl|py|rc|sh|tex|xy|rs|log|txt)$'
- fullnames='(^|/)mkfile$'
- repodirs='(^|/)(.git|.hg)($|/)'
- switch($#*){
--- a/graveyard/doomn-sawup
+++ /dev/null
@@ -1,60 +1,0 @@
-does not work. second part should also be removed.
-
-diff -Naur a/sys/src/games/doom/i_sound.c b/sys/src/games/doom/i_sound.c
---- a/sys/src/games/doom/i_sound.c	Wed Jul 29 13:45:35 2015
-+++ b/sys/src/games/doom/i_sound.c	Sun Aug  2 23:51:32 2015
-@@ -333,33 +333,21 @@
- 	int			rightvol;
- 	int			leftvol;
- 
--	/* Chainsaw troubles.
--	** Play these sound effects only one at a time. */
--	if ( id == sfx_sawup ||
--	     id == sfx_sawidl ||
--	     id == sfx_sawful ||
--	     id == sfx_sawhit ||
--	     id == sfx_stnmov ||
--	     id == sfx_pistol )
-+	for (i=0 ; (i<NUM_CHANNELS) && (channels[i]) ; i++)
- 	{
--		/* Loop all channels, check. */
--		for (i=0 ; i < NUM_CHANNELS ; i++)
--		{
--			/* Active and using the same SFX? */
--			if( (channels[i]) && (channelids[i] == id) )
--			{
--				/* Reset. */
-+		if(id == sfx_sawidl && channelids[i] == sfx_sawup)	/* don't play during sawup */
-+			return 0;
-+		if(channelids[i] == id)
-+			switch(id){	/* to be played only one at a time */
-+			case sfx_sawup:
-+			case sfx_sawidl:
-+			case sfx_sawful:
-+			case sfx_sawhit:
-+			case sfx_stnmov:
-+			case sfx_pistol:
- 				channels[i] = 0;
--				/* We are sure that iff,
--				**  there will only be one. */
--				break;
-+				continue;
- 			}
--		}
--	}
--
--	/* Loop all channels to find oldest SFX. */
--	for (i=0 ; (i<NUM_CHANNELS) && (channels[i]) ; i++)
--	{
- 		if(channelstart[i] < oldest)
- 		{
- 			oldestnum = i;
-@@ -383,7 +371,7 @@
- 	*/
- 	channels[slot] = (uchar*) S_sfx[id].data;
- 	/* Set pointer to end of raw data. */
--	channelsend[slot] = channels[slot] + lengths[id];
-+	channelsend[slot] = channels[slot] + (id == sfx_sawful ? lengths[id] / 2 : lengths[id]);
- 
- 	/* Reset current handle number, limited to 0..100. */
- 	if (!handlenums)
--- a/graveyard/doomn-sleep
+++ /dev/null
@@ -1,17 +1,0 @@
-this is necessary with doom-sndmus.patch to prevent nsec() being called
-trillions of times per frame because the game is running too fast...
-(i think)
-
-diff -Naur a/sys/src/games/doom/d_net.c b/sys/src/games/doom/d_net.c
---- a/sys/src/games/doom/d_net.c	Fri May 15 05:42:00 2015
-+++ b/sys/src/games/doom/d_net.c	Wed Sep 16 07:47:17 2015
-@@ -722,7 +722,8 @@
- 	{
- 	    M_Ticker ();
- 	    return;
--	} 
-+	}
-+	sleep(1);
-     }
-     
-     // run the count * ticdup dics
--- a/graveyard/doomn-waitvbl
+++ /dev/null
@@ -1,19 +1,0 @@
-I_WaitVBL is used as a delay twice: once in the netcode on disconnect, to
-wait a little before sending notice to the next node, and once on exit, to
-allow playing one last sound effect.
-requires doom-sndmus.patch (since sound is handled on a different proc).
-
-diff -Naur a/sys/src/games/doom/i_video.c b/sys/src/games/doom/i_video.c
---- a/sys/src/games/doom/i_video.c	Wed Jul 29 13:45:35 2015
-+++ b/sys/src/games/doom/i_video.c	Tue Aug 11 14:25:16 2015
-@@ -185,8 +185,9 @@
- {
- }
- 
--void I_WaitVBL(int)
-+void I_WaitVBL(int s)
- {
-+	sleep(s * (1000/70));
- }
- 
- 
--- a/pc64-nvidia
+++ /dev/null
@@ -1,20 +1,0 @@
-diff -r 2c3766a9188f sys/src/9/pc64/mkfile
---- a/sys/src/9/pc64/mkfile	Sun May 21 17:27:30 2017 +0200
-+++ b/sys/src/9/pc64/mkfile	Mon May 22 08:05:44 2017 +0200
-@@ -84,7 +84,7 @@
- 
- # copies generated by the rule below
- PCHEADERS=wifi.h usbehci.h screen.h etherif.h ethermii.h mp.h io.h ahci.h \
--	yukdump.h
-+	yukdump.h nv_dma.h
- 
- REPCH=`{echo $PCHEADERS | sed 's/\.h//g; s/ /|/g'}
- ^($REPCH)\.h:R:	../pc/\1.h
-@@ -106,6 +106,7 @@
- etheryuk.$O:			yukdump.h
- $VGA mouse.$O:			screen.h /sys/include/memdraw.h
- vgavesa.$O:			/386/include/ureg.h
-+vganvidia.$O:			nv_dma.h
- 
- mp.$O:				mp.h apbootstrap.h 
- apic.$O squidboy.$O:		mp.h
--- a/vgadb-w500-w520
+++ /dev/null
@@ -1,85 +1,0 @@
-diff d55a64c90512aae66b5cabac57edc3e957bd3f0c uncommitted
---- a//lib/vgadb
-+++ b//lib/vgadb
-@@ -420,6 +420,10 @@
- 	vid=0x1002 did=0x5169	# [Qi] Radeon R200
- 	vid=0x1002 did=0x516a	# [Qj] Radeon R200
- 	vid=0x1002 did=0x516b	# [Qk] Radeon R200
-+	vid=0x1002 did=0x71c0	# Radeon X1600
-+	vid=0x1002 did=0x71d4	# Radeon Mobility FireGL V5250
-+	vid=0x1002 did=0x71e0	# Radeon X1600, Secondary
-+	vid=0x1002 did=0x9505	# Radeon HD 3850
- 	link=vga
- 	ctlr=radeon linear=1
- 	hwgc=radeonhwgc
-@@ -1876,3 +1880,70 @@
- 	vrs=617 vre=622 vt=638
- 	hsync=? vsync=?
- 	lcd=1
-+
-+#
-+# Acer Aspire V5-573G
-+#
-+v573g=1920x1080
-+	display=3
-+	clock=152.84
-+	shb=2000 ehb=2054 ht=2250
-+	vrs=1086 vre=1094 vt=1132
-+	hsync=+ vsync=- 
-+	#defaultclock=141.4
-+	#shb=1968 ehb=2068 ht=2112
-+	#vrs=1088 vre=1102 vt=1112
-+	#hsync=- vsync=-
-+
-+# hdmi: 6 (dpd); edp/dpa = 3
-+2715qt=3840x2160		# 30.00Hz, 67.50KHz
-+	display=6
-+	defaultclock=297
-+	shb=4016 ehb=4104 ht=4400
-+	vrs=2168 vre=2178 vt=2250
-+	hsync=+ vsync=+
-+2715qt=1920x1200		# 59.95Hz, 74.04KHz
-+	display=6
-+	defaultclock=154
-+	shb=1968 ehb=2000 ht=2080
-+	vrs=1203 vre=1209 vt=1235
-+	hsync=+ vsync=-
-+2715qt=1920x1080		# 60.00Hz, 67.50KHz
-+	display=6
-+	defaultclock=148
-+	shb=2008 ehb=2052 ht=2200
-+	vrs=1084 vre=1089 vt=1125
-+	hsync=+ vsync=+
-+2715qt=1600x1200		# 60.00Hz, 75.00KHz
-+	display=6
-+	defaultclock=162
-+	shb=1664 ehb=1856 ht=2160
-+	vrs=1201 vre=1204 vt=1250
-+	hsync=+ vsync=+
-+
-+w520=1920x1080
-+	lcd=1
-+	clock=139
-+	shb=1980 ehb=2028 ht=2050
-+	vrs=1090 vre=1100 vt=1130
-+	hsync=- vsync=- 
-+
-+w500=1920x1200	# 60 Hz
-+	lcd=1
-+	clock=150.79
-+	shb=1950 ehb=2030 ht=2060
-+	vrs=1202 vre=1206 vt=1220
-+	hsync=- vsync=- 
-+
-+x240=1366x768	# 60Hz
-+	display=3
-+	clock=72
-+	shb=1374 ehb=1382 ht=1500
-+	vrs=776 vre=784 vt=800
-+	hsync=- vsync=- 
-+x240=1920x1080 	# 60Hz
-+	display=3
-+	clock=138.78
-+	shb=1966 ehb=1996 ht=2080
-+	vrs=1082 vre=1086 vt=1112
-+	hsync=+ vsync=-