Path: utzoo!attcan!uunet!munnari!mulga!wcc!latcs1!ditmela!yarra!cit5!koel!goanna!dmh From: dmh@goanna.oz (Darren Hosking) Newsgroups: comp.unix.xenix Subject: Disabling ctrl-C and variables Message-ID: <1859@goanna.oz> Date: 19 Jan 89 01:56:19 GMT Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 17 I have two questions about cross development from Xenix to DOS :- 1) How can you disable ctrl-C from C? I have tried calling DOS routine 0x33 to turn off ctrl-C (using the Xenix bdos function) but ctrl-C still stops the program (the return value says everything is ok). 2) How do you access DOS variables (like PATH etc) from a C program cross compiled from Xenix to DOS? I think you have to look up the Program Segment Prefix but how? Thanks in advance, dmh Darren Hosking ACSnet: dmh@goanna.oz Department Of Computer Science ARPA: dmh%goanna.oz.au@uunet.uu.net RMIT CSNET: dmh%goanna.oz.au@australia GPO Box 2476V UUCP: ...!uunet!goanna.oz.au!dmh Melbourne Vic., Australia 3001