Re: Term::ReadLine

2018-03-09 Thread hw
Jostein Berntsen <jber...@broadpark.no> writes: > On 25.02.18,16:44, hw wrote: >> Hi, >> >> how do I disable the underlining of the prompt when using Term::ReadLine >> with GNU readline? >> > > Check this: > > https://www.nntp.perl.org/gro

Re: Term::ReadLine

2018-02-26 Thread Jostein Berntsen
On 25.02.18,16:44, hw wrote: > Hi, > > how do I disable the underlining of the prompt when using Term::ReadLine > with GNU readline? > Check this: https://www.nntp.perl.org/group/perl.beginners/2009/05/msg107390.html Jostein -- To unsubscribe, e-mail: beginners-unsub

Term::ReadLine

2018-02-26 Thread hw
Hi, how do I disable the underlining of the prompt when using Term::ReadLine with GNU readline? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

A question regarding turning off the ornaments on Term::Readline

2011-10-29 Thread Daniel Patrick Sullivan
Hi, I have (another) question about resetting the ornaments on a Term::Readline instance. I can't seem to get the syntax correct on how to accomplish this. Basically I want to get rid of the underline in the terminal prompt; I am configuring the new terminal like this my $terminal = Term

Re: A question regarding turning off the ornaments on Term::Readline

2011-10-29 Thread Anneli Cuss
http://perldoc.perl.org/Term/ReadLine.html http://perldoc.perl.org/Term/ReadLine.html#Additional-supported-functions Try $terminal-ornaments(0); -- it works for me in this context: my $terminal = Term::ReadLine-new('pw7'); $terminal-ornaments(0); my $r = $terminal-readline; # no underline

Re: How to get rid of underline in Term::Readline::GNU's prompt?

2009-05-05 Thread Jorge Almeida
On Tue, May 5, 2009 at 2:46 AM, Yue Chen godsarm...@gmail.com wrote: Hi Guys I am using Term::Readline::GNU to develop a tool with tab extention. So far everything is all right except the prompt string is underlined in my term. I am not sure whether it is an issue of library or my terminal

How to get rid of underline in Term::Readline::GNU's prompt?

2009-05-04 Thread Yue Chen
Hi Guys I am using Term::Readline::GNU to develop a tool with tab extention. So far everything is all right except the prompt string is underlined in my term. I am not sure whether it is an issue of library or my terminal. I also googled and searched CPAN but failed to get the answer. Did anyone

Segfault with Term::ReadLine::GNU

2008-11-04 Thread Jorge Almeida
Term::ReadLine::GNU just stopped working: $ perl -e 'use Term::ReadLine; $t=Term::ReadLine-new(test);' Segmentation fault OS is linux, kernel 2.6.25. Perl version is 5.8.8 (on a Pentium 4). Term::ReadLine::GNU is version 1.17 (I also tried 1.16, no difference). I had

vim--Term::Readline::Gnu problem

2007-08-08 Thread Jorge Almeida
I found this weird behavior when using Term::ReadLine::Gnu in a Perl program called from vim (in linux). When an area in vim is selected (in visual mode) and an external program is called, the contents of the selected area act as STDIN for the program, and are overwritten by the program's output

term::readline, need to change default prompt char props

2007-02-23 Thread Gauthier, Dave
Hi: I'm experimenting with Term::Readline as a way to emulate a CLI from within perl. One of the annoying things it does is to alter the display characteristics of the string I ask the readline method to use as a prompt. It always gets underlined, sometimes the color gets changed

Re: term::readline, need to change default prompt char props

2007-02-23 Thread Tom Phoenix
On 2/23/07, Gauthier, Dave [EMAIL PROTECTED] wrote: I'm experimenting with Term::Readline as a way to emulate a CLI from within perl. One of the annoying things it does is to alter the display characteristics of the string I ask the readline method to use as a prompt. It always gets

Term::Readline

2006-06-16 Thread Jorge Almeida
Anyone knows some tutorial about using Term::Readline::Gnu? Or some article, somewhere? -- Jorge Almeida -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Term::Readline

2006-06-16 Thread Prabu
Jorge Almeida wrote: Anyone knows some tutorial about using Term::Readline::Gnu? Or some article, somewhere? Hello, There are some programs under directories eg/ and t/ in Term::Readline::Gnu module which includes many examples which this modules support. Also read the description about

TERM::ReadLine and program flow question

2005-02-08 Thread Scott R. Godin
This is my first time attempting to use Term::ReadLine to get input from the commandline while a script is running. I grok the basics of it, but am stumbling over the implementation of it. Let me illustrate: READLINE: { # closure, so I don't have to either # - call Term::ReadLine-new() every

Re: TERM::ReadLine and program flow question

2005-02-08 Thread Philipp Traeder
On Tuesday 08 February 2005 18:57, Scott R. Godin wrote: This is my first time attempting to use Term::ReadLine to get input from the commandline while a script is running. I grok the basics of it, but am stumbling over the implementation of it. Let me illustrate: READLINE: { # closure, so

Re: TERM::ReadLine and program flow question

2005-02-08 Thread Scott R. Godin
Philipp Traeder wrote: On Tuesday 08 February 2005 18:57, Scott R. Godin wrote: This is my first time attempting to use Term::ReadLine to get input from the commandline while a script is running. I grok the basics of it, but am stumbling over the implementation of it. Let me illustrate: READLINE

IO::Socket and Term::Readline

2004-03-10 Thread Ernest Beinrohr
experience with this? I'm attaching the script, it's short and after running it you can telnet to localhost:8081 Code: use IO::Socket; use Term::ReadLine; # # Server Script: # Copyright 2003 (c) Philip Yuson # this program is distributed according to # the terms

Term::ReadLine examples lacking

2002-12-29 Thread Harry Putnam
I'm having a heck of a time finding examples of using Term::ReadLine to allow editing of user input to perl programs. perldoc Term::ReadLine, at my low level of skill, reads like semi gibberish and I see no simple examples. My needs are pretty simple. I wnat to allow the user some kind