Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > "SetCSetConsoleMode failed" message

Reply
Thread Tools

"SetCSetConsoleMode failed" message

 
 
Barge Bill
Guest
Posts: n/a
 
      09-24-2005
I'm using a plain vanilla install. But during a debug session, I
always get the message below.

"SetConsoleMode failed,LastError=|6| at
:/Perl/site/lib/Term/ReadKey.pm line 265."

perl5db.pl version 1.28

The sessions runs normally, except I cannot get the "R" command to
force a rerun of the program, ever.

It's annoying because it adds several lines to the debug report.

Bill

 
Reply With Quote
 
 
 
 
Henry Law
Guest
Posts: n/a
 
      09-25-2005
Barge Bill wrote:
> I'm using a plain vanilla install. But during a debug session, I
> always get the message below.
>
> "SetConsoleMode failed,LastError=|6| at
> :/Perl/site/lib/Term/ReadKey.pm line 265."
>
> perl5db.pl version 1.28


But which Perl? Is it Activestate (Windows)? If so then

http://aspn.activestate.com/ASPN/Mai...ge/ppm/2088972

will tell you that setting the TERM environment variable to "dumb" will
cure the problem. (Set the environment variable persistently via the
"System" applet in the Control Panel.)
 
Reply With Quote
 
 
 
 
Barge Bill
Guest
Posts: n/a
 
      10-03-2005
Thanks, Henry. I never would have figured that one out on my own. I
made the change, as ADMIN, to the DOS environment, adding the TERM
variable as you suggested. The problem went away

Again, thanks,

Bill.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thunderbird - message exceeds the Maximum Message Size? Gerry Firefox 0 02-18-2005 06:39 PM
Error message different than Context.Server.GetLastError.Message tshad ASP .Net 0 01-27-2005 06:38 PM
New OWA message and Modify body of Message - Steve - ASP .Net 0 07-06-2004 04:54 AM
Size of e-mail message - message.Body = msgText =?Utf-8?B?bWc=?= ASP .Net 1 02-11-2004 07:42 PM
Combining message.BodyFormat = MailFormat.Html & message.BodyFormat = MailFormat.Text =?Utf-8?B?bWc=?= ASP .Net 1 02-08-2004 10:43 PM



Advertisments