Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!fuug!demos!sir From: sir@hq.demos.su (Sergey Ryzhkov) Newsgroups: comp.os.msdos.programmer Subject: File truncation in MSDOS? Message-ID: <1991May21.142518.5467@hq.demos.su> Date: 21 May 91 14:25:18 GMT Organization: DEMOS, Moscow, USSR Lines: 23 Dear netpeoples. I have 2 small question about MS-DOS programming. I work with MS-DOS 3.30 and Turbo C 2.0. May anybody help programmer from Moscow. The first question. How I can truncate the tail of the file i.e. delete the part of the file from the current position to the eof. Are there any system service in DOS to do this? The secomd question. How I can to insert the keyboard key combination Ctrl+Shist? I have no problem with such combinations as Ctrl+PgUp or Shift+Ins. But Ctrl+Ins do not generate any input from function getbios () or any other. What can I do? I am not regulary news reader, so if it is not hard for you answer me to my address sir@hq.demos.su or sir@s514.ipmce.su. Sergey Ryzhkow, Moscow, Russia, USSR