View unanswered posts | View active topics It is currently Thu Jul 29, 2010 2:25 pm



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 32 posts ]  Go to page 1, 2, 3  Next
 New plugin - BBPutty 
Author Message
BBChild

Joined: Fri Apr 21, 2006 8:59 am
Posts: 5
Reply with quote
Post New plugin - BBPutty
Try it :)

EDIT - New version!!! *bugfixed*


Attachments:
bbputty.zip [3.15 KiB]
Downloaded 847 times


Last edited by s0rg on Tue Apr 25, 2006 5:30 am, edited 2 times in total.

Fri Apr 21, 2006 9:27 am
Report this post
Profile
Sponsored Links
Google Adsense


BBSage
User avatar

Joined: Thu May 26, 2005 10:59 am
Posts: 116
Reply with quote
Post 
no ;)

[Edit] Ah, now you've said what it is I think I will.

_________________
http://www.finalfury.co.uk
Image


Last edited by Kaloth on Wed Apr 26, 2006 7:49 pm, edited 1 time in total.



Fri Apr 21, 2006 5:24 pm
Report this post
Profile WWW
BBWise

Joined: Wed Jun 15, 2005 6:13 pm
Posts: 52
Reply with quote
Post 
tells me it can't be loaded because it's incompatible with this version of Windows (XP SP2) or with this version of BlackBox (bbLean 1.16 - no mod).

Something I need to tweak, or is this not a supported config?

-txGreg

EDIT:

never mind - that error was the result of a "Stupid User Trick."

I do have a suggestion however. When the .rc file is populated with the session info, the plugin pads the "menu text" with %20 to expand spaces the same as it does the command strings. Would look a bit nicer if it didn't do that.

Thanks!


Fri Apr 21, 2006 9:03 pm
Report this post
Profile
Moderator
User avatar

Joined: Mon Dec 06, 2004 12:06 am
Posts: 405
Location: Kungsbacka, Sweden
Reply with quote
Post 
Trying to load it under xoblite crashed the shell. Which branch are you using yourself, and which Blackbox.lib is BBPutty compiled with?

BR//Karl -> qwilk

EDIT: Please note that I did not edit any of the files before loading it, so maybe the faulty paths is what's crashing it. If so, it shouldn't, but I haven't had time to try tracking the bug yet.


Fri Apr 21, 2006 9:28 pm
Report this post
Profile WWW
BBWise
User avatar

Joined: Fri Jan 20, 2006 8:37 pm
Posts: 49
Reply with quote
Post 
Didn't really work for me (bbLean 1.16). But it did give me lots of crashes...


Sat Apr 22, 2006 12:17 pm
Report this post
Profile
BBNewborn

Joined: Wed Oct 19, 2005 8:17 pm
Posts: 4
Reply with quote
Post 
Didn't work here neither. It just crash.

Please try to fix it :>


Sat Apr 22, 2006 3:11 pm
Report this post
Profile
BBWise

Joined: Wed Jun 15, 2005 6:13 pm
Posts: 52
Reply with quote
Post 
Once I got it working, I had a problem (shell crash) when I tried to unload it.

First - another suggestion for s0rg: In addition to the "space issue" I mentioned earlier, it would be nice to have an 'ignore' list we could put in the bbputty.rc file. I don't necessarily want all of my sessions listed in what I think of as a "quick launch" menu.

Now - some information that may help others. Be aware that there are two rc files for this extension. One comes in the zip distribution. Inside it, you need to put the (short) path to the PuTTY executable, and the path to the second .rc file. This additional file will be created automatically when the plugin loads. It holds the data that gets pulled into your menu by the suggested entry given in the readme.

Hope this helps a bit...
-txGreg


Mon Apr 24, 2006 4:41 pm
Report this post
Profile
BBChild

Joined: Fri Apr 21, 2006 8:59 am
Posts: 5
Reply with quote
Post 
I fix it! :)


Tue Apr 25, 2006 5:32 am
Report this post
Profile
BBWise

