LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-09-2008, 07:38 PM   #1
hex1a4
Member
 
Registered: Dec 2007
Location: ON CA
Distribution: Xubuntu 8.04; Xubuntu 6.06.2
Posts: 64

Rep: Reputation: 15
Question Command-line output to GUI text editor


Hi,

Other than redirecting output to file then opening that file, is there a way to send output of a given command directly to a text editor (preferably NEdit)?

Thank you.
 
Old 04-10-2008, 01:05 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
I don't know nedit, but in (g)vim and emacs you can invoke an
OS command and capture the output. That aside you can maybe
use xclip to push the output into the X clipboard and paste it
into the editor - not sure whether there's a size limitation on
what you can push into the clip-board, though.


Cheers,
Tink
 
Old 04-10-2008, 11:49 AM   #3
dr_agon
Member
 
Registered: Sep 2007
Location: Poland
Distribution: Ubuntu 8.04
Posts: 76
Blog Entries: 12

Rep: Reputation: 24
Quote:
Originally Posted by Tinkster View Post
I don't know nedit, but in (g)vim and emacs you can invoke an
OS command and capture the output.
You can do it in gedit, too. I'm using version 2.22.0 and it is even included in the Tools menu, and described in help file. But direct piping from command line as described in help does not work for me - have no idea why?

cheers
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enhanced command line text editor netsoft2005 Linux - Software 2 07-14-2005 07:42 AM
GUI Text editor PhuckFonix Linux - Software 14 05-16-2005 10:34 AM
GUI text editor for C++ bitessy Linux - Newbie 7 01-23-2004 02:22 AM
Mandrake 9.1 installed command line text editor plexi100 Linux - Newbie 1 11-07-2003 10:25 PM
VI text editor in command line InSane103 Linux - Software 4 07-09-2003 09:04 PM


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