summaryrefslogtreecommitdiffstats
path: root/isys/lang.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2006-02-22 20:00:32 +0000
committerJeremy Katz <katzj@redhat.com>2006-02-22 20:00:32 +0000
commit44eb3dd9f9488ebe6f214a328a8c55d7d3c73cf8 (patch)
treeadf919bcfc3d3dfc4d1297a350a6b7ee307aceca /isys/lang.c
parentda4e01fa60d0b0b0844e194e8cde5d32800b56d1 (diff)
downloadanaconda-44eb3dd9f9488ebe6f214a328a8c55d7d3c73cf8.tar.gz
anaconda-44eb3dd9f9488ebe6f214a328a8c55d7d3c73cf8.tar.xz
anaconda-44eb3dd9f9488ebe6f214a328a8c55d7d3c73cf8.zip
2006-02-22 Jeremy Katz <katzj@redhat.com>
* lang-table: Set all previously bterm using languages to "none" for the fact that we can't handle them in text-mode anymore * textw/language_text.py (LanguageWindow.__call__): Remove bterm special-casing. * text.py (InstallInterface.run): Likewise. * loader2/lang.c (setupLanguage): Likewise. * language.py (Language.fixLang): No more "bterm" font * stubs/unicode-lite.c: Don't require wlite * stubs/Makefile: Don't link against wlite * loader2/Makefile: No more linking to bterm here either * isys/lang.c: Remove bterm support code. * isys/lang.h: And declaration. * isys/Makefile (LOADLIBES): No more linking to bterm * isys/isys.c (start_bterm): Remove this * anaconda.spec (BuildPreReq): Bye-bye bogl
Diffstat (limited to 'isys/lang.c')
-rw-r--r--isys/lang.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/isys/lang.c b/isys/lang.c
index 4625a6b51..cacce4fe7 100644
--- a/isys/lang.c
+++ b/isys/lang.c
@@ -183,39 +183,3 @@ int isysLoadKeymap(char * keymap) {
return rc;
}
-
-/* returns 0 on success, 1 on failure */
-extern int bterm_main(int argc, char **argv);
-
-int isysStartBterm(void) {
- char * btermargs[4] = { "bterm", "-s", "-f", NULL };
- int rc;
- struct stat sb;
-
- /* if we've already successfully started bterm, we don't need to again */
- if (!access("/var/run/bterm.run", R_OK))
- return 0;
-
- /* assume that if we're already on a pty we can handle unicode */
- fstat(0, &sb);
- if (major(sb.st_rdev) == 3 || major(sb.st_rdev) == 136)
- return 0;
-
- if (!access("/usr/lib/bogl/font.bgf.gz", R_OK))
- btermargs[3] = "/usr/lib/bogl/font.bgf.gz";
- else if (!access("/etc/font.bgf.gz", R_OK))
- btermargs[3] = "/etc/font.bgf.gz";
- else if (!access("font.bgf.gz", R_OK))
- btermargs[3] = "font.bgf.gz";
- else
- return 1;
-
- rc = bterm_main(4, btermargs);
-
- if (!rc) {
- int fd = open("/var/run/bterm.run", O_CREAT | O_TRUNC | O_RDWR, 0600);
- close(fd);
- }
-
- return rc;
-}