[comp.sys.apollo] DM Editor Bug/Feature

rfh3273@galileo.rtn.ca.boeing.com (Dick Harrigill) (05/02/91)

Is this a bug in the 10.2+ DM, or is it a feature:

Control characters go away when cut/copied and pasted.

For example:
1. Create a small file of sample lines using the dm: 
     -stuff-
     end page 1
     begin page 2
     -stuff-
2. Change the "begin" to @fbegin with the dm editor s command.
   You now get a 'page break'/formfeed in your pad.
3. Cut and paste the whole document.
   You have now lost the pagebreak.
4. [the really weird part].  Exit and reenter dm editor.
   The page break is back.
   
Any thoughts anyone?  Is this a known bug or an
undocumented feature or what?
-- 
Dick Harrigill, an independent voice from:     Boeing Commercial Airplanes 
M/S 9R-49  PO BOX 3707                       Renton Avionics/Flight Systems
Seattle, WA  91824                                  Computing Support
(206) 393-9539     rfh3273@galileo.rtn.ca.boeing.com

stluka@software.org (Fred Stluka) (05/07/91)

In article <372@galileo.rtn.ca.boeing.com> rfh3273@galileo.rtn.ca.boeing.com (Dick Harrigill) writes:
> Is this a bug in the 10.2+ DM, or is it a feature:
> 
> Control characters go away when cut/copied and pasted.

Don't know if it's intentional, but this has been true for 
at least 3-4 years (since at least SR9.2).

--Fred

-- 

Fred Stluka                              Internet: stluka@software.org
Software Productivity Consortium         UUNET:    ...!uunet!software!stluka
2214 Rock Hill Rd, Herndon VA 22070 USA 

beierl_c@apollo.HP.COM (Christopher Beierl) (05/07/91)

In article <372@galileo.rtn.ca.boeing.com> rfh3273@galileo.rtn.ca.boeing.com (Dick Harrigill) writes:
>Is this a bug in the 10.2+ DM, or is it a feature:
>
>Control characters go away when cut/copied and pasted.
>...   
>Any thoughts anyone?  Is this a known bug or an
>undocumented feature or what?

I guess that you'd have to call it a "feature".  Basically, the
DM editor cannot manipulate control-characters, with some exceptions,
like newline, etc.  The reason is because it uses embedded escape
sequences in the text being editted, and these sequences overlap
the control-character values.

-Chris (not a DM expert)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Christopher T. Beierl  Internet: beierl_c@apollo.HP.COM;beierl_c@apollo.com
 Apollo Computer, Inc.      UUCP: {mit-eddie,yale,uw-beaver}!apollo!beierl_c
 A Subsidiary of Hewlett-Packard                       Phone: (508) 256-6600