Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread Raingloom
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, but if you 
type it out yourself it will still work. Well, at least on p9p Acme, I'm not 
sure about Plan 9 Acme.


‐‐‐ Original Message ‐‐‐

On May 9, 2018 5:40 PM, 刘宇宝  wrote:

> Great thanks for your idea, file oriented design is very flexible! The prompt 
> function may be used to automatically backup the output of previous command, 
> a poor man's undo buffer :-D
> 
> 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.
> 
> > On May 9, 2018, at 10:14 PM, Steve Simon st...@quintile.net wrote:
> > 
> > hi.
> > 
> > i think it is humour of a kind.
> > 
> > i cannot speak for acme but rio has no undo buffer, so what you ask for is 
> > not possible.
> > 
> > you can save a windows content (including history). e.g. /dev/wsys/11/text 
> > /tmp (assuming the window you want is number 11, cat /dev/winid to get the 
> > current windows id)
> > 
> > -Steve
> > 
> > On 9 May 2018, at 11:55, 刘宇宝 liuyu...@yingmi.cn wrote:
> > 
> > > > > I miss much the universal shortcut Ctrl-z on Window and Command-z on
> > > > > 
> > > > > macOS, does Rio and Acme have the equivalent?
> > > > 
> > > > Both the Ctrl key and the z key are fully supported on 9front Systems.
> > > > 
> > > > To remove undesired characters from the screen, the Backspace key is
> > > > 
> > > > also automatically provisioned, free of charge.
> > > 
> > > Wow, is this kind of humor like the picture at the bottom of 
> > > http://fqa.9front.org/ ?
> > > 
> > > I'm not a troll, I wrote several articles to introduce Plan 9 some days 
> > > ago, I'm seriously asking :-D
> > > 
> > > Maybe I already got the answer @_@
> > > 
> > > Thanks,
> > > 
> > > Yubao Liu





Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread Chris McGee
There’s a ‘win’ command you can executed in acme to get an interactive rc shell 
window.

> On May 9, 2018, at 11:40 AM, 刘宇宝  wrote:
> 
> Great thanks for your idea,  file oriented design is very flexible! The 
> prompt function may be used to automatically backup the output of previous 
> command,  a poor man's undo buffer :-D
> 
> 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.
> 
>> On May 9, 2018, at 10:14 PM, Steve Simon  wrote:
>> 
>> hi.
>> 
>> i think it is humour of a kind.
>> 
>> i cannot speak for acme but rio has no undo buffer, so what you ask for is 
>> not possible.
>> 
>> you can save a windows content (including history). e.g. /dev/wsys/11/text 
>> /tmp (assuming the window you want is number 11, cat /dev/winid to get the 
>> current windows id)
>> 
>> -Steve
>> 
>> 
>> On 9 May 2018, at 11:55, 刘宇宝  wrote:
>> 
> I miss much the *universal* shortcut Ctrl-z on Window and Command-z on 
> macOS,  does Rio and Acme have the equivalent?
> 
 
 Both the Ctrl key and the z key are fully supported on 9front Systems.
 To remove undesired characters from the screen, the Backspace key is
 also automatically provisioned, free of charge. 
>>> 
>>> Wow, is this kind of humor like the picture at the bottom of 
>>> http://fqa.9front.org/ ?
>>> 
>>> I'm not a troll,  I wrote several articles to introduce Plan 9 some days 
>>> ago, I'm seriously asking :-D
>>> 
>>> Maybe I already got the answer @_@
>>> 
>>> Thanks,
>>> Yubao Liu
>> 
>> 
> 



Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread 刘宇宝
Great thanks for your idea,  file oriented design is very flexible! The prompt 
function may be used to automatically backup the output of previous command,  a 
poor man's undo buffer :-D

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.

> On May 9, 2018, at 10:14 PM, Steve Simon  wrote:
> 
> hi.
> 
> i think it is humour of a kind.
> 
> i cannot speak for acme but rio has no undo buffer, so what you ask for is 
> not possible.
> 
> you can save a windows content (including history). e.g. /dev/wsys/11/text 
> /tmp (assuming the window you want is number 11, cat /dev/winid to get the 
> current windows id)
> 
> -Steve
> 
> 
> On 9 May 2018, at 11:55, 刘宇宝  wrote:
> 
 I miss much the *universal* shortcut Ctrl-z on Window and Command-z on 
 macOS,  does Rio and Acme have the equivalent?
 
