[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pasting text into bash without use of mouse



on Wed, Apr 04, 2001 at 08:50:56AM +0800, csj (csj@mindgate.net) wrote:
> Is there a way to copy or paste text into bash without the use of a 
> mouse? I'm thinking of a text file "file.txt" which contains command 
> sequences which I would like to touch up before running.
> 
> I don't want to use an editor for this. Just the line editing 
> functions of bash. Offhand the only (untested) solution I can think 
> of is something like "cat file.txt >> .bash_history", subsequently 
> invoking another bash session. Is this stupid (dangerous)? Does 
> someone have a better solution?

Just posted here this week.  If you have wmaker installed, wxpaste and
wxcopy do what you'd expect them to.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpdWAh8cILpC.pgp
Description: PGP signature


Reply to: