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

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

568.0. "Autowrap for .GNC files using LSEDIT" by YOGI::MARKS () Fri Jun 26 1987 19:55

    How can I set initialization so that when I am editing
    .GNC files with LSEDIT I can make them wrap automatically
    at a given right margin value?
    
    I realize this can be done manually each time one reads
    a file into the editing buffer, but it becomes annoying
    when you are editing multiple files each day.  I seem to
    have succeeded in accomplishing this auto-wrap with an
    initialization file for any files without default file
    suffixes such as .GNC (i.e., file A.B will wrap; file
    A.GNC will not).  Unfortunately, most of the files I
    edit are .GNC files.
    
    It worked with previous versions of LSEDIT, but doesn't
    work with the latest one.  Am I missing something stupid?
    
    Thanks,
    
    Rickey
T.RTitleUserPersonal
Name
DateLines
568.1Do you use SDMLLSEPNEUMA::ILSLEYYoyodyne consultant....Fri Jun 26 1987 20:4910

>>  How can I set initialization so that when I am editing
    .GNC files with LSEDIT I can make them wrap automatically
    at a given right margin value?

Do you use SDMLLSE to invoke the editor? If so, add the following line
to your initialization file.

MODIFY LANGUAGE SDML/RIGHT_MARGIN=79/WRAP 
568.2See note 234.12TOKLAS::FELDMANPDS, our next successFri Jun 26 1987 22:268
    This question was answered recently, in note 234.12.
    
    It doesn't matter whether you use SDMLLSE or just LSE to invoke
    the editor.  (I thought SDMLLSE had gone away, anyway.)  What matters
    is whether you are using Version 1 or Version 2 of LSE; wrap mode
    in V1 was simpler, but much less powerful.
    
       Gary
568.3Autowrap for LSEDITYOGI::MARKSMon Jun 29 1987 14:082
    Thank you very much -- adding that command to my initialization
    file worked.