<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/cmd/samterm/flayer.c, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>acme, sam, samterm: remove weird switch usage</title>
<updated>2021-01-06T04:38:09+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2021-01-06T04:38:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=1c845e0bd5ff897dc5e90f2c24db4ecd81a8f60c'/>
<id>1c845e0bd5ff897dc5e90f2c24db4ecd81a8f60c</id>
<content type='text'>
For whatever reason all three of these programs
contain switches like:

	switch(x) {
	case 1:
		if(cond)
	case 2:
			f();
	}

Like Duff's device, this is legal C but more obscure
than it really needs to be.

This commit assumes those are intended as written
and simply writes them more clearly. I did consider
that maybe they are mistakes, but in the case of sam/regexp.c,
my rewrite in this commit matches the acme/regx.c that
has been in plan9port since I added acme in 2003.
(I didn't bother to dig up the old Plan 9 releases.)

Assuming acme/regx.c has been correct for the past
two decades, this commit should be correct too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For whatever reason all three of these programs
contain switches like:

	switch(x) {
	case 1:
		if(cond)
	case 2:
			f();
	}

Like Duff's device, this is legal C but more obscure
than it really needs to be.

This commit assumes those are intended as written
and simply writes them more clearly. I did consider
that maybe they are mistakes, but in the case of sam/regexp.c,
my rewrite in this commit matches the acme/regx.c that
has been in plan9port since I added acme in 2003.
(I didn't bother to dig up the old Plan 9 releases.)

Assuming acme/regx.c has been correct for the past
two decades, this commit should be correct too.
</pre>
</div>
</content>
</entry>
<entry>
<title>samterm: retina scaling for scroll bars, borders</title>
<updated>2012-11-26T05:23:06+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2012-11-26T05:23:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=c28224992a8e0093f3629afb747c8a1a876683e3'/>
<id>c28224992a8e0093f3629afb747c8a1a876683e3</id>
<content type='text'>
R=rsc
http://codereview.appspot.com/6844083
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
R=rsc
http://codereview.appspot.com/6844083
</pre>
</div>
</content>
</entry>
<entry>
<title>Better tick management - no frdrawseltick calls.</title>
<updated>2007-05-10T19:27:45+00:00</updated>
<author>
<name>rsc</name>
<email>devnull@localhost</email>
</author>
<published>2007-05-10T19:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=af4c27865c17dd274cc92cb4a464cb273e4e61ec'/>
<id>af4c27865c17dd274cc92cb4a464cb273e4e61ec</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>manage off-screen tick better</title>
<updated>2007-05-10T19:08:47+00:00</updated>
<author>
<name>rsc</name>
<email>devnull@localhost</email>
</author>
<published>2007-05-10T19:08:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=7a3533513e6f401bf62d94d4577922771090ffb4'/>
<id>7a3533513e6f401bf62d94d4577922771090ffb4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add autoindent (-a) and chording.</title>
<updated>2005-01-27T06:10:35+00:00</updated>
<author>
<name>rsc</name>
<email>devnull@localhost</email>
</author>
<published>2005-01-27T06:10:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=17ab31aac6639e210613691669163b0c2874d1ce'/>
<id>17ab31aac6639e210613691669163b0c2874d1ce</id>
<content type='text'>
clean up argument parsing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clean up argument parsing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial revision</title>
<updated>2003-09-30T17:47:44+00:00</updated>
<author>
<name>rsc</name>
<email>devnull@localhost</email>
</author>
<published>2003-09-30T17:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=84b1cb73b3f0837f5b959579818158fbb2b1b206'/>
<id>84b1cb73b3f0837f5b959579818158fbb2b1b206</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