>>> 
>>> Both the Ctrl key and the z key are fully supported on 9front Systems.
>>> To remove undesired characters from the screen, the Backspace key is
>>> also automatically provisioned, free of charge. 
>> 
>> Wow, is this kind of humor like the picture at the bottom of 
>> http://fqa.9front.org/ ?
>> 
>> I'm not a troll,  I wrote several articles to introduce Plan 9 some days 
>> ago, I'm seriously asking :-D
>> 
>> Maybe I already got the answer @_@
>> 
>> Thanks,
>> Yubao Liu
> 
> 



Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread 刘宇宝
I often messed the output of previous command by accident, either by typing or 
mouse chords to cut or paste, then I can't copy original text :-(

ACME focuses the window under mouse cusor by default, I also often wrongly edit 
the tag line...

Indeed need some time to get used to it.

> On May 9, 2018, at 7:45 PM, hiro <23h...@gmail.com> wrote:
> 
> rio has no knowledge of the past, you cannot undo there, though i
> agree this can create problems for people coming from other platforms
> that lack the ability to edit former output and not just the prompt.
> 



Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread Steve Simon
hi.

i think it is humour of a kind.

i cannot speak for acme but rio has no undo buffer, so what you ask for is not 
possible.

you can save a windows content (including history). e.g. /dev/wsys/11/text /tmp 
(assuming the window you want is number 11, cat /dev/winid to get the current 
windows id)

-Steve


On 9 May 2018, at 11:55, 刘宇宝  wrote:

>>> I miss much the *universal* shortcut Ctrl-z on Window and Command-z on 
>>> macOS,  does Rio and Acme have the equivalent?
>>> 
>> 
>> Both the Ctrl key and the z key are fully supported on 9front Systems.
>> To remove undesired characters from the screen, the Backspace key is
>> also automatically provisioned, free of charge. 
> 
> Wow, is this kind of humor like the picture at the bottom of 
> http://fqa.9front.org/ ?
> 
> I'm not a troll,  I wrote several articles to introduce Plan 9 some days ago, 
> I'm seriously asking :-D
> 
> Maybe I already got the answer @_@
> 
> Thanks,
> Yubao Liu




Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread hiro
in sam you can type u in the command window for undo.



Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread 刘宇宝
>> I miss much the *universal* shortcut Ctrl-z on Window and Command-z on 
>> macOS,  does Rio and Acme have the equivalent?
>> 
> 
> Both the Ctrl key and the z key are fully supported on 9front Systems.
> To remove undesired characters from the screen, the Backspace key is
> also automatically provisioned, free of charge. 

Wow, is this kind of humor like the picture at the bottom of 
http://fqa.9front.org/ ?

I'm not a troll,  I wrote several articles to introduce Plan 9 some days ago, 
I'm seriously asking :-D

Maybe I already got the answer @_@

Thanks,
Yubao Liu

Re: [9fans] 9pi image update

2018-05-09 Thread Richard Miller
> aux/wpa just hangs

I suggest temporarily switching off wpa/wep at your access point
to see if you can join the network without crypto.  For an open
network, you just need

bind -a '#l1' /net
echo essid MY_ESSID >/net/ether1/clone
ip/ipconfig ether /net/ether1

You can 'cat /net/ether1/ifstats' to see if status is "associated",
and check /net/ipselftab to see if dhcp has assigned an address.




Re: [9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread Kurt H Maier
On Wed, May 09, 2018 at 02:32:53PM +0800, 刘宇宝 wrote:
> 
> I miss much the *universal* shortcut Ctrl-z on Window and Command-z on 
> macOS,  does Rio and Acme have the equivalent?
> 

Both the Ctrl key and the z key are fully supported on 9front Systems.
To remove undesired characters from the screen, the Backspace key is
also automatically provisioned, free of charge. 

khm



[9fans] how to undo in Rio shell window and Acme editor?

2018-05-09 Thread 刘宇宝

Hi all,

Recently I started an adventure to 9front and found Plan 9 very 
interesting.  I have thoroughly read the FQA and manual pages at 
9front.org, and searched the web, but still don't know how to undo wrong 
typing in Rio shell window and Acme editor's tag line,  I'm surprised 
and not so used to the facts that:


* I can edit the output of a command in shell window, no way to undo

* I can change or delete the tags for Acme editor and its column, no way 
to undo,   although the tags for Acme window can't be edited.


I miss much the *universal* shortcut Ctrl-z on Window and Command-z on 
macOS,  does Rio and Acme have the equivalent?



And one more question about Acme: how to quickly enter command? In VIM, 
I can enter ...comand, in Acme I have to move cursor to 
command area and click, input command, press ,  click middle mouse 
button on the highlighted command, is this the fastest way to input 
command in Acme?



Thanks,

Yubao Liu