Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - emacs for QNX?: (3 Items)
   
emacs for QNX?  
Hi community gurus,

 

Does anyone have an emacs package that will either plug in to Momentics,
or run under QNX self-hosted?

 

Thanks,

Keith

Re: emacs for QNX?  
very simple to create and use microemacs edition with QNX             (em-4.0.18.tar.gz) in CLI mode.
SNS
Re: emacs for QNX?  
> very simple to create and use microemacs edition with QNX             (em-4.0.
> 18.tar.gz) in CLI mode.
> SNS

Yes, it compiles and runs with very little trouble. However, "as is" it does a spinwait for characters from the keyboard
. This eats up all the CPU, which causes Photon sessions to hang. The solution is to put a nanosleep() in the spinloop, 
in the file termio.c, in the routine ttgetc(). I used a value of 1 millisecond.

There might be a way to tweak the configuration settings to avoid the spinloop altogether, but this turned out to be 
easiest for me.