From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id nu7uGcU+0WMUgwAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 15:37:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gEE3FsU+0WM0WwAAG6o9tA (envelope-from ) for ; Wed, 25 Jan 2023 15:37:57 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 130012F470 for ; Wed, 25 Jan 2023 15:37:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKguK-0006fn-JS; Wed, 25 Jan 2023 09:37:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKguI-0006f2-Ni for emacs-orgmode@gnu.org; Wed, 25 Jan 2023 09:37:46 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKguG-0000Bf-Va; Wed, 25 Jan 2023 09:37:46 -0500 Received: from localhost ([::ffff:102.81.230.130]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000010B84E.0000000063D13EBB.00006233; Wed, 25 Jan 2023 07:37:47 -0700 Date: Wed, 25 Jan 2023 14:51:24 +0300 From: Jean Louis To: Richard Stallman Cc: yantar92@posteo.net, emacs-orgmode@gnu.org Subject: Re: Supporting non-free SQL clients in ob-sql (was: [PATCH] ob-sql: Add support for Athena) Message-ID: Mail-Followup-To: Richard Stallman , yantar92@posteo.net, emacs-orgmode@gnu.org References: <874jsqbvfq.fsf@kraus.my> <87358an35i.fsf@localhost> <63c5b8db.170a0220.e466f.2573@mx.google.com> <87o7qxmr6y.fsf@kraus.my> <87fsc9iifs.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/2.2.9+54 (af2080d) (2022-11-21) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674657477; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=iPUvl+Szu87Ll53pQmIYFtUSAhh/+eTSSAM311Vx/8M=; b=nd09Uvk66v8bHN6YaNM6GeX2+1BPjR9Te0orUyZxVWzZ27TSweTlbBaA9s7uCUnO3ZBpR9 CbksCU8UaSsMZ+r/WJcsr7zcogotuFJ2aOAyv/UyHnRqisQgI4qpeuz9AP1yr5uO+jbffU p9+9Ji7BNwoGI1swZyuLfiz7vkGmNtUc9VaYtT7ij2IYvxBcOrFHw/iaxDu8QmU7rLkok5 PV4Y8zfXDi73FBnTOTY0k6boeQR9cIxfQb7TUFm0HuMsyfrUivHWNrBm75C/9Q6goi+Q81 0Ah4AnmLkuJzx1KpDVTjwkKS+NpOjV/4aNvLbc7gmDihuevJ5Fj+CHt6rXamoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674657477; a=rsa-sha256; cv=none; b=Z7BZ2rFwItKlHLLIQ7QFTTisSNw5tppFvGBAdo69bEbaKWNEv15neTXebEPHDtltVoVTdb +GKYsGMJ0JAz05do+Rip5FrLb9HPNYalt2FRom1kDVi+ZiugOP/ZGsbtjnrh+jFWQUpdwM uS7Is2orkFQhIKglvf6DN7CfzNG2x8pdUMGFek9jdwh4JwbIfjR7hGO88aNWB6rukPPKry qvbh5KvIMVl6wjDLM6G6QdgVPnJICbNHVEFST87RYL+GWL8QFAHoFzEFUO5EXA3nBVhZGA 3RPqIKgzt4C9mwlxV+zy/xnD2g+XNKbFVHabiX+ai7H8vkevoqmv0PKewDE6dw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Spam-Score: -2.88 X-Spam-Score: -2.88 X-Migadu-Queue-Id: 130012F470 X-TUID: 5DE4Oaj6t8rF * Richard Stallman [2023-01-25 07:32]: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > Would someone please tell me more concretely what kind of "support" > > > this is? > > > You can find interactive support in `sql' library, functions such as: > > > M-x sql-oracle > > > which supports proprietary Oracle Database: > > This raises two questions. > > 1. For this purpose, what kind of thing is "the Oracle Database"? > a. A library to link with? > b. A program to run in a subprocess? It is program that runs in a subprocess. > c. A server running SaaSS? Theoretically it could be as access may be network based. But according to my knowledge this product is proprietary and may be downloaded and run on users' computer or network computers. > 2. How does Emacs communicate with that thing? > a. By function calls within a process? Yes. > b. Via shared memory? > c. Via a pty or pipe? > d. Via sockets? By invoking proprietary program named "sqlplus" which function is defined in library "sql.el" and by using comint-mode (defcustom sql-oracle-program "sqlplus" "Command to start sqlplus by Oracle. Starts `sql-interactive-mode' after doing some setup. On Windows, \"sqlplus\" usually starts the sqlplus \"GUI\". In order to start the sqlplus console, use \"plus33\" or something similar. You will find the file in your Orant\\bin directory." :type 'file) (comint-mode) Major mode for interacting with an inferior interpreter. Interpreter name is same as buffer name, sans the asterisks. Return at end of buffer sends line as input. Return not at end copies rest of line to end and sends it. Setting variable ‘comint-eol-on-send’ means jump to the end of the line before submitting new input. This mode is customized to create major modes such as Inferior Lisp mode, Shell mode, etc. This can be done by setting the hoo In my opinion Emacs should not be invoking proprietary programs, and distributing sql.el with Emacs opposes the principle of not recommending proprietary software. By having functions to run proprietary software from within Emacs we are advertising proprietary software. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/