[Coco] Potentially Dangerous Bug in Minted.
CoCo Demus
retrocanada76 at gmail.com
Mon Aug 26 13:08:17 EDT 2019
Well @ is potentially dangerous in OS-9 for opening raw files/devices.
>From minted point of view it just opens a file. If you use @12 with other
tools you will probably have the same behavior opening the same raw device.
On Mon, Aug 26, 2019 at 7:04 AM <coco at jechar.ca> wrote:
> I was editing a file called p12 with minted on my 6309 coco3 in
> Nirtos9 3.2 after closing the file I went to reopen it by typing
> minted p12 but I accidentally typed minted @12 and minted seemed to
> have opened the raw device /dd for editing.
>
> Now in my work flow I have been often editing on my linux pc with
> geany,
> transferring the file back to the coco for testing with the dw server
> list
> command opening the file with minted, arrow down one, ^D to duplicate
> the
> comment on line 2 and ^S to save and ESC to exit.
>
> I do this so often It is almost automatic, fortunately I noticed that
> I was in the wrong file, If I had of been on automatic I might have
> trashed /dd.
>
> Therefore: There is a bug that should be fixed in minted.
>
> As for the dw server list command I like it just as it is
> because It lets me
> do binary transfers from Linux to the Coco.
>
> A great enhancement HOWEVER would be if instead of typing
>
> DW SERVER LIST _external_path/filename_>_filename_
>
> you could optionally type
>
> DW SERVER LIST RAW _external_path/filename_>_filename_
>
> to do exactly the same thing or
>
> DW SERVER LIST COCOTXT _external_path/filename_ > _filename_
>
> to have drivewire do the end of line conversions necessary to
> put the file in a proper coco OS9 format.
> For me this would mean that I would not need the extra step of
> importing the file to minted only to resave just to fix the end
> of line format.
>
> _CHARLIE_
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
More information about the Coco
mailing list