ActiveState Community

Windows XP Pro

Problem Expect

Greetings.

I have a problem with expect of tcl, when enter a server.
My script is thus:


#!/usr/bin/expect

package require Expect

set pid [spawn telnet 10.10.10.17]

set id $spawn_id

expect -i $id timeout {

puts "timeout in user login"

} eof {

puts "spawn failed with eof on login"

} -re "login:.*" {

exp_send -i $id -- "admin\r"

}

expect -i $id timeout {

puts "timeout in user password"

} eof {

puts "spawn failed with eof on password"

} -re "Password:.*" {

[solved] Komodo Edit 5.2 problem - app starts, window up, can't do nothing…

I have one serious problems with the new Komodo Edit 5.2.

Like mentioned in the subject, it starts well, the app. window looks healthy but I can do nothing with the software. Menus don't work, keyboard shortcuts don't work, i can't even close the program, have to close it from the Task Manager.

I tried to solve this with clean install (mentioned in the Forum), removing/uninstalling everything from any previous installations, (the first update was done through the built in update feature) then uninstall/install the downloaded .msi - all these without any success.

Line spacing in Komodo Edit 5.2

Have been using Komodo Edit with PHP and I love it!

Is there a way to adjust the default line spacing on the screen? I'd like to take just a tad out of the spacing between lines if possible.

Thanks very much for making this really cool product available!

Fonts and Colors: Two Bugs

I'm using the distributed release of IDE 5.2 (just updated)

Two problems I've noticed:

1) If you enable sub-language highlighting, then current line highlighting no longer works, even if there is no sub-language in the selected file. For example, if I turn on sub-language background highlighting for Javascript, I lose line highlighting in all my other files (html, PHP, etc), even if they don't have any Javascript in them; have not tested with any filetypes that don't expect Javascript (like C++) to see if that would fix the issue; even if it does, it doesn't solve anything for me.

[[%tabstop]] issue

If I select a block of text in the editor containing [[%tabstop:Something]] and save as a snippet then the snippet contains
[[%%tabstop:Something]] and does not work. (But if [[%tabstop]] is presented as part of the name of the snippet a second % is not inserted there, only in the snippet body.)

Here Komodo is doing more than I asked it to - I said 'Please save my snippet' and it said 'OK, and I will edit it for you as well!'. In my experience such helpfulness is rarely helpful :-)

-- Peter

Komodo 5.2.0 won't start

Just installed IDE 5.2.0 on XP. When starting I get this error:

Error: Platform version '1.9.0.11' is not compatible with
minVersion >= 1.9.0.6pre
maxVersion <= 1.9.0.6pre

CVS Source Code Control does not work properly ...

Hi there,

currently using latest Komodo (Komodo IDE, version 5.2.0, build 33850) -
but this problem also occurs with earlier versions:

CVS integration does not work here - SCC output console has the
following error log entry:

---
Unable to parse CVS root: ':sspi:CVS.mydomain.de:\\TestRepo',
path: u'C:\\Perl\\BMTK'
---

I'm using CVSNT (Concurrent Versions System (CVSNT) 2.5.04 (Zen) Build
2471 (client/server)) - everything works fine here with CVS (using for
example WinCVS or TortoiseCVS) - only within Komodo it does not work...

system(...) works for restart but not logoff

The following code for restarting the computer from a CGI script executed via the browser works:

#!C:/perl/bin/perl.exe
system ( "C:/WINDOWS/system32/shutdown.exe", "-r");

But the same code altered to logoff the user does not work:

#!C:/perl/bin/perl.exe
system ( "C:/WINDOWS/system32/shutdown.exe", "-l");

I get the error - "Incorrect Function". From a DOS console, I can restart or logoff the user using the shutdown command and the-r and-l flags respectively.

Autocomplete from a file in the project

I have noticed that Komodo identifies variables in my code and somehow uses those to suggest autocomplete suggestions as I am coding. I am currently writing a project that has multiple files (PHP) and I notice that Komodo does not go outside the current file being edited to catalog those variables, class, etc and use those as well for autocompletes.

What I would like to do is have classes and functions that I have in a different file to be included in the autocompletes. Is this possible with a configuration change?

Variable sorting in PHP

Looks like we have PHP variable sorting issues crept back into the 5.2 beta. I'm running:

Komodo IDE, version 5.2.0-beta1, build 33645, platform win32-x86.
Built on Fri Sep 04 08:37:03 2009.

The top level sorts OK (except $this is now at the bottom of the list instead of the top). But arrays / objects no longer have their values sorted.

-- hugh