GCRSG(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ GCRSG ✨ (aka Create segment) β€” it's giving "make me a GKS segment" πŸ’…

ok so bestie, this is a page from the NCAR GRAPHICS manuals, and it's about one tiny little subroutine that does one tiny little thing: it creates a GKS segment. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

CALL GCRSG(SGNA)

like, that's the whole call. one argument. one dream. slay. ✨


πŸ’» C-BINDING SYNOPSIS πŸ’»

for my C girlies, you get a header and a whole function:

#include <ncarg/gks.h>

void gcreate_seg(Gint seg_name);

πŸ¦‹ DESCRIPTION πŸ¦‹

  • SGNA β€” (Integer, Input) β€” this is the segment identifier, bestie. it's the name-tag your segment wears, and it's what you'll use in all the later segment function calls that apply to this segment. so pick it with intention. πŸ‘‘

some ground rules, and these are not negotiable:

  • there can be a maximum of 100 segments in a given job step. one hundred. that's the ceiling. 🫢
  • legal values for SGNA are integers between 0 and 99 inclusive. so 0 through 99, nothing else, no funny business.
ngl if you try to go outside 0–99 you are simply not living the legal-value lifestyle. stay in your lane, it's a nice lane. πŸ’€

πŸ”‘ ACCESS πŸ”‘

to use GKS routines, you gotta load the NCAR GKS-0A library ncarg_gks. no library, no segments, no nothing. load it up. πŸ“šβœ¨


πŸ‘€ SEE ALSO πŸ‘€

Online: gevtm, gactm, gclsg, gcsgwk, gdsg, gqopsg, gqsgus, gssgt., gcreate_seg

Hardcopy: "User's Guide for NCAR GKS-0A Graphics"

go read the whole friend group, they all hang out together. 🌈


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

ok that's the whole page, you ate it, you understood it, main character energy achieved. this was the GCRSG(3NCARG) page from the NCAR GRAPHICS manual β€” UNIX flavour, dated March 1993 (yes she's an icon, yes she's been iconic for decades, periodt). πŸ’–πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from