I write library for for contactless card readers. They use USB or RS232.
Now I use SlickEdit as my IDE under Linux. But right now I have strange problem which is may be not a SlickEdit related.
Here it goes.
I must enumerate all RS232 devices (ttyS*). So I use Open and if the function manage to open the port I write it down.
To open the port there is no need to have connected device to it. It must be active (for example cat /dev/ttyS0) will start read.
Since I don't have RS232 on my laptop and none of my ttyS* are active, I linked ttyS0 to another device (so I can do my tests).
I linked it to /dev/tty (which is of course opened ).
BUT !!!
When I try (cat /dev/tty) in the SlickEdit console I get cat: /dev/tty: No such device or address.
This is only when I try it in the integrated console. In any other way it works OK. So now I can't debug my test since there are virtualy no active ttyS*
according to the SlickEdit environment.
I someone has simmilar problem please write. I can't find any information related to my problem. I guess is somehow more specific or strange.
---
Best Regards !!!