LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-21-2011, 10:33 PM   #1
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Rep: Reputation: 179Reputation: 179
GNU Common LISP package implementing forkpty()


I seek a GNU Common LISP package which implements forkpty(); openpty() would also be a big plus, and login_tty() would be a luxury I could live with. (Duckduckgo, Google, etc. were of no help.)
 
Old 03-25-2011, 04:45 AM   #2
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 139Reputation: 139
Have you tried using the foreign function interface? I can't find any docs on it - if you can bear using clisp they have a well-documented ffi that I find fairly easy to use.
 
1 members found this post helpful.
Old 03-25-2011, 05:20 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
and did you try the lisp mailing list? http://www.faqs.org/faqs/lisp-faq/part4/section-9.html
 
1 members found this post helpful.
Old 03-25-2011, 07:50 AM   #4
wje_lq
Member
 
Registered: Sep 2007
Location: Mariposa
Distribution: FreeBSD,Debian wheezy
Posts: 811

Original Poster
Rep: Reputation: 179Reputation: 179
John and Anisha, thanks to you both. My goal is to be able to use LISP as a full-bodied replacement for C, at least in some applications. Unfortunately, I seem to have run up against a limitation of GNU Common Lisp which I discuss here. I'm anticipating that in response to my bug report they'll say "Ignoring signal SIGCLD except during (posix:wait) is not a bug, it's a feature."

If that ends up being the case, I'll continue using LISP as merely a back-end data processor with which my main process will communicate via pseudoteletype and files. A pity, really. If that happens, I'll not invest the time investigating FFI. Sigh.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Common Lisp tuning for Gedit entz Linux - Software 12 08-30-2010 08:46 AM
Common Lisp functions. zaxonus Programming 2 07-09-2010 04:30 PM
can I make C + common lisp simpler than C alone? ta0kira Programming 7 03-08-2009 10:56 PM
Programming Ideas in Common Lisp Trizon Programming 1 03-03-2008 02:07 PM
Common Lisp stand alone question Trizon Programming 5 05-23-2007 09:07 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration