You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PDCursesMod/plan9
Jens Staal 1e8472cdbf
Update mkfile (#318)
Plan9 changes : added -D_HAVE_GETTIMEOFDAY to successfully include <sys/time.h> for the 'milliseconds elapsed' function.

Update mkfile - add term.h

terminfo / term.h now installed

added some new demo tests to mkfile
8 months ago
..
README.md a few fixes based on feedback from @GitMensch. Still need to test-compile on Plan9 5 years ago
header.patch a few fixes based on feedback from @GitMensch. Still need to test-compile on Plan9 5 years ago
mkfile Update mkfile (#318) 8 months ago
mkfile_demo Update mkfile (#318) 8 months ago
pdcclip.c Clipboard routines (pdcclip.c) for Plan9 and SDL1 were simple in-memory functions, same as the ones currently used for DOS, DOSVGA, VT, and framebuffer. 3 years ago
pdcdisp.c CHTYPE_LONG no longer does anything (meaningless since we removed 16-bit chtypes) 3 years ago
pdcgetsc.c Plan9 port to Bill-Gray fork 5 years ago
pdckbd.c Plan9 port to Bill-Gray fork 5 years ago
pdcplan9.h Plan9 port to Bill-Gray fork 5 years ago
pdcscrn.c (Facepalm) PDC_free_platform_dependent_memory() was completely stupid. We already have PDC_scr_free() for exactly that purpose. 2 years ago
pdcsetsc.c Plan9 port to Bill-Gray fork 5 years ago
pdcutil.c Test for 'is this a valid alternative charset character' assumed 16 bits were assigned to A_CHARTEXT. That's always true in upstream PDCurses, but we have 21 bits (for full Unicode characters and 64-bit chtypes) and 8 bits (for narrow-build 32-bit chtypes). Mark Hessling pointed me to a compiler error in the latter case, and there could be display issues on platforms where the error doesn't occur. And in any case, the revised code is easier to look at and understand (no magical 0xff80 constants). 3 years ago

README.md

PDCurses for Plan9

This directory contains PDCurses source code files specific to Plan9.

Building

  • cd to the plan9 sub directory

  • Build it:

      mk
      mk install
    
  • Optionally, you can cross compile by setting the variable $objtype, for example:

      objtype=amd64 mk
    

Distribution Status

Copyright (c) 2007 Federico G. Benavento

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Federico G. Benavento January 2008 benavento@gmail.com

Acknowledgements

Federico G. Benavento made the original port to PDCurses 3.0

Jens Staal updated it