Author Topic: console.php (lighweight web console) nano not working  (Read 4262 times)

0 Members and 1 Guest are viewing this topic.

console.php (lighweight web console) nano not working
« on: January 16, 2018, 05:30:20 PM »
CentOS Linux release 7.4.1708 (Core)
Apache/2.4.29
PHP 5.6.30
CWPpro version: 0.9.8.415 (logged in as root)

mod_security for CWP with new OWASP installed
CWP SELinux enabled (enforcing/targeted)

nano is exiting with
Quote
Error opening terminal: unknown

Offline
**
Re: console.php (lighweight web console) nano not working
« Reply #1 on: January 17, 2018, 06:58:06 AM »
Fire this command and then try to edit the file.

export TERM=xterm
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

Re: console.php (lighweight web console) nano not working
« Reply #2 on: January 17, 2018, 08:08:18 AM »
thanks but not working in the web console in the CWP

I was meantime to understand that it is by design that editors cannot be utilized the in JS console as being limited in options (simple javascript for quick console usage) compared to a java application