ncurses?
Buster, Supermicro 5036T (aka sbox), Radeon HD 6450/7450/8450 according to lspci, RME Hammerfall sound card I asked for help with this a few days ago and attached a screenshot to show what my problem is. There've been no replies -- I guess graphics are caught by a spam filter somewhere. The problem is that, on sbox, alsamixer and aptitude are badly displayed -- alsamixer so bad that it's not usable. The vertical lines in alsamixer are broken into pieces and the pieces are offset a quarter of an inch or so. The horizontals aren't broken, but their positions are offset like the vertical pieces. Some of them. I can't use my sound card without alsamixer. Aptitude's problems are just a nuisance that I expect to see fixed RSN. I hope that's enough to explain what's going on. If not, please say so, and I'll put the screenshot on my website. lynx is fine. And there are no difficulties with GUI stuff. When I run one of these programs and 'ps aux' I see lynx or alsamixer or aptitude, but no ncurses. I'm not sure what, if anything, that means. But I expected to see ncurses. The problem on sbox is fairly new. I don't know which update broke it because I don't need the sound card very often. It worked since the early alsa days and I didn't change anything, I promise. Both problem programs are fine on the Dell laptop (also running Buster) in the next room. When I SSH to the laptop and run alsamixer over there, it's better on my screen, but not right. When I run alsamixer on sbox, SSH to the laptop, and SSH back to sbox, it's unintelligible again on the sbox screen. I can't find anything remotely like this on the web. At first I guessed something was wrong in Linux' Radeon driver. But I'm not so sure anymore because lynx has no problems. But lynx doesn't try to make pictures, and text is fine everywhere... At a loss. Ideas? -- Glenn English
ncurses
Hello I'm trying to compile a programm (iForth) that needs ncurses. apt-get install ncurses Package ncurses has no available version, but exists in the database. This typically means that the package was mentioned in a dependency and never uploaded, has been obsoleted or is not available with the contents of sources.list E: Package ncurses has no installation candidate So what do I do? And: Could installing ncurses break anything in my potato system? Robert Epprecht
ncurses
Which ncurses package for debian has the development headers and libs? I installed bin, base, and term, which one am I missing? Thanks in advance, Ted -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ncurses
What package has the header files/libs for ncurses? Ted -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Ncurses
I'm trying to install Ncurses (for make menuconfig for Linux build). When I type apt-get install Ncurses, I'm told that Ncurses can't be found: debian:/home/matt# apt-get install ncurses Reading Package Lists... Done Building Dependency Tree... Done Package ncurses is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package ncurses has no installation candidate I looked at the Debian package list, and saw several packages when I searched for Ncurses. Which one should I install? BTW -- I'm using Sarge. Thanks, -- Matt __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses?
Try running script if the system is already installed then run each of the problem commands then type exit. You'll get a file called typescript which is ansi text that probably will get through the spam filters if you include it in the body of your message and do not attach it. If the ansi can be cleaned out of typescript the reading will be cleaner and the file a little shorter. On Tue, 2 Jul 2019, ghe wrote: > Date: Tue, 2 Jul 2019 19:45:32 > From: ghe > To: debian-user > Subject: ncurses? > Resent-Date: Tue, 2 Jul 2019 23:45:49 + (UTC) > Resent-From: debian-user@lists.debian.org > > Buster, Supermicro 5036T (aka sbox), Radeon HD 6450/7450/8450 according > to lspci, RME Hammerfall sound card > > I asked for help with this a few days ago and attached a screenshot to > show what my problem is. There've been no replies -- I guess graphics > are caught by a spam filter somewhere. > > The problem is that, on sbox, alsamixer and aptitude are badly displayed > -- alsamixer so bad that it's not usable. The vertical lines in > alsamixer are broken into pieces and the pieces are offset a quarter of > an inch or so. The horizontals aren't broken, but their positions are > offset like the vertical pieces. Some of them. > > I can't use my sound card without alsamixer. Aptitude's problems are > just a nuisance that I expect to see fixed RSN. > > I hope that's enough to explain what's going on. If not, please say so, > and I'll put the screenshot on my website. > > lynx is fine. And there are no difficulties with GUI stuff. > > When I run one of these programs and 'ps aux' I see lynx or alsamixer or > aptitude, but no ncurses. I'm not sure what, if anything, that means. > But I expected to see ncurses. > > The problem on sbox is fairly new. I don't know which update broke it > because I don't need the sound card very often. It worked since the > early alsa days and I didn't change anything, I promise. > > Both problem programs are fine on the Dell laptop (also running Buster) > in the next room. When I SSH to the laptop and run alsamixer over there, > it's better on my screen, but not right. When I run alsamixer on sbox, > SSH to the laptop, and SSH back to sbox, it's unintelligible again on > the sbox screen. > > I can't find anything remotely like this on the web. > > At first I guessed something was wrong in Linux' Radeon driver. But I'm > not so sure anymore because lynx has no problems. But lynx doesn't try > to make pictures, and text is fine everywhere... > > At a loss. Ideas? > > --
Re: ncurses?
ghe composed on 2019-07-02 17:45 (UTC-0600): https://lists.debian.org/debian-user/2019/07/msg00110.html It's been eons since I heard of any kind of trouble with ncurses. :-) sbox I'm not familiar with. :-( I have a Dell gfxcard on a Buster test box that may be the same as yours except for the brand. Perhaps you'd see improvement by swapping the radeon DDX for the default DDX (modesetting) as I use here. I don't usually try to make sound work, or even connect speakers, on my test boxes, but alsamixer does open seemingly ready to take orders: http://fm.no-ip.com/SS/Deb/alsamixer10m.png Simplest way for you to switch DDX should be to purge xserver-xorg-video-radeon. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: ncurses?
On Ma, 02 iul 19, 17:45:32, ghe wrote: > Buster, Supermicro 5036T (aka sbox), Radeon HD 6450/7450/8450 according > to lspci, RME Hammerfall sound card [...] > The problem is that, on sbox, alsamixer and aptitude are badly displayed Apparently "sbox" is the host name (or how you refer to it). It would be useful to be explicit about this, to avoid confusions. > -- alsamixer so bad that it's not usable. The vertical lines in > alsamixer are broken into pieces and the pieces are offset a quarter of > an inch or so. The horizontals aren't broken, but their positions are > offset like the vertical pieces. Some of them. Is this in an terminal window under X or on the console? Is "regular" shell output fine otherwise (e.g. 'ls -l') in xterms and/or console? My first recommendation is to make sure your locale and console is properly configured. dpkg-reconfigure locales dpkg-reconfigure console-setup Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: ncurses?
On Tue, Jul 02, 2019 at 05:45:32PM -0600, ghe wrote: > Buster, Supermicro 5036T (aka sbox), Radeon HD 6450/7450/8450 according > to lspci, RME Hammerfall sound card [...] > The problem is that, on sbox, alsamixer and aptitude are badly displayed > -- alsamixer so bad that it's not usable. The vertical lines in > alsamixer are broken into pieces and the pieces are offset a quarter of > an inch or so. The horizontals aren't broken, but their positions are > offset like the vertical pieces. Some of them. Also: what is the value of your TERM environment variable? Are you calling the program via sudo, or directly from a root shell? Cheers -- t signature.asc Description: Digital signature
Re: ncurses?
On Tue, Jul 02, 2019 at 05:45:32PM -0600, ghe wrote: > When I run one of these programs and 'ps aux' I see lynx or alsamixer or > aptitude, but no ncurses. I'm not sure what, if anything, that means. > But I expected to see ncurses. ncurses is a C library. A C program like lynx may be linked against this library, and you would (usually) see that with ldd: wooledg:~$ ldd /usr/bin/lynx | grep ncurses libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6 (0x7f85b0929000) A library isn't a separate process, and you won't see it listed in the output of ps or top.
Re: ncurses?
On Tuesday, July 2, 2019 at 8:30:04 PM UTC-4, Jude DaShiell wrote: > Try running script if the system is already installed then run each of > the problem commands then type exit. You'll get a file called > typescript which is ansi text that probably will get through the spam > filters if you include it in the body of your message and do not attach > it. If the ansi can be cleaned out of typescript the reading will be > cleaner and the file a little shorter. > > On Tue, 2 Jul 2019, ghe wrote: ... > > I asked for help with this a few days ago and attached a screenshot to > > show what my problem is. There've been no replies -- I guess graphics > > are caught by a spam filter somewhere. > > > > The problem is that, on sbox, alsamixer and aptitude are badly displayed > > -- alsamixer so bad that it's not usable. The vertical lines in > > alsamixer are broken into pieces and the pieces are offset a quarter of > > an inch or so. The horizontals aren't broken, but their positions are > > offset like the vertical pieces. Some of them. ... Actually stripping the "ansi" out of the "typescript" file makes it hard to see what's going on (I don't see OP's screenshot). Whether and how ncurses does line-drawing depends on the TERM variable and the locale variables -- and how well it works depends on the actual terminal (program...). Lynx doesn't do much with line-drawing, except in menus (such as in the Options screen). If you have a "typescript", sending that as an attachment for discussion on the bug-ncurses mailing list will get more response than to debian-user.
ncurses problem
Hi there, I compiled following test program: == #include #include int main() { initscr(); int key; while ((key = getch()) != 27) { if (key == KEY_RESIZE) { clear(); mvprintw(0, 0, "COLS = %d, LINES = %d", COLS, LINES); for (int i = 0; i < COLS; i++) mvaddch(1, i, '*'); refresh(); } } endwin(); return 0; } == It's supposed to show current window dimension when resizing terminal window. Unfortunately, dimensions are not updated and it shows initial geometry. Interesting thing is that it works perfectly after "ssh localhost" or "su -". I tested on both, sid and stretch. exactly the same result. Any ideas?? PS. I use xfce4 and lxdm. -- Pozdrawiam Grzesiek Wysłane z kompa wolnego od wirusów Billa Gatesa.
[OT] ncurses
hey list, i'm trying to write interface between ncurses and sockets for server side split screen. my problem is that the mud has only socket descriptor to send and receive all the data from each of the players, but ncurses require two FILE descriptors to work properly. i tried various [dirty] hacks to make it work, short of using temporary file for the output, and then sending the contents of the file to the players. i'm sure that there is someone else who hit the same problem at some point, and that there some ellegant solution for this. so i would greatly appreciate any help/example that you may have. :) Dingo. ).|.( '.'___'.' ' '(>~<)' ' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-=- Petr [Dingo] Dvorak [EMAIL PROTECTED] Coder - Purple Dragon MUD pdragon.org port -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-=- Debian version 2.2.18pre21, up 9:35, 10 users, load average: 1.00 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ncurses HeLP
Hi guys, How are you doing? Anyways, what package should I install so that I will have curses.h file? Thanks. Neil
ncurses / libncurses
I can't use 'make menuconfig' when trying to use the kernel because ncurses is not installed. I have tried: apt-get install ncurses apt-get install libncurses apt-get install libncurses-dev all with no luck. I'm not very familiar with the Debian packaging system, so could someone help me out? Thanks! Ben Pharr
Re: ncurses
On Mon, Sep 24, 2001 at 06:23:11AM +0200, Robert Epprecht wrote: > Hello > I'm trying to compile a programm (iForth) that needs ncurses. > > apt-get install ncurses > Package ncurses has no available version, but exists in the database. > This typically means that the package was mentioned in a dependency and > never uploaded, has been obsoleted or is not available with the contents > of sources.list > E: Package ncurses has no installation candidate If you're trying to compile against the ncurses library, just do apt-get install libncurses5-dev You can use apt-cache search ncurses or dpkg -l '*' | grep ncurses to figure out package names. -- Nathan Norman - Staff Engineer | A good plan today is better Micromuse Ltd. | than a perfect plan tomorrow. mailto:[EMAIL PROTECTED] | -- Patton pgpYHGV4x4TnP.pgp Description: PGP signature
Re: ncurses
Hi, There are many ncurses packages available. Please take a look at this command output: apt-cache search ncurses I guess you will need ncurses-bin, ncurses-term, ncurses-base, and libncurses5 (maybe). -- bpdp On Monday 24 September 2001 11:23 am, Robert Epprecht wrote: > Hello > I'm trying to compile a programm (iForth) that needs ncurses. > > apt-get install ncurses > Package ncurses has no available version, but exists in the database. > This typically means that the package was mentioned in a dependency and > never uploaded, has been obsoleted or is not available with the contents > of sources.list > E: Package ncurses has no installation candidate > > So what do I do? > And: Could installing ncurses break anything in my potato system? > > Robert Epprecht
Re: ncurses
I don't know about potato, but in woody it is libncurses5-dev. On Mon, Apr 29, 2002 at 05:59:24PM -0500, Ted Goodridge, Jr wrote: > Which ncurses package for debian has the development headers and libs? > I installed bin, base, and term, which one am I missing? > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses
On 0, "Ted Goodridge, Jr" <[EMAIL PROTECTED]> wrote: > Which ncurses package for debian has the development headers and libs? > I installed bin, base, and term, which one am I missing? libncurses5-dev looks good to me. Tom -- Tom Cook Information Technology Services, The University of Adelaide "That you're not paranoid does not mean they're not out to get you." - Robert Waldner Get my GPG public key: https://pinky.its.adelaide.edu.au/~tkcook/tom.cook-at-adelaide.edu.au pgpfHUbfQAb4E.pgp Description: PGP signature
Re: ncurses
On Mon, Apr 29, 2002 at 05:59:24PM -0500, Ted Goodridge, Jr wrote: > Which ncurses package for debian has the development headers and libs? > I installed bin, base, and term, which one am I missing? libncurses5-dev -- Eric G. Miller -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses
"Ted Goodridge, Jr" wrote: > > What package has the header files/libs for ncurses? libncurses5 shared libs libncurses5-dev headers/static libs You can use apt-cache to find this stuff out very easily. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses
On Mon, 2002-04-29 at 22:04, Ted Goodridge, Jr wrote: > What package has the header files/libs for ncurses? > > Ted libncurses5-dev -- -Peace kid Scott Henson [EMAIL PROTECTED] "God's the ultimate playa, so naturally He's going to have some haters," rapper Ice Cube said. "But these haters need to realize that if you mess with the man upstairs, you will get your ass smote. True dat." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses
* Ted Goodridge, Jr ([EMAIL PROTECTED]) [020429 22:46]: > What package has the header files/libs for ncurses? Generally speaking, the library development files follow the pattern -dev in this case, for libncurses5-dev Also, if you don't know exactly what you're looking for, try something like the following: apt-cache search curses | grep dev good times, Vineet -- Currently seeking opportunities in the SF Bay Area Please see http://www.doorstop.net/resume.shtml pgpUJ9iQZ1oFk.pgp Description: PGP signature
Re: Ncurses
Hello *, On Wed, Dec 07, 2005 at 11:59:52AM -0800, Matt Jerdonek wrote: > I'm trying to install Ncurses (for make menuconfig for > Linux build). When I type apt-get install Ncurses, > I'm told that Ncurses can't be found: Yep, there is no package that goes by this name. What you are searching for contains Ncurses, but is called slightly differently. > [...] > I looked at the Debian package list, and saw several > packages when I searched for Ncurses. Which one > should I install? When building a kernel you might want to check the "kernel-package" package which will help to do it the Debian way, i.e. by creating a deb package you can install. Incidentally, this kernel-package package suggests to also install libncurses-dev, which is a virtual package provided by libncurses5-dev and just what you are searching for. HTH, Flo signature.asc Description: Digital signature
Ncurses bug?
Hello! My program use the Form library from Ncurses. It worked OK with ncurses 1.1.9g-8, but not with 1.1.9g-8.5. The form_driver() function return E_UNKNOWN_COMMAND result at any character symbols as argument. What's may be wrong? This is source of the test program: / * * Forms test * / #include ?form.h> #ifndef CTRL #define CTRL(x) ((x) ? 0x1f) #endif #define SIZEOF(table) (sizeof(table)/sizeof(table[0])) #define QUITCTRL('Q') #define ESCAPE CTRL('[') #define BLANK ' ' /* this is the background character */ static FIELD *make_label(int frow, int fcol, char *label) { FIELD *f = new_field(1, strlen(label), frow, fcol, 0, 0); if (f) { set_field_buffer(f, 0, label); set_field_opts(f, field_opts(f) ? ~O_ACTIVE); } return(f); } static FIELD *make_field(int frow, int fcol, int rows, int cols) { FIELD *f = new_field(rows, cols, frow, fcol, 0, 0); if (f) set_field_back(f, A_UNDERLINE); return(f); } static void display_form(FORM *f) { WINDOW *w; int rows, cols; scale_form(f, ?rows, ?cols); if ((w =newwin(rows+2, cols+4, 0, 0)) != (WINDOW *)NULL) { set_form_win(f, w); set_form_sub(f, derwin(w, rows, cols, 1, 2)); box(w, 0, 0); keypad(w, TRUE); } if (post_form(f) != E_OK) wrefresh(w); } static void erase_form(FORM *f) { WINDOW *w = form_win(f); WINDOW *s = form_sub(f); unpost_form(f); werase(w); wrefresh(w); delwin(s); delwin(w); } static int form_virtualize(WINDOW *w) { static int mode = REQ_INS_MODE; int c = wgetch(w); switch(c) { case QUIT: case ESCAPE: return(MAX_FORM_COMMAND + 1); /* demo doesn't use these three, leave them in anyway as sample code */ case KEY_NPAGE: case CTRL('F'): return(REQ_NEXT_PAGE); case KEY_PPAGE: return(REQ_PREV_PAGE); case KEY_NEXT: case CTRL('N'): return(REQ_NEXT_FIELD); case KEY_PREVIOUS: case CTRL('P'): return(REQ_PREV_FIELD); case KEY_HOME: return(REQ_FIRST_FIELD); case KEY_END: case KEY_LL: return(REQ_LAST_FIELD); case CTRL('L'): return(REQ_LEFT_FIELD); case CTRL('R'): return(REQ_RIGHT_FIELD); case CTRL('U'): return(REQ_UP_FIELD); case CTRL('D'): return(REQ_DOWN_FIELD); case CTRL('W'): return(REQ_NEXT_WORD); case CTRL('B'): return(REQ_PREV_WORD); case CTRL('S'): return(REQ_BEG_FIELD); case CTRL('E'): return(REQ_END_FIELD); case KEY_LEFT: return(REQ_LEFT_CHAR); case KEY_RIGHT: return(REQ_RIGHT_CHAR); case KEY_UP: return(REQ_UP_CHAR); case KEY_DOWN: return(REQ_DOWN_CHAR); case CTRL('M'): return(REQ_NEW_LINE); case CTRL('I'): return(REQ_INS_CHAR); case CTRL('O'): return(REQ_INS_LINE); case CTRL('V'): return(REQ_DEL_CHAR); case CTRL('H'): case KEY_BACKSPACE: return(REQ_DEL_PREV); case CTRL('Y'): return(REQ_DEL_LINE); case CTRL('G'): return(REQ_DEL_WORD); case CTRL('C'): return(REQ_CLR_EOL); case CTRL('K'): return(REQ_CLR_EOF); case CTRL('X'): return(REQ_CLR_FIELD); case CTRL('A'): return(REQ_NEXT_CHOICE); case CTRL('Z'): return(REQ_PREV_CHOICE); case CTRL(']'): if (mode == REQ_INS_MODE) return(mode = REQ_OVL_MODE); else return(mode = REQ_INS_MODE); default: return(c); } } static int my_form_driver(FORM *form, int c) { if (c == (MAX_FORM_COMMAND + 1) ) // ?? form_driver(form, REQ_VALIDATION) == E_OK) return(TRUE); else { beep(); return(FALSE); } } void main(void) { WINDOW *w; FORM*form; FIELD *f[10]; int finished = 0, c; initscr(); keypad(stdscr, TRUE); nonl(); /* tell curses not to do NL->CR/NL on output */ cbreak();/* take input chars one at a time, no wait for \n */ noecho();/* don't echo input */ start_color(); refresh(); mvaddstr(10, 57, "Forms Entry Test"); move(18, 0); addstr("Defined form-traversal keys: ^Q/ESC- exit form\n"); addstr("^N -- go to next field ^P -- go to p
ncurses 4.2?
How can I install ncurses 4.2 without wrecking havoc on my system and keeping everyting happy, dependencies and all? I would like to use a beta release of taper that fixes a bug I am experiencing with large archives and it needs at least ncurses 4.1. Thanks, Brian -- Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
broken ncurses?
I suspect a broken ncurses setup is the root of my problems. The ncurses-base and ncurses-bin packages install fine, but when trying to reinstall ncurses itself I got the following: # dpkg --install ncurses3.4_1.9.9g-8.deb (Reading database ... 28942 files and directories currently installed.) Preparing to replace ncurses3.4 1.9.9g-8 (using ncurses3.4_1.9.9g-8.deb) ... Unpacking replacement ncurses3.4 ... Setting up ncurses3.4 (1.9.9g-8) ... ldconfig: warning: can't open /usr/lib/libncurses.so.3.4 (No such file or directory), skipping I suspect that in trying to fix this I managed to annihilate my ncurses.3.4.so file, as bedore something like this showed up (I think in /lib), but now find gives: $ find / -name "ncurses*" -print /usr/doc/copyright/ncurses-term /usr/doc/ncurses3.4 /usr/doc/ncurses-base /usr/doc/ncurses-bin /usr/doc/ncurses3.0 find: /usr/share/emacs/20.2/site-lisp: Permission denied find: /etc/ppp: Permission denied find: /var/spool/cron/atjobs: Permission denied find: /var/spool/cron/atspool: Permission denied /var/lib/dpkg/info/ncurses-base.preinst /var/lib/dpkg/info/ncurses-base.list /var/lib/dpkg/info/ncurses3.0.postinst /var/lib/dpkg/info/ncurses3.0.list /var/lib/dpkg/info/ncurses-bin.preinst /var/lib/dpkg/info/ncurses-bin.list /var/lib/dpkg/info/ncurses-term.list /var/lib/dpkg/info/ncurses3.4.postinst /var/lib/dpkg/info/ncurses3.4.list /var/lib/dpkg/info/ncurses3.4.shlibs /var/lib/dpkg/info/ncurses-base.postinst /var/lib/dpkg/info/ncurses-base.conffiles /var/lib/dpkg/info/ncurses3.0.shlibs Anyone know what I should do to rectify this situation? Britton Kerin __ GNU GPL: "The Source will be with you... always." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ncurses link
In /usr/include there is a softlink called ncurses pointing to . I want to make a backup of the whole machine, so I connected to it via ftp as root, cd'ed to / and said: get ..tar But now tar gets stuck with that softlink pointing to itself: Its still transfering, but a tar -tf just shows more and more ncurses adding to /isr/include/ncurses. Why does tar not just pack that softlink, but tries to copy the file its pointing to? Why is that ncurses pointing to . anyway? Stef
more ncurses
Hi, I'll modify my previous question which had to do with "make menuconfig" not working. I've downgraded all my ncurses to 1.9.9e1-1. All libc5 is version 33-3. This is the same setup as on other machines where menuconfig works. The compile crashes as follows: rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux/scripts/lxdialog' gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses -DCURSES_LOC="" -c lxdialog.c -o lxdialog.o In file included from dialog.h:26, from lxdialog.c:22: /usr/include/ncurses/stdlib.h:333: parse error before `*' /usr/include/ncurses/stdlib.h:336: parse error before `wchar_t' /usr/include/ncurses/stdlib.h: In function `mblen': /usr/include/ncurses/stdlib.h:340: `wchar_t' undeclared (first use this function) /usr/include/ncurses/stdlib.h:340: (Each undeclared identifier is reported only once /usr/include/ncurses/stdlib.h:340: for each function it appears in.) /usr/include/ncurses/stdlib.h:340: parse error before `)' /usr/include/ncurses/stdlib.h: At top level: /usr/include/ncurses/stdlib.h:345: parse error before `*' /usr/include/ncurses/stdlib.h:347: parse error before `*' make[1]: *** [lxdialog.o] Error 1 make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog' make: *** [menuconfig] Error 2 I don't understand why this is the case since stdlib (and all the other header files I checked) are the same as they are on machines that don't have this error. I reinstalled libc5-dev just to be sure but that didn't help. Why would this happen? Could a development package I haven't thought of affect this? Thanks J. Goldman -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
ncurses problems
Has anyone else out there had trouble with ncurses? I've now run across at least four separate failures, all related to using ncurses instead of termcap: 1) When building NEURON (big hairy biophysical simulation system), the build fails because some symbols are the same in NEURON and ncurses. Despite the fact that they have different types (in C++), the linker links to the wrong symbols, causing a segmentation fault. Switching to termcap makes the problem disappear. 2) In GENESIS 2.0 (another biophysical sim), the build goes ok, but the program bombs when you try to execute regular shell commands from the command line. Again, switching to termcap fixes things. 3) diald-top, a monitoring program for diald, bombs with a segmentation fault, and it looks suspiciously like it might be down in ncurses code when this happens. I haven't yet tried switching to termcap to see if that helps. 4) If you do a custom build of XFree86 (for the beta version), xterm bombs if you use ncurses instead of termcap. I have heard of a couple of other Debian users having similar ncurses problems, but I've never heard of anyone having trouble with ncurses in other distributions. Any info? -Randy -- http://cogsci.ucsd.edu/~gobbel/ NOTICE: I DO NOT ACCEPT UNSOLICITED COMMERCIAL EMAIL MESSAGES OF ANY KIND. I CONSIDER SUCH MESSAGES PERSONAL HARRASSMENT AND A GROSS INVASION OF MY PRIVACY. By sending unsolicited commercial advertising/solicitations (or otherwise on or as part of a mailing list) to me via e-mail you will be indicating your consent to paying John R. (Randy) Gobbel $1,000.00 U.S.D./hour for a minimum of 1 hour for my time spent dealing with it. Payment due in 30 days upon receipt of an invoice (e-mail or regular mail) from me or my authorized representative.
ncurses status???
Hi again, folks, and Happy New Year to all. I am now recompiling my kernel. I tried to use make menuconfig, but this failed with a message to the effect that ncurses was missing. I tried an apt-get for ncurses, but the message tells me that it is no longer available -- presumably obsolete now, or something to that effect. We were able to configure the kernel with xconfig. But what's with ncurses? I am missing some history, or not understanding how I am supposed to load ncurses now. Thanks in advance for any enlightenment that you can give. Larry Hunsicker -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses problem
On Wed, Sep 26, 2018 at 10:38:53PM +, Grzesiek Sójka wrote: > Hi there, > > I compiled following test program: > == > #include > #include [snip] > It's supposed to show current window dimension when resizing terminal > window. Unfortunately, dimensions are not updated and it shows initial > geometry. Interesting thing is that it works perfectly after "ssh localhost" > or "su -". I tested on both, sid and stretch. exactly the same result. > > Any ideas?? My first thought is that your shell login profile, > PS. I use xfce4 and lxdm. ... which is NOT how you normally log in, is turning on bash's checkwinsize option, which causes bash to set the LINES and COLUMNS variables upon receipt of a SIGWINCH (a signal that is sent when the window changes size). In the absence of that option, those variables might not be set at all, or might be set to the wrong size, and won't be updated when the window changes size while sitting in an idle shell. (What an ncurses program does with this signal, I honestly do not know.) So, just wild-ass guessing here, you might have put the necessaray "shopt -s checkwinsize" and "export LINES COLUMNS" into ~/.profile which is only read when you perform a shell login, and NOT when you perform an lxdm login. That's why something might "work" when you first do "ssh localhost" to get a shell login environment.
Re: ncurses problem
On 2018-09-27 08:51 -0400, Greg Wooledge wrote: > On Wed, Sep 26, 2018 at 10:38:53PM +, Grzesiek Sójka wrote: >> Hi there, >> >> I compiled following test program: >> == >> #include >> #include > [snip] > >> It's supposed to show current window dimension when resizing terminal >> window. Unfortunately, dimensions are not updated and it shows initial >> geometry. Interesting thing is that it works perfectly after "ssh localhost" >> or "su -". I tested on both, sid and stretch. exactly the same result. >> >> Any ideas?? > > My first thought is that your shell login profile, > >> PS. I use xfce4 and lxdm. > > ... which is NOT how you normally log in, is turning on bash's > checkwinsize option, which causes bash to set the LINES and COLUMNS > variables upon receipt of a SIGWINCH (a signal that is sent when the > window changes size). > > In the absence of that option, those variables might not be set at all, > or might be set to the wrong size, and won't be updated when the window > changes size while sitting in an idle shell. > > (What an ncurses program does with this signal, I honestly do not know.) > > So, just wild-ass guessing here, you might have put the necessaray > "shopt -s checkwinsize" and "export LINES COLUMNS" into ~/.profile > which is only read when you perform a shell login, and NOT when you > perform an lxdm login. Actually it is exactly the other way around. If LINES and COLUMNS are set in the environment, then the ncurses library will _not_ update the screen size upon receiving SIGWINCH, and that causes the behavior Grzesiek observed. This is documented in ncurses(3). Cheers, Sven
Re: ncurses problem
On 9/28/18 9:44 AM, Sven Joachim wrote: On 2018-09-27 08:51 -0400, Greg Wooledge wrote: On Wed, Sep 26, 2018 at 10:38:53PM +, Grzesiek Sójka wrote: Hi there, I compiled following test program: == #include #include [snip] It's supposed to show current window dimension when resizing terminal window. Unfortunately, dimensions are not updated and it shows initial geometry. Interesting thing is that it works perfectly after "ssh localhost" or "su -". I tested on both, sid and stretch. exactly the same result. Any ideas?? My first thought is that your shell login profile, PS. I use xfce4 and lxdm. ... which is NOT how you normally log in, is turning on bash's checkwinsize option, which causes bash to set the LINES and COLUMNS variables upon receipt of a SIGWINCH (a signal that is sent when the window changes size). In the absence of that option, those variables might not be set at all, or might be set to the wrong size, and won't be updated when the window changes size while sitting in an idle shell. (What an ncurses program does with this signal, I honestly do not know.) So, just wild-ass guessing here, you might have put the necessaray "shopt -s checkwinsize" and "export LINES COLUMNS" into ~/.profile which is only read when you perform a shell login, and NOT when you perform an lxdm login. Actually it is exactly the other way around. If LINES and COLUMNS are set in the environment, then the ncurses library will _not_ update the screen size upon receiving SIGWINCH, and that causes the behavior Grzesiek observed. This is documented in ncurses(3). It seems that the problem is not related to the environment: # set | egrep 'LINE|COL|BASHOPTS' BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath BASH_LINENO=() COLORTERM=truecolor COLUMNS=119 LINES=84 # ssh localhost # set | egrep 'LINE|COL|BASHOPTS' BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath BASH_LINENO=() COLUMNS=119 LINES=84 -- Pozdrawiam Grzesiek Wysłane z kompa wolnego od wirusów Billa Gatesa.
Re: ncurses problem
On 2018-09-29 11:02 +, Grzesiek Sójka wrote: > On 9/28/18 9:44 AM, Sven Joachim wrote: >> >> Actually it is exactly the other way around. If LINES and COLUMNS are >> set in the environment, then the ncurses library will _not_ update the >> screen size upon receiving SIGWINCH, and that causes the behavior >> Grzesiek observed. This is documented in ncurses(3). > > It seems that the problem is not related to the environment: > > # set | egrep 'LINE|COL|BASHOPTS' > BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath > BASH_LINENO=() > COLORTERM=truecolor > COLUMNS=119 > LINES=84 > # ssh localhost > # set | egrep 'LINE|COL|BASHOPTS' > BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath > BASH_LINENO=() > COLUMNS=119 > LINES=84 You need to look at the output of env(1) instead. By default bash does not export LINES and COLUMNS, so they are not visible in child programs: , | % bash | $ echo $LINES | 52 | $ dash | $ echo $LINES | ` Cheers, Sven
Re: ncurses problem
On 9/29/18 9:14 AM, Sven Joachim wrote: On 2018-09-29 11:02 +, Grzesiek Sójka wrote: On 9/28/18 9:44 AM, Sven Joachim wrote: Actually it is exactly the other way around. If LINES and COLUMNS are set in the environment, then the ncurses library will _not_ update the screen size upon receiving SIGWINCH, and that causes the behavior Grzesiek observed. This is documented in ncurses(3). It seems that the problem is not related to the environment: # set | egrep 'LINE|COL|BASHOPTS' BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath BASH_LINENO=() COLORTERM=truecolor COLUMNS=119 LINES=84 # ssh localhost # set | egrep 'LINE|COL|BASHOPTS' BASHOPTS=checkwinsize:cmdhist:complete_fullquote:expand_aliases:extquote:force_fignore:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath BASH_LINENO=() COLUMNS=119 LINES=84 You need to look at the output of env(1) instead. By default bash does not export LINES and COLUMNS, so they are not visible in child programs: , | % bash | $ echo $LINES | 52 | $ dash | $ echo $LINES | ` Ok, you right. -- Pozdrawiam Grzesiek Wysłane z kompa wolnego od wirusów Billa Gatesa.
Re: [OT] ncurses
On Fri, Jul 06, 2001 at 12:28:01AM -0500, Petr [Dingo] Dvorak wrote: > hey list, > > i'm trying to write interface between ncurses and sockets for server side > split > screen. my problem is that the mud has only socket descriptor to send and > receive all the data from each of the players, but ncurses require two FILE > descriptors to work properly. i tried various [dirty] hacks to make it work, > short of using temporary file for the output, and then sending the contents of > the file to the players. "dup" the file descriptor. And yes, this is off topic > > i'm sure that there is someone else who hit the same problem at some point, > and > that there some ellegant solution for this. > > so i would greatly appreciate any help/example that you may have. :) -- Eric G. Miller
emacs and ncurses
Am I right to assume that emacs can't run an ncurses-based program properly? Sample tcsh session from within emacs: alpha:~/GNUstep> ls m1;34mDefaultsm 1;34mLibrarym alpha:~/GNUstep> Sample ash session from within emacs: $ ls Defaults Library If not, is there a config option I should set? Or am I doing it wrong. I'm think of using emacs as an operating system. -- Humanity's future is in the stars: support a manned mission to Mars! http://www.thinkmars.net/petition/addpetition.html
Re: ncurses HeLP
libncurses5-dev on an unstable box. billy Ronneil Camara wrote: > Hi guys, > > How are you doing? > > Anyways, what package should I install so that I will have curses.h file? > > Thanks. > > Neil > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Once you are taught "the right way", it's hard to break new ground.
RE: ncurses HeLP
Thanks. Just wondering why you said "on an unstable box"? And also, I am doing the traditional way of compiling the kernel, make menuconfig, make dep clean modules_install bzImage Will this work on debian? I actually asked about curses because when I did a make menuconfig, it told me that curses.h was not found, then it brought me back to the prompt. > -Original Message- > From: Billy Sneed [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 21, 2002 10:03 AM > To: Ronneil Camara > Cc: debian-user@lists.debian.org > Subject: Re: ncurses HeLP > > > libncurses5-dev on an unstable box. > > billy > > Ronneil Camara wrote: > > Hi guys, > > > > How are you doing? > > > > Anyways, what package should I install so that I will have > curses.h file? > > > > Thanks. > > > > Neil > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- > Once you are taught "the right way", it's hard to break new ground. >
Re: ncurses HeLP
Ronneil Camara wrote: > Thanks. Welcome. > Just wondering why you said "on an unstable box"? My computer is running unstable. The libs may be a different version on a potato box. Either way, it'll be libncurses[n]-dev. 'apt-cache search libncurses' will show you what your options are. > And also, I am doing the traditional way of compiling the kernel, make > menuconfig, make dep clean modules_install bzImage > > Will this work on debian? Sure thing. > I actually asked about curses because when I did a make menuconfig, it told > me that > curses.h was not found, then it brought me back to the prompt. IIRC, make menuconfig compiles the curses interface before you get the curses menu for choosing your kernel options. Nothing but source code in the kernel source, no binaries. Hence needing the header files (curses.h) for make menuconfig. billy > > -Original Message- > > From: Billy Sneed [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 21, 2002 10:03 AM > > To: Ronneil Camara > > Cc: debian-user@lists.debian.org > > Subject: Re: ncurses HeLP > > > > > > libncurses5-dev on an unstable box. > > > > billy > > > > Ronneil Camara wrote: > > > Hi guys, > > > > > > How are you doing? > > > > > > Anyways, what package should I install so that I will have > > curses.h file? > > > > > > Thanks. > > > > > > Neil > > > > > > > > > -- > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > > with a subject of "unsubscribe". Trouble? Contact > > [EMAIL PROTECTED] > > > > -- > > Once you are taught "the right way", it's hard to break new ground. > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Once you are taught "the right way", it's hard to break new ground.
Re: ncurses HeLP
On Thu, Mar 21, 2002 at 10:08:48AM -0600, Ronneil Camara wrote: > > And also, I am doing the traditional way of compiling the kernel, make > menuconfig, make dep clean modules_install bzImage > > Will this work on debian? It'll work but you might find it easier to: make menuconfig make-kpkg kernel-image Install the package kernel-package do to that. It creates a .deb file containing the kernel and modules etc. dpkg -i to install. It'll do the lilo stuff for you too, and you'll never forget any of the steps either.. Alan.
Ncurses on PCs
Hi, I am taking C++ and Data Structures courses at San Francisco State and most of my programs use ncurses. I understand that ncurses is a package of functions in the UNIX library for use in C and C++ programs. Is there any way I can download these functions and use them from my home computer ( I want ncurses to be run on PCs). Can I install Linux on my home computer and then compile and run C programs using ncurses. And how can I install Linux and Windows on the same machine (how difficult is it)? Thank you for your time.Cuong Tran
Ncurses on PCs
Hi, I am taking C++ and Data Structures courses at San Francisco State and most of my programs use ncurses. I understand that ncurses is a package of functions in the UNIX library for use in C and C++ programs. Is there any way I can download these funtions and use them from my home computer ( i want ncurses to be run on PC.) because sometime I can't connect to my school. Can I install Linux on my home computer and then compile and run C programs using ncuses? And how can I install Linux and Windows on the same machine? Thank you for your time.Cuong Tran
RE: ncurses / libncurses
On 10-Jan-2001 Benjamin Pharr wrote: > I can't use 'make menuconfig' when trying to use the kernel because ncurses > is not installed. I have tried: > > apt-get install ncurses > apt-get install libncurses > apt-get install libncurses-dev you need libncurses5-dev apt-cache search ncurses also in unstable (probably testing too) there is an app called auto-apt. Install it, run auto-apt update, then do: auto-apt search /path/to/file.
Re: ncurses / libncurses
On Wed, Jan 10, 2001 at 12:29:25PM -0600, Benjamin Pharr wrote: > I can't use 'make menuconfig' when trying to use the kernel because ncurses > is not installed. I have tried: > > apt-get install ncurses > apt-get install libncurses > apt-get install libncurses-dev > > all with no luck. I'm not very familiar with the Debian packaging system, > so could someone help me out? Thanks! apt-get install libncurses5-dev HTH, James
Re: ncurses / libncurses
>> all with no luck. I'm not very familiar with the Debian packaging system, >> so could someone help me out? Thanks! > > apt-get install libncurses5-dev > teach a man to fish. As I did in my mail, whenever answering a question here on debian-user, provide a way to find the answer, not just the answer. Even if it does not help the original poster, readers of this list and people who search the archives will appreciate your time.
Re: ncurses / libncurses
On Wed, Jan 10, 2001 at 12:29:25PM -0600, Benjamin Pharr wrote: > I can't use 'make menuconfig' when trying to use the kernel because ncurses > is not installed. I have tried: > > apt-get install ncurses > apt-get install libncurses > apt-get install libncurses-dev > > all with no luck. I'm not very familiar with the Debian packaging system, > so could someone help me out? Thanks! > Do a search for "ncurses" @ - http://www.debian.org/distrib/packages You will find that "ncurses" isn't the name of an actual package. I don't know exactly which one you need but "ncurses-base" might be a place to start. Maybe this will give you enough to get on your way. kent -- "In order to make an apple pie from scratch, you must first create the universe." - Carl Sagan
Re: ncurses / libncurses
libncurses5-dev On Wed, 10 Jan 2001, Benjamin Pharr wrote: >I can't use 'make menuconfig' when trying to use the kernel because ncurses >is not installed. I have tried: > >apt-get install ncurses >apt-get install libncurses >apt-get install libncurses-dev > >all with no luck. I'm not very familiar with the Debian packaging system, >so could someone help me out? Thanks! > >Ben Pharr > > > > -- Pardon me, but you have obviously mistaken me for someone who gives a damn. email [EMAIL PROTECTED]
ncurses and python
>From the slink cd i installed the python module python-curses 1.5.1-7 >From www.python.org/doc/howto/curses/curses.html (by Andrew Kuchling) I understand that this is the original curses module, and that there exists a much improved one, to be found at andrich.net/python/selfmade.html#ncursesmodule But that file, and all the other ones there, is rpm not deb. I cannot find anything like it in unstable main contrib non-free. So there seems not to be a new curses for debian. Is that true ? Also, in The Python Library Reference (www.python.org/doc/lib) I cannot find the function newpad(), mentioned buy Andrew Kuchlin. Nothing about colors either. So I really think this is the old curses module. What is my mistake ? How do I go on ? egbert -- Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
Proper ncurses package
Greetings, To spice up a uni assignment I have the option to use the ncurses library. However, I'm not at all sure that anything related to it is installed in my Squeeze system, since the command 'man ncurses' brings up nothing (or, to be more precise, an error message). When I connect to my department's linux systems via ssh they appear to have the library installed since the relative manpage is working. Here's what I get when I attempt to install the (otherwise non-existing) 'curses' package: ja...@debian:~$ sudo aptitude install curses Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Couldn't find package "curses". However, the following packages contain "curses" in their name: lib64ncurses5 libncurses5 libncurses-ruby1.8 libncurses-ruby1.9 libkaya-ncursesw-dev libcunit1-ncurses libcurses-perl libncurses-dev irmp3-ncurses ncurses-base libncurses-gst libncursesw5-dbg libncursesw5-dev ncurses-term pinentry-curses libcurses-ui-perl ncurses-hexedit libcurses-ruby libcunit1-ncurses-dev libcurses-ruby1.8 lib64ncurses5-dev libcurses-widgets-perl libkaya-ncurses-dev cmake-curses-gui weechat-curses libcurses-ocaml-dev libncurses-ruby ncurses-runtime libncurses5-dbg libncurses5-dev libncursesw5 yorick-curses libconfig-model-cursesui-perl libcurses-ocaml ncurses-bin ncurses-dev Couldn't find package "curses". However, the following packages contain "curses" in their name: lib64ncurses5 libncurses5 libncurses-ruby1.8 libncurses-ruby1.9 libkaya-ncursesw-dev libcunit1-ncurses libcurses-perl libncurses-dev irmp3-ncurses ncurses-base libncurses-gst libncursesw5-dbg libncursesw5-dev ncurses-term pinentry-curses libcurses-ui-perl ncurses-hexedit libcurses-ruby libcunit1-ncurses-dev libcurses-ruby1.8 lib64ncurses5-dev libcurses-widgets-perl libkaya-ncurses-dev cmake-curses-gui weechat-curses libcurses-ocaml-dev libncurses-ruby ncurses-runtime libncurses5-dbg libncurses5-dev libncursesw5 yorick-curses libconfig-model-cursesui-perl libcurses-ocaml ncurses-bin ncurses-dev No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done Which package would fit my needs best? Thanks in advance, Jason
Re: Ncurses bug?
On Fri, Jun 19, 1998 at 04:51:07AM +, Pavel Andreew wrote: >My program use the Form library from Ncurses. It worked OK with > ncurses 1.1.9g-8, but not with 1.1.9g-8.5. I've done the non-maintainer releases 1.1.9g-8.1 through -8.5; I have no idea what caused this. I have archived your problem in the Debian bug-tracking system as bug #23536 (http://www.debian.org/Bugs/db/23/23536.html). If you wish to contribute information that can be useful in fixing this problem, please include a Cc: [EMAIL PROTECTED] in your message. Thanks, Ray -- Cyberspace, a final frontier. These are the voyages of my messages, on a lightspeed mission to explore strange new systems and to boldly go where no data has gone before. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses 4.2?
On Wed, 15 Jul 1998 [EMAIL PROTECTED] wrote: > > How can I install ncurses 4.2 without wrecking havoc on my system and > keeping everyting happy, dependencies and all? I would like to use a > beta release of taper that fixes a bug I am experiencing with large > archives and it needs at least ncurses 4.1. You could put it in /usr/local/ncurses and use the following in your Makefile: ICURSES = -I/usr/local/ncurses/include LCURSES = /usr/local/ncurses/lib/libncurses.a As an aside, I've never gotten taper to work successfully since upgrading to ftape-3.04d. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Slang vs. ncurses.
At first glance both Slang and ncurses seems to me comparable: They both intend to help the programmer accomodate the terminal. 1) Is it correct ? 2) can someone give a short comparison of these 2 libraries ? Thank you.
c++ and ncurses
Hi, I don't know if this is simply a problem with my setup, but I'm having problem with the following test program (culled from a larger program). The program worked fine under Red Hat 5.0: #include #include int main() { chtype oldchar; initscr(); oldchar = inch(); return(0); } The code compiles and links fine with the c++ compiler (I've tried both the the old c++ compiler, and egcs. When the program is run however, I am getting a segmentation fault. The fault is occurring on the oldchar = inch(); line. If I remove the oldchar =, and just call the inch function, the program doesn't crash. Also, if I compile this with the c compiler instead, I don't have any problems (except that I am using c++ features in the real program ;-) ). It looks to me like the return value of inch is overwriting something it shouldn't. Any ideas would be appreciated. If there is a more appropriate list for this, let me know Mike Madore
ncurses segmentation fault
Package: ncurses3.4 Version: 1.9.9g-8.8 The following program, compiled with egcs 1.0.3, causes a segmentation fault at the mvwinch statement: #include int main () { WINDOW *win; initscr(); refresh(); win = newwin(0, 0, 10, 10); getch(); chtype r = mvwinch(win, 1, 1); getch(); endwin(); return 0; } I'm using Debian 2.0. Any ideas? Ingo
Re: broken ncurses?
On Sat, Mar 28, 1998 at 07:38:41PM -0900, Britton wrote: > I suspect that in trying to fix this I managed to annihilate my > ncurses.3.4.so file, as bedore something like this showed up (I think in > /lib), but now find gives: Actually the file is libncurses.so.3.4. Adam Klein -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: broken ncurses?
I had a similar problem a while back when I upgraded ncurses. Had to manually delete the existing soft links for ncurses, before running ldconfig. Then all worked OK. On Sat, 28 Mar 1998, Britton wrote: > > I suspect a broken ncurses setup is the root of my problems. The > ncurses-base and ncurses-bin packages install fine, but when trying > to reinstall ncurses itself I got the following: > > > # dpkg --install ncurses3.4_1.9.9g-8.deb > (Reading database ... 28942 files and directories currently installed.) > Preparing to replace ncurses3.4 1.9.9g-8 (using ncurses3.4_1.9.9g-8.deb) > ... > Unpacking replacement ncurses3.4 ... > Setting up ncurses3.4 (1.9.9g-8) ... > ldconfig: warning: can't open /usr/lib/libncurses.so.3.4 (No such file or > directory), skipping > > > I suspect that in trying to fix this I managed to annihilate my > ncurses.3.4.so file, as bedore something like this showed up (I think in > /lib), but now find gives: > > $ find / -name "ncurses*" -print > /usr/doc/copyright/ncurses-term > /usr/doc/ncurses3.4 > /usr/doc/ncurses-base > /usr/doc/ncurses-bin > /usr/doc/ncurses3.0 > find: /usr/share/emacs/20.2/site-lisp: Permission denied > find: /etc/ppp: Permission denied > find: /var/spool/cron/atjobs: Permission denied > find: /var/spool/cron/atspool: Permission denied > /var/lib/dpkg/info/ncurses-base.preinst > /var/lib/dpkg/info/ncurses-base.list > /var/lib/dpkg/info/ncurses3.0.postinst > /var/lib/dpkg/info/ncurses3.0.list > /var/lib/dpkg/info/ncurses-bin.preinst > /var/lib/dpkg/info/ncurses-bin.list > /var/lib/dpkg/info/ncurses-term.list > /var/lib/dpkg/info/ncurses3.4.postinst > /var/lib/dpkg/info/ncurses3.4.list > /var/lib/dpkg/info/ncurses3.4.shlibs > /var/lib/dpkg/info/ncurses-base.postinst > /var/lib/dpkg/info/ncurses-base.conffiles > /var/lib/dpkg/info/ncurses3.0.shlibs > > > Anyone know what I should do to rectify this situation? > > Britton Kerin > __ > GNU GPL: "The Source will be with you... always." > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > /*** Running Debian Linux *** * For God so loved the world that He gave his only begotten Son, * * that whoever believes in Him should not perish...John 3:16 * * W. Paul Mills* Topeka, Kansas, U.S.A.* * [EMAIL PROTECTED] * http://homepage.midusa.net/~wpmills/ * * [EMAIL PROTECTED] * http://www.networksplus.net/wpmills/ * * Bill, I was there several years ago, why would I want to go back? * / -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
"upgrading" ncurses packages
I have finally flipped a breaker, and spent the day on up "upgrade" to glibc/libc6. This was forced by my own confusion, as well as that, apparently, of my machine, as to which libraries were to be linked into xtide2.0. After the "upgrade" the package compiled ok. Most of the package updates went ok, following the suggestions in the mini-HOWTO of Mr. Ellis, on the list. The only serious problem I encountered was with ncurses. I wasn't certain whether I had to update ncurses-base, but I tried, and both that package and ncurses-term refused to upgrade. Finally, I had to unpack the control files and have a look at the preinstall script: moving two directories out of the way seemed to solve the problem: /usr/lib/tabset and /usr/lib/terminfo. Another think irritated me: I haven't rebooted in a day or two, and have a healthy desktop built up, when the scripts of the glib6 package told me to reboot. Couldn't a warning or at least more information have been given in advance. I don't know how many times I have watched a package unpack, completly, onto the system, and then tell me that due to some conflict, it was unable to configure. I guess some of these can't be easily forseen, but it still leaves the files all over the system. In fact, in some cases of libraries, if I'm not wrong, they were still used by the system even though not "configured". Alan Davis -- "I consider that the golden rule requires Alan E. Davis that if I like a program I must share it[EMAIL PROTECTED] with other people who like it" Marianas High School AAA196, Box 10001 ---Richard StallmanSaipan, MP 96950 Northern Mariana Islands GMT+10 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: ncurses problem?
Erik Andersen writes: > I have found that with the newest rxvt (released within the last week I > believe) it also messes up mutt, sets TERM to rxvt (which seems to break > a few things that don't know about TERM=rxvt, and also messes up the > screen for the kernel's menuconfig. Oh, and backspace no longer does > a ^H for some reason. > I had no problems with rxvt until I installed the new ncurses-base package. This obviously has a different rxvt terminfo file cause it doesn't display properly. Ncftp is a good test TERM=rxvt and it's all messed up. TERM=vt100 it's fine. Install the old ncurses-base package and it's fine with TERM=rxvt. excuse my horribly formated email, typing over a very slow link. Andrew -- Dehydration - 34%, Recollection of previous evening - 2%, embarrassment factor - 91%. Advise repair schedule:- off line for 36 hours, re-boot startup disk, and replace head - wow, what a night! -- Kryten in Red Dwarf `The Last Day' Andrew Howell Perth, Western Australia [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: ncurses problem?
Erik Andersen writes: > I have found that with the newest rxvt (released within the last week I > believe) it also messes up mutt, sets TERM to rxvt (which seems to break > a few things that don't know about TERM=rxvt, and also messes up the > screen for the kernel's menuconfig. Oh, and backspace no longer does > a ^H for some reason. > I had no problems with rxvt until I installed the new ncurses-base package. This obviously has a different rxvt terminfo file cause it doesn't display properly. Ncftp is a good test TERM=rxvt and it's all messed up. TERM=vt100 it's fine. Install the old ncurses-base package and it's fine with TERM=rxvt. excuse my horribly formated email, typing over a very slow link. Andrew -- Dehydration - 34%, Recollection of previous evening - 2%, embarrassment factor - 91%. Advise repair schedule:- off line for 36 hours, re-boot startup disk, and replace head - wow, what a night! -- Kryten in Red Dwarf `The Last Day' Andrew Howell Perth, Western Australia [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: ncurses problem?
Hi, On Thu, 14 Aug 1997, Andrew Howell wrote: > Date: Thu, 14 Aug 1997 12:00:50 +0759 (WST) > From: Andrew Howell <[EMAIL PROTECTED]> > To: Erik Andersen <[EMAIL PROTECTED]> > Cc: Debian Users > Subject: Re: ncurses problem? > Resent-Date: Thu, 14 Aug 1997 04:15:04 + > Resent-From: debian-user@lists.debian.org > Resent-cc: recipient list not shown: ; > > Erik Andersen writes: > > I have found that with the newest rxvt (released within the last week I > > believe) it also messes up mutt, sets TERM to rxvt (which seems to break > > a few things that don't know about TERM=rxvt, and also messes up the > > screen for the kernel's menuconfig. Oh, and backspace no longer does > > a ^H for some reason. > > > > I had no problems with rxvt until I installed the new ncurses-base package. > This obviously has a different rxvt > terminfo file cause it doesn't display properly. Ncftp is a good test > TERM=rxvt and it's all messed up. TERM=vt100 it's fine. > > Install the old ncurses-base package and it's fine > with TERM=rxvt. > > excuse my horribly formated email, typing over a very slow > link. well, i've put in my .bash* files if [$TERM == 'rxvt']; then TERM=xterm; fi it cures all the problems for me. OK -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: ncurses problem?
Andrew Howell <[EMAIL PROTECTED]> writes: > Erik Andersen writes: > > I have found that with the newest rxvt (released within the last week I > > believe) it also messes up mutt, sets TERM to rxvt (which seems to break > > a few things that don't know about TERM=rxvt, and also messes up the > > screen for the kernel's menuconfig. Oh, and backspace no longer does > > a ^H for some reason. > > I had no problems with rxvt until I installed the new ncurses-base package. > This obviously has a different rxvt > terminfo file cause it doesn't display properly. Ncftp is a good test > TERM=rxvt and it's all messed up. TERM=vt100 it's fine. > > Install the old ncurses-base package and it's fine > with TERM=rxvt. This is true, and I've been considering reporting it as a bug. The rxvt terminfo entry in the old ncurses-base package was very similar to xterm-color's entry. It added mouse support and some stuff necessary to handle the Home/End keys. The new ncurses-base package does not have an xterm-color entry and its rxvt entry is very different from its xterm entry (which to me is somewhat strange, since rxvt is usually described as a smaller replacement for xterm). Versions of rxvt prior to 2.20-5 set the TERM environment variable to xterm-color. (Note that this would cause problems with the new ncurses-base package, which does not have an xterm-color terminfo entry.) Since Debian has an rxvt terminfo entry, this was reported as a bug. After some discussion, I agreed with the author of the report and modified rxvt in version 2.20-5 to set TERM=rxvt on color displays and TERM=xterm on monochrome displays (since there was no monochrome rxvt terminfo entry available). The rxvt terminfo entry should be fixed. I suggest that it should follow the rxvt entry in the old ncurses-base package and be made equivalent to xterm with additional mouse and Home/End support. While we're fixing the terminfo entries, I would also like to suggest that a rxvt-mono entry be created for monochrome displays. It should be equivalent to the new rxvt entry with the color support disabled. I would then modify rxvt to set TERM=rxvt-mono, instead of TERM=xterm which it does now, when running on monochrome displays. Brian -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
ncurses with sarge
Hi Deb Peoples.. I am trying to compile xfbb from source (rather than using deb binaries) with sarge (Testing), howver, I get an error -DUSE_NCURSES when I try to install them it wont let me using "apt-get install ncurses" --output--- Package ncurses is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package ncurses has no installation candidate Tried various others finding packages with "apt-cache search ncurses" however, older versions 4 & 5 are shown. When trying to install says latest installed and older version obsolete.. Any help much appreciated.. -- Regards - Stef VK5HSX Adelaide, Sth Australia -= Support Open Source =- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses problems
>Has anyone else out there had trouble with ncurses? I've now run across at >least four separate failures, all related to using ncurses instead of >termcap: > >I have heard of a couple of other Debian users having similar ncurses >problems, but I've never heard of anyone having trouble with ncurses in other >distributions. Hi Randy, I recently tried building 'dominion', a conquer-like wargame, on my machine. The authors use autoconf and say it runs fine on Linux. Running autoconf mostly seems to work, although it complains about not finding 'beep', 'cbreak', and 'crmode', all which (should) belong to curses. The build proceeds and I can run the program, but I get instances where a text window will appear for a millisecond then be stuck behind another one when it should have remained in front I'm not sure why and haven't gotten around to examining the problem yet. Sorry I can't help with yours... and my problem with ncurses/termcap obviously is a bit different... Just another nugget for your consideration when working on your problem. >indicating your consent to paying John R. (Randy) Gobbel $1,000.00 U.S.D./hour >for a minimum of 1 hour for my time spent dealing with it. Payment due in 30 >days upon receipt of an invoice (e-mail or regular mail) from me or my >authorized representative. So... does this work? :)
ncurses for woody
Excuse me, but how do I install ncurses on a woody system. I tried all the apt-get ?curses and libncurses, but no luck. Trying to run "make menuconfig" in the kernel-sources Gerald -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
ncurses with sarge
Howdy.. I recently installed sarge (Testing) Debian installation, where I have been setting things up as required. I am trying to compile a applications, where with ./configure I get an error that it requires ncurses. I tried "apt-get install ncurses" and was told it was obsolete and not used anymore. Is there a way around this or will I require ncurses source compilation and install.? Many thanks.. -- Regards - Stef VK5HSX -= Support Open Source Software =- pgpPJFhZgMLve.pgp Description: signature
lynx, ncurses, gpm
Has anyone else managed to get ncurses' gpm support to work with lynx? That is, proper mouse support for lynx navigation, not just gpm copy-and-paste. I know that the default libncurses5 package doesn't come with gpm support, but even after recompiling it --with-gpm, lynx won't behave as I'd expect (mouse support in an xterm is fine, though). There are two problems: 1) the handling of SIGTSTP. This has been explained at http://www.flora.org/lynx-dev/html/month041999/msg00732.html , and causes lynx to exit after ^Z and fg. I followed the advice given in that link, and changed 2 lines in the gpm source to set the SA_RESTART flag in gpm's sig handler, and this problem goes away. 2) mouse events aren't handled until the next time a key is pressed. I've had a look with gdb, and I can't really understand all the function calls going on, but the problem seems to be within ncurses' handling of wgetch() . I haven't a clue how to go about fixing the second, so I thought I'd ask here in case anyone else has encountered, or even fixed, the problem, and failing that, I'll try upstream. My system's Woody, so that's gpm-1.9.6-12 ncurses_5.2.20020112a-7 lynx-ssl_2.8.4.1b-3 Glyn -- Computers are geek toys. If you want to play with them, learn the geek rules. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Where is Ncurses
Could someone tell me where my Ncurses library is located? I can't find it and dselect claims that I all ready have it.Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Re: ncurses status???
On Wed, Jan 01, 2003 at 09:21:55AM -0600, Larry Hunsicker wrote: > Hi again, folks, and Happy New Year to all. Same to you! > I am now recompiling my kernel. I tried to use make menuconfig, but > this failed with a message to the effect that ncurses was missing. Install libncurses5-dev. -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses status
Many thanks to Colin Watson. After apt-get install libncurses5-dev, make menuconfig now works fine. Larry Hunsicker Colin Watson wrote: > On Wed, Jan 01, 2003 at 09:21:55AM -0600, Larry Hunsicker wrote: > > Hi again, folks, and Happy New Year to all. > > Same to you! > > > I am now recompiling my kernel. I tried to use make menuconfig, but > > this failed with a message to the effect that ncurses was missing. > > Install libncurses5-dev. > > -- > Colin Watson [[EMAIL PROTECTED]] > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: emacs and ncurses
csj <[EMAIL PROTECTED]> writes: > Am I right to assume that emacs can't run an ncurses-based program > properly? It can. If you do M-x ansi-term instea of M-x shell. -- <http://petition.eurolinux.org/>
Re: Ncurses on PCs
> And how can I install Linux and Windows on the same machine (how > difficult is it)? Making a dual boot Win and Linux machine isn't too hard. Depends a bit on how much HD space you have. And it may take a bit of tinkering, so making backups is a good idea. I say 'isn't too hard' because I had one at one time, back when I knew even less about Linux than I do now ... and I don't know very much now! So it can't be too hard. Check out the docs on http://www.debian.org. G ++ http://www.burningclown.com "Everyone's Portal to Nothing At All" ++
Re: Ncurses on PCs
On Mon, Dec 17, 2001 at 03:12:34PM -0800, cuong tran wrote: | Hi, | | | I am taking C++ and Data Structures courses at San Francisco State and | most of my programs use ncurses. I understand that ncurses is a package | of functions in the UNIX library for use in C and C++ programs. Is there | any way I can download these funtions and use them from my home computer | ( i want ncurses to be run on PC.) because sometime I can't connect to my | school. Yes. Take a look at www.cygwin.com. The ncurses library still requires a POSIX system, but the cygwin folks have a very good emulation layer for MS Windows. | Can I install Linux on my home computer and then compile and run | C programs using ncuses? Yes. I recommend linux over cygwin (the old house-on-the-sand example, if the foundation is shaky then it is impossible to build a solid structure on top of it). | And how can I install Linux and Windows on the | same machine? Either using separate hard disks (recommended if you don't want to (risk) re-install(ing) windows) or on separate partitions of a single disk. I've done it both ways. Once the systems are installed you set up a bootloader that allows you to choose with OS to boot. -D -- It took the computational power of three Commodore 64s to fly to the moon. It takes at least a 486 to run Windows 95. Something is wrong here.
Re: Ncurses on PCs
On Mon, Dec 17, 2001 at 09:46:28PM -0500, dman wrote: > On Mon, Dec 17, 2001 at 03:12:34PM -0800, cuong tran wrote: > | Hi, > | > | > | I am taking C++ and Data Structures courses at San Francisco State and > | most of my programs use ncurses. I understand that ncurses is a package > | of functions in the UNIX library for use in C and C++ programs. Is there > | any way I can download these funtions and use them from my home computer > | ( i want ncurses to be run on PC.) because sometime I can't connect to my > | school. > > Yes. Take a look at www.cygwin.com. The ncurses library still > requires a POSIX system, but the cygwin folks have a very good > emulation layer for MS Windows. You can also try PDCurses (http://pdcurses.sourceforge.net/). IIRC, this version of curses works with most DOS/Windows compilers. Peter De Wachter
Re: Ncurses on PCs
cuong tran wrote: >Hi, > > >I am taking C++ and Data Structures courses at San Francisco State and >most of my programs use ncurses. I understand that ncurses is a package >of functions in the UNIX library for use in C and C++ programs. Is there >any way I can download these funtions and use them from my home computer >( i want ncurses to be run on PC.) because sometime I can't connect to my >school. Can I install Linux on my home computer and then compile and run >C programs using ncuses? And how can I install Linux and Windows on the >same machine? ncurses is actually a library of functions for providing limited graphical support (not limited actually...) to a POSIX environment and is a free alternative to the UNIX curses library. The Single UNIX specification is a good reading for curses, and you can use it with ncurses. Most Linux distros come with ncurses installed, and the development headers in a separate package (in debian, that would equate to libncurses5- dev) to be installed. It is usually installed so one can invoke some ncurses-dependent programs (such as Debian's dselect and the make menuconfig routine when you reconfigure a kernel prior to compiling it). Yes, you can compile your own programs and link ncurses-specific routines to the appropriate header file, as long as you have libncurses-dev installed. Yes, you can install Linux and the other OS on the same machine. There's lots of documentations, FAQ and HOWTO's for this task out there in the 'net and inside your /usr/doc files, or your Linux distro's installer CD-ROM. Paolo Falcone __ www.edsamail.com
Problems with ncurses programms
Hello, I have some problems with programms that uses ncurses (I think this is the source of the problem). I use rxvt (But there is the same problem under xterm), and when i run dselect or when i use vim inside mutt, that background of my term becomes black wheras I use lightyellow as background color. Thanks for your help
ncurses and x terminals
I recently compiled ncurses 5.0 from source, replacing the debian package (I removed the debian package first of course), but now in any sort of X terminal my ncurses apps don't show in color. They are fine in a normal console though =/ Any ideas? -- __ _ __ _ Justin Megawarne [ Solitude ] Tel: +44 (0)20 8863 0718 <[EMAIL PROTECTED]> Cel: +44 (0)7941 270 136 http://kholmes.dhis.net/ irc.destructor.net && irc.xchat.org - #Linux
screen messes up ncurses
Hello, I am running screen 3.9.5-9 on a sid box. The problem is this: When I use curses based applications like mc or mutt, all line drawing characters are displayed as regular letters. Looks like the 8th bit is stripped off the char or something. Does anybody know what to do about that? Thanks, --j pgphSbBaccIGC.pgp Description: PGP signature
need help with ncurses...
how do i install ncurses?
Re: Proper ncurses package
In <886fa7aa0905221547k21469037la882c5044a641...@mail.gmail.com>, Jason Filippou wrote: >The command 'man ncurses' brings up nothing (or, to be >more precise, an error message). When I connect to my department's linux >systems via ssh they appear to have the library installed since the relative >manpage is working. > >Which package would fit my needs best? libncurses-dev -- Boyd Stephen Smith Jr. ,= ,-_-. =. b...@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/\_/ signature.asc Description: This is a digitally signed message part.
Re: Proper ncurses package
On Fri, May 22, 2009 at 09:39:13PM -0600, "Boyd Stephen Smith Jr." was heard to say: > In <886fa7aa0905221547k21469037la882c5044a641...@mail.gmail.com>, Jason > Filippou wrote: > >The command 'man ncurses' brings up nothing (or, to be > >more precise, an error message). When I connect to my department's linux > >systems via ssh they appear to have the library installed since the relative > >manpage is working. > > > >Which package would fit my needs best? > > libncurses-dev libncurses-dev is a virtual package -- you need libncurses5-dev. Daniel -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Proper ncurses package
On Sat, May 23, 2009 at 07:21, Daniel Burrows wrote: > On Fri, May 22, 2009 at 09:39:13PM -0600, "Boyd Stephen Smith Jr." > was heard to say: >> In <886fa7aa0905221547k21469037la882c5044a641...@mail.gmail.com>, Jason >> Filippou wrote: >> >The command 'man ncurses' brings up nothing (or, to be >> >more precise, an error message). When I connect to my department's linux >> >systems via ssh they appear to have the library installed since the relative >> >manpage is working. >> > >> >Which package would fit my needs best? >> >> libncurses-dev > > libncurses-dev is a virtual package -- you need libncurses5-dev. He might also want libncursesw5-dev, if he needs to handle wide (multibyte) characters. Cheers, Kelly Clowers -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Ncurses for touch screens?
I was wondering if there was some kind of ncurses application or utility that would let you define simple ASCII buttons and when that button was pressed using gpm or a touchscreen it would run a simple command. I tried searching with apt-cache but nothing showed up; nothing using Google either. I'd like to use use an older tablet (500Mhz Geode, max 256Mb RAM) with a touch screen but not run X. Any ideas? The simple command would be mpc to control music player daemon. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110525005535.GA10030@phobos
New ncurses breaks dialog
Dialog segfaults & dumps core after I upgraded ncurses. Versions: ncurses-base1.9.9g-8.8 ncurses-bin 1.9.9g-8.8 ncurses-term1.9.9g-8.8 ncurses3.0 1.9.9e-2.1 ncurses3.4 1.9.9g-8.8 ncurses3.4-dev 1.9.9g-8.8 dialog 0.9a-12 If you want to see the core file, let me know -- Mike Schmitz [EMAIL PROTECTED]http://www.bend-or.com/~mschmitz Don't blame me - I voted libertarian!http://www.lp.org/ Use Debian Linux - the free Gnu/Linuxhttp://www.debian.org/ --- "If encryption is outlawed, only outlaws will have encryption" -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Re: ncurses segmentation fault
On Mon, 12 Oct 1998, Ingo Brueckl wrote: > Package: ncurses3.4 > Version: 1.9.9g-8.8 > > The following program, compiled with egcs 1.0.3, causes a segmentation > fault at the mvwinch statement: > > #include > int main () > { > WINDOW *win; > initscr(); > refresh(); > win = newwin(0, 0, 10, 10); > getch(); > chtype r = mvwinch(win, 1, 1); > getch(); > endwin(); > return 0; > } > > I'm using Debian 2.0. > > Any ideas? Do you not need to include stdio.h for getch? Matthew -- Elen sila lumenn' omentielvo Steward of the Cambridge Tolkien Society Selwyn College Computer Support http://www.geocities.com/Area51/Chamber/8841/ http://www.cam.ac.uk/CambUniv/Societies/tolkien/ http://pick.sel.cam.ac.uk/
Re: ncurses segmentation fault
Quoting M.C. Vernon ([EMAIL PROTECTED]): > Do you not need to include stdio.h for getch? man getch. It's an ncurses function, not a std library function. Mike Stone
Re: ncurses segmentation fault
Quoting Ingo Brueckl ([EMAIL PROTECTED]): > Package: ncurses3.4 > Version: 1.9.9g-8.8 > > The following program, compiled with egcs 1.0.3, causes a segmentation > fault at the mvwinch statement: Looks like an ncurses bug. Works fine with the libncurses4-dev package from slink. Mike Stone
Re: ncurses segmentation fault
On Mon, Oct 12, 1998 at 11:54:14AM +0200, Ingo Brueckl wrote: > The following program, compiled with egcs 1.0.3, causes a segmentation > fault at the mvwinch statement: Why are you rehashing this on -user? You've already reported this problem as a bug, and as you can check in the bug log (http://www.debian.org/Bugs/db/27/27657.html) this problem isn't reproducable with the current unstable distribution, and thus will not be a problem in Debian 2.1. Ray -- Tevens ben ik van mening dat Nederland overdekt dient te worden.
Re: ncurses segmentation fault
Quoting Mike Stone ([EMAIL PROTECTED]): > Looks like an ncurses bug. Works fine with the libncurses4-dev > package from slink. You're right, I compiled it with libncurses4 and my program starts, but unfortunately all the colors have gone. :-( Instead of colors, everything is bold now. I updated libc6 to 2.0.7u-2 and installed libcurses4 4.2-2. Did I miss something? (Actually I don't want to upgrade my system to slink in order to avoid that ncurses bug and make I program run that runs fine under Debian 1.3.1.) Ingo
BS in rxvt+ncurses
Hi, I've already asked this, and I'm sure someone must be having the same problem... No matter how I set the backspace in X11, it won't work under rxvt + some ncurses program, for example, pine. At some point the entry in /etc/terminfo/r/rxvt was changed, and the backspace stopped working. The change isn't documented in the Debian changelog, it just says "Munged rxvt entry a bit more", and also makes reference to an update to the terminfo database... xterm does work, and infocmp says: comparing rxvt to xterm. comparing booleans. comparing numbers. colors: -1:8. pairs: -1:64. comparing strings. hpa: NULL, '\E[%i%p1%dG'. kend: '\E[4~', '\E[F'. khome: '\E[1~', '\E[H'. kmous: NULL, '\E[M'. vpa: NULL, '\E[%i%p1%dd'. I don't see anything relevant here. There are far more differences between the entry that worked and the one that doesn't. I have: ii ncurses-base1.9.9g-6 ii rxvt2.20-8 The only thing I see that may be relevant is that xterm does use libncurses and rxvt doesn't. I don't think rxvt is broken... it worked before... the problem is, I don't know before what. Also, I don't want to blindy move the old entry over the new one, because I see there are other differences between them and some of them are indeed good. Thank you very much in advance (I mean it, this is getting annoying) Marcelo Magallón -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
ncurses driving me nuts
Hi! I'm not sure if this is the right place to ask for help with ncurses programming (pls redirect me if this doesn't belong here), but the behaviour of ncurses is driving me up the wall here... For some silly reason, wmove() and mvwaddstr() doesn't seem to be functioning properly. The first one or two wmove() -- waddstr() sequences seem to work fine, but after that, the x-coordinate seem to get completely ignored and set to zero for all subsequent calls to wmove() or mvwaddstr(). What am I doing wrong??? I'm trying to print a list of strings and want each to appear at a particular x-coordinate within a subwindow. What's the right way to do this??? Currently, it prints the first one or two lines at the right location, but subsequent calls to wmove() or mvwaddstr() seems to totally ignore the x-coordinate and simply place the cursor at the start of the line. T
Problems installing ncurses-base
Any hints what the following error message mean? I am trying to install ncurses-base. dpkg: error processing ncurses-base_1.9.9g-8.10.deb (--install): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: ncurses-base_1.9.9g-8.10.deb How can I correct the problem or even understand the problem. /--/ Daniel J. Mashao Electrical Engineering [EMAIL PROTECTED] University of Cape Town http://www.ee.uct.ac.za/~daniel Rondebosch, 7700, S. Africa (w) 27+21+650 2816 (h) 27+21+705 8469 /--/
ncurses prob with slink
I recently reinstalled Debian 2.0 (long story) and wanted to put slink back on as well. Now, in November, I had cleaned my system out and did a full reinstall of Debian 2.0, re-dselected slink ... and watched as miles and miles of ncurses errors flooded my screen. I eventually realized that I was getting packages from the unstable and not the frozen directory; I didn't notice that slink had moved Once I fized that, eveything installed fine. So, this time I updated everything from the frozen directory ... and again the ncurses errors. I thought that perhaps some things had been moved to the stable directory, so after reinstalling (nothing worked on my system after the update) I dselected from the stable directory. Sure enough, there were some updates - including ones for all the ncurses libraries. "Ah hah", I thought. I updated those - things went fine - and then updated from frozen. And again got clobbered by ncurses errors. And again nothing worked - I had to do a hard reboot to shut down linux. So 1) Is the frozen directory currently hosed or did I overlook something again? And 2) Any idea when slink will be released as a stable release? Thanks - Sean
Re: ncurses with sarge
On Thu, Oct 21, 2004 at 19:54:46 +0930, Stef VK5HSX wrote: >I am trying to compile xfbb from source (rather than using deb binaries) >with sarge (Testing), howver, I get an error -DUSE_NCURSES when I try to >install them it wont let me using "apt-get install ncurses" I can't say your question is phrased very clearly, but I expect what you're looking for is "apt-get install libncurses5-dev". HTH, Ray -- Friends don't send friends HTML email Declan McCullagh on the "features" of Javascript in email, http://www.lwn.net/2001/0208/a/htmlprivacy.php3 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses for woody
On Sun, 12 Dec 2004, Gerald Waugh wrote: > > Excuse me, but how do I install ncurses on a woody system. > I tried all the apt-get ?curses and libncurses, but no luck. > > Trying to run "make menuconfig" in the kernel-sources further, I need to add xfs file system support, in case anyone can help me out with this ;) Gerald -- http://frontstreetnetworks.com | http://raqware.com Front Street Networks LLC, 229 Front Street, Ste.#C New Haven, CT 06513-3203 | phone: +1-203-785-0699 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses for woody
On Sun, 12 Dec 2004, Gerald Waugh wrote: > On Sun, 12 Dec 2004, Gerald Waugh wrote: > > > > > Excuse me, but how do I install ncurses on a woody system. > > I tried all the apt-get ?curses and libncurses, but no luck. > > > > Trying to run "make menuconfig" in the kernel-sources > > further, I need to add xfs file system support, in case anyone can help me > out with this ;) Well, I got make menuconfig to work, (required libncurses5-dev) but can't find the xfs file system option... Gerald -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses for woody
Gerald Waugh wrote: Excuse me, but how do I install ncurses on a woody system. I tried all the apt-get ?curses and libncurses, but no luck. What does "apt-cache search curses" or apt-cache search ncurses tell you? :) -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your PGP Key: 8B6E99C5 | main connection to the switchboard of souls. ---+- signature.asc Description: OpenPGP digital signature
Re: ncurses for woody
On Sun, 12 Dec 2004, Steve Lamb wrote: > Gerald Waugh wrote: > > >Well, I got make menuconfig to work, (required libncurses5-dev) but can't > >find the xfs file system option... > > > > > Do you have the experimental stuff turned on? Not sure, how would I check? Thanks Gerald -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: ncurses for woody
Gerald Waugh wrote: Not sure, how would I check? It is one of the first options in makeconfig. Well, at least it was when I last checked on the 2.4.x series. Not sure if it is in the 2.6.x series. Anyway normally it is right next to module support. -- Steve C. Lamb | I'm your priest, I'm your shrink, I'm your PGP Key: 8B6E99C5 | main connection to the switchboard of souls. ---+- signature.asc Description: OpenPGP digital signature