GDAWK(3NCARG)

✨ NAME ✨

GDAWK β€” bestie, this one deactivates a GKS workstation. That's it, that's the whole vibe. πŸ’…

This is part of the NCAR GRAPHICS manual, so like… graphics lore, but make it Unix. πŸ¦‹


🌸 SYNOPSIS 🌸

CALL GDAWK (WKID)

One call. One argument. Very demure, very mindful. πŸŽ€


🧚 C-BINDING SYNOPSIS 🧚

For my C girlies (iykyk), it's giving:

#include <ncarg/gks.h>

void gdeactivate_ws(Gint ws_id);

Same energy, different font. ✨


πŸ’– DESCRIPTION πŸ’–

  • WKID (Integer, Input) β€” the number that IDs the workstation you wanna deactivate. πŸ‘‘ And listen, this has to be the exact same WKID you used in some previous GACWK call. Like, no cap, it must match. If you're out here inventing workstation IDs out of thin air, that's not gonna slay. 😭

🌈 USAGE 🌈

The workstation you name gets removed from the set of active workstations. Poof. Gone. Not in the group chat anymore. πŸ™ˆ

And here's the part that actually matters: GKS output primitives are not sent to workstations that are not active. So if you deactivate it, don't expect your pretty little primitives to show up there. It's not being shady, it's literally just how it works. πŸ’€


πŸ”₯ ACCESS πŸ”₯

To use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. No library, no functions. That's the deal. 🫢


πŸŽ€ SEE ALSO πŸŽ€

Online: gopks, gopwk, gacwk, gclwk, gclks, opngks, clsgks, gdeactivate_ws

Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

Go read those too, bestie, they're the whole friend group. ⭐


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


And that's the page, babe. This iconic little number comes to you from the UNIX corner of the docs, dated March 1993, filed under GDAWK(3NCARG) β€” yes, 3NCARG, we're in the NCAR Graphics section, periodt. πŸ’…βœ¨