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


Groups > comp.os.linux.misc > #36950

Re: Gparted questions

From Dan Espen <dan1espen@gmail.com>
Newsgroups comp.os.linux.misc
Subject Re: Gparted questions
Date 2023-02-07 09:42 -0500
Organization A noiseless patient Spider
Message-ID <trto11$3pb1o$1@dont-email.me> (permalink)
References (8 earlier) <trq1mc$2ub8u$1@dont-email.me> <trsf59$3dbv1$1@dont-email.me> <g7adnf_Nss3rfXz-nZ2dnZfqn_udnZ2d@earthlink.com> <trtgq4$3nuo8$1@dont-email.me> <trtl57$3oork$2@dont-email.me>

Show all headers | View raw


Rich <rich@example.invalid> writes:

> Dan Espen <dan1espen@gmail.com> wrote:
>> "26C.Z968" <26C.Z968@noaada.net> writes:
>> 
>>> On 2/6/23 10:05 PM, Dan Espen wrote:
>>>> Rich <rich@example.invalid> writes:
>>>>> https://github.com/hanslub42/rlwrap
>>>>>
>>>>>     rlwrap is a 'readline wrapper', a small utility that uses the GNU
>>>>>     Readline library to allow the editing of keyboard input for any
>>>>>     command.
>>>> Sure looks to me like Python is either using readline or doing a
>>>> real
>>>> good imitation.
>>>
>>>   Well, it's kinda 'readline()' but aimed at the keyboard
>>>   instead of a disk file. In Linux at least most everything
>>>   *is* a file, or treated as such, at some level. The trick
>>>   is FINDING the 'keyboard file' without a bunch of really
>>>   hairy code like dealing with displays in 'X' ....
>>>
>>>   Hmm ... a brainfart from the old days ... is there a Python
>>>   library that'll let you poke stuff into the keyboard buffer ?
>>>   Great way to emulate user input real fast for apps that
>>>   demand "user interaction".
>> 
>> More information on how Python uses either readline or libedit:
>> 
>> https://docs.python.org/3/library/readline.html
>> 
>> Sure looks to me like "rlwrap" is not needed.
>
> That does look to be the case.  Reality is I use the Python REPL so 
> seldom I didn't bother checking first.

What Python does on it's own is way better than what readline provides.
Bring up the interpreter, type "imp", hit tab.  It's readline with the
addition of "rlcompleter" which understands Python keywords.

Using rlwrap doesn't make any sense.


