Forum Discussion
change irule editor
How do I change the iRule editor from GNU nano to VI.
3 Replies
- David_Holmes_12Historic F5 Account
Hi Helen, if you are talking about the built-in editor for the tmsh command, you can switch between vi and nano with this tmsh command:
(tmos) modify cli preference editor vi (tmos) save sys configOr are you talking about the Windows iRule Editor? https://devcentral.f5.com/d/irule-editor-msi
If so, I don't think there's a way to change the editing mechanics of that.
- Helen_Wan
Nimbostratus
Oh great! I was referring to the built-in editor for the tmsh command. I wanted to be able to use a script to create and edit iRules and vi seems more amenable for this since I could combine my bsh/perl scripting with expect. I will definitely give it a try. Thank you very much.
- F5-Gibbo_334348
Nimbostratus
Hi can I add to this question please? I am using tmsh with remote-role authentication, and I seem to get nano every time I edit something within the tmsh prompt, despite 'list cli preference editor' listing vi. Any ideas why?
Many thanks!
Dave.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com