Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.perl.misc > #8497 > unrolled thread

interactive selection of text lines

Started byUlli Horlacher <framstag@rus.uni-stuttgart.de>
First post2013-06-24 07:54 +0000
Last post2013-06-27 20:11 +0000
Articles 4 — 4 participants

Back to article view | Back to comp.lang.perl.misc


Contents

  interactive selection of text lines Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2013-06-24 07:54 +0000
    Re: interactive selection of text lines Ben Morrow <ben@morrow.me.uk> - 2013-06-24 09:20 +0100
    Re: interactive selection of text lines Josef Moellers <josef.moellers@invalid.invalid> - 2013-06-27 21:00 +0200
      Re: interactive selection of text lines gamo@telecable.es - 2013-06-27 20:11 +0000

#8497 — interactive selection of text lines

FromUlli Horlacher <framstag@rus.uni-stuttgart.de>
Date2013-06-24 07:54 +0000
Subjectinteractive selection of text lines
Message-ID<kq8tva$kas$1@news2.informatik.uni-stuttgart.de>
I want to (de-)select interactivly text lines with cursor keys and space
bar.
Something like Tk::Checkbutton, but for a terminal and not GUI.

The text must be scrollable, because I have more text lines than they
would fit on the terminal. 
Example: select files from a directory listing.

Is there a module for this kind of task?


-- 
Ullrich Horlacher              Informationssysteme und Serverbetrieb
Rechenzentrum IZUS/TIK         E-Mail: horlacher@tik.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-68565868
Allmandring 30a                Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.tik.uni-stuttgart.de/

[toc] | [next] | [standalone]


#8498

FromBen Morrow <ben@morrow.me.uk>
Date2013-06-24 09:20 +0100
Message-ID<k3cl9a-eel.ln1@anubis.morrow.me.uk>
In reply to#8497
Quoth Ulli Horlacher <framstag@rus.uni-stuttgart.de>:
> I want to (de-)select interactivly text lines with cursor keys and space
> bar.
> Something like Tk::Checkbutton, but for a terminal and not GUI.
> 
> The text must be scrollable, because I have more text lines than they
> would fit on the terminal. 
> Example: select files from a directory listing.
> 
> Is there a module for this kind of task?

Searching search.cpan.org for 'dialog', 'curses' or 'slang' each brings
up several results, some of which look promising. I've not used any of
them.

Ben

[toc] | [prev] | [next] | [standalone]


#8530

FromJosef Moellers <josef.moellers@invalid.invalid>
Date2013-06-27 21:00 +0200
Message-ID<b33gdsFf850U1@mid.individual.net>
In reply to#8497
On 06/24/2013 09:54 AM, Ulli Horlacher wrote:
> I want to (de-)select interactivly text lines with cursor keys and space
> bar.
> Something like Tk::Checkbutton, but for a terminal and not GUI.
> 
> The text must be scrollable, because I have more text lines than they
> would fit on the terminal. 
> Example: select files from a directory listing.
> 
> Is there a module for this kind of task?
> 
> 
I haven't used them but search cpan for "curses".

[toc] | [prev] | [next] | [standalone]


#8531

Fromgamo@telecable.es
Date2013-06-27 20:11 +0000
Message-ID<kqi692$q4u$1@speranza.aioe.org>
In reply to#8530
If you are lucky and uses Linux, the dialog (1) could do menus 
type radiolist for you. You only have to read stderr, because 
stdout is used to sohow the menus.

        URL: http://www.telecable.es/personales/gamo/Codigo_dialog_pl.html

Best regards,

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.perl.misc


csiph-web