|
|
|
|
||||||
| comp.unix.shell Using and programming the Unix shell. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Prompting for input from a script with:
echo "What do you think?" read I start typing, but want to correct, by useing left arrow I get: I hardly thi^[[D How is that done better? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On comp.unix.shell, in <CMydnfh_q5KS9m_ZRVn_vA@telenor.com>,
"Salve Hakeda" wrote: <article not downloaded: http://slrn.sourceforge.net/docs/README.offline> Don't use non-us-ascii characters in your headers. It breaks too much news software and violates the RFCs. For one thing, they make it impossible to examine your posting history in the Usenet Archives at: http://groups.google.com/advanced_group_search For another, there's no point in it: We don't know how those weird characters are pronounced anyway, and they make you look like a phukwitted troll trying to pretend he's a foreigner. Nor do we have those characters on our keyboards. Duh. I'm very good at line editing, from vi to ed to sed to awk to bash, but I don't people who violate the RFCs. And make it impossible to search examine their posting histories. Alan -- If you replied to an article of mine and are wondering why I didn't respond to you, the fact is that I didn't even download your article. For an explanation, see: http://home.earthlink.net/~alanconnor/newsfilter.html |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
This is an autogenerated message.
Alan doesn't believe in anyone else's existence ... Alan accuses practically everyone of being sock puppets. Apparently, Alan is the only real person in the newsgroups in which he posts. (Even Roosta and his towel aren't real.) Recently, Alan has told everyone that we are all Morely Dotes' sock puppets. In earlier cycles, we were all apparently sock puppets of Ben Finney. The choice appears to be arbitrary. http://www.pearlgates.net/nanae/kooks/ac/fga.shtml Who is Alan Connor? Alan "The Usenet Beavis" Connor is a good friend of Bigfoot: http://tinyurl.com/23r3f A couple of years ago he was kidnapped and raped by Xena, the Warrior Princess: http://tinyurl.com/2gjcy Beavis believes that the MSBlast virus of yesteryear was explicitly targeting him, for some inexplicable reason: http://tinyurl.com/ifrt Beavis belongs to a UFO cult: http://tinyurl.com/2hhdx Beavis's life in a UFO cult: http://tinyurl.com/24jqm He is a skilled dental surgeon: http://tinyurl.com/3h6a5 Beavis knows all about network security: http://tinyurl.com/5qqb6 And he's also a search engine expert: http://tinyurl.com/9pjnt So what is he raving about? In reality, Alan's system is known as a challenge-response or C/R system; it auto-answers incoming email with a challenge and only lets the email through if it receives a valid response. There are several problems with this concept, but Alan doesn't want to hear them. In addition, Alan's system isn't even a very good implementation of the C/R concept, as it fails to address the chicken-egg problem that is inherent to C/R: What if your C/R system sends a challenge to an email address that is also protected by a C/R system? Because of this, Alan and Timo Salmi, another C/R advocate, are unable to email eachother. So basically Alan's system is a broken implementation of a flawed concept. http://groups.google.com/groups/prof...-MEqh3HQ&hl=en http://www.pearlgates.net/nanae/kooks/ac/ http://linuxmafia.com/faq/Mail/challenge-response.html http://www.spamcop.net/fom-serve/cache/329.html#CR http://www.gatago.com/authors_pgs/13650.html http://blog.bananasplit.info/?p=84 http://tinyurl.com/23r3f http://tinyurl.com/ifrt http://tinyurl.com/2hhdx http://tinyurl.com/24jqm http://tinyurl.com/3h6a5 http://tinyurl.com/ys6z4 http://tinyurl.com/5qqb6 http://tinyurl.com/9pjnt (1) news.admin.net-abuse.email Also in the headers for "Allan" to read. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
On 2006-08-28, Salve Håkedal wrote:
> Prompting for input from a script with: > > echo "What do you think?" > read > > I start typing, but want to correct, by useing left > arrow I get: > > I hardly thi^[[D > > How is that done better? By using a shell that has an option to allow line editing when entering text with read. For example, in bash: read -ep "Your name: " name -- Chris F.A. Johnson, author <http://cfaj.freeshell.org> Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) ===== My code in this post, if any, assumes the POSIX locale ===== and is released under the GNU General Public Licence |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
On 2006-08-28, Chris F.A. Johnson <cfajohnson@gmail.com> wrote:
> On 2006-08-28, Salve Håkedal wrote: >> Prompting for input from a script with: >> >> echo "What do you think?" >> read >> >> I start typing, but want to correct, by useing left >> arrow I get: >> >> I hardly thi^[[D >> >> How is that done better? > > By using a shell that has an option to allow line editing when > entering text with read. > > For example, in bash: > > read -ep "Your name: " name > Thank you Chris! (I'll type $ read and learn more) |
|
![]() |
| Outils de la discussion | |
|
|