<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/cmd/samterm, 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>Trivial changes: whitespace and modes.</title>
<updated>2020-01-10T14:54:30+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2020-01-10T14:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=fa325e9b42b0bdfb48857d1958d9fb7ceac55151'/>
<id>fa325e9b42b0bdfb48857d1958d9fb7ceac55151</id>
<content type='text'>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samterm: stop ignoring all keys &gt;= Kcmd</title>
<updated>2019-04-05T19:12:41+00:00</updated>
<author>
<name>Pocket7878</name>
<email>poketo7878@gmail.com</email>
</author>
<published>2019-04-05T19:12:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=9179fdaaf4fb5748832b2162d35a515133bad0f5'/>
<id>9179fdaaf4fb5748832b2162d35a515133bad0f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>samterm: free some getenv results</title>
<updated>2018-03-27T13:03:12+00:00</updated>
<author>
<name>Xiao-Yong Jin</name>
<email>xjin@anl.gov</email>
</author>
<published>2018-03-22T03:24:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=75ea8515a5cd26817b4eb5de99eeb6934def9328'/>
<id>75ea8515a5cd26817b4eb5de99eeb6934def9328</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>This should resolve the crash indicated in issue 44:</title>
<updated>2010-02-19T06:32:37+00:00</updated>
<author>
<name>Eoghan Sherry</name>
<email>ejsherry@gmail.com</email>
</author>
<published>2010-02-19T06:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=93ee60c3691d2b4699e970d63363500cade26264'/>
<id>93ee60c3691d2b4699e970d63363500cade26264</id>
<content type='text'>
http://code.swtch.com/plan9port/issue/44/sam-crash

R=rsc
CC=codebot
http://codereview.appspot.com/207094
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
http://code.swtch.com/plan9port/issue/44/sam-crash

R=rsc
CC=codebot
http://codereview.appspot.com/207094
</pre>
</div>
</content>
</entry>
<entry>
<title>merge</title>
<updated>2009-04-30T14:29:24+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2009-04-30T14:29:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=4aad1a325813fa6eed5d29d5dd31f18eae1f006d'/>
<id>4aad1a325813fa6eed5d29d5dd31f18eae1f006d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>shut up gcc</title>
<updated>2006-04-20T20:47:11+00:00</updated>
<author>
<name>rsc</name>
<email>devnull@localhost</email>
</author>
<published>2006-04-20T20:47:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=f8e39513f37e870d6be6aad7b5013b603f12cae8'/>
<id>f8e39513f37e870d6be6aad7b5013b603f12cae8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
