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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

31.0. "Using dictionaries - WPS-PLUS v4 for ALL-IN-1 v2.4" by WAYOUT::ALLAMS () Tue Feb 18 1992 11:15

Hi, 


	After installing the v2 update for v2.4, there seems to be some 
	problems with the personal dictionaries.

	If, after the upgrade, you try and use the spell checker, you get 
	the message "spell checker not available".  If you remove the 
	users pst file, and reenter ALL-IN-1, choosing the DIC option, it
	will reinitialise the dictionaries and all is ok.  Except that the 
	new personal dictionary - personalbri is empty.  Is it not the 
	intention to move the original personal dictionary to this new one?

	Also, unless I've missed something in the release notes, isn't it rather
	a messy way to make the spell checker work again,- by deleting the 
	pst file and reinitialising?  Is there a recommended way to do this 
	for all users on a system?


		Steve Allam
		UK CSC
T.RTitleUserPersonal
Name
DateLines
31.1You mean the v4.0 update?AIMTEC::WICKS_AVote Bill'n'Opus for a weirder USATue Feb 18 1992 17:2611
    Steve,
    
    Because you appear to be talking about the WPS-PLUS v4.0 update for
    ALL-IN-1 v2.4 i've retitled this note.
    
    If there is indeed a v2.0 update of something then I will apologise
    profusely and buy you a beer at Christmas.
    
    Regards,
    
    Andrew.D.Wicks
31.2yes, and...WAYOUT::ALLAMSWed Feb 19 1992 09:087
	Yes sorry, I do mean the wpsplus update, and, by the way, they also
	have the ALL-IN-1 v2.4 UPDATE Version 2.0



		Steve
31.3WAYOUT::ALLAMSThu Feb 20 1992 09:4683
Ok,

	I think I have an answer:


	This answer applies only to the british version of ALL-IN-1.

	In the script:

	DISK$APPLICATIONS:[ALLIN1.LIB_SHARE]LNGSPLINI.SCP;1

	All the dictionary initialisation is done.  This is where it creates a 
	personal dictionary if you haven't got one.

	The following lines are the problem:


!Check to see if the file exists.  If it exists, skip down to SYMBOL_CHECK.
!-
    .IF OA$DIR:.%WHOLE[#pers_file] NES "" THEN .GOTO symbol_check
                                         
!+
! File didn't exist.  In the event that the user has a personal.lgp in his
! sys$login from standalone DECSPELL, use that as his personal.
!-
    .IF #language eqs #save_lang then -
        GET #old_personal = OA$DIR:.%WHOLE["SYS$LOGIN:PERSONAL.LGP"]\ -
        .IF #old_personal NES "" THEN COPY #old_personal #pers_file
                                        

	This does a check on the exsistance of a personal dictionary, if it 
	exists, it does nothing, if it doesn't. it copies the personal.lgp
	from sys$login.  If that doesn't exist, it just creates a blank file.

	The #pers_file is got from the line:

GET #pers_file     = DATASPELL.PERS_FILE_SPEC[#language]
	
	For american lanaguage, this comes back with [.DOC0]PERSONAL.LGP
	- and therefore will find this file, and not do any copying.

	For the British (or any other language varient), the #pers_file
	is different - british is [.doc0]personalbri.lgp

	Therefore, when it comes to discovering whether the user has a personal
	dictionary or not - they don't - because they don't have a personalbri.lgp
	This being the case, the copy is done, and the user gets a blank
	personalbri.lgp file.

	A note in the wpsplus conference explains that a user NEEDS both a 
	personal.lgp and a personalbri.lgp.  I don't understand why.

	Anyway, assuming that they don't - because they are never going to 
	use the american dictionary. - Here is a fix:


!+
! Check to see if the file exists.  If it exists, skip down to SYMBOL_CHECK.
!-
    .IF OA$DIR:.%WHOLE[#pers_file] NES "" THEN .GOTO symbol_check

!+
! Check for the existance of a [.doc0]personal.lgp - if it exists, copy it
! to the new british lgp file
!-
   .IF OA$DIR:.%WHOLE["[.DOC0]PERSONAL.LGP"] NES "" THEN .GOTO after_copy 
   .IF #language eqs #save_lang then -
        GET #old_personal = OA$DIR:.%WHOLE["[.DOC0]PERSONAL.LGP"]\ -
        .IF #old_personal NES "" THEN COPY #old_personal #pers_file

!+
! File didn't exist.  In the event that the user has a personal.lgp in his
! sys$login from standalone DECSPELL, use that as his personal.
!-

    .IF #language eqs #save_lang then -
        GET #old_personal = OA$DIR:.%WHOLE["SYS$LOGIN:PERSONAL.LGP"]\ -
        .IF #old_personal NES "" THEN COPY #old_personal #pers_file
                               
.LABEL after_copy


		Steve
31.4WAYOUT::ALLAMSFri Feb 21 1992 15:4529
sorry, the fix should read:



!+
! Check to see if the file exists.  If it exists, skip down to SYMBOL_CHECK.
!-
    .IF OA$DIR:.%WHOLE[#pers_file] NES "" THEN .GOTO symbol_check

!+
! Check for the existance of a [.doc0]personal.lgp - if it exists, copy it
! to the new british lgp file
!-
    
   .IF #language eqs #save_lang then -
        GET #old_personal = OA$DIR:.%WHOLE["[.DOC0]PERSONAL.LGP"]\ -
        .IF #old_personal NES "" THEN COPY #old_personal #pers_file\ -
	GOTO after_copy

!+
! File didn't exist.  In the event that the user has a personal.lgp in his
! sys$login from standalone DECSPELL, use that as his personal.
!-

    .IF #language eqs #save_lang then -
        GET #old_personal = OA$DIR:.%WHOLE["SYS$LOGIN:PERSONAL.LGP"]\ -
        .IF #old_personal NES "" THEN COPY #old_personal #pers_file
                               
.LABEL after_copy