Magenaut

Magenaut

A blog about Magento Development, Magento bug fixing, and more

Skip to content
Menu
  • Home
  • Notes
  • Tutorial
  • Bug fixing
  • Extension
  • Server
  • Q&A
  • About

Tag: readline

Q&APosted onAugust 8, 2022

Unexpected behaviour from Readline’s bind command

I hadn’t yet researched whether or not bracketed paste mode is supported by the version of Bash/Readline on my Ubuntu 16.04 system (it isn’t) and out of curiosity, I ran the following command presented in this Ask Ubuntu answer.

Read More
Q&APosted onAugust 8, 2022

Spurious @ symbol at start of bash prompt in Debian Jessie

As of late, and without my deliberately doing anything to make it happen, my Bash prompt has an at sign (i.e. @) prepended to it. This did not previously happen. Nor can I see anything in my ~/.bashrc that seems as though it ought to be making this happen.

Read More
Q&APosted onAugust 7, 2022

Is there any way to enable Ctrl+L to clear screen when ‘set -o vi’ is set?

When you press Ctrl+L in bash default mode the screen is cleared. But when I run set -o vi and press Ctrl+L the keystroke is printed (^L).
Is there any way to keep this behavior?

Read More
Q&APosted onAugust 7, 2022

How do I switch to vi editing mode in readline?

I want to switch to vi editing mode in a readline environment. But I don’t want to use ‘set -o vi’. I want to temporarily switch using a keyboard shortcut. The man page says I can do this with M-C-j. But that doesn’t work for me.

Read More
Q&APosted onAugust 7, 2022

~/.inputrc file not sourcing correctly

I have this ~/.inputrc file that I created for certain key bindings.

Read More
Q&APosted onAugust 6, 2022

Reading character by character with bash read

I’ve been trying to use bash to read a file character by character.

Read More

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 141 other subscribers

Recent Comments

  • anonymous on Fix libwacom9 dependency issue when upgrade Debian
  • sreedhar on Fix libwacom9 dependency issue when upgrade Debian
  • saintnick on Fix libwacom9 dependency issue when upgrade Debian
  • ranafoul on Fix libwacom9 dependency issue when upgrade Debian
  • John Fro on UFW rule from a list of IPs

Tags

actions admin ajax bash block-editor categories command-line css custom-field custom-post-types custom-taxonomy customization database debian filters functions hooks images javascript linux loop menus multisite pagination permalinks php plugin-development plugins post-meta posts rest-api security shell shell-script shortcode templates theme-development themes uploads url-rewriting user-roles users woocommerce-offtopic wp-admin wp-query

© Magenaut - The Magento Astronaut