LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-12-2013, 10:26 AM   #1
gamnersome
LQ Newbie
 
Registered: Dec 2013
Posts: 1

Rep: Reputation: Disabled
bash with curses


Hi I'm new to Slackware and the whole Linux world.

Would like to know why and why not should i compile bash using "--with-curses" option.
While the most felt advantage to me is that i can use Home and End keys within urxvt without having to touch any config file, eg. .Xresources.

Thank You
 
Old 12-12-2013, 11:27 AM   #2
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Your issue can be resolved easily by adding a couple of readline keybindings to /etc/inputrc:
Code:
# for urxvt
"\e[7~": beginning-of-line
"\e[8~": end-of-line
If you prefer building bash against curses report back any side-effects you experience.

--mancha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] python and curses : unable to getch() for a curses.KEY event mangec Programming 1 11-09-2010 05:21 PM
errors using curses.h grcunning Programming 2 02-28-2010 08:36 PM
do I need curses? jake_01 Programming 1 04-28-2005 07:24 AM
Where is curses.h and semun.h DavidW567 Programming 1 01-13-2005 12:57 PM
Curses nitinkatageri Linux - General 2 08-18-2003 05:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration