[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55821] Ctrl+C not being passed to the pager w

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #55821] Ctrl+C not being passed to the pager when 'less' is in "follow output" mode
Date: Sun, 3 Mar 2019 13:38:06 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0


                 Summary: Ctrl+C not being passed to the pager when 'less' is
in "follow output" mode
                 Project: GNU Octave
            Submitted by: sebald
            Submitted on: Sun 03 Mar 2019 06:38:04 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Dan Sebald
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux



Try the following:

octave:6> more on
octave:7> y = 1:1e7

and hit Ctrl+C somewhere when it is displaying:

 Columns 36 through 42:
-- less -- (f)orward, (b)ack, (q)uit

Octave is still in the pager.  The pager's "follow output" mode needs a Ctrl+C
to exit, but Octave is not passing that escape sequence to the pager.  When in
pager, type Shft+F, which means to keep moving (pressing) f indefinitely:

 Columns 1259567 through 1259573:

    1259567    1259568    1259569    1259570    1259571    1259572    1259573

 Columns 1259574 through 1259580:

    1259574    1259575    1259576    1259577
Waiting for data... (interrupt to abort)

Cntrl-C doesn't work at this point.  (If there is a key sequence for abort, I
don't know it.)  So, at this point octave is hung and only killing the process
will exit.

Repeat the above sequence without pressing Ctrl+C (use y=1:1e6 if you like),
and Ctrl+C still works in the pager after having pressed Shft+F.

Maybe leaving the pager altogether when pressing Ctrl+C during output is the
way to go.


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]