I need to simulate a few serial links (doing a simulation of an application for a robot) and found socat which, at least with minicom, is working flawlessly.
I would really like to make pts static: ie same numbers between reboots, and automatic (not me opening terminals and leaving them with empty socat windows).
Is there a way for this?
Or maybe there is a (super easy!) way of replicating what socat does inside my own program so that I don't have to start multiple executables?
I also have problems with the ports themselves, don't know if these problems stem from the fact they are virtual.
Here is the bulk of the serial code (bluntly copied from link)
All I get is an endless list of
"Resource temporary unavailable"
I think you have to set newtio.c_lflag to something, not just zero. Usually what you do is get the serial port settings, disable the settings you don't want, enable the ones you do, and otherwise -- leave it alone.
I suppose you could make symbolic links to the devices you wanted. The symbolic links would have to change each run, but the programs themselves could connect to a static location.
Last edited by Corona688; 10-05-2012 at 02:10 PM..
Hi guys,
I need to use regular expressions in linux and I'm not quite experience in that field, maybe someone could give me some help with it.
Basically, I need to take a text like this.
A234321=http://www.google..... a normal URL
But, I need to take the string starting at... (0 Replies)
I installed Solaris 10 in an old Dell computer given to me. The filesystem is ZFS (Default).
The problem is that after logging in as root (first login) I wanted to add a user : n2jkw.
I added the user at /export/home/n2jkw
BTW, /export/home is where the 150G extra Hard Drive is mounted to.... (20 Replies)
Hi,
I recently found this article in computerworld and I think it is very true - at least in my company ... what do you guys think - is the author right? Is it ignorant management that makes us IT people seem to be anti-social and weird?
Please share your thoughts
Kind regards
zxmaus (5 Replies)
Hello.
I have got Solaris 10 8/07 on x86 installed successfully using CDs. While I had inserted 1st CD - I created 2 new filesystems also.
But now after entering into Solaris - How do I manipulate sizes or created/delete filesystems by going to terminal?
Thank you! (15 Replies)
I have used link list in my program to operate on set of values
the operations that i am doing : add , delete from link list
when i am deleting the intermidiate or last value it is not giving any error but when i am deleting the 1 st value then program hangs
can anyone suggest me the reason (3 Replies)
Does anyone know something about this? I have no idea what it means and how to do it. but if anyone can give me and explanation and also point me to a website, i'd really appreciate it (5 Replies)
Hello,
i was searching around for good solution for managing many nameservers to add the records on the slave servers and update them and if possible some web-based manegment for non-experianced customers.
anyone has an idea where can i find such solution? (1 Reply)
I need to setup several accounts on a solaris system.
(passwd,shadow,group)
My question is :
How can I create a group which can access a machine, but only in certain directories? (4 Replies)