Emacs will set the buffer read-only if the file protection suggest it's
a file with just read permissions. However, if you are running with a
system uic, then you can write a new version of the file anyway. To
toggle the read-only attribute of a buffer, just hit ^X ^Q
If you do that, and you are not actually allowed to write the file,
you'll get an error when you try saving. So no real danger in this.
Toggling the read-only attribute can sometimes also be nice in the other
direction. If you open a file, but don't want to modify it...
Johnny
On 2026-04-08 00:53, Paulo Rebordão wrote:
> It's not working. Attempting to change the file inside Emacs gives "read
> only buffer"
>
> Paulo Rebordão
>
>
>
> On Tue, Apr 7, 2026 at 10:08 PM Mark Matlock <
ma...@rsx11m.com
> <mailto:
ma...@rsx11m.com>> wrote:
>
> Paulo,
> It is likely a permission issue. Try this:
>
> >SET /UIC=[1,2]
> >EDT LB:[1,2]INSPROG.CMD
>
> At this point you would be in EDT and should be able to edit the
> INSPROG.CMD file.
>
> The topic of file protection is explained in RSX: A User’s Guide on
> page 90. You can find a copy of that book in .pdf format at:
>
>
https://www.bitsavers.org/pdf/dec/pdp11/rsx11m_s/
> Pieper_RSX_A_Guide_For_Users_1987.pdf <
https://www.bitsavers.org/
> pdf/dec/pdp11/rsx11m_s/Pieper_RSX_A_Guide_For_Users_1987.pdf>
>
> Also p. 14 covers Privilege and Identification based on UIC.
>
> Best,
> Mark
>
>
>> On Apr 7, 2026, at 2:47 PM, Paulo Rebordão <
pjreb...@gmail.com
>>> <
pjreb...@gmail.com <mailto:
pjreb...@gmail.com>> wrote:
>>>
>>> Where can I find the file (and its name) that executes
>>> commands and assignments when RSX starts? Similar to the
>>> boot.ini for Simh
>>>
>>> I created a new device and want to load it automatically at
>>> startup.
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the
>>> Google Groups "[PiDP-11]" group.
>>> To unsubscribe from this group and stop receiving emails from
>>> it, send an email to
pidp-11+u...@googlegroups.com
>>> <mailto:
pidp-11+u...@googlegroups.com>.
>>> af96-0a93d4004724n%
40googlegroups.com <https://
>>>
groups.google.com/d/msgid/pidp-11/fffc2919-ab9b-46d2-
>>> af96-0a93d4004724n%
40googlegroups.com?
>>> utm_medium=email&utm_source=footer>.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "[PiDP-11]" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to
pidp-11+u...@googlegroups.com
>> <mailto:
pidp-11+u...@googlegroups.com>.
>> pidp-11/CA%2Bgrvcro6V44AwULedKXdiE1smK6uDTuL_w_V62ndiC-M-
>> j4YQ%
40mail.gmail.com <
https://groups.google.com/d/msgid/pidp-11/
>> CA%2Bgrvcro6V44AwULedKXdiE1smK6uDTuL_w_V62ndiC-M-
>> j4YQ%
40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "[PiDP-11]" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
pidp-11+u...@googlegroups.com
> <mailto:
pidp-11+u...@googlegroups.com>.
> CA%2BgrvcrPTiFbpRTeX%3DfWJXsEW2ttr6k0WEuZ4WFxdB9hnzbR5A%
40mail.gmail.com
> <
https://groups.google.com/d/msgid/pidp-11/
> CA%2BgrvcrPTiFbpRTeX%3DfWJXsEW2ttr6k0WEuZ4WFxdB9hnzbR5A%
40mail.gmail.com?utm_medium=email&utm_source=footer>.