LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-29-2006, 03:41 PM   #1
wycolorado
LQ Newbie
 
Registered: Aug 2003
Posts: 29

Rep: Reputation: 15
ESC+/ to search command history in tcsh


Hi, all:

I just started to use tcsh instead of ksh. It gave me a lot headaches. One thing I was used to do is to set EDITOR vi and use ESC+/ or ESC+? to search through the command history. Very convenient. But in tcsh, I defined like below in .cshrc:

setenv EDITOR vi
bindkey -v

I can use up/down arrows or ESC+k/j to browse through the command history list. But when I try to use ESC+/, "/" jumped to a new line and the search doesn't work.

Could any guru help me figure out how to fix the problem? Thanks a lot.
 
Old 06-30-2006, 04:20 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


http://www.linuxquestions.org/questi...d.php?t=459269
 
  


Closed Thread


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
ESC+/ to search command history in tcsh wycolorado Linux - General 0 06-28-2006 06:43 PM
Search Box History List akosombo Fedora 0 05-06-2005 07:36 PM
Command history? King4lex Linux - Newbie 4 09-03-2004 08:35 PM
tcsh history display format k4zau Linux - Software 1 10-12-2003 10:42 PM
tcsh history log twantrd Linux - General 3 06-25-2003 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:45 AM.

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