Find the answer to your Linux question:
Results 1 to 4 of 4
hi, im using bash to compile my c++ app. when i call make, i get far too many errors to see them all. so i can only see the screen's ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    7

    newb question about scrolling in bash$

    hi,

    im using bash to compile my c++ app.

    when i call make, i get far too many errors to see them all. so i can only see the screen's worth of errors - all the errors at the beggining have scrolled off the screen.

    is there a command that i can call with make, so it will give me an error at a time, or any way of scrolling 'up' the screen so i can see the first few errors? or can i output the errors to a text file and inspect the contents there?

    any help much appreciated.

    [edit]
    ok i found shift+pg up/down.

    but i cant see ALL the errors. it stops after a bit. any other/better way?
    [/edit]

  2. #2
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    101
    which terminal emulator are you using? i know in the gnome-terminal (and probably all emulators) profiles you can specify how many lines you want it to scroll back to. the default is pretty low.
    --Erik

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    7
    actually i am using the linux/ps2 kit at uni. im using bash$, not in a windows environment though, just plain old command prompt.

    what i did was call make 2>logfile.txt. this redirects the compiler errors to a txt file and then i just shift+page up/down in the txt file.

    cheers!

  4. #4
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    101
    gottcha, good thinkin.
    --Erik

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •