ARIF_RL_ENABLE(3)
π ARIF_RL_ENABLE(3) π
okay bestie, this is the ARIF User Manual page for arif_rl_enable, and itβs literally here to help you set up Readline for ARIF. slay. β¨
πΈ NAME πΈ
arif_rl_enable β setup Readline for ARIF π
π¦ SYNOPSIS π¦
#include <arif_rl.h>
void
arif_rl_enable (
rl_completion_func_t *complete_func,
rl_compdisp_func_t *display_func,
char const *word_break_chars
);
π DESCRIPTION π
The arif_rl_enable() function enables using Readline as an ARIF frontend. iconic behavior, fr fr π
π¨ bestie, if itβs already enabled, the function behavior is undefined. like, literally undefined. not me making this up β thatβs the spec. π
The function updates several Readline completion variables. Some of them shall be provided by the caller β yes, that means you, bestie π«Ά:
- Readline completion variable
rl_attempted_completion_functionβ replacementcomplete_func - Readline completion variable
rl_completion_display_matches_hookβ replacementdisplay_func - Readline completion variable
rl_completer_word_break_charactersβ replacementword_break_chars
The complete_func and display_func functions shall be implemented using arif_rl_complete(3) and arif_rl_display(3), accordingly. no cap, thatβs the assignment π
Original values of the Readline completion variables are saved before they get updated, so that they could be restored later by calling arif_rl_disable(3). the way thatβs lowkey thoughtful π
π COPYRIGHT π
Copyright (C) 2025 CismonX <admin@cismon.net>
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
You should have received a copy of the license along with this document. If not, see https://www.gnu.org/licenses/fdl-1.3.html.
π SEE ALSO π
okay thatβs the whole ARIF User Manual page, version 0.2.0, dated Aug 03, 2025 β bye bestie, go make Readline serve ARIF main character energy π
π«Άπ
π¦ where this page comes from
- alpine 3.24: arif-doc 0.3.0-r1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms