mirror of
https://github.com/dschmenk/apple2pi.git
synced 2025-02-22 08:29:09 +00:00
slightly update ][ keymap, fix for text2merlin running off in the weeds
This commit is contained in:
parent
be142a8da0
commit
6c813637fd
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
||||
PACKAGE=a2pi
|
||||
VERSION=0.1.4
|
||||
VERSION=0.1.5
|
||||
DIST=$(PACKAGE)-$(VERSION)
|
||||
DISTDIR=./$(DIST)
|
||||
|
||||
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
a2pi (0.1.5-1) unstable; urgency=low
|
||||
|
||||
* One more attempt at mouse acceleration, Apple ][/][+ support
|
||||
|
||||
-- David Schmenk <dschmenk@gmail.com> Mon, 16 Nov 2013 22:17:40 -0800
|
||||
|
||||
a2pi (0.1.4-2) unstable; urgency=low
|
||||
|
||||
* Fix postinst to not comment out all T* lines
|
||||
|
Binary file not shown.
37
share/text2merlin.c
Normal file → Executable file
37
share/text2merlin.c
Normal file → Executable file
@ -3,22 +3,23 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int fout;
|
||||
char c;
|
||||
|
||||
if (argc > 1)
|
||||
fout = open(argv[1], O_WRONLY|O_CREAT, 0644);
|
||||
else
|
||||
fout = 1;
|
||||
while ((c = getc(stdin)) != EOF)
|
||||
{
|
||||
if (c == '\n')
|
||||
c = '\r';
|
||||
if (c == '\t')
|
||||
c = ' ';
|
||||
c |= 0x80;
|
||||
write(fout, &c, 1);
|
||||
}
|
||||
close(fout);
|
||||
return (0);
|
||||
int cin, fout;
|
||||
char c;
|
||||
|
||||
if (argc > 1)
|
||||
fout = open(argv[1], O_WRONLY|O_CREAT, 0644);
|
||||
else
|
||||
fout = 1;
|
||||
while ((cin = getchar()) != EOF)
|
||||
{
|
||||
c = cin;
|
||||
if (c == '\n')
|
||||
c = '\r';
|
||||
if (c == '\t')
|
||||
c = ' ';
|
||||
c |= 0x80;
|
||||
write(fout, &c, 1);
|
||||
}
|
||||
close(fout);
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user