<?xml version="1.0" encoding="UTF-8"?>
<page>
  <content>One of the minor annoyances I noticed when working in my Ubuntu install on Slicehost over SSH was that my delete/backspace key in nano was doing a delete instead of backspace. Basically the cursor was staying put and deleting one space to the right, instead of backspacing one space to the left. It's a minor annoyance, but I spend enough time using nano to make quick fixes to config files that I needed to fix it.

A quick glance through the nanorc file in /etc allowed me to fix it.

Change this line:

@# set rebinddelete@

To this:

@set rebinddelete@

Problem solved, the delete key should behave normally now in nano. There are a lot of other options you can enable in the nanorc file, so take some time to read through it. I lowed the default tab size and had it automatically convert tabs to spaces.


</content>
  <created-on type="datetime">2007-03-10T17:50:30+00:00</created-on>
  <has-changes type="integer">0</has-changes>
  <html>&lt;p&gt;One of the minor annoyances I noticed when working in my Ubuntu install on Slicehost over &lt;span class="caps"&gt;SSH&lt;/span&gt; was that my delete/backspace key in nano was doing a delete instead of backspace. Basically the cursor was staying put and deleting one space to the right, instead of backspacing one space to the left. It&amp;#8217;s a minor annoyance, but I spend enough time using nano to make quick fixes to config files that I needed to fix it.&lt;/p&gt;


	&lt;p&gt;A quick glance through the nanorc file in /etc allowed me to fix it.&lt;/p&gt;


	&lt;p&gt;Change this line:&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;# set rebinddelete&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;To this:&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;set rebinddelete&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Problem solved, the delete key should behave normally now in nano. There are a lot of other options you can enable in the nanorc file, so take some time to read through it. I lowed the default tab size and had it automatically convert tabs to spaces.&lt;/p&gt;</html>
  <id type="integer">116</id>
  <is-post type="integer">1</is-post>
  <is-published type="integer">1</is-published>
  <title>Fixing Nano on Ubuntu</title>
  <url>notebook/2007/03/10/fixing_nano_on_ubuntu</url>
</page>
