Giter Club home page Giter Club logo

drawterm-cocoa's Introduction

DETAILS
-------
This port of drawterm focuses on removing the Carbon drawing routines and
adding Cocoa runtime and drawing support to the Mac OS X version.  The
specific Cocoa source changes are located in gui-osx-cocoa merging in code
from Plan 9 Port's devdraw and updates found in 9vx.  Additional source
updates bring drawterm in line with recent changes in the Plan 9 source,
specifically:

- libc restructured and updated

- libdraw, libmemdraw, and libmemlayer sources updated

- modified kern files bringing in Plan 9 sys/src/9/port updates

- UTF and Rune updates from Coraid

- devdraw now allows window resize

The new Mac OS X 10.8 full-screen mode is not always the best mechanism for
interacting with the display.  To accommodate this, the gui-osx-cocoa port has
an experimental option that eliminates the title bar under all conditions:

	% defaults write com.bell-labs.plan9.drawterm TitledWindow 0

When the titled window is not used, moving the window can be accomplished by
clicking on the border and dragging the cursor perpendicular to the displayed
resize cursor direction.  Use the window zoom menu item to resize the window to
the maximum allowed by the display without wasting pixels on a title bar.

Setting the value to 1 or deleting the default will return to displaying the
title bar during normal operation.  

An additional default has been added to enable gesture support for multi-touch
trackpads.  The initial value can be set with:

	% defaults write com.bell-labs.plan9.drawterm MagnificationToggle 1

to allow a pinch or expand magnification gesture to be used to toggle between
fullscreen and regular windowed mode.  The default is to not toggle when the
gesture is used.


INSTALLATION
--------------
To build on Mac OS X 10.8, run make 'CONF=osx-cocoa'.

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=windows 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.


BINARIES
---------
See https://bitbucket.org/jas/drawterm-cocoa/downloads


SOURCE
------
Use Mercurial: hg clone https://bitbucket.org/jas/drawterm-cocoa
On the web at https://bitbucket.org/jas/drawterm-cocoa/downloads
In the Plan 9 distribution: /sys/src/cmd/unix/drawterm/ (sometimes out of date)


HELP
----
Issue tracker: https://bitbucket.org/jas/drawterm-cocoa/issues


TO DO:
------

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

- Should implement /dev/label.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.