🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6019

Re: MS-DOS Tabs

#6019
From: Adam Goldberg
Date: Wed, 01 May 1991 04:08
28 lines
1764 bytes
Martin.Scharnke@comp.vuw.ac.nz (Martin Scharnke) writes:

>I have a really icky problem...wanting to use the DOS PRINT spooler using the
>multiplex interrupt I have found that tabs are universally expanded to 8 
>spaces.

>		I HATE THIS!!!

>My favourite tab size is 2, and writing a string to my printer to set tab 
>size to 2 is no great hassle (Esc + "e" + 0 + 2 is the string from memory).

>But calling the PRINT spooler (which I do so that I can print in the 
>background) causes space to be sustituted for tabs - Grrrrr!

>Does anyone know of a hack/patch that can change this. Or is my only solution
>to write my own spooling TSR (Something I don't want to have to do! :-} )

How about writing a TSR that gets installed on top of the spooler that does
nothing but expand tabs, and passes everything else through? Should be easy
enough...at the very least, its easier than writing your own spooler.



--
+-----------------------------------------------------------------------------+
! Adam Goldberg           !       *         ! "It's simple! Even a PASCAL     !
! cs352a41@cs.iastate.edu !       *         !  programmer could do it!"       !
+-----------------------------------------------------------------------------+
Technical Details
Message-ID: <cs352a41.673070920@zaphod>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!news.cs.indiana.edu!ux1.cso.uiuc.edu!news.iastate.edu!cs352a41
References: <1991May01.012034.10419@comp.vuw.ac.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!news.cs.indiana.edu!ux1.cso.uiuc.edu!news.iastate.edu!cs352a41
From: cs352a41@cs.iastate.edu (Adam Goldberg)
Newsgroups: comp.os.msdos.programmer
Subject: Re: MS-DOS Tabs
Message-ID: <cs352a41.673070920@zaphod>
Date: 1 May 91 04:08:40 GMT
References: <1991May01.012034.10419@comp.vuw.ac.nz>
Sender: news@news.iastate.edu (USENET News System)
Organization: Iowa State University, Ames IA
Lines: 28