From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 9 May 2018 19:02:37 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> From: Raingloom Message-ID: In-Reply-To: <1703D632-E227-429C-B3A8-0CC5C8C13D51@yingmi.cn> References: <3c66d11f-1912-f6a5-e521-55bf89d9aed7@yingmi.cn> <9E316A3A-6885-4F38-9F97-0A87A2180ED3@yingmi.cn> <1703D632-E227-429C-B3A8-0CC5C8C13D51@yingmi.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] how to undo in Rio shell window and Acme editor? Topicbox-Message-UUID: d616d808-ead9-11e9-9d60-3106f5b1d025 Even if you are not in a `win` window (eg. if you are in an +Error one) you= can use Undo. Sometimes Acme doesn't actually put Undo in the tag line, bu= t if you type it out yourself it will still work. Well, at least on p9p Acm= e, I'm not sure about Plan 9 Acme. =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On May 9, 2018 5:40 PM, =E5=88=98=E5=AE=87=E5=AE=9D wr= ote: > Great thanks for your idea, file oriented design is very flexible! The pr= ompt function may be used to automatically backup the output of previous co= mmand, a poor man's undo buffer :-D >=20 > I tried to execute "rc" in Acme, seems Acme always execution command with= /dev/null as stdin, I can't embed an interactive rc session into Acme and = leverage the undo buffer of Acme window. >=20 > > On May 9, 2018, at 10:14 PM, Steve Simon steve@quintile.net wrote: > >=20 > > hi. > >=20 > > i think it is humour of a kind. > >=20 > > i cannot speak for acme but rio has no undo buffer, so what you ask for= is not possible. > >=20 > > you can save a windows content (including history). e.g. /dev/wsys/11/t= ext /tmp (assuming the window you want is number 11, cat /dev/winid to get = the current windows id) > >=20 > > -Steve > >=20 > > On 9 May 2018, at 11:55, =E5=88=98=E5=AE=87=E5=AE=9D liuyubao@yingmi.cn= wrote: > >=20 > > > > > I miss much the universal shortcut Ctrl-z on Window and Command-z= on > > > > >=20 > > > > > macOS, does Rio and Acme have the equivalent? > > > >=20 > > > > Both the Ctrl key and the z key are fully supported on 9front Syste= ms. > > > >=20 > > > > To remove undesired characters from the screen, the Backspace key i= s > > > >=20 > > > > also automatically provisioned, free of charge. > > >=20 > > > Wow, is this kind of humor like the picture at the bottom of http://f= qa.9front.org/ ? > > >=20 > > > I'm not a troll, I wrote several articles to introduce Plan 9 some da= ys ago, I'm seriously asking :-D > > >=20 > > > Maybe I already got the answer @_@ > > >=20 > > > Thanks, > > >=20 > > > Yubao Liu