-- 
Dan Espen

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Gparted questions vjp2.at@at.BioStrategist.dot.dot.com - 2023-01-31 00:25 +0000
  Re: Gparted questions Rockinghorse Winner <Rockinghorse@amgen.com> - 2023-01-31 01:59 +0000
  Re: Gparted questions Bobbie Sellers <bliss@mouse-potato.com> - 2023-01-30 17:59 -0800
    Re: Gparted questions Andreas Kohlbach <ank@spamfence.net> - 2023-01-31 11:32 -0500
  Re: Gparted questions Marco Moock <mo01@posteo.de> - 2023-01-31 07:41 +0100
    Re: Gparted questions The Natural Philosopher <tnp@invalid.invalid> - 2023-01-31 10:04 +0000
  Re: Gparted questions vjp2.at@at.BioStrategist.dot.dot.com - 2023-01-31 18:11 +0000
    Re: Gparted questions Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2023-01-31 20:25 +0200
      Re: Gparted questions The Natural Philosopher <tnp@invalid.invalid> - 2023-01-31 18:28 +0000
        Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-03 00:57 -0500
    Re: Gparted questions Marco Moock <mo01@posteo.de> - 2023-01-31 20:18 +0100
      Re: Gparted questions The Natural Philosopher <tnp@invalid.invalid> - 2023-02-01 10:44 +0000
    Re: Gparted questions Bobbie Sellers <bliss@mouse-potato.com> - 2023-01-31 11:30 -0800
  Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-01 00:30 -0500
    Re: Gparted questions Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2023-02-01 18:03 +0000
      Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-01 22:38 -0500
        Re: Gparted questions Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2023-02-02 04:01 +0000
          Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-02 00:17 -0500
            Re: Gparted questions Jim Jackson <jj@franjam.org.uk> - 2023-02-02 14:28 +0000
              Re: Gparted questions Andreas Kohlbach <ank@spamfence.net> - 2023-02-02 15:14 -0500
                Re: Gparted questions Jim Jackson <jj@franjam.org.uk> - 2023-02-02 20:44 +0000
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-02 22:55 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-03 00:24 -0500
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-03 14:20 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 00:51 -0500
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-04 16:17 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 23:14 -0500
                Re: Gparted questions The Natural Philosopher <tnp@invalid.invalid> - 2023-02-05 08:32 +0000
                Re: Gparted questions Dan Espen <dan1espen@gmail.com> - 2023-02-03 10:14 -0500
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 00:56 -0500
                Re: Gparted questions Fritz Wuehler <fritz@spamexpire-202302.rodent.frell.theremailer.net> - 2023-02-04 14:35 +0000
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-04 16:20 +0000
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-04 16:19 +0000
              Re: Gparted questions Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2023-02-02 21:28 +0000
                Re: Gparted questions Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2023-02-02 22:48 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-03 00:46 -0500
                Re: Gparted questions Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2023-02-04 01:35 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 01:48 -0500
                Re: Gparted questions Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2023-02-05 18:11 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-05 23:26 -0500
                Re: Gparted questions Bobbie Sellers <bliss@mouse-potato.com> - 2023-02-05 22:12 -0800
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-08 01:11 -0500
                Re: Gparted questions The Natural Philosopher <tnp@invalid.invalid> - 2023-02-03 08:50 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 01:53 -0500
              Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-03 00:23 -0500
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-03 14:23 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-05 23:46 -0500
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-06 05:03 +0000
                Re: Gparted questions Dan Espen <dan1espen@gmail.com> - 2023-02-06 22:05 -0500
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-07 00:23 -0500
                Re: Gparted questions Dan Espen <dan1espen@gmail.com> - 2023-02-07 07:39 -0500
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-07 13:53 +0000
                Re: Gparted questions Dan Espen <dan1espen@gmail.com> - 2023-02-07 09:42 -0500
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-08 01:15 -0500
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-08 00:22 -0500
                Re: Gparted questions Richard Kettlewell <invalid@invalid.invalid> - 2023-02-08 08:45 +0000
                Re: Gparted questions Dan Espen <dan1espen@gmail.com> - 2023-02-08 11:34 -0500
                Re: Gparted questions Richard Kettlewell <invalid@invalid.invalid> - 2023-02-08 17:18 +0000
                Re: Gparted questions Dan Espen <dan1espen@gmail.com> - 2023-02-08 13:34 -0500
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-08 22:27 -0500
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-07 13:51 +0000
                Re: Gparted questions Jim Jackson <jj@franjam.org.uk> - 2023-02-03 19:00 +0000
                Re: Gparted questions "Carlos E.R." <robin_listas@es.invalid> - 2023-02-03 20:33 +0100
                Re: Gparted questions Fritz Wuehler <fritz@spamexpire-202302.rodent.frell.theremailer.net> - 2023-02-04 02:07 +0100
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-06 00:04 -0500
                Re: Gparted questions Dudete deSpélècz <dudete@never.you.mind.invalid> - 2023-02-04 19:27 +0000
                Re: Gparted questions Rich <rich@example.invalid> - 2023-02-04 19:52 +0000
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 22:00 -0500
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 21:56 -0500
                Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 21:57 -0500
          Re: Gparted questions "Carlos E. R." <robin_listas@es.invalid> - 2023-02-02 13:22 +0100
          Re: Gparted questions pH <wNOSPAMp@gmail.org> - 2023-02-04 02:40 +0000
            Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-04 23:03 -0500
    Re: Gparted questions "Carlos E. R." <robin_listas@es.invalid> - 2023-02-02 13:02 +0100
      Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-03 00:50 -0500
  Re: Gparted questions Jack Strangio  <jackstrangio@yahoo.com> - 2023-02-08 02:46 +0000
    Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-08 01:28 -0500
      Re: Gparted questions Bobbie Sellers <bliss@mouse-potato.com> - 2023-02-08 19:55 -0800
        Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-10 00:24 -0500
          Re: Gparted questions Rich <rich@example.invalid> - 2023-02-10 14:08 +0000
            Re: Gparted questions "Carlos E.R." <robin_listas@es.invalid> - 2023-02-10 22:47 +0100
            Re: Gparted questions "26C.Z968" <26C.Z968@noaada.net> - 2023-02-11 01:50 -0500
              Re: Gparted questions The Natural Philosopher <tnp@invalid.invalid> - 2023-02-11 08:25 +0000

csiph-web