Libssh, X11 forewarding - x11

i am trying to user X11 forwarding with libssh. Because i have not found good examples for doing so, can anyone give me some example how to use X11 with libssh?
Thanks!

Did you read the tutorial with code examples?
http://api.libssh.org/master/libssh_tutor_forwarding.html

I too was trying to get X11 working with libssh but had no success. I was only able to push through regular cmds that didn't require a GUI.
If java is an option for you I would recommend the Java Secure Channel library. Documentation isn't so good but there's an examples folder with X11 code that really helped me. It worked great with xming.
http://www.jcraft.com/jsch/

Related

How to install luaver in Windows?

Im sorry to bother you with something that might seem so basic, but Im just starting out and after installing lua on my pc, I found out that I needed version 5.1 instead of 5.3, so searching for how to keep both of them I found luaver, https://github.com/DhavalKapil/luaver. But I have had no luck installing it on windows, I tried using curl but to be honest I have no idea how to use it so I just copied the code on luaver but it didnt work (most likely because that was a code for Unix).
So if any of you kind experts could help me with this or at least direct me to some other alternative to have and change between two versions of lua it would be very much appreciated.
Thanks in advance.

Remote Debugging Hosted Lua

I am using Lua 5.3, hosting it in a C++ application. The C++ application provides various functions to a running Lua script. I would like to allow users to debug their Lua, while it is running in my application. I believe this is possible, but I can not find any recent information on doing this, only for older versions of Lua and this does not seem to work.
Can anyone please help me to get debugging a Lua script running under my application up and running? Any help would be greatly appreciated.
Thank you!
The easiest way that I know of is to use ZeroBrane's remote debugging capabilities. Their document explains it pretty nicely, but for the sake of self-containment:
Set your embedded Lua's path/cpath to zerobrane's stuff, or copy the mobdebug.lua file to your sources.
Add require('mobdebug').start() to the beginning of your code
You should be able to debug now. After you start your program, breakpoints set in the Lua sources should get hit.
This approach works best if you use ZB to edit your Lua files, which implies using a different editor for the C++ part. I found this to work reasonably well in practice, though.

Qt code port to marmalade

I know Marmalade is very good for c++ code porting but I would like to know how could it possible to port my Qt code to marmalade?
Can anyone tell how simple "hello world" Qt-application could be ported to marmalade?
I have setup every thing for marmalade on Windows machine. Also I have already setup Qt.
Please, share any kind of info or tutorials here.
I'm pretty sure it's not possible with IwGx and its subcomponents and probably not with s3e. You can try using IwUI, but I don't think it will work.
Another thing, Qt doesn't support all the platforms Marmalade does, so you won't reach the clients you might want to get to.
I found this on the marmalade forum, which might be useful.
http://www.madewithmarmalade.com/ru/node/57339
Hope it helps!

receive data from microphone in scheme

I want to make voice pitch classfying program in scheme
target platform is windows xp, 7
development environment is DrRacket 5.1
for that, I want to know how to receive data from microphone
could somebody kindly let me know?
any suggestion and advice are also welcome!
thanks alot!
If I wanted to accomplish this, I would probably work on extending the PortAudio connection contained in the RSound planet package. This would almost certainly involve some careful study of the PortAudio interface. Alternatively, you could connect directly to the Windows API's; I hear they're fairly nice. I'm afraid that the short answer is that it's not a simple question of using an existing interface.

Free SMS Gateway Engine

Recently I was looking for SMS (mainly) gateway, free, and preferably, open source. I ran into Kannel which fits my needs so far, and more. However, I was hoping for something that is Windows-based (Kannel is Linux-based)... well, I know Kannel can be compiled and run using Cygwin, but it won't be as reliable as on Linux.
Does anyone know about similar thing on Windows? I'm not looking for a full-featured enterprise solution, something as simple as Kannel (and engine with few API's) is okay with me.
http://smsrobot.sourceforge.net
Cygwin is not necessarily less reliable. If Kannel works on that, my advice would just be to use it.
I know one working Kannel installer build (1.4.3 and CVS) for Windows prepared by archi.tech company. It's built using cygwin and includes some patches for better stability.
This is available here: http://www.thearchitech.com/downloads/

Resources