[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3170.0. "Indentation problem, help needed." by STKHLM::TORZSOK (No good...too complicated !) Thu Jun 11 1992 09:15

	Dear MCC developers ( and other) out there,

	I am trying to solve a indentation output format problem that
	exist in VAX DetMCC/VMS. If for example one do the following:

	DetMCC> define kalle aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
	DetMCC> displ symb

	The output will be:

                            Symbol Name   Symbol Value
                            -----------   ------------
                                  KALLE : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaa


	As you all can see the last of the symbol is not indented in the 
	correct manner. 

	I first thought that the problem was that all output from the process
	running MCC was done to a mailbox ( input done using the pseudo driver)
	so I changed it so all communication was using the pseudo driver 
	instead but got still the same problem.

	I doesn't help to setup the pseudo driver to be a Vt100/vt200/vt300
	tab/nota/wrap/nowrap/crfill/nocrfil/scope etc etc etc.

	So I inserted a breakpoint in the server process that does the 
	communication beatween the MCC process to see what I realy got from
	MCC ( ->PSEUDODRIVER->SERVER process) and found that when it's time
	to do a wrap e.g CR/LF and fillup with spaces to the indentation
	position it doesn't exist any spaces at all, just the CR/LF.

	record: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaCRLFaaaaaaaaaaaaa

	So where are the spaces ?????

	The questions for you that like to help me:

	1) Do anyone of you out there have any id� what to do now ???
	2) How is DECmcc doing the output ( with SMG or ??) ???
	3) Does it exist any state where DECmcc deside not to do the
	   identation ????
	4) If DECmcc is using SMG can the problem be in SMG ????
	5) Can the problem be in the PSEUDO driver ????
	
		( It can't be something wrong with my code, can it ;-)	


	Something that is realy funny with this problem is that if we define
	the symbol to be longer e.g.

DetMCC> define kalle aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
DetMCC> disp symb
                            Symbol Name   Symbol Value
                            -----------   ------------
                                  KALLE : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
                                          aaaaaaaaaaaaaaaaaaaaaaaaa

	The indenation seems to be correct at the end again ??!?!?!?!?



	Please help me because I am stuck !!!!!!!!

	Regards,
	Ralf T.
		
T.RTitleUserPersonal
Name
DateLines
3170.1More info...STKHLM::TORZSOKNo good...too complicated !Thu Jun 11 1992 11:0685
	More info...

	It seems to be that the MCC "thinks" that the terminal width is 132 char
	as it writes out 90 characters  before writing the indentation spaces.
	( 90+42=132 ( 42= default indenation in MCC))

	But why ??? The process running MCC is communicate thrue pseudoterminal
	DetMCCInpPSEUDO and DetMCCOutPSEUDO:

$ sh proc/id=43A0032B


11-JUN-1992 16:04:32.90   User: TORZSOK          Process ID:   43A0032B
                          Node: GARBO            Process name: "$DetMCC_EXEC"

Terminal:
User Identifier:    [VAXSPM,SYSTEM]
Base priority:      4
Default file spec:  Not available

Devices allocated:  GARBO$FTA116:
                    GARBO$FTA117:

$ sh log *pseudo*


(LNM$SYSTEM_TABLE)

  "DetMCCInpPSEUDO" = "_FTA116:"
  "DetMCCOutPSEUDO" = "_FTA117:"


$ show terminal garbo$fta116


Terminal: _FTA116:    Device_Type: Unknown       Owner: $DetMCC_EXEC
                                              Username: TORZSOK

   Input:   9600      LFfill:  0      Width:  80      Parity: None
   Output:  9600      CRfill:  0      Page:   24

Terminal Characteristics:
   Interactive        Echo               Type_ahead         No Escape
   Hostsync           TTsync             Lowercase          No Tab
   Wrap               Scope              No Remote          Eightbit
   No Broadcast       No Readsync        No Form            Fulldup
   No Modem           No Local_echo      No Autobaud        No Hangup
   No Brdcstmbx       No DMA             No Altypeahd       Set_speed
   No Commsync        Line Editing       Overstrike editing No Fallback
   No Dialup          No Secure server   No Disconnect      No Pasthru
   No Syspassword     No SIXEL Graphics  No Soft Characters No Printer Port
   Numeric Keypad     No ANSI_CRT        No Regis           No Block_mode
   No Advanced_video  No Edit_mode       No DEC_CRT         No DEC_CRT2
   No DEC_CRT3        No DEC_CRT4        VMS Style Input

$ sh term garbo$fta117

Terminal: _FTA117:    Device_Type: Unknown       Owner: $DetMCC_EXEC
                                              Username: TORZSOK

   Input:   9600      LFfill:  0      Width:  80      Parity: None
   Output:  9600      CRfill:  0      Page:   24

Terminal Characteristics:
   Interactive        Echo               Type_ahead         No Escape
   Hostsync           TTsync             Lowercase          No Tab
   Wrap               Scope              No Remote          Eightbit
   No Broadcast       No Readsync        No Form            Fulldup
   No Modem           No Local_echo      No Autobaud        No Hangup
   No Brdcstmbx       No DMA             No Altypeahd       Set_speed
   No Commsync        Line Editing       Overstrike editing No Fallback
   No Dialup          No Secure server   No Disconnect      No Pasthru
   No Syspassword     No SIXEL Graphics  No Soft Characters No Printer Port
   Numeric Keypad     No ANSI_CRT        No Regis           No Block_mode
   No Advanced_video  No Edit_mode       No DEC_CRT         No DEC_CRT2
   No DEC_CRT3        No DEC_CRT4        VMS Style Input





	So now I am realy lost in space !!!


	/Ralf T.