slang and xterm
I have encountered the following problem since moving to Debian (1.2), and I must admit I cannot find the solution. It appears that some binaries compiled with slang (jed and most in any event) will not load in an xterm (nor for that matter in an rxvt, itself an slang binary!): the reply is always: terminal not powerful enough for slang. Never saw that before. Is it a matter of updating the Slang lib? They work fine on a tty, xjed works fine as well. Any clue? Alain. [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: slang and xterm
I have encountered the following problem since moving to Debian (1.2), and I must admit I cannot find the solution. It appears that some binaries compiled with slang (jed and most in any event) will not load in an xterm (nor for that matter in an rxvt, itself an slang binary!): the reply is always: terminal not powerful enough for slang. Never saw that before. Is it a matter of updating the Slang lib? They work fine on a tty, xjed works fine as well. Any clue? Well, when I was still seeing that message, typing TERMCAP= in xterm would solve the problem, and at least slrn would start up. (The problem beeing that slang binaries first try to see the terminal's capabilities from the TERMCAP var, and in xterm that doesn't show everything. If TERMCAP is undefined, it looks at TERM, and realizes it's an xterm, and then everything is OK). But for some reason, slrn now doesn't come up with that message any more (maybe new version of slrn). -- joost witteveen [EMAIL PROTECTED] [EMAIL PROTECTED] -- Use Debian/GNU Linux! -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: slang and xterm
always: terminal not powerful enough for slang. Never saw that before. Is it a matter of updating the Slang lib? They work fine on a tty, xjed works fine as well. Any clue? From slrn's README.debian: If you want to run slrn in an xterm, slrn may say that your display isn't powerfull enough. This is not true, it just doesn't know how to handle xterm. The problem is that the TERMCAP variable is set to an invalid value, something like: co#80:li#24: To fix this problem, simply clear the TERMCAP variable. Ie, run unset TERMCAP (You may want to put this in ~/.bash_profile, or /etc/profile) I hope this is solved in a later version of xterm or slang. -- #!/usr/bin/perl -i=-/*/~%*~%/~~%/~~~-/*/_/=~~~-/~~! # [EMAIL PROTECTED] $o=35;$_=$^I-*!=_!/;s/~/!*/g;s~%~-/ / ~g;$_.='--- Joey Hess ';s/=/__/g;y|*!| \\|;for(split/-/){print' 'x$o--.$_\n}# a M.C. Escher fan true - do nothing, successfully - - true (1) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: slang and xterm
But for some reason, slrn now doesn't come up with that message any more (maybe new version of slrn). It doesn't? Wow, you're right. I think that the new version of the slang library fixed this. Joost, are you running slang0.99.34? -- #!/usr/bin/perl -i=-/*/~%*~%/~~%/~~~-/*/_/=~~~-/~~! # [EMAIL PROTECTED] $o=35;$_=$^I-*!=_!/;s/~/!*/g;s~%~-/ / ~g;$_.='--- Joey Hess ';s/=/__/g;y|*!| \\|;for(split/-/){print' 'x$o--.$_\n}# a M.C. Escher fan true - do nothing, successfully - - true (1) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: slang and xterm
But for some reason, slrn now doesn't come up with that message any more (maybe new version of slrn). It doesn't? Wow, you're right. I think that the new version of the slang library fixed this. Sorry, I said new version of slrn, but I meant new versoin of slang. Anyway, I didn't want to bother checking. Joost, are you running slang0.99.34? Yes. -- joost witteveen [EMAIL PROTECTED] [EMAIL PROTECTED] -- Use Debian/GNU Linux! -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
Re: slang and xterm
Wow, you're right. I think that the new version of the slang library fixed this. Sorry, I said new version of slrn, but I meant new versoin of slang. Anyway, I didn't want to bother checking. Joost, are you running slang0.99.34? Yes. Thanks to both Joost and Joey! I've unset my TERMCAP and everything is working fine, as they said. I'll be moving up to slang 0.99.34 as well soon. Best, Alain. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]