LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-18-2007, 10:33 PM   #1
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Rep: Reputation: 15
[bash / readline] Access / output content of yank buffer?


Hi,

I am looking for a way (a tool / a built-in shell command / a variable / a hack I'm not capable of) to output the content of what is currently in the yank buffer.

So, after I deleted words at the prompt with C-w, C-u or C-k, I'd like to output what I would get with C-y, but using some tool.

Does anyone have an idea?

Would that be possible at all?
(If you know that it is not, please tell me that, and don't leave this post at zero-replies forever.)

~fab

(PS: Sorry, but I can't tell apart yank buffer and kill ring...)

{ GNU bash, version 3.1.17 and libreadline 5.2 }
 
Old 01-19-2007, 10:54 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Haven't seen any app or wrapper capable of doing that. Maybe check Freshmeat / Sourceforge?
 
  


Reply

Tags
bash, readline



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
Sed gives output in pipes only when buffer is full jahvascriptmaniac Linux - Software 2 08-31-2006 05:57 PM
What is the difference between the free buffer and buffer in the buffer hash queue? Swagata Linux - Enterprise 0 05-25-2006 11:57 PM
Debian Plug Yank aeuzent Linux - General 10 08-08-2005 08:41 PM
Copy output of Terminal Buffer tryangle Debian 2 08-08-2005 04:09 PM
Keyboard output buffer Majestros Linux - Hardware 0 07-06-2004 09:01 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:59 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