Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to Synchronet Discussion <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Mortifis | Nightfox | Re: Slyedit Ice |
July 21, 2019 7:52 PM * |
|||
> Re: Slyedit Ice > By: Mortifis to Nightfox on Sun Jul 21 2019 11:40 am > Mo> Hey, brah, logged onto my board on my phone > Mo> using Android JuiceSSH, and went to send a > Mo> message using SlyEdit Ice which errorred that > Mo> slyedit requires 80 width, cycled twice the > Mo> dropped the connection. Anyway to put a > Mo> condition check and exit gracefully back to > Mo> the board or give a prompt to change to > Mo> editor that supports urrent terminal width? > That wouldn't be a very simple fix. SlyEdit uses a width of at least 80 to > display the top & bottom informational lines, so in order to support a width > of less than 80, the top & bottom lines would need to be reformatted to fit > less than 80 columns, and the code in SlyEdit would need to be changed to > fit that width. The only time this is an issue is if a new user signs up one a device with less than 8- columns (my android phone using JuiceSSH has a width of 38) and has selected SlyEdit as the editor and then tries to leave a feedback to the SysOP, it will fail then drop the call and SBBS will delete the new user account ... so I added 5 lines to SlyEdit.js inside line 156 if(console.screen_columns < 80) { console.print("\1n\r\n\1h\1w" + EDITOR_PROGRAM_NAME + " requires a terminal width of at least 80 characters.\1n\r\n\1p" var new_term = confirm("Would you like to use the internal editor instead" if(new_term) { console.print("Editor Changed to Internal!" user.editor = ""; // blank defaults to internal editor } exit(1); // 1: Aborted } I tested this and it seems to have the solved the issue. My doctor said I have the body of a 25 year old ... and the mind of a 10 --- ■ Synchronet ■ AlleyCat! BBS - http://alleycat.synchro.net:81 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) |
||||||
|
Previous Message | Next Message | Back to Synchronet Discussion <-- <--- | Return to Home Page |
Execution Time: 0.0795 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |