Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
etc /
brltty /
Contraction /
[ HOME SHELL ]
Name
Size
Permission
Action
af.ctb
1.84
KB
-rw-r--r--
am.ctb
12.41
KB
-rw-r--r--
countries.cti
6.37
KB
-rw-r--r--
de-1998.ctb
55.95
KB
-rw-r--r--
de-2015.ctb
56.56
KB
-rw-r--r--
de.ctb
836
B
-rw-r--r--
de-g0.ctb
6.05
KB
-rw-r--r--
de-g1.ctb
3.38
KB
-rw-r--r--
de-g2.ctb
852
B
-rw-r--r--
de-wort.cti
13.05
KB
-rw-r--r--
en.ctb
841
B
-rw-r--r--
en-ueb-g2.ctb
11.1
KB
-rw-r--r--
en_US.ctb
856
B
-rw-r--r--
en-us-g2.ctb
41.11
KB
-rw-r--r--
es.ctb
7.49
KB
-rw-r--r--
fr.ctb
836
B
-rw-r--r--
fr-g1.ctb
3.75
KB
-rw-r--r--
fr-g2.ctb
48.17
KB
-rw-r--r--
ha.ctb
1.32
KB
-rw-r--r--
id.ctb
1.41
KB
-rw-r--r--
ipa.ctb
16.19
KB
-rw-r--r--
ja.ctb
8.25
KB
-rw-r--r--
ko.ctb
836
B
-rw-r--r--
ko-g0.ctb
266.9
KB
-rw-r--r--
ko-g1.ctb
1.15
KB
-rw-r--r--
ko-g2.ctb
1.08
KB
-rw-r--r--
latex-access.ctb
6.08
KB
-rwxr-xr-x
letters-latin.cti
2.86
KB
-rw-r--r--
lt.ctb
5.86
KB
-rw-r--r--
mg.ctb
1.22
KB
-rw-r--r--
mun.ctb
1.24
KB
-rw-r--r--
nabcc.cti
2.13
KB
-rw-r--r--
nl.ctb
1.26
KB
-rw-r--r--
none.ctb
816
B
-rw-r--r--
ny.ctb
1.23
KB
-rw-r--r--
pt.ctb
10.07
KB
-rw-r--r--
ru.ctb
14.24
KB
-rw-r--r--
si.ctb
3.6
KB
-rw-r--r--
spaces.cti
1.25
KB
-rw-r--r--
sw.ctb
1.47
KB
-rw-r--r--
th.ctb
4.45
KB
-rw-r--r--
zh-tw.ctb
892
B
-rw-r--r--
zh_TW.ctb
107.53
KB
-rw-r--r--
zh-tw.cti
625.01
KB
-rw-r--r--
zu.ctb
1.25
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : latex-access.ctb
#!/usr/bin/python3 ############################################################################### # BRLTTY - A background process providing access to the console screen (when in # text mode) for a blind person using a refreshable braille display. # # Copyright (C) 1995-2021 by The BRLTTY Developers. # # BRLTTY comes with ABSOLUTELY NO WARRANTY. # # This is free software, placed under the terms of the # GNU Lesser General Public License, as published by the Free Software # Foundation; either version 2.1 of the License, or (at your option) any # later version. Please see the file LICENSE-LGPL for details. # # Web Page: http://brltty.app/ # # This software is maintained by Dave Mielke <dave@mielke.cc>. ############################################################################### # BRLTTY Contraction Table - latex-access (executable) import sys, os def putProgramMessage (message): stream = sys.stderr stream.write(os.path.basename(sys.argv[0]) + ": " + message + "\n") stream.flush() def syntaxError (message): putProgramMessage(message) exit(2) def semanticError (message): putProgramMessage(message) exit(3) def systemError (message): putProgramMessage(message) exit(4) def missingPackage (name): systemError("package not installed: " + name) def putResponseProperty (keyword, value): value = unicode(value) if programArguments.verbose: putProgramMessage("rsp: " + keyword + "=" + value) stream = sys.stdout stream.write(keyword + "=" + value.encode("UTF-8") + "\n") stream.flush() def getRequest (): request = {} while True: try: if programArguments.interactive: line = raw_input(packageName + "> ") else: line = raw_input() except EOFError: if len(request) == 0: return None semanticError("unexpected end-of-file on standard input") line = line.decode("UTF-8") components = line.split("=", 1) if len(components) > 1: (keyword, value) = components keyword = keyword.strip().lower() if programArguments.verbose: putProgramMessage("req: " + keyword + "=" + value) request[keyword] = value if keyword == "text": break return request def processRequest (): request = getRequest() if not request: return False for attribute in ("displayLength", "cursorOffset", "expandCurrentWord", "consumedChars"): if hasattr(brailleTranslator, attribute): delattr(brailleTranslator, attribute) if request.has_key("maximum-length"): brailleTranslator.displayLength = int(request["maximum-length"]) if request.has_key("cursor-position"): position = int(request["cursor-position"]) if position > 0: brailleTranslator.cursorOffset = position - 1 if request.has_key("expand-current-word"): brailleTranslator.expandCurrentWord = int(request["expand-current-word"]) != 0 brailleTranslator.capitalisation = "6dot" if request.has_key("capitalization-mode"): if int(request["capitalization-mode"]) != 1: brailleTranslator.capitalisation = "8dot" text = request["text"] brf = brailleTranslator.translate(textPreprocessor.translate(text)) if hasattr(brailleTranslator, "consumedChars"): consumedLength = brailleTranslator.consumedChars putResponseProperty("consumed-length", consumedLength) else: consumedLength = len(text) if hasattr(brailleTranslator, "src2trans"): offsets = brailleTranslator.src2trans if len(offsets) > consumedLength: offsets = offsets[:consumedLength] putResponseProperty("output-offsets", ",".join((str(offset) for offset in offsets))) putResponseProperty("brf", brf) return True def parseProgramArguments (): import argparse parser = argparse.ArgumentParser( prog = os.path.basename(sys.argv[0]), usage = "%(prog)s [option ...]", description = """ This is an executable contraction table for BRLTTY that uses the latex-access package to translate LaTeX mathematical notation into braille. BRLTTY can be found at [http://brltty.app/]. latex-access can be found at [http://www.latex-access.sourceforge.net/]. """ ) parser.add_argument( "-c", "--configuration", action = "store", nargs = 1, dest = "configuration", default = ( os.path.join(os.path.expanduser("~"), "." + packageName), "/etc/" + packageName + ".conf" ), help = "the configuration file to use" ) parser.add_argument( "-n", "--nemeth", action = "store_const", const = "nemeth", dest = "translator", help = "translate into Nemeth Code" ) parser.add_argument( "-u", "--ueb", action = "store_const", const = "ueb", dest = "translator", help = "translate into Unified English Braille" ) parser.add_argument( "-i", "--interactive", action = "store_true", dest = "interactive", help = "enable input editing and history" ) parser.add_argument( "-v", "--verbose", action = "store_true", dest = "verbose", help = "show request and response properties on standard error" ) return parser.parse_args() if __name__ == "__main__": packageName = "latex-access" programArguments = parseProgramArguments() if programArguments.interactive: import readline, atexit historyFile=os.path.join(os.path.expanduser("~"), "." + packageName + ".history") atexit.register(readline.write_history_file, historyFile) readline.read_history_file(historyFile) try: from latex_access import nemeth, ueb, preprocessor, settings except ImportError: missingPackage(packageName) for configurationFile in programArguments.configuration: if os.path.exists(configurationFile): if programArguments.verbose: putProgramMessage("configuration file: " + configurationFile) settings.loadSettings(configurationFile) break if programArguments.translator: settings.settings["brailletable"] = programArguments.translator brailleTranslator = settings.brailleTableToUse() textPreprocessor = preprocessor.preprocessor() settings.activateSettings( { "braille": brailleTranslator, "preprocessor": textPreprocessor } ) while processRequest(): pass
Close