Info-IBMPC@WSMR-SIMTEL20.ARMY.MIL ("Info-IBMPC Digest") (04/06/91)
Info-IBMPC Digest Tue, 2 Apr 91 Volume 91 : Issue 76 Today's Editor: Gregory Hicks - Rota Spain <GHICKS@WSMR-Simtel20.Army.Mil> Today's Topics: DescView/X alignment diskettes (V91 #50) WP 5.1 Hard Carriage Returns (V91 #63) (2 msgs) What kind of hard drives do I have?? (V91 #63) NUMLOCK Key - turning on/off (V91 #64) (2 msgs) memory managers PS/2 2nd HD Write Protecting Sub-directories and Files Capturing Graphics Screens Today's Queries: Controlling CTRL-ALT-DELETE from a Batch File PIC, GIF, PCX <-> IMG Math Coprocesser for AT model 5170 Getting OKIDATA 193+ to go Online Omnitronix VideoStream-VCR Tape Backup System info wanted Question about LAN Manager and OS2 ROM Upgrades for Toshiba 1340/1350 Printers? Speakers for IBM-PC's and compatibles COBOL Compiler for PC Wanted Send Replies or notes for publication to: <INFO-IBMPC@WSMR-SIMTEL20.ARMY.MIL> Send requests of an administrative nature (addition to, deletion from the distribution list, et al) to: <INFO-IBMPC-REQUEST@WSMR-SIMTEL20.ARMY.MIL> Archives of past issues of the Info-IBMPC Digest are available by FTP only from WSMR-SIMTEL20.ARMY.MIL in directory PD2:<ARCHIVES.IBMPC>. ---------------------------------------------------------------------- Date: Mon, 25 Mar 91 12:30:00 EST From: Rick Beebe <BEEBE%YALEMED.BITNET@uga.cc.uga.edu> Subject: DescView/X >I will be in charge of setting up a SUN Sparc station with a number of >[text deleted] >... Deskview/X ..... I've been rather disturbed by all the hoopla that Desqview/X has been getting, since it is, still, an unreleased product. The trade mags have been raving about it for well over a year now, and I see people recommending it left and right. (in a similar vein, PC Week just ran an article telling us how wonderful Wordperfect 6.0 is going to be. Scheduled release date: 2nd quarter 1992. Sorry, flame off). Anyway, I spent quite a while talking with the folks at Quarterdeck at Networld. Desqview/X is currently scheduled for release in the 2nd quarter of this year. We'll see. It does appear to work, and from what I saw it actually will be as wonderful as they say. A little disturbing for any VMS sites, however, it won't initially be able to run DECwindows applications (of course, DEC is switching to Motif, so...) In order to get all the best goodies (running DOS in windows, etc), you'll need a 386 (there's a chart in the back of that booklet). Get gobs of memory while you're at it. It will run over Novell or with FTP's software for TCP/IP access. Both of those are, of course, separate. The user portion will cost about as much as regular Desqview, say somewhere $200-300. If you want to be able to port X applications to DOS, you'll need their developers kit which will be about $1000. Rick Beebe (203) 785-4566 Biomedical Computing Unit Yale University School of Medicine 333 Cedar Street, New Haven, CT 06514 BEEBE@YALEMED.BITNET beebe@biomed.med.yale.edu ------------------------------ Date: Mon, 25 Mar 1991 13:47:04 PST From: George_C._Burkitt.El_Segundo@xerox.com Subject: alignment diskettes (V91 #50) >Date: Thu, 28 Feb 91 11:56:32 GMT >From: Peter Keenan <PKEENAN@IRLEARN.BITNET> >are they likely to identify/ realign those drives ... No, the problem of drive head alignment is a mechanical one; it needs to be realigned physically. The diskettes will tell you what type of misalignment there is and when you have corrected it. They are what you need to know when the job is needed and when it has been satisfactorily completed.. ------------------------------ Date: Mon, 25 Mar 91 08:19:30 MST From: d bear <IDDWB%ASUACAD.BITNET@CUNYVM.CUNY.EDU> Subject: Hard Carriage Returns (V91 #63) In Info-IBMPC Digest V91 #63, Dennis M. Price <dprice@caen.engin.umich.edu> asked about taking HRT's out of a document so that WordPerfect would format it correctly. The problem you have is really simple to solve -- but difficult to get right.. the reason is that you will want to leave some hard returns in you document.. for example the double hard return at the end of a paragraph or between lines formatted that way. since this is captured text you will also have a lot of spaces in the document. The first thing to do after retreiving the file in WP is to to a search and replace for all occurrence of a Hrt and spaces -- you will have to look and see what kind of spaces are insert for tabs at paragraph beginnings -- maybe 5 to 8 spaces. Search for them and replace them with an extended ascii char tab combination. You can generate extended ascii chars by holding the alt key down and typing in the numeric keypad the number of the char.. I use alt 225 becuase its easy to remember. After this your document will be formmatted with the ascii char/tab combo at the end of each paragraph. Then you can do a search and replace on all Hrt's, only replace them with a space. Your document will now have all the Hrt's removed. Then you can search and replace the ascii char you previous inserted with a Hrt.. this will reformat the paragraph structure. This will not handle all the situtations where the your document may be strangely formatted, but it will cut through most of the reformatting chore.. Hope this helps D Bear ASU COPP ext 8257 ... the only Bear on campus ... IDDWB@ASUVM.INRE.ASU.EDU ------------------------------ Date: Monday, 25 Mar 1991 09:47:10 EST From: m11805@mwvm.mitre.org (Ted McMichael) Subject: WP 5.1 Hard Carriage Returns In a message dated Wed, 13 Mar 91 11:57:22 EST, that appeared in Info-IBMPC Digest on Tue, 19 Mar 91, Volume 91:Issue 63; Dennis M. Price wrote the following about: Hard Carriage Returns > I have a question: I frequently capture or download text files over > a modem which I would like to incorporate for various reasons into > WordPerfect 5.1. Is there any way to strip off the Hard Carraige > Returns from the DOS text file so that WordPerfect can format the > document properly?? Dennis, The most obvious way is to use the Text In capability. To do this you would utilize the following steps: Ctrl-F5 Text In/Out 1 (or T) DOS Text 3 (or e) Retrieve (CR/LF to [SRt] in HZone) filename of "Document to be retrieved:" That should work for you. However there are other ways to do this. You could create a macro that makes three Replacement passes through your text. On the first pass, you would replace all occur- rences of two Hard Returns with some unique set of characters (like #$%). On the second pass, you would replace all remaining [HRt] codes with a single blank space. Then finally on the third pass, you would replace your unique codes (#$%) with two hard returns to once again establish your paragraph breaks. Hope this helps! Ted McMichael Phone: 703-883-7408 Fax: 703-883-6436 Internet: Ted@MWUNIX.MITRE.ORG Prodigy: HGXR83A US Mail: MITRE, 7525 Colshire Drive, McLean, VA 22102-3481 ------------------------------ Date: Mon, 25 Mar 1991 14:23:55 PST From: George_C._Burkitt.El_Segundo@xerox.com Subject: What kind of hard drives do I have?? (V91 #63) >Date: Sun, 10 Mar 91 22:54:29 CST >From: "Martin A. Tippin" <S088682%UMRVMA.BITNET@uga.cc.uga.edu> Are you sure that the controller you now have won't support the HD floppies? In any case, the old controller part type identifies what kind of hard disk drives it supports, if you talk to the sales person when you order the new one. Or you can check the hard dsk drives for their model type number; if it doesn't include an 'R', it's probably not RLL, and it isn't IDE if you have two cables going to the drive. So it's either ST506/MFM or ESDI, with the odds being 100:1 in favor of MFM. ------------------------------ Date: Mon, 25 Mar 91 08:36:28 EST From: "J. F. Maglio" <JM%SLOAN.BITNET@mitvma.mit.edu> Subject: NUMLOCK Key - turning on/off (V91 #64) I sent a solution privately but for the rest of the subscribers, there is a utility published in PC Magazine, Volume 10, Number 7 called TOGGLE. TOGGLE extends beyond the NUMLOCK key to include toggling the CAPS-LOCK and SCROLL-LOCK keys. TOGGLE Command Jeff Prosise 1988 No. 10 (Utilities) Purpose: Provides a software toggle and an on-screen report of the states of the CapsLock, NumLock, and ScrollLock keys. Format: TOGGLE [+c|-c] [+n|-n] [+s|-s] Remarks: Entered without any parameters, TOGGLE simply reports the current status of the three toggle keys. The c (CapsLock), n (NumLock), and s (ScrollLock) parameters may be added on the TOGGLE command line to change the state of the specified key(s). A + (plus) sign preceding a parameter toggles that key on; a - (minus) sign forces that key off. The optional parameters may be entered singly or in any combination and order, and in upper or lower case. Requested parameter changes are processed before TOGGLE issues its on-screen report. Entering TOGGLE with any unrecognized parameter (/H or ?, for example) produces an error message that displays the correct syntax. With 83-key PC and XT keyboards, which lack status LEDs, TOGGLE eliminates the need to determine the states of the CapsLock, NumLock, and ScrollLock keys by trial and error. Owners of "compatible" 84-key keyboards often find that their status LEDs get out-of-sync with the true states of the toggle keys. This condition arises when an LED-equipped keyboard is matched with an XT BIOS design, which lacks provisions for updating the indicators when a program rather than a keystroke changes the toggle-key state. TOGGLE can be used to restore the synchronization, which will be retained as long as only keystrokes are used to change the toggle keys' status. The BIOS interface for the current 101-key (Enhanced) keyboard causes the machine to boot up with the NumLock state on. All previous keyboards have provided the opposite default condition. Including the line TOGGLE -n in the AUTOEXEC.BAT file will cause the NumLock key to boot up in the off state when using the Enhanced keyboard. 100 REM -- BASIC PROGRAM TO CREATE toggle.COM 110 OPEN "toggle.COM" AS #1 LEN = 1 120 FIELD #1,1 AS A$ 130 CHECKSUM = 0 140 FOR I = 1 TO 43 150 LINESUM = 0 155 PRINT "."; 160 FOR J = 1 TO 8 170 READ BYTE 180 CHECKSUM = CHECKSUM + BYTE 190 LINESUM = LINESUM + BYTE 200 IF (BYTE < 256) THEN LSET A$ = CHR$(BYTE) 210 PUT #1 220 NEXT J 230 READ LINECHECK 240 IF LINECHECK <> LINESUM THEN PRINT "Error in Line";280 + 10 * I 250 NEXT I 260 CLOSE 270 IF CHECKSUM = 28071 THEN PRINT "Successful Completion!" : END 280 PRINT "COM file is not valid!" : END 290 DATA 233, 188, 0, 84, 79, 71, 71, 76, 802 300 DATA 69, 32, 49, 46, 48, 32, 40, 99, 415 310 DATA 41, 32, 49, 57, 56, 56, 32, 90, 413 320 DATA 105, 102, 102, 32, 67, 111, 109, 109, 737 330 DATA 117, 110, 105, 99, 97, 116, 105, 111, 860 340 DATA 110, 115, 32, 67, 111, 46, 13, 10, 504 350 DATA 80, 67, 32, 77, 97, 103, 97, 122, 675 360 DATA 105, 110, 101, 32, 254, 32, 74, 101, 809 370 DATA 102, 102, 32, 80, 114, 111, 115, 105, 761 380 DATA 115, 101, 13, 10, 36, 26, 13, 10, 324 390 DATA 85, 115, 97, 103, 101, 58, 32, 32, 623 400 DATA 84, 79, 71, 71, 76, 69, 32, 91, 573 410 DATA 43, 99, 124, 45, 99, 93, 32, 91, 626 420 DATA 43, 110, 124, 45, 110, 93, 32, 91, 648 430 DATA 43, 115, 124, 45, 115, 93, 13, 10, 558 440 DATA 36, 13, 10, 32, 32, 32, 32, 67, 254 450 DATA 97, 112, 115, 76, 111, 99, 107, 32, 749 460 DATA 32, 32, 58, 32, 32, 36, 32, 32, 286 470 DATA 32, 32, 78, 117, 109, 76, 111, 99, 654 480 DATA 107, 32, 32, 32, 32, 58, 32, 32, 357 490 DATA 36, 32, 32, 32, 32, 83, 99, 114, 460 500 DATA 111, 108, 108, 76, 111, 99, 107, 32, 752 510 DATA 58, 32, 32, 36, 79, 110, 13, 10, 370 520 DATA 36, 79, 102, 102, 13, 10, 36, 184, 562 530 DATA 64, 0, 142, 192, 252, 190, 129, 0, 969 540 DATA 172, 60, 32, 116, 251, 60, 13, 116, 820 550 DATA 63, 60, 43, 116, 16, 60, 45, 116, 519 560 DATA 12, 180, 9, 186, 78, 1, 205, 33, 704 570 DATA 184, 1, 76, 205, 33, 172, 36, 223, 930 580 DATA 180, 16, 60, 83, 116, 12, 180, 32, 679 590 DATA 60, 78, 116, 6, 180, 64, 60, 67, 631 600 DATA 117, 223, 128, 124, 254, 43, 117, 7, 1013 610 DATA 38, 8, 38, 23, 0, 235, 193, 246, 781 620 DATA 212, 38, 32, 38, 23, 0, 235, 184, 762 630 DATA 180, 9, 186, 3, 1, 205, 33, 180, 797 640 DATA 9, 186, 121, 1, 205, 33, 180, 64, 799 650 DATA 232, 29, 0, 180, 9, 186, 142, 1, 779 660 DATA 205, 33, 180, 32, 232, 17, 0, 180, 879 670 DATA 9, 186, 161, 1, 205, 33, 180, 16, 791 680 DATA 232, 5, 0, 184, 0, 76, 205, 33, 735 690 DATA 186, 185, 1, 38, 132, 38, 23, 0, 603 700 DATA 116, 3, 186, 180, 1, 180, 9, 205, 880 710 DATA 33, 195, 0, 0, 0, 0, 0, 0, 228 ------------------------------ Date: Mon, 25 Mar 91 19:23:35 GMT From: Bob Eager <rde@ukc.ac.uk> Subject: NUMLOCK Key - turning on/off (V91 #64) The NUM LOCK key is NOT electrically different from the other keys. It is treated differently by the BIOS, which simply flips the NUM LOCK status bit (and light) each time a keypress is detected (actually, on the first key 'make' code after a 'break' code). You can make NUM LOCK transmit a new code in two main ways. First, you can intercept the keyboard interrupt, and map the NUM LOCK key scan code to another before passing it on to the BIOS. Alternatively, if your system has the BIOS facility for key mapping (all PS/2s and many modern BIOSes) you can use that instead. Both methods are reasonably portable (the latter obviously only to those systems that have a suitable BIOS). The first method is used by PD:<MSDOS.KERMIT>NM100.ARC. I tried this program but had a few problems with it (can't remember what now). It also doesn't come with source. So I wrote my GOLD utility, which uses the second method; you can find that in PD:<MSDOS.KEYBOARD>GOLD.ZIP; it does check whether your BIOS supports it and gives a message if not. It also allows the function to be turned on and off. I will be uploading an enhanced version soon. Source in MASM is included. Bob Eager University of Kent, UK ------------------------------ Date: Mon, 25 Mar 91 08:23:00 CST From: CANTRELL%VUCTRVAX.BITNET@uga.cc.uga.edu Subject: memory managers Are you sure that Windows does multitasking? I was under the impression that Windows allowed for context switching. Alan INTERNET -- cantrell@ctrvax.vanderbilt.edu BITNET -- CANTRELL@VUCTRVAX ------------------------------ Date: Mon, 25 Mar 91 11:54:00 EST From: Rick Beebe <BEEBE%YALEMED.BITNET@uga.cc.uga.edu> Subject: PS/2 2nd HD >Microchannel cards don't use setup disks...they're (for the most part) >``self-configuring''. I'd say your best alternative is to go with the >external SCSI setup. >___________________________________________________________________ >| Timothy Buck | | >| timbuck@vtvm1.cc.vt.edu (preferred) | Virginia Tech | >| OR jbuck@vtssi.vt.edu | Blacksburg,VA | >`--------------------------------------------------+---------------' Au contraire. Every microchannel card that I've ever installed has come with a setup disk of sorts. They always need to be copied to the reference disk which you then use to do the actual setup. Microchannel doesn't promise self-configuration--it promises switchless configuration. Rick Beebe (203) 785-4566 Biomedical Computing Unit Yale University School of Medicine 333 Cedar Street, New Haven, CT 06514 BEEBE@YALEMED.BITNET beebe@biomed.med.yale.edu ------------------------------ Date: Mon, 25 Mar 91 15:51:38 GMT From: "L.Borthwick" <gxsx01@udcf.glasgow.ac.uk> Subject: Write Protecting Sub-directories and Files In comp.sys.ibm.pc.digest, Javier A. Herrera <CMSEI53@EOVUOV11.bitnet> writes: > Does anybody if there is a program around that make a sub-directory >and files belonging to it be protected from erasures??? I mean, >read-only files and subdirectory. I've trying just with the sub- >directory entry itself, changing the attribute byte, but it seems not >to work..:( You could always try to hide the sub-directory, use Norton or PCTools, etc. this would make it difficult for ordinary users to damage the files. ------------------------------ Date: 25 March 91, 20:43:43 UPM From: ACDL004@SAUPM00.BITNET Subject: Capturing Graphics Screens Ernie: I wrote a simple program that gives you a graphics display of what you need in text. You can run this and capture the screen as you want. The program is written in Quick BASIC. First create an Ascii file of data with the format " STRING",colornumber " STRING",colornumber for each line. Here goes the program. n%=25 DIM line$(n%), fcol(n%) CLS INPUT " Enter name of the data file : ",file$ OPEN file$ FOR INPUT AS #1 i%=1 WHILE NOT EOF(1) INPUT #1, line$(i%), fcol(i%) i%=i%+1 WEND CLOSE(1) SCREEN 9 ' You can select your screen mode FOR j%=1 TO i% COLOR fcol(j%) PRINT line$(j%) NEXT SLEEP(10) ' Select your time in seconds to capture the screen END An example Data file is " This is a Testing",12 " This is the second line",3 " This is the 5th line",15 " This is blue",1 I hope this will be helpful to you. Regards Nasir Haniffa ACDL004@SAUPM00.BITNET ------------------------------ Subject: Today's Queries: Date: Mon, 25 Mar 1991 10:17 EDT From: PHANTOM <BRPLESHEK%MIAVX2.BITNET@CUNYVM.CUNY.EDU> Subject: CTRL-ALT-DELETE I'm writing a program and executing it by a .bat file and would like to disable the CTRL-ALT-DEL combination while the program is executing and then enable again after the completion of the program. Any help would be appreciated!!! thanx Brian Pleshek brpleshek@miavx0.bitnet brpleshek@miavx9.bitnet ------------------------------ Date: Mon, 25 Mar 91 23:27 GMT +1 From: Zarko Berberski<EBERBERS@yubgef51.bitnet> Subject: PIC, GIF, PCX <-> IMG Does anybody have exact formats of PIC ,GIF, PCX and IMG or source for conversion of PIC, GIF, PCX to/from IMG. I would appreciate anything in human-readable (i.e. not just executable ) form. Zarko Berberski EBERBERS@YUBGEF51.bitnet ------------------------------ Date: Mon, 25 Mar 91 16:50:41 EST From: William French <GUIDO@mitvma.mit.edu> Subject: Math Coprocesser for AT model 5170 When installing a math coprocesser in an AT model 5170, I encountered a strange problem. When the coprocesser is installed, the AT won't boot. If the coprocesser is removed, the AT boots normally. We tried three different coprocessers with identical results. We also tried to install them in an identical model AT, with, again, identical results. The Technical Reference does not indicate that we need to set any switches. The specific symptoms that are evident when we power on the AT with the coprocesser installed are: The monitor stays inactive (white), and the AT hangs somewhere in the initial hardware check. The power and hard disk indicator lights do go on, but the rest never happens. Has anyone on this list encountered a similar problem? Bill French ------------------------------ Date: 25 Mar 91 17:00:00 EDT From: "DRCV06::OPER1" <oper1%drcv06.decnet@drcvax.af.mil> Subject: Getting OKIDATA 193+ to go Online I have an OKIDATA printer that just won't go on-line. If I disconnect the parallel cable the printer comes on-line. But as soon as I reconnect the cable the printer goes off-line and won't come on-line. It doesn't make any difference whether the PC is on or off. I have tried another cable but to no avail. This printer has no serial connection. Glenn. ------------------------------ Date: 25 Mar 91 16:59:00 EDT From: "DRCV06::OPER1" <oper1%drcv06.decnet@drcvax.af.mil> Subject: Omnitronix VideoStream-VCR Tape Backup System info wanted Has any tried/bought a VideoStream-VCR Tape Backup System from OMNITRONIX, INC. I have a VCR so I thought it might be good to use for backups. The ad says a 2 hour tape can hold 90megs. I was wondering if someone had bought one and what they think about it. Glenn. ------------------------------ Date: Mon, 25 Mar 91 15:42:24 CET From: YOON%UNICC.BITNET@pucc.PRINCETON.EDU Subject: Question about LAN Manager and OS2 Hello, I would like to find out if anyone had any experience with running LAN Manager on OS21.2. We are having great difficulty with 1.2 and Lan Man, but can't figure out why. It is SUPPOSED to work ... Any help would be appreciated. Steven Yoon World Health Organization YOON@UNICC ------------------------------ Date: Mon, 25 Mar 1991 11:38:14 -0500 From: Glenn Shorrock <R23754@UQAM> Subject: ROM Upgrades for Toshiba 1340/1350 Printers? Does anyone know of a source for new ROMs to upgrade Toshiba 1340/1350 printers to the newer Toshiba 351 functionality? I've had a lot of success upgrading an Epson FX80 printer to FX86e functionality using Dresselhaus's replacement ROMs and I'd love to be able to do the same thing for our Toshiba printers. Glenn Shorrock Math Dept. Universite du Quebec a Montreal Internet: shorrock @ info.uqam.ca Bitnet: R23754 @ uqam.bitnet ------------------------------ Date: Mon, 25 Mar 91 14:45:36 est From: "Dylan Kaufman" <morgan@chaos.cs.brandeis.edu> Subject: Speakers for IBM-PC's and compatibles Hi, I am interested in building a device which can function as a speaker and a microphone for an ibm-pc or compatibles. I have seen a couple of files around which give information on such endeavors, but haven't been able to find everything I need. There is a file out there somewhere which I can't find called SNDEXPLN.???. I am sure there is also other information on building play back and sampling devices out there someplace. Anything which can assist me with this will be greatly appreciated. Please repond by email, and I will post a summary to the digest. Thank you in advance, -<>Dylan<>- MA EMT-M, CA EMT-1A, BEMCo 107 Dylan Kaufman Major in Computer Science morgan@chaos.cs.brandeis.edu Brandeis University, Waltham, MA ------------------------------ Date: MON, MAR 25 1991 15:35:05 From: Keith J Cunningham <KC5314%BROCK1P.BITNET@ricevm1.rice.edu> Subject: COBOL Compiler for PC Wanted A friend of mine is currently writing source code for Instructional software. His language of choice is COBOL since he heels he knows this language best. I have tried to convince him to learn C, but to no avail. He insists on using COBOL. This leads to another problem, he now needs a compiler for the PC. Does anyone know where he might be able to obtain a compiler other than buying one through Microsoft, preferably PD or shareware. I am sure he will have no problem registering the Software after a trial period. Any comments or advice will be greatly appreciated. Thanx Keith Cunningham SUNY College @ Brockport KC5314@BROCK1P.BITNET ------------------------------ End of Info-IBMPC Digest V91 #76 ******************************** -------