Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Editing script..

Editing script..

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Shadowfyr   USA  (1,791 posts)  Bio
Date Mon 13 May 2002 12:28 AM (UTC)

Amended on Mon 13 May 2002 12:29 AM (UTC) by Shadowfyr

Message
This is a very odd bug. I have a fairly large script as you may know, today I tried to do some editing in it. Everything worked fine the first few additions I made, but then I went back to make another addition and after typing a set number of characters the client stopped accepting input. This had no effect on new notepad windows, other scripts being edited or the actually world and command windows, but within the script I was editing any attempt to type past column 33 causes it to just stop, I can backspace and renter stuff on that line (up to that column), but not go beyond it. This is in version 3.20 with a 1166 line script that is 31,284 bytes in size. I ended up having to edit it in notepad+ instead. :p

Hmm. Really odd. By backing up a few character and hitting enter, then continuing again it started working. Then saving, closing the window and reloading the script for editing and it reappears again, this time at 30 characters. :p This is very bad...
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #1 on Mon 13 May 2002 03:52 AM (UTC)
Message
The built in notepad has a fixed buffer size. When it is full, you can not enter new text ANYWHERE!

I suggest you go to your "Scripts" setup screen, and uncheck the box that says "Use inbuilt notepad to edit scripts". Use the button above to point to windows notepad editor, if need be.

You're only hitting this limit now? Heh... I hit it a long time ago. (I know, cheap bragging)... LOL.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Shadowfyr   USA  (1,791 posts)  Bio
Date Reply #2 on Mon 13 May 2002 05:49 AM (UTC)
Message
Well I might note that the windows note pad also has an upper limit. I think it is 64k, instead of what seems to be close to 32k for MUSHclient. I have a replacement called Notepad+ from a guy named Michael Damatow that can be used in place of windows notepad and supports rtf files as well I think. There is also another by the same name you actually copy over top of the original, but it has some memory problems. I guess I will have MUSHclient use it, the non-floating version in MUSHclient was not terribly convenient to work with anyway. lol

I suspected that it might have been a file size limit, but wasn't sure. The only programs that I usually run into that sort of problem with tend to be Microsoft products. Some one should sneak into the place they manufacture Microsoft install cds and sneak replacements for Notepad, Paint, MSBackup and Telnet onto the discs. lol I am actually continually amazed that Wordpad doesn't seem to have similar problems.
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 15 May 2002 03:20 AM (UTC)
Message
I can't see a hard-coded limit in the notepad (why would I put one?) however it is implemented as a Windows text control, which probably has a 32Kb limit under Windows 95/98/ME.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #4 on Fri 17 May 2002 04:47 PM (UTC)
Message
Personally, I use Metapad. It's an excellent replacement for Microsoft Notepad. I downloaded it, made a copy of the executable and renamed it "notepad", and replaced the Microsoft version with it.

http://welcome.to/metapad/

Heh, noticed there is a new version. :)
BTW, it is freeware.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,283 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.