Shell Command Output

  • Follow


If I compile a program, and it has a lot of errors, the screen splits into
to parts, one with source, and one with
error messages. How can I close the error window?

I also want to know how I can move the cursor down to the *Shell Command
Output* without using the mouse.

--
- I guess I won't be able to sleep anymore now.


0
Reply Eirik 6/30/2003 10:45:38 PM

"Eirik" <hannibalkannibal@yahoo.no> writes:

> If I compile a program, and it has a lot of errors, the screen
> splits into to parts, one with source, and one with error
> messages. How can I close the error window?

You close a window with ``C-x k'' which runs the command
kill-buffer. (The sequence ``C-x k'' is a shorthand for holding down
the control key and pressing x, releasing both keys and pressing k.)

But to close the error window you have to switch to it first, instead
you'll probably find it easier to just hide the error buffer with the
command ``C-x 1''.

> I also want to know how I can move the cursor down to the *Shell
> Command Output* without using the mouse.

You switch between the windows with ``C-x o''. There's some info about
all this in the Emacs tutorial which is activated by ``C-h t''.

-- 
Martin Geisler                       My GnuPG Key: 0xF7F6B57B

See http://gimpster.com/ and http://phpweather.net/ for:
PHP Weather:   Shows the current weather on your webpage and
PHP Shell:     A telnet-connection (almost :-) in a PHP page.
0
Reply Martin 7/1/2003 1:03:42 AM


C-x o

-- 


--
Ensoul Chee <mpub@sohu.com>
ICQ: 316069549
FTP: ftp://gidc.vicp.net
--


0
Reply Ensoul 7/1/2003 7:27:35 AM

In article <878yrjcb2p.fsf@gimpster.sg.bnaa.dk>,
Martin Geisler  <gimpster@gimpster.com> wrote:
>"Eirik" <hannibalkannibal@yahoo.no> writes:
>
>> If I compile a program, and it has a lot of errors, the screen
>> splits into to parts, one with source, and one with error
>> messages. How can I close the error window?
>
>You close a window with ``C-x k'' which runs the command
>kill-buffer.

That will kill the buffer, but it leaves the window intact -- it will just
show a different buffer.  The commands to get rid of a window are C-x 0 and
C-x 1; the first gets rid of the current window, the second gets rid of all
but the current window.

-- 
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
0
Reply Barry 7/1/2003 2:32:23 PM

Barry Margolin <barry.margolin@level3.com> writes:

>>You close a window with ``C-x k'' which runs the command
>>kill-buffer.
>
> That will kill the buffer, but it leaves the window intact -- it
> will just show a different buffer.

Argh, yes of course! Sorry about that... :-)

-- 
Martin Geisler                       My GnuPG Key: 0xF7F6B57B

See http://gimpster.com/ and http://phpweather.net/ for:
PHP Weather:   Shows the current weather on your webpage and
PHP Shell:     A telnet-connection (almost :-) in a PHP page.
0
Reply Martin 7/1/2003 9:57:01 PM

4 Replies
116 Views

(page loaded in 0.08 seconds)

3/31/2013 12:05:47 AM


Reply: