[comp.os.vms] SMG and Tab Stops

nagy%warner.hepnet@LBL.ARPA.UUCP (09/21/87)

     
>>    When I write Pascal programs employing the SMG$ run time library I get
>>    different behavior in the following setting.  If the screen contains
>>    blank space, either because of a virtual display pasted at other than
>>    column 1 or because of multiple spaces within a line, it is displayed
>>    correctly on the pbx lines but incorrectly on the modem lines even
>>    though the code is identical....
     
>Since your problems show up with spacing, make sure that (a) Tab stops are
>set correctly on all devices - MUST be every 8 spaces; (b) the VMS SET TERM/TAB
>setting is the same for all lines involved.
>                            -- Jerry

Let me add a little amplification to Jerry's comment:

		ALL SMG Users, Please Note:

	When using SMG, the terminal line must either be set /NOTAB (i.e.
	tell VMS terminal driver to expand tabs and send spaces to the
	terminal) OR the terminal's tab stop settings MUST BE every 8
	spaces.

This is due to SMG's using "minimal update" which really translates into
"send as few characters to the screen as possible".  Thus SMG assumes the
terminal's tab stops are set every 8 spaces and will send tabs in place
of multiples-of-8 spaces.

This particular problem vexed us for awhile and, when discovered and fixed,
caused two programmers to start breathing again (and stop cursing Digital).
By the way, I found this answer on the Digital Software Information Network
(DSIN) after a bit of searching the solution database (so DSIN is good for
something :-).


= Frank J. Nagy   "VAX Guru"
= Fermilab Research Division EED/Controls
= HEPNET: WARNER::NAGY (43198::NAGY) or FNAL::NAGY (43009::NAGY)
= BitNet: NAGY@FNAL
= USnail: Fermilab POB 500 MS/220 Batavia, IL 60510