On Wed Jan 14 16:00:30 +0100 2026, [email protected] wrote:

> I am trying to set the default editor in 9front as when I commit to git it 
> uses _hold_ by default for the commit message.  I can't figure out how to 
> save the commit with _hold_ and so my commits are not being committed. (I 
> tried C-d and Delete. C-d enters strange characters, and Delete exists but 
> doesn't save. 
> 
> I tried changing the editor thus:
> 
> echo 'editor=sam' >> $home/lib/profile
> 
> Rebooted and tried:
> 
> echo $editor
> 
> Nothing.
> 
> Thanks. 

You need to hit ^d to send an EOT character, which is what you saw,
then Esc (or ^; or ^[) to exit hold mode (see rio(1)), not Del.

qwx

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T77bc41510f2a92db-M4a8082ab7f7f216d6e54de53
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to