Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 9e3490ee authored by rswindell's avatar rswindell

When user is not online (yet), inkey() shall return the ctrl-key values for

^U, ^P, ^T, ^K, etc. and not 0. This allows a CBM/PETSCII terminal user
to actual hit their Backspace/Delete key (^T) in response to the new new-user
prompt
parent 921f20b1
......@@ -202,7 +202,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
return(0);
case CTRL_P: /* Ctrl-P Private node-node comm */
if(!(sys_status&SS_USERON))
return(0); /* keep from being recursive */
break;;
if(hotkey_inside&(1<<ch))
return(0);
hotkey_inside |= (1<<ch);
......@@ -225,9 +225,8 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
return(0);
case CTRL_U: /* Ctrl-U Users online */
/* needs recursion checking */
if(!(sys_status&SS_USERON))
return(0);
break;
if(hotkey_inside&(1<<ch))
return(0);
hotkey_inside |= (1<<ch);
......@@ -251,7 +250,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
if(sys_status&SS_SPLITP)
return(ch);
if(!(sys_status&SS_USERON))
return(0);
break;
if(hotkey_inside&(1<<ch))
return(0);
hotkey_inside |= (1<<ch);
......@@ -277,7 +276,7 @@ char sbbs_t::handle_ctrlkey(char ch, long mode)
if(sys_status&SS_SPLITP)
return(ch);
if(!(sys_status&SS_USERON))
return(0);
break;
if(hotkey_inside&(1<<ch))
return(0);
hotkey_inside |= (1<<ch);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment