Connect to Plan 9 CPU servers from other operating systems.
Switch branches/tags
Nothing to show
Clone or download
fhs and 0intro kern/devfs-posix: disallow renaming file to an existing file
This behavior matches 9p.

Plan 9 wstat(5):

	The wstat request can change some of the file status
	information. The name can be changed by anyone with write
	permission in the parent directory; it is an error to change the
	name to that of an existing file.

Linux rename(2):

	If newpath already exists, it will be atomically replaced, so
	that there is no point at which another process attempting to
	access newpath will find it missing. However, there will
	probably be a window in which both oldpath and newpath refer to
	the file being renamed.
Latest commit 7786ec1 Jan 22, 2018
Permalink
Failed to load latest commit information.
exportfs expand iounit to handle large images in /dev/draw Dec 29, 2010
gui-osx ctl-opt is gone (Michaelian Ennis) Aug 7, 2008
gui-win32 gui-win32: implement fullscreen mode Aug 18, 2017
gui-x11 all: fix warnings reported by clang Aug 18, 2017
include include: fix sign extension in GBIT64 Feb 29, 2016
kern kern/devfs-posix: disallow renaming file to an existing file Feb 14, 2018
lib/codereview codereview: set up from plan9port Jul 14, 2012
libauth #%*&*@#(@ sun May 21, 2006
libauthsrv silence all gcc warnings Nov 7, 2005
libc all: fix warnings Jan 9, 2016
libdraw mac warnings Nov 7, 2005
libip all: fix warnings reported by clang Aug 18, 2017
libmemdraw all: fix warnings Jan 9, 2016
libmemlayer silly sun May 24, 2006
libmp all: fix warnings reported by clang Aug 18, 2017
libsec cleanup suggested by Geoff Collyer Jan 2, 2011
posix-386 use __APPLE__ instead of __Darwin__ Jan 12, 2007
posix-amd64 uintptr for getcallerpc May 4, 2007
posix-arm posix-arm: new directory, with tas.c from Skip Tavakkolian Jul 14, 2012
posix-mips add Dec 29, 2005
posix-port add make CONF=pthread for modern systems Dec 9, 2008
posix-power amd64 fixes May 21, 2006
posix-sun4u #%*&*@#(@ sun May 21, 2006
win32-386 amd64 fixes May 21, 2006
.gitignore all: move from Mercurial to Git Jun 14, 2015
.travis.yml add Coverity Scan to Travis CI Jul 28, 2017
9ball.ico windows icon Nov 8, 2005
9ball.png 9ball Jan 18, 2007
9ball.rc windows icon Nov 8, 2005
CONTRIBUTORS devip: add support for IPv6 Aug 3, 2012
LICENSE clearer Nov 4, 2005
Make.config add audio Mar 8, 2006
Make.irix more irix-inspired fixes Dec 29, 2005
Make.osx Make.osx: fix build on 64-bit Mac OS X Aug 18, 2017
Make.osx-x11 Make.osx: fix build on 64-bit Mac OS X Aug 18, 2017
Make.pthread add make CONF=pthread for modern systems Dec 9, 2008
Make.sun #%*&*@#(@ sun May 21, 2006
Make.unix all: fix warnings Jan 9, 2016
Make.win32 Makefile: update name of MinGW executable Aug 18, 2017
Makefile devip: add support for IPv6 Aug 3, 2012
README.md README.md: remove references to code.swtch.com Aug 18, 2017
args.h a Aug 8, 2005
cpu-bl.c bell labs version Dec 29, 2005
cpu.c all: fix warnings Jan 9, 2016
drawterm.h fiddle Nov 7, 2005
drawterm.ico add icon Dec 29, 2005
drawterm.rc add icon Dec 29, 2005
drawterm.res add icon Dec 29, 2005
latin1.c a Aug 8, 2005
main.c add audio Mar 8, 2006
posix-factotum.c silence all gcc warnings Nov 7, 2005
readcons.c a Aug 8, 2005
resource.h a Aug 8, 2005
secstore.c fiddle Nov 7, 2005
win32-factotum.c Add real factotum. Nov 4, 2005

README.md

Build Status Coverity Scan Build Status

INSTALLATION

To build on Unix, run CONF=unix make.

To build on Solaris using Sun cc, run CONF=sun make.

To build on Windows, you need Mingw. See http://www.mingw.org. Edit Make.config to uncomment the Windows section and comment out the rest. Then run CONF=win32 make.

(You can download nmake from http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084 Rename it to make.exe and put it in your path somewhere. )

I haven't tested the Windows build on Windows itself. I cross-compile using mingw32 on Linux.

SOURCE

Use Git: git clone https://github.com/0intro/drawterm In the Plan 9 distribution: /sys/src/cmd/unix/drawterm/ (sometimes out of date)

HELP

Issue tracker: https://github.com/0intro/drawterm/issues

TO DO:

  • Should import latest /dev/draw to allow resize of window

  • Should copy 9term code and make console window a real 9term window instead.

  • Should implement /dev/label.