| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Comments:
<0> i own domain 4tcp.net <0> i wonder whther to extent it, or stop paying <0> and some other short-name domain <1> Aeon_ is mish@will.work.4tcp.net <0> :-) <0> i tried to give irc cline tfake host name <0> but the server refuses <1> yeah, you need to get a dedicated ip for it. <1> cheapest way is to pay some 'shell provider' for it.. $10-15 USD per month <1> i would absolute love it if my isp delegated reverse dns to me.. :) <0> that includes dedicated IP ? <1> yeah, its usually something like that <0> i have deynamic dns here <0> but the hostname ****s <0> oh wait <1> ips are very cheap to isp that happen to have a lot of them for some legit reason.
<0> why won't i try the dyndns name ... <1> nah, ircd is using the reverse dns. <2> nono you need to own the IP <1> you need to have authority for the reverse dns zone it is in. <1> usually its delegated in 256-ip blocks. <1> so unless you have a whole /24, its seriously unlikely you do your own dns. <1> its not that its not possible to delegate anything smaller.. its just that they almost never will. <0> yeah, it's doin reverse dns <0> i'd like to transfer 4tcp.net to some shell account of good quality <0> can you recommend ? <2> man <2> i need to get $100k on the Sims2 <2> so i can buy the nice house <2> tempted to cheat, but i Wont. <3> rofl <1> naked skin <0> who can recommend decent provider for a shell account <0> I'm sure Teckla can <3> sh3lls <1> Aeon_ http://www.shellreview.com/ <0> yhanks <1> hm, that site seems to have gone downhill in the past few years <1> but there are a few other shell review sites out there, and even a shell review review <1> http://www.eggfaq.com/cgi-bin/rev.cgi <1> i havent purchased a shell in a few years, so im sort of out of the loop. <0> i think i mean more ssh-enabled [web] hosting accounts than irc-shell-accounts <1> personally, my opinion that the best option is to get a commercial account with a local broadband provider so you can host it yourself. <1> main drawback is the lack of reverse dns, but outside of irc, who cares. <4> hey can anybody reccomend a free windows c compiler? <4> is mingw generally considered to be best? <1> depends <1> nothing is best for everything <1> but gcc is a very good compiler, and very flexable, and open <1> mingw is the windows port of gcc. <2> mm <2> MSVC is good <2> it has no C99 support <2> but it has a nice IDE <0> yyeah, tthhere's some free version os msvc <1> gcc is better than msvc overall. msvc is much better for many relatively specific things related to microsoft support <1> msvc's ide is very good. <4> ok so I'm looking at mingw, and correct me if I'm wrong, but mingw does not support the serial port, right? <0> wrong <4> two way com. through serial is the most important feature <0> you can call win32 APIs which in turn support serial port <1> mingw supports all of the base win32 api <4> Aeon_: how hard is that to do? <0> serial is always two way <1> uoficowbo, if you are going to do serious win32 programming, you need to get the platform SDK <0> well <1> it has complete documentation and example code. <0> win32 is not for faint hearted <1> its a free ~1 gb download, or a $5 USD CD <0> but this has nothing to do with mingw or the compiler in general <4> ok well let me explain what I am trying to do <4> I need a program with a GUI that can communicate through the serial port <4> I was thinking GTK for the GUI <1> manipulating the serial port on win32 is very similar to unix.. you basically open the serial port as an ordinary file, and there are some supplementary functions that help you do special serial-specific things. <4> Yeah on Linux it's really easy - like a single line to set it up <0> i don't know whewther cygwin provides serial port posix-style simulation <4> is it like that for windows using mingw?
<0> i don't know <1> on win32, the first serial port is called com1, so you could do something like CreateFile("com1", ...) <4> I believe cygwin does not support the serial port <0> i'm not win32 specialist <1> this is the analog to unix's open("/dev/ttyS0", ...) <1> i dont think either the win32 or unix-style interface is any easier.. they're very similar. <0> AaronWL: I believe win32 has special APIs for serial port <0> where you set baud speed etc <1> right, and so does linux, for eg. <4> ok so the reason I was thinking mingw doesn't support the serial port is because of the last post here: http://support.dataq.com/viewtopic.php?p=2266 <1> its all documented in the appropriate places. for win32, the psdk. <1> uoficowbo, ok i see. you need to understand that mingw is a very poor tool for porting of unix code to windows. <0> uof: are you basing it on the phrase <1> mingw is for windows code, on windows, and portable code, with some unixisms. <0> "Note: neither MinGW nor Cygwin will be able to compile the Linux SDK to work on Windows because they have not implemented the COM port setup calls." ? <0> ? <0> uof: because if you do, that's misunderstanding on your part <4> yeah thats what I was looking at <1> if the 'com port setup calls' are abstracted out, it may be very easy to port it. <4> I wasn't sure if they meant that it wouldn't work just because it was written for linux, or that mingw doesn't support it <4> ahhhhh ok, awesome <1> the msvc runtime, and mingw in particular, are extremely good at making unix code work with a little messing around. <0> uof: you probably need to seek for some cross-platform serial-port programming library <0> that provides same function on win32 and on linux <0> try to find some <1> eg, msvcrt has things that behave like unix fd's, that can map to any win32 file handle. <1> on the other hand, you will need to know what you are doing. this means knowing C, reading docs, etc. <0> he doesn't seem newbie in C <0> right ? <4> well, I am solid in C - just everything I do with it is on embedded systems <0> it looks more like he's having a platform issue <4> so everything is through a terminal <4> and through specialized gcc ports <0> yep <0> you need cross-platform serial communications library <0> or , failing that, this: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp <0> ^^ good tutorial <1> yeah, MS psdk is much better than man pages, in general. <4> well for now I'm sticking with windows, so it doesn't need to be cross platform <0> some people report "/dev/com1" and "/dev/ttyS0" work for them in cygwin <4> once I get it all going in windows I'll probabaly port to Linux, so I'll just use some defines to do that <0> naaa <0> you need a library that someone wrote <0> you're wrong expecting coup[le of defines <1> a set of wrapper functions and typedefs might suffice <4> understand that this is not an app I plan on selling/distributing - it is for me only <4> so it's not like I need it to run on alot of different systems <1> hmm.. does posix specify serial port operation? <0> under "terminal options", yes <0> there's baud rate there\ <0> uoficowbo: i suggest cross-platform libray not because of many platforms, but because you have no idea how to use win32 for serial comm <4> so to use just the serial port within mingw within Windows, I can just do what it says to do in that MSDN article? <0> aha <0> doesn't gtk+ have serial comm library ? <4> Aeon_: can you reccomend one? The reason I'm asking if I can do it without one is that I can't find one <4> not sure, I'll check <0> i know of one commercial <0> can't find the free one on the spot <0> well no, gtk+ doesn't <4> yeah that's what I'm finding too <4> the code on the MSDN page looks fairly trivial though <0> right <4> my only worry is getting it to compile - I'm ***uming I need some specialized header files to get that thing to compile? <0> SDK, as AaronWL said <0> it's downloadable from microsoft.com somewhere <4> and that'd be compatible with mingw? <0> yes <4> sweet, sounds like I have the beginning of a gameplan then <4> you mentioned GTK+ - how is that different from GTK? I need to figure out how to do this GUI <4> err wait - same thing maybe? I just realized the 'GTK' page I was looking at actually says GTK+ <5> GTK c++ <4> ah argh <0> evil: wrong <0> gtk+ is in C
Return to
#c or Go to some related
logs:
emritrade #politics #politics #red #firebird #winvista emerge: there are no ebuilds to satisfy #beginner rtl8185 driver linux 2006 meatspin xmas
|
|