prevent scroll (or something like that)

View: New views
6 Messages — Rating Filter:   Alert me  

prevent scroll (or something like that)

by electron :: Rate this Message:

| View Threaded | Show Only this Message

hello everybody,

i'm new to this forum and pretty much a noob when it comes to cygwin which may explain my question.

I'm doing an assignment for school and I'm supposes to disassemble a piece of code with a disasembler. This works just fine but the output asembly code is to large to fit on the screen. So when i scroll all the way up I can't read the complete output. Is there anything I can do, like an additional command, so I actually can read this output because it holds some information I need.

Thanks in advance,
electron

Re: prevent scroll (or something like that)

by Greg Chicares-2 :: Rate this Message:

| View Threaded | Show Only this Message

On 2008-01-26 11:57Z, electron wrote:
>
> I'm doing an assignment for school and I'm supposes to disassemble a piece
> of code with a disasembler. This works just fine but the output asembly code
> is to large to fit on the screen. So when i scroll all the way up I can't
> read the complete output.

$disassemble binary_file 2>&1 | less

Syntax explained under "REDIRECTION" in the 'bash' manual:
$man bash

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Re: prevent scroll (or something like that)

by electron :: Rate this Message:

| View Threaded | Show Only this Message

Thanks a million, this solved my problem :D On 2008-01-26 11:57Z, electron wrote: > > I'm doing an assignment for school and I'm supposes to disassemble a piece > of code with a disasembler. This works just fine but the output asembly code > is to large to fit on the screen. So when i scroll all the way up I can't > read the complete output. $disassemble binary_file 2>&1 | less Syntax explained under "REDIRECTION" in the 'bash' manual: $man bash -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: prevent scroll (or something like that)

by jreidthompson :: Rate this Message:

| View Threaded | Show Only this Message

Greg Chicares wrote:

> On 2008-01-26 11:57Z, electron wrote:
>> I'm doing an assignment for school and I'm supposes to disassemble a piece
>> of code with a disasembler. This works just fine but the output asembly code
>> is to large to fit on the screen. So when i scroll all the way up I can't
>> read the complete output.
>
> $disassemble binary_file 2>&1 | less
>
> Syntax explained under "REDIRECTION" in the 'bash' manual:
> $man bash

or...
$disassemble binary_file  >/path/to/dump.txt 2>&1



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


RE: prevent scroll (or something like that)

by Stepp, Charles :: Rate this Message:

| View Threaded | Show Only this Message


HISTFILE=/home/cstepp/.bash_history
HISTFILESIZE=2000
HISTSIZE=2000

Charles Stepp
Meskimen's Law:
There's never time to do it rite, but there's always time to do it over.
-----Original Message-----
From: electron [mailto:lucwaeyen@...]
Sent: Saturday, January 26, 2008 6:58 AM
To: cygwin@...
Subject: prevent scroll (or something like that)


hello everybody,

i'm new to this forum and pretty much a noob when it comes to cygwin
which
may explain my question.

I'm doing an assignment for school and I'm supposes to disassemble a
piece
of code with a disasembler. This works just fine but the output asembly
code
is to large to fit on the screen. So when i scroll all the way up I
can't
read the complete output. Is there anything I can do, like an additional
command, so I actually can read this output because it holds some
information I need.

Thanks in advance,
electron

--
View this message in context:
http://www.nabble.com/prevent-scroll-%28or-something-like-that%29-tp1510
7205p15107205.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


RE: prevent scroll (or something like that)

by dhenman :: Rate this Message:

| View Threaded | Show Only this Message


Re: Scroll...

Why don't you just do either of
 (a.)  pipe output to less and read it page by page

       e.g.   $  dissemble-cmd | less

or
 (b.) redirect output to a text file and them use some editor like emacs or
      nano to view it.  
      e.g.    $ dissemble-cmd >filename
            nano filename      or    less filename

good luck with your studies.

regards

> Subject: prevent scroll (or something like that)
>
> hello everybody,
>
> i'm new to this forum and pretty much a noob when it comes to cygwin
> which
> may explain my question.
>
> I'm doing an assignment for school and I'm supposes to disassemble a
> piece
> of code with a disasembler. This works just fine but the output asembly
> code
> is to large to fit on the screen. So when i scroll all the way up I
> can't
> read the complete output. Is there anything I can do, like an additional
> command, so I actually can read this output because it holds some
> information I need.
>
> Thanks in advance,
> electron
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/