Commit Graph

19 Commits

Author SHA1 Message Date
kvik 537443d959 win: fix window recreation command 2020-09-16 12:41:24 +02:00
Alex Musolino d837790a42 acme/win: add trailing space to window tag 2020-06-23 18:41:00 +09:30
kvik 8918bd5981 acme: implement 'scratch' ctl command (thanks Drew DeVault)
The new command marks the target window as a scratch window -- a window
whose state cannot be "dirtied" by changes made to its body, therefore
avoiding warnings about unsaved changes when deleting the window or
exiting acme.

Existing examples of scratch windows are error, directory, and guide
windows, whose scratchness is set internally.

With the new command users and programs alike can create their own
scratch windows.  This is put to use in acme's own win(1).
2020-05-31 22:39:46 +02:00
cinap_lenrek 614b18484c acme/win: exit winfs once acme shuts down the window 2020-04-24 21:15:59 +02:00
cinap_lenrek 7734749e8a acme/win: pass on flags to winfs (fix undocumented -e flag) 2020-04-17 19:18:28 +02:00
cinap_lenrek e1cdcfdb17 acme: split win into winfs and rc script, get rid of lib9p leavefdsopen hack
split the acme win command into a winfs fileserver which
handles /dev/cons emulation and a rc script responsible
for launching the command.

with these changes, the fd fiddling is not neccesary anymore
and we can get rid of the leavefdsopen hack.
2020-03-07 20:06:55 +01:00
spew 34b6997933 win: fix typo 2018-08-02 14:37:07 -04:00
spew d534727413 win: bind the text file properly instead of a special case in " 2018-08-02 14:21:19 -04:00
cinap_lenrek 963cfc9a6f merging erik quanstros nupas 2017-03-12 17:15:03 +01:00
cinap_lenrek 828ec57d65 acme/win: implement /dev/wdir file in win to change directory tagline, remove awd 2016-06-30 00:46:52 +02:00
cinap_lenrek f83dab12c6 acme/win: fix mistake
have to save partial reminder before null terminating current
event buffer :)
2014-12-12 21:18:31 +01:00
cinap_lenrek 6ddbe25d19 acme/win: remove old crap 2014-12-12 21:09:49 +01:00
cinap_lenrek aac81cf070 acme/win: fix fswrite() not assuming iounit < EVENTSIZE 2014-12-12 21:06:16 +01:00
ftrvxmtrx d173927c4f acme: fix more error messages 2013-04-28 00:19:35 +02:00
ftrvxmtrx 3f8c1dc2fa acme/win: fix error messages 2013-04-26 20:35:10 +02:00
cinap_lenrek 8c8b19cec7 fix permission for /acme/mkfile 2011-06-07 23:32:57 +00:00
cinap_lenrek 4e919b23a1 remove .dummy files and replace it by sys/lib/rootstub script 2011-05-03 04:42:16 +00:00
cinap_lenrek a150899221 fill /acme 2011-04-14 17:27:24 +00:00
cinap_lenrek 463c8d674f acme 2011-03-31 21:00:05 +00:00