The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Emacs 22 revives an editor favorite - Computerworld iBot UNIX and Linux RSS News 0 07-30-2007 09:30 AM
init file for emacs editor annemar UNIX for Dummies Questions & Answers 0 10-18-2005 03:39 AM
vim as command line editor tony3101 UNIX for Dummies Questions & Answers 1 04-16-2004 05:50 AM
Making Emacs to show line number saurya_s UNIX for Dummies Questions & Answers 9 01-28-2004 01:32 PM
Emacs Editor srekcus UNIX for Dummies Questions & Answers 5 02-06-2002 12:05 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-29-2005
annemar annemar is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 20
emacs as a line editor

hello,
I would like to use emacs as a line editor (I use emacs as editor).
I try "set -o emacs" but I have nothing.
Thank you for any help
  #2 (permalink)  
Old 11-29-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,190
M-x shell, and you have as close as you can get to it. A shell with an emacs window. Some things will work others not.
  #3 (permalink)  
Old 11-30-2005
annemar annemar is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 20
Thank you for your answer but my question was : how can I use emacs as editor on the shell line. As, when I do "set -o vi", I can recall a command with "Escape-K" or "Escape-J" and so on.
I have read emacs can be used for that. But "set -o emacs" doesn't seem to give anything after.
  #4 (permalink)  
Old 11-30-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Make sure you set +o vi too...

e.g.

set +o vi
set -o emacs

Then, C-p and C-n to cycle through history.

man bash.....

Cheers
ZB
  #5 (permalink)  
Old 11-30-2005
annemar annemar is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 20
Thank you very much. That's all I need. I can now manage with emacs as line editor.
  #6 (permalink)  
Old 11-30-2005
annemar annemar is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 20
One question more : have you heard of .fkrc (I suppose it's a file in my home directory) ?
If I am right, I can define in the arrow keys as C-p, C-n, C-b and C-f.
I don't find much help in "man ksh"
Thank you if you have any idea.
Anne
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0