Hi,
Using James2.2.0a10 on a Linux box. When I connect to the remote manager from my Windows box, each line are only terminated with a Linefeed (Carriage Return are missing). This makes it almost imposssible to read the dialog with the Remote manager.
Steen
Fixed myself by applying the following patch:
--- RemoteManagerHandler.java.original 2003-05-17 03:20:14.000000000 +0200 +++ RemoteManagerHandler.java 2003-09-18 12:10:13.687500000 +0200 @@ -68,6 +68,7 @@ import org.apache.james.Constants; import org.apache.james.services.*; import org.apache.james.userrepository.DefaultUser; +import org.apache.james.util.InternetPrintWriter; import org.apache.james.util.watchdog.Watchdog; import org.apache.james.util.watchdog.WatchdogTarget; import org.apache.mailet.MailAddress; @@ -295,7 +296,7 @@
try {
in = new BufferedReader(new InputStreamReader(socket.getInputStream(), "ASCII"), 512);
- out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()), 512), false);
+ out = new InternetPrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()), 512), false);
if (getLogger().isInfoEnabled()) {
StringBuffer infoBuffer =
new StringBuffer(128)
Maybe this should be moved to the dev list?
Steen
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
