Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

True embedded support #46

Open
simen opened this issue Nov 18, 2013 · 2 comments
Open

True embedded support #46

simen opened this issue Nov 18, 2013 · 2 comments

Comments

@simen
Copy link

simen commented Nov 18, 2013

I am using linenoise over serial on a naked (no OS) ARM Cortex-M4 embedded system. "Ported" the library in 20 seconds by just commenting out the termios, ioctl and file-system dependent stuff. It works perfectly. Does it make sense to apply some ifndef-love to save people like me the trouble of maintaining a separate fork? I can prepare a pull-request if the interest is there.

@UffeJakobsen
Copy link

+1

@vrescobar
Copy link

it makes sense to have a pure library without those side effects (for example, why have a fs? the user may want to use a network query)

@ghost ghost mentioned this issue Oct 29, 2019
cxw42 pushed a commit to cxw42/linenoise that referenced this issue Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants