From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ray Soto Newsgroups: gmane.lisp.guile.user Subject: Customising Guile's prompt Date: Wed, 11 Dec 2024 15:33:05 +0000 Organization: "N01ytics" Message-ID: Reply-To: abuhussain@mailbox.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2119"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Dec 11 21:25:35 2024 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tLTH2-0000Lv-VV for guile-user@m.gmane-mx.org; Wed, 11 Dec 2024 21:25:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLTGU-00036K-Qu; Wed, 11 Dec 2024 15:24:58 -0500 Original-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 1tLOiI-00064K-ML for guile-user@gnu.org; Wed, 11 Dec 2024 10:33:22 -0500 Original-Received: from mxtls2.mailbox.org ([80.241.60.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tLOiG-0000og-Ny for guile-user@gnu.org; Wed, 11 Dec 2024 10:33:22 -0500 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mxtls2.mailbox.org (Postfix) with ESMTPS id 2A03C419FC for ; Wed, 11 Dec 2024 16:33:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secure.mailbox.org; s=mail20150812; t=1733931194; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=8kdf659LEgQMYEZR4ZwYkdoHUjBzO3HY5NYE3Ri3Owk=; b=lAJZhWZOZ6ChqFx5uSx6bhL9m27ZGwNW5MjY7K+q7+0rHU+FGW0W3TPrZ/MajEpFafB3gr zaqCo56fOvOBRODhroNOFAFeYmcYDiHgKjVCgMrLgWVQy0RtztUcRojjVnjCcBhYP7A5r9 GKvPUxBh94SOkhkO88uZbES0siNCWJyWRQhE3StaInDlhjwN3vmBrmZZJOofojUitb7Z09 rQNiKH5ca00CdU3R0GjoRxmj5ta6r1tHa8uBJxAy4EK97FWrjFDqoxUaW8mTCCwj6/VDDj pbfd3StjGDxySAozZIsEnM9PwhHey9JEmoS5xmB28QdLGNC5lGLu9rlYVy/F7w== Content-Disposition: inline X-Rspamd-Queue-Id: 2A03C419FC Received-SPF: pass client-ip=80.241.60.214; envelope-from=rsoto@secure.mailbox.org; helo=mxtls2.mailbox.org X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 11 Dec 2024 15:24:57 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.user:19964 Archived-At: Hi! I've read the HTML manual and I have created a 'nice' prompt for my machines as follows: (use-modules ... (system repl common)) ... (repl-default-option-set! 'prompt (string-append (getlogin) "@" (gethostname) " > ")) What bothers me is that I have been unable to replicate the default prompt's feature of printing the current debug (level/frame? don't even know how to call it!) I've searched in my /usr/local/share/guile (I am on BSD) to no avail. Could you point me in the right direction here? BR, Ray.-