search for: termname

Displaying 6 results from an estimated 6 matches for "termname".

Did you mean: term_name
1997 May 14
0
Security hole in Elm...
...I''ve lately found an overflow vulnerability in Elm (Elm is setgid >mail on linux, and perhaps on some other platforms aswell). I''ve tested >this bug on versions 2.3 and 2.4, on 3 different Linux installations. >from Elm 2.3''s curses.c: >[...] > char termname[40]; > char *strcpy(), *getenv(); > > if (getenv("TERM") == NULL) return(-1); > > if (strcpy(termname, getenv("TERM")) == NULL) > return(-1); >[...] >to patch, change the strcpy line to > if (strncpy(termname,...
1997 May 15
1
Vulnerability in Elm-ME+
...ted package to Debian''s master server, and should show up in distributions shortly. John Goerzen --- elm-me+-2.4pl25ME+31.orig/src/curses.c +++ elm-me+-2.4pl25ME+31/src/curses.c @@ -131,7 +131,7 @@ if ((termenv = getenv("TERM")) == NULL) return(-1); - if (strcpy(termname, termenv) == NULL) + if (strncpy(termname, termenv, sizeof(termname)) == NULL) return(-1); if ((err = tgetent(_terminal, termname)) != 1)
2008 Jul 29
1
Xdefaults file.
I am trying to get my xterm window under gnome to open with large fonts, with light green foreground and dark green background. I have the following .Xdefaults file contents: $ cat .Xdefaults ! This is a comment ;-) #ifdef COLOR *customization: -color #endif !! Let's cast a wide net, for any app supporting these ! Blink instead of beeping *visualBell: True *scrollTtyOutput: False
2011 Jan 07
5
Set font and size in xterm
I have a situation where gnome console does not handle vt102 escape sequences properly and therefor need to employ xterm instead. When I run xterm from a gnome terminal window I am presented with an extremely small terminal window employing an almost unreadably small font. I have attempted to set the font size using xrdb and a custom .Xresources file. I can change the colour scheme. I can
2009 Nov 13
1
Using xapian for general indexed storage
Hello, Two questions about using Xapian as a gdbm stand-in for an auxiliary database: - I am currently using single-term documents having the key as a single term, and the (small) associated data chunk stored in the document data record. Is this still the right way to do it? - There was an answer on the mailing list two years ago, saying that storing a few megabytes in the document
2013 Mar 08
2
Gsoc-2013
Hi, I am Chinmay Naik, an undergraduate in Computer Science at Bangalore Institute of Technology, Bangalore. I am an experienced programmer and good with C,C++,Python,Java,OpenGL and would love to participate in Gsoc-13. >From the ideas listed, i am interested to work on the project "posting list encoding improvements". I am a newbie to Xapian but would like to get involved and get a