LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 08-20-2009, 11:44 AM   #1
ankit.nsit
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
Copy/Paste algorithm or source code in linux


How does copy and paste works in linux.I want to know the algorithm or source code.I am not talking about the mouse button and all.
Can anyone help me by providing the source code and algorithm of cut/copy/paste taking place in kernel.
 
Old 08-20-2009, 02:14 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,748

Rep: Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551Reputation: 2551
Short : The kernel handles interaction between the OS and hardware.

Long definition: The kernel handles the basic functions of the
operating system: memory allocation, processallocation, device
input and output, etc.

And not copy, paste etc.
There is a command for copy ( cp) and move ( mv ).
The copy and paste functions, you ask about are functions in
the applications, you use. All that takes place in user space.

The source code : have a look in the application source.
.....
This tool will find all information : http://www.google.com/linux

.....
 
Old 08-20-2009, 02:49 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,903

Rep: Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775
You have asked two questions on a very similar area (http://www.linuxquestions.org/questi...efined-749061/), and make a very similar error.


Quote:
Originally Posted by ankit.nsit View Post
Can anyone help me by providing the source code and algorithm of cut/copy/paste taking place in kernel.
Given that it doesn't exist, it is a little difficult to satisfy this request; What makes you think that this takes place in the kernel? (It doesn't; Its not there.)

You should try, in particular, to understand pixellany's reply to your other post and its implications.

I suspect once the mods get wind of this 'almost the same post in two threads' they will close this one, given that the other one is probably more helpful to you in your attempt to reach a state of enlightenment the hard way.
 
  


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
Source code of RSA algorithm in C language Dyuri Programming 4 12-04-2011 08:04 AM
source code for IDEA algorithm 8902 Linux - Newbie 1 01-27-2009 12:53 AM
Copy and paste in GNU/Linux posix_memalign Linux - Software 2 12-27-2008 04:01 PM
Where can I find source code for CPRM algorithm? George2 Programming 2 03-13-2004 04:06 AM


All times are GMT -5. The time now is 05:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration