[PATCH] Cygwin: Provide more COM devices

Achim Gratz Stromeko@nexgo.de
Sun Nov 3 19:13:00 GMT 2019

Corinna Vinschen writes:
> ttyS%(0-255) takes another 23K btw.  Even that should be ok, if
> the need arises.  Alternatively we could shortcut shilka as for
> /dev/sd*, but that involved much bigger numbers.

I've searched for some documentation (anywhere the glob syntax %(1-128)
would turn up, btw?) and I think Cygwin is misusing shilka a bit here.
It's a keyword scanner, so the arithmetically coded parts of the device
shouldn't be targeted at all.  Instead, only the device path prefix
should be searched via the shilka lexer and the rest of the conversion
done in code.  For the disks we might keep the globbing that gets us the
device major part.  That of course means we construct more devices
on-the-fly (or even all of them) and have a much smaller table of static
device entries (which get searched linearly, so in the end that should
be a net speed improvement).

+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:

More information about the Cygwin-patches mailing list