[Lcdproc] serialPOS driver
Eric Pooch
epooch@cox.net
Sun Feb 4 21:56:00 2007
--Apple-Mail-11--954604670
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
sorry, the bug was worse than I thought, but it the variable really
isn't used.
--Apple-Mail-11--954604670
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name=serialPOS.patch
Content-Disposition: attachment;
filename=serialPOS.patch
--- serialPOS-old.c 2007-02-04 13:50:00.000000000 -0800
+++ serialPOS.c 2007-02-04 13:48:37.000000000 -0800
@@ -154,8 +154,8 @@
CGmode ccmode;
/* feature enable */
- int *hardwrap;
- int *hardscroll;
+ int hardwrap;
+ int hardscroll;
POS_EmulationType emulation_mode; /* The emulation type */
int output_state; /* static data from serialPOS_output */
--Apple-Mail-11--954604670
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=WINDOWS-1252;
delsp=yes;
format=flowed
--Eric
On Feb 4, 2007, at 1:14 PM, Peter Marschall wrote:
> Hi Eric,
>
> On Sunday, 4. February 2007 19:23, Eric Pooch wrote:
>> driver and docbook for text based serial Point of Sale displays.
>> Currently only supports the AEDEX protocol, but can be extended to
>> use other text-based POS emulation protocols.
>>
>> These can be picked up cheap on ebay if you look around. They also
>> usually come with full rs232 support and a power adapter.
>
> Thanks a lot.
>
> I added the files to CVS and tried to integrate them into
> LCDproc's build infrastructure.
> A short test showed that the driver gets included when
> configure'd with --enable-drivers=3Dall.
>
> However I noticed a few warnings when compiling it:
> serialPOS.c: In function =91serialPOS_flush=92:
> serialPOS.c:543: warning: comparison between pointer and integer
> serialPOS.c: In function =91serialPOS_linewrap=92:
> serialPOS.c:641: warning: assignment makes pointer from integer =20
> without a cast
> serialPOS.c: In function =91serialPOS_autoscroll=92:
> serialPOS.c:657: warning: assignment makes pointer from integer =20
> without a cast
>
> I haven't look at them, they might be harmless.
> Would you please have a quick look ?
>
> Thanks for the driver
> Peter
>
>
> --=20
> Peter Marschall
> peter@adpm.de
> _______________________________________________
> LCDproc mailing list
> LCDproc@lists.omnipotent.net
> http://lists.omnipotent.net/mailman/listinfo/lcdproc
--Apple-Mail-11--954604670--