* [IIS] E/S standards via la console @ 1997-10-03 23:05 flam 1997-10-05 17:52 ` Micheal A. Benzinger 0 siblings, 1 reply; 9+ messages in thread From: flam @ 1997-10-03 23:05 UTC (permalink / raw) To: gnu-win32 [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 597 bytes --] Bonjour à tous, Je cherche un moyen pour échanger des infos avec IIS par le biais des E/S standards via la console. Le but étant de créer des scripts CGI avec un langage qui n'accède pas aux E/S standards. Si possible, j'aimerais que cela fonctionne avec Windows95 et WindowsNT. Quelqu'un utilise-t-il ou a-t-il développé un outil de ce genre ? Merci par avance. Salutations. flam PS : Désolé mais je ne parle pas anglais. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [IIS] E/S standards via la console 1997-10-03 23:05 [IIS] E/S standards via la console flam @ 1997-10-05 17:52 ` Micheal A. Benzinger 1997-10-06 15:47 ` Charles Curley 1997-10-06 21:22 ` Ed Huott 0 siblings, 2 replies; 9+ messages in thread From: Micheal A. Benzinger @ 1997-10-05 17:52 UTC (permalink / raw) To: flam, gnu-win32 [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1273 bytes --] For those of you who don't speak French and might be able to offer a helping hand, here is a translation: Hi everybody, I am looking for a way to exchange information with IIS by means of the E/S standards via the console. The goal being to create some CGI scripts with a language that does not have access to the E/S standards. If possible, I would prefer that this works with Windows 95 and NT. Does someone use or has someone developed a utility of this type. Thanks in advance, flam PS: Sorry but I don't speak English. A flam, J'espère que cela vous aide avec vos recherches dans ce groupe. Mike At 10:04 AM 10/4/97 +0400, flam wrote: >Bonjour à tous, > > >Je cherche un moyen pour échanger des infos avec IIS par le biais des >E/S standards via la console. >Le but étant de créer des scripts CGI avec un langage qui n'accède pas >aux E/S standards. > >Si possible, j'aimerais que cela fonctionne avec Windows95 et WindowsNT. > >Quelqu'un utilise-t-il ou a-t-il développé un outil de ce genre ? > >Merci par avance. > >Salutations. > >flam > >PS : Désolé mais je ne parle pas anglais. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [IIS] E/S standards via la console 1997-10-05 17:52 ` Micheal A. Benzinger @ 1997-10-06 15:47 ` Charles Curley 1997-10-06 19:07 ` Micheal A. Benzinger 1997-10-06 23:19 ` flam 1997-10-06 21:22 ` Ed Huott 1 sibling, 2 replies; 9+ messages in thread From: Charles Curley @ 1997-10-06 15:47 UTC (permalink / raw) To: flam, gnu-win32; +Cc: Micheal A. Benzinger [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 1686 bytes --] At 07:54 PM 10/5/97 -0500, Micheal A. Benzinger wrote: >For those of you who don't speak French and might be able to offer >a helping hand, here is a translation: Merci (which just about exhausts my French :-) Michael, are you willing to translate for Flam? If not, perhaps he can get someone else? > >Hi everybody, > >I am looking for a way to exchange information with IIS by means >of the E/S standards via the console. The goal being to create >some CGI scripts with a language that does not have access to the >E/S standards. The only "IIS" I know about is Microsoft's Internet Information Server, which comes as a freebie with NT 4.0. Is that the one to which you are referring? Unfortunately, I have no idea what the E/S standards are to which you refer. Anyone else? I have used IIS Version 2, and recommend you stay away from it. Version 3 should be better. I do not believe either one runs on W95, but I have not tried it. The Apache group has released a beta NT Apache. If you are on this list because you are accustomed to both NT and Unix, you might find an NT version of Apache easier to work on. I do not know if Apache works on W95. > >If possible, I would prefer that this works with Windows 95 and NT. > >Does someone use or has someone developed a utility of this type. > >Thanks in advance, > >flam > >PS: Sorry but I don't speak English. > > >A flam, > >J'espère que cela vous aide avec vos recherches dans ce groupe. > >Mike -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [IIS] E/S standards via la console 1997-10-06 15:47 ` Charles Curley @ 1997-10-06 19:07 ` Micheal A. Benzinger 1997-10-06 23:19 ` flam 1 sibling, 0 replies; 9+ messages in thread From: Micheal A. Benzinger @ 1997-10-06 19:07 UTC (permalink / raw) To: Charles Curley, flam, gnu-win32 [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2597 bytes --] Charles Here's the translation for flam. Mike >Merci (which just about exhausts my French :-) > >Michael, are you willing to translate for Flam? If not, perhaps he can get >someone else? > Merci (c'est tout le français que je connais) Michael, voulez-vous traduire for Flam? Si non, peut-être il peut trouver quelqu'un d'autre? >> >>Hi everybody, >> >>I am looking for a way to exchange information with IIS by means >>of the E/S standards via the console. The goal being to create >>some CGI scripts with a language that does not have access to the >>E/S standards. > >The only "IIS" I know about is Microsoft's Internet Information Server, >which comes as a freebie with NT 4.0. Is that the one to which you are >referring? > Le seul "IIS" que je connais est l'Internet Information Server de Microsoft, qui est distribué gratuitement avec NT 4.0. Est-ce bien à ce logiciel que vous référez? >Unfortunately, I have no idea what the E/S standards are to which you >refer. Anyone else? > Malheureusement, je ne connais pas les standards E/S dont vous parlez. > >I have used IIS Version 2, and recommend you stay away from it. Version 3 >should be better. I do not believe either one runs on W95, but I have not >tried it. The Apache group has released a beta NT Apache. If you are on >this list because you are accustomed to both NT and Unix, you might find an >NT version of Apache easier to work on. I do not know if Apache works on W95. > J'ai utilisé IIS Version 2, et je recommnde que vous l'évitez. La Version 3 est meilleure. Je ne crois pas que ni l'un, ni l'autre march sur Windows 95, mais je ne l'ai pas essayé. Le groupe Apache a relâché un beta de Apache pour Windows NT. Si vous vous abonnez à cette liste parce que vous êtes habitué à NT et UNIX, vous pourriez trouver une version NT de Apache plus facile à employer. Je ne sais pas si Apache marche sur Windows 95. > > > > -- C^2 > >Looking for fine software and/or web pages? > http://web.idirect.com/~ccurley > > Flam Je ne pense pas que la réponse répond à votre demande, mais je vous l'ai traduit quand même. Quant à ma traduction anterieure et votre réponse, il n'y a pas de quoi. Bonne chance avec vos recherches! Mike PS Je ne connais pas l'Ile de la Réunion, que la France. Il doit faire hyper-beau là -bas. Maintenant j'habite le Texas aux USA et en été il fait beaucoup trop chaud. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [IIS] E/S standards via la console 1997-10-06 15:47 ` Charles Curley 1997-10-06 19:07 ` Micheal A. Benzinger @ 1997-10-06 23:19 ` flam 1997-10-08 14:47 ` Charles Curley 1 sibling, 1 reply; 9+ messages in thread From: flam @ 1997-10-06 23:19 UTC (permalink / raw) To: Charles Curley, gnu-win32 Hi everybody, I test to write in english (Sorry in advance). I thank you for yours answers and Michael for his translation. >Charles Curley wrote: > > (...) > The only "IIS" I know about is Microsoft's Internet Information Server, > which comes as a freebie with NT 4.0. Is that the one to which you are > referring? Yes. > Unfortunately, I have no idea what the E/S standards are to which you > refer. Anyone else? I have readed "Golden book - Windows NT 3.5 Programmation" by Brian Myers & Eric Hamer. (I don't know if it's the original title). In Chapter 17 - API of console, the I/O standards is : CONIN$ (equal stdin) and CONOUT$ (stdout) using with CreateFile(). I hav'nt find example for use in this book. > I have used IIS Version 2, and recommend you stay away from it. Version 3 > should be better. I do not believe either one runs on W95, but I have not > tried it. > (...) Even if CONIN$ and CONOUT$ don't exist with WindowsNT 4, it is possible to create a C program to communicate with IIS (or any Internet Server). MY_PROGRAM.EXE <--> C_PROGRAM_I/O <--> IIS I want not to use IIS with Windows95. Actually i use Windows95 and OmniHTTPd (Server). If my C program run with him, this program will run with WindowsNT and IIS, i think. Other question concerning the console : The golden book indicate that the option of compiling is : -subsystem:console Have Gnu-win32 an equivalent of this option ? I hope that this help you. I thank you for your help. Salutations. flam PS : I'm sorry if my text is direspectful, it's not my objective. My "english" is very bad. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [IIS] E/S standards via la console 1997-10-06 23:19 ` flam @ 1997-10-08 14:47 ` Charles Curley 1997-10-12 16:02 ` Fernandes, Hilton 0 siblings, 1 reply; 9+ messages in thread From: Charles Curley @ 1997-10-08 14:47 UTC (permalink / raw) To: flam, Micheal A. Benzinger; +Cc: gnu-win32 At 10:08 AM 10/7/97 +0400, flam wrote: >Hi everybody, > > >I test to write in english (Sorry in advance). Your english is fine. It's better than some native speakers' english. > >I thank you for yours answers and Michael for his translation. > > >>Charles Curley wrote: >> >> (...) >> The only "IIS" I know about is Microsoft's Internet Information Server, >> which comes as a freebie with NT 4.0. Is that the one to which you are >> referring? > >Yes. > > >> Unfortunately, I have no idea what the E/S standards are to which you >> refer. Anyone else? > >I have readed "Golden book - Windows NT 3.5 Programmation" by Brian >Myers & Eric Hamer. (I don't know if it's the original title). > >In Chapter 17 - API of console, the I/O standards is : CONIN$ (equal >stdin) and CONOUT$ (stdout) using with CreateFile(). > >I hav'nt find example for use in this book. OK, that helps. stdin, stderr and stdout are three "files" that are always open for any C program. You should not need to run CreateFile to open them. stdin and stdout are re-directable, i.e. on the command line you can send the output to a file or another process. Stderr is also redirectable under most shells (redirection being a shell function, not a program function). What happens with a CGI program is this: the user input is formatted by the browser and shipped back to the server appended to the URL for a CGI program. The server feeds it to the program. The program picks up the input, some times from the environment, some times from stdin. It processes the data. All output that is intended for the user goes to stdout. Anything the programmer wants to have the server log goes to stderr. The server ships the stdout output to the browser verbatim. The server is the CGI program's shell. > > > >> I have used IIS Version 2, and recommend you stay away from it. Version 3 >> should be better. I do not believe either one runs on W95, but I have not >> tried it. >> (...) > >Even if CONIN$ and CONOUT$ don't exist with WindowsNT 4, it is possible >to create a C program to communicate with IIS (or any Internet Server). > MY_PROGRAM.EXE <--> C_PROGRAM_I/O <--> IIS CONIN$ and CONOUT$ do exist on VC++ 5.0 (They reside in the compiler libraries, not the OS). Read about consoles in Windows Base Services to find out what they do. I've never used them on VC++. On the basis of a brief reading of the doc, I think you can ignore them. Use stdin, etc. > >I want not to use IIS with Windows95. Actually i use Windows95 and >OmniHTTPd (Server). If my C program run with him, this program will run >with WindowsNT and IIS, i think. It should. I have Omnihttpd v 1.01 (1997), their last free version. It does have some problems with server side includes, but their interface to perl appears to work quite well. Their C sample CGI programs all work. You do need to specify the paths and do other setup, but that is documented. IIS supports the same interface, so anything that works on Omnihttpd should work with IIS. > > > >Other question concerning the console : The golden book indicate that >the option of compiling is : -subsystem:console >Have Gnu-win32 an equivalent of this option ? Anyone else? This is a MS VC++ option which forces the linker to use the command line start-up code for a command line (console) program, as opposed to the default of a GUI program. My experience with gcc is on linux. There the default mode is command line (console). >PS : I'm sorry if my text is direspectful, it's not my objective. >My "english" is very bad. Your writing is not disrespectful, and your english is quite good. Stick around, and you will pick up more and learn a lot. If you have any more questions about web servers, drop me a private note, as they are off topic here. However, this is a good place for questions about gcc on WNT/W95. -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [IIS] E/S standards via la console 1997-10-08 14:47 ` Charles Curley @ 1997-10-12 16:02 ` Fernandes, Hilton 1997-10-13 5:01 ` Charles Curley 0 siblings, 1 reply; 9+ messages in thread From: Fernandes, Hilton @ 1997-10-12 16:02 UTC (permalink / raw) To: Charles Curley, owner-gnu-win32, gnu-win32; +Cc: Hilton Fernandes Hi! Thanks for your very informative letter. Since i read it I'm considering to play with Omnihttpd. As far as i understand it is a web server for Win95, right? However, i'd like to tell you of a gotcha that i personally hit real hard. I'm sure you know about this, but just in case you've overlooked this particularity of Windows NT. Under Windows NT it is not true a program has the console trio (stdin, stdout and stderr) automatically open. That's only true for console programs. GUI applications must issue explicitly a AllocConsole() to have the consolo trio open. Best regards, ++Hilton ---- Hilton Fernandes hfernandes@geocities.com http://www.geocities.com/SiliconValley/Lakes/5657 URLs and help on C++ programming and Object-Oriented Design - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [IIS] E/S standards via la console 1997-10-12 16:02 ` Fernandes, Hilton @ 1997-10-13 5:01 ` Charles Curley 0 siblings, 0 replies; 9+ messages in thread From: Charles Curley @ 1997-10-13 5:01 UTC (permalink / raw) To: Fernandes, Hilton; +Cc: gnu-win32 At 21:02 12/10/97 +0000, Fernandes, Hilton wrote: >Hi! > >Thanks for your very informative letter. Since i read it I'm >considering to play with Omnihttpd. As far as i understand it is a >web server for Win95, right? As far as I know, W95 only. I haven't tried it on NT. If I need a web server for NT, I'll grab Apache. > >However, i'd like to tell you of a gotcha that i personally hit real >hard. I'm sure you know about this, but just in case you've >overlooked this particularity of Windows NT. > >Under Windows NT it is not true a program has the console trio >(stdin, stdout and stderr) automatically open. That's only true for >console programs. GUI applications must issue explicitly a >AllocConsole() to have the consolo trio open. Actually, I did not know about that. Thanks. Is that a compiler/library issue, or is that a OS issue? It makes sense, in that most GUI programs don't use console I/O, so why bother with it unless you need it. The question came up in the context of CGI programming. I would write a console program for CGI so I could test it, so I expect the issue has not come up. -- C^2 Looking for fine software and/or web pages? http://web.idirect.com/~ccurley - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [IIS] E/S standards via la console 1997-10-05 17:52 ` Micheal A. Benzinger 1997-10-06 15:47 ` Charles Curley @ 1997-10-06 21:22 ` Ed Huott 1 sibling, 0 replies; 9+ messages in thread From: Ed Huott @ 1997-10-06 21:22 UTC (permalink / raw) To: Micheal A. Benzinger; +Cc: flam, gnu-win32 [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 866 bytes --] Qu'est-ce que c'est "E/S"? -- Micheal A. Benzinger wrote: > > For those of you who don't speak French and might be able to offer > a helping hand, here is a translation: > > Hi everybody, > > I am looking for a way to exchange information with IIS by means > of the E/S standards via the console. The goal being to create > some CGI scripts with a language that does not have access to the > E/S standards. > > If possible, I would prefer that this works with Windows 95 and NT. > > Does someone use or has someone developed a utility of this type. > > Thanks in advance, > > flam > > PS: Sorry but I don't speak English. > > A flam, > > J'espère que cela vous aide avec vos recherches dans ce groupe. > > Mike - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request@cygnus.com" with one line of text: "help". ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1997-10-13 5:01 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 1997-10-03 23:05 [IIS] E/S standards via la console flam 1997-10-05 17:52 ` Micheal A. Benzinger 1997-10-06 15:47 ` Charles Curley 1997-10-06 19:07 ` Micheal A. Benzinger 1997-10-06 23:19 ` flam 1997-10-08 14:47 ` Charles Curley 1997-10-12 16:02 ` Fernandes, Hilton 1997-10-13 5:01 ` Charles Curley 1997-10-06 21:22 ` Ed Huott
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).