Joined: Wed Jun 15, 2005 6:13 pm
Posts: 52
Reply with quote
Post 
Thanks s0rg. Fixed the problem I was having unloading the plugin.

However, I've discovered that the problem with "spaces" goes farther than I initially thought. When a session name has spaces in it and bbPuTTY converts those to "%20" in the .rc file, it not only doesn't look pretty, it doesn't work. Looks like PuTTY wants the spaces left in place, and the session name enclosed in quotes.

For example, in the .rc file:
Code:
[exec] (Test%20Server) {@BBPutty.exec Test%20Server}

Should instead be:
Code:
[exec] (Test Server) {@BBPutty.exec "Test Server"}

Hope this makes sense.

-txGreg


Tue Apr 25, 2006 8:24 pm
Report this post
Profile
Moderator
User avatar

Joined: Mon Dec 06, 2004 12:06 am
Posts: 405
Location: Kungsbacka, Sweden
Reply with quote
Post 
Thanks sOrg, I've uploaded it to the plugins page -> http://xoblite.net/plugins.html

BR//Karl -> qwilk


Tue Apr 25, 2006 10:26 pm
Report this post
Profile WWW
BBChild

Joined: Fri Apr 21, 2006 8:59 am
Posts: 5
Reply with quote
Post 
2 txGreg - i fixed it! (sorry, i dont notice your first post)

new version - 0.0.5 is here!

2 all - feel free to send me or post here you suggestions and bug reports!


Attachments:
bbputty.zip [3.39 KiB]
Downloaded 538 times
Fri Apr 28, 2006 8:46 am
Report this post
Profile
BBWise

Joined: Wed Jun 15, 2005 6:13 pm
Posts: 52
Reply with quote
Post 
s0rg wrote:
2 txGreg - i fixed it! (sorry, i dont notice your first post)

No Problem - as you can see, I just now noticed your response. :)

Anyway, looks like that fixed the issue I was seeing in regards to spaces in session names. I'll keep using it, and let you know if I come up with anything else.

Thanks!
-txGreg


Tue May 02, 2006 7:59 pm
Report this post
Profile
BBWise

Joined: Wed Jun 15, 2005 6:13 pm
Posts: 52
Reply with quote
Post 
OK - me again. I think I found another small bug. I have not "rolled back" to an earlier release, so I'm not sure if this is new or if it's something I overlooked previously.

If I have a session name with parenthesis in it, this seems to be confusing blackbox(?) when the putty sub-menu gets displayed. This might be a simple one to solve for people who know more about the bb menu system than I do. some examples might help...

example session name:
Code:
server_name (linux web server)

gets put into the .rc file as:
Code:
[exec] (server_name (linux web server))  {@BBPutty.exec "server_name (linux web server)"}

and shows up in the "visible menu" text as:
Code:
server_name (linux web server


I'm guessing there needs to be some way (escape char?) to get blackbox to ignore that first close parenthesis. Note that this is only a visual problem (and a minor one at that). It does not seem to impair the functionality of bbPuTTY.

-txGreg


Mon May 08, 2006 7:59 pm
Report this post
Profile
BBWise
User avatar

Joined: Thu Jul 07, 2005 11:02 pm
Posts: 54
Reply with quote
Post 
Am I missing something here? In the putty.rc file referenced in the bbputty.rc file, what exactly am I supposed to put in there?? I'm confused! The readme says only to call that file in the menu.rc... What IS the file? What does it do? Any help appreciated..


Fri May 12, 2006 8:55 pm
Report this post
Profile ICQ WWW
BBWise
User avatar

Joined: Thu Jul 07, 2005 11:02 pm
Posts: 54
Reply with quote
Post 
Nevermind, it appears to be autocreated.. Stupid me! Awesome plugin, no longer do I have to Right Click>Apps>Putty>Sugardeath

Winkey+I for the win.


Sat May 13, 2006 6:11 am
Report this post
Profile ICQ WWW
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 32 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.