GOPEN_GKS(3NCARG)
β¨ NAME β¨
gopen_gks β bestie, this is the one that opens the GKS package π like it's the bouncer at the club and GKS isn't getting in until you say so
This page lives in the NCAR GRAPHICS manual, section 3NCARG, iykyk π
πΈ SYNOPSIS πΈ
#include <ncarg/gks.h>
void gopen_gks(const char *err_file, size_t mem_unit);
π DESCRIPTION π
err_file(Input) β okay so this is the place where error messages get written. Like, where do the complaints go? Here. Typically this should be"stdout". That's it, that's the vibe π«Άmem_unit(Input) β the dimension of an internal buffer, lowkey iconic. Currently in NCAR GKS-0A,mem_unitis ignored. Not me passing a value that literally does nothing π the function said "I'll take it" and then never looked at it again π
π¦ USAGE π¦
So here's the thing bestie, the order matters, no cap. To get output to any workstation, these three have to be called in exactly this order:
gopen_gksgopen_wsgactivate_ws
That sequence. In that order. Periodt π
BUT β plot twist β¨ β for jobs producing only CGM output, you can skip the whole three-call situation entirely and replace gopen_gks, gopen_ws, and gactivate_ws with a single call to the SPPS function c_opngks(). One call instead of three?? Ate. π
π ACCESS π
To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries. Both. Yes, both. Don't fight it π
π SEE ALSO π
Online: gopen_ws(3NCARG), gactivate_ws(3NCARG), gdeactivate_ws(3NCARG), gclose_ws(3NCARG), gclose_gks(3NCARG), gupd_ws(3NCARG), opngks(3NCARG), clsgks(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
Like, go read the friends, they're all linked up, it's giving a whole friend group π§
π COPYRIGHT π
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
π«Ά reminder bestie: the use of this Software is governed by a License Agreement. Read it. Respect it. Slay responsibly. π
And that's the page, fr fr πΈ this was the UNIX version, dated March 1993 (vintage but still main character energy), from GOPEN_GKS(3NCARG) in the NCAR GRAPHICS set. bye bestie, go open some GKS π
β¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms