Linux GUI FAQ/tutorial?

trev.saunders at gmail.com trev.saunders at gmail.com
Fri Jan 22 14:15:33 UTC 2010


Hi,

> From: <trev.saunders at gmail.com>
> >> execute the currently open program source code
> >> with a specified interpreter that also offers me the possibility of
> >> specifying some parameters,
> >
> > vim can do this with :!.  I tend to write the file with vim and switch to 
> > a different shell in screen and use that to run the code.
> 
> That's what I want to avoid.
> 
> For example, in TextPad I just press Control+Shift+E, it appears a text box 
> where I can type the command line parameters, and I press enter. The results 
> (STDOUT and STDIN) are placed in a new document window, so they are 
> accessible for selecting them, copying them, pasting, etc.

So  with vim I can do one of these ":!<up>" this gets the previous command which usually is what I want to do.  alternatively control - a and a window number then up and enter.  I am ussually compiling or running code so the command I run is repeated and so I'd rather use history than type args agian.

> Switching to a new shell and typing the command line for running the program 
> requires much more keystrokes, and the result is not automaticly placed in 
> an editor where it can be accessed as well as possible, so it is not a very 
> good method.
> 

I'don't think control a and a number is slower than control shift e.  if you use :! in vim stdout and stderr are piped to a pager on top of the file you are editing so you just go up and look at it (I think this is faster than a different window, and why would I wnat to copy the result of a command any way).  As for the copy past screen copies the output of a shell perfectly well.   what I like about using a different shell is that I have a choice of things to pipe output to grep and less are the common programs, but other things are possible.

> > find/replace using regular expressions with a
> >> simple combination of keys, and very few other things.
> >
> > I feel like there is a way to do this in nano, but I don't remember what 
> > it is.  Ireally like vim for this because it supports the same s/// 
> > operater as perl php etc.  I believe gedit can do this too.
> 
> Is gedit a modern editor like the Windows ones, or an old style one like vi 
> or emacs?
> 

it's a gui, it is atleast some what like notepad, but I really don't know since I strongly prefer vim.

> > certianly the way vim works is different from gedit / notepad etc, 
> > howeverthis makes it very powerful.  it sounds like you might want an IDE? 
> > If so I would suggest taking a look at eclipse it was reasonably ccessible 
> > under linux atleast so far as my one quick look went.
> 
> Yes, actually I want an IDE, but under Windows I don't like Eclipse and 
> Visual Studio at all because they are too complex, with too many useless 
> windows and panes, and this is not a big problem, but they start very very 
> slow.
> A simple editor like TextPad/UltraEdit/EditPlus starts in a fraction of a 
> second, while Eclipse takes very many seconds to load. Does it happen the 
> same under Linux or it works faster?

I remember eclipse starting quickly, but it was several months ago, I also don't remember that many windows to deal with.

I suspect that a lot of what editing enviroment you like depends on what screen reader you like.  Personally I find that yasr works very well for my needs, but a number of other people seem to really like emacspeak which I can't stand because I'd far rather use h j k l to move than control n control p etc even though I remap capslock to contrl.

not a problem

Trev


> 
> Thank you.
> 
> Octavian
> 
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
> 




More information about the Blinux-list mailing list