DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 4 Weeks Ago
Prevet Prevet is offline
Shell Scout
 
Join Date: Oct 2017
Posts: 111
Default Two very basic questions about readline(3) and indent(1)

Q1) I'm using rlwrap with ed(1) and want to add tabs while I'm editing. Since tab is used for completions I have altered my .inputrc file, so a tab character is inserted if ctrl-t is pressed, which is not the greatest. So I thought I'd ask if anyone here that uses readline with a CLI editor, can suggest a better alternative keypress, to get around the fact that the tab key is already taken.

Edit:
Forget that question. Maybe I can bind it to left or right alt or ctrl.

Q2) I want to try some C programming the OpenBSD way and have been reading the man for style(9). At the bottom it suggests a program called indent(1) which has a lot of options. So I was wondering if there is an OpenBSD specfic .indent.pro file uploaded somewhere with those settings. I searched and found one for Arch Linux, but could not find anything for OpenBSD. If there isn't an official one, perhaps you have seen one on Github?

Last edited by Prevet; 4 Weeks Ago at 02:44 PM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD Installer / Install Script Basic Questions daemonbak OpenBSD Installation and Upgrading 9 28th May 2015 01:56 AM
Some basic questions regarding pkgsrc use gezley NetBSD Package System (pkgsrc) 15 30th April 2015 04:25 PM
openbsd basic questions barti OpenBSD General 12 17th July 2012 08:38 PM
basic rsync questions unixjingleman FreeBSD General 5 27th May 2011 04:39 AM
Basic starter questions ??? dennky OpenBSD Installation and Upgrading 10 5th December 2009 07:21 PM


All times are GMT. The time now is 10:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick