ld/Xm/Xt question

1999-06-21 Thread harsh

A few weeks ago I wrote and asked about a problem with X on Slink. Due to the
under whelming response (including the developers list, except for Oleg who did
give me some useful info) I upgraded to XFree 3.3.3 from the netgod.net site.
My test case, at first it appeared to fix the problem but my main app was
still broken. I noticed by reading the straces of the application runs that on
my test case that worked I had -lXm before -lXt, and the main app had -lXT -lXm
on the compile line. Both cases compiled cleanly, without warnings
or errors, just the app with -lXt -lXm would seg fault and with -lXm -lXt the
app would run sucessfully.

Is this a problem with the loader/linker or Lesstif or in XFree?





RE: Star Office 5/4 in english?

1998-09-17 Thread harsh
I got ver 4 from the german site about a week ago
ftp://ftp.stardivision.de/pub/so4/linux/sp3/01

Good Luck
Jim

On 16-Sep-98 Mrpeabody wrote:
> Can you get star office 5 in english?  I used to have star office 4 in
> english but it seems all that it is no longer available now that star
> office 5 is out.
> -jeff
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null

--
E-Mail: [EMAIL PROTECTED]
Date: 17-Sep-98
Time: 06:55:22

This message was sent by XFMail
--


fortran compilier recommendations

1999-03-10 Thread harsh
Hi All,


We have a large application currently running on Dec Alpha 500/500 machines
which we are investigating porting to a Linux platform. It consist of a
SmallTalk engine that uses C and Fortran routines to do it's actual work.
While all the Fortran compiles with g77/egcs we have some issues with
optimization greater than -O0. This code is legacy code originally written
on VMS and earlier platforms. 

We have tried the Portland Group's compiler with only slightly more success.

So finally the question: Does any one have a recommendation for a third party
compiler for Fortran 77 that has been throughly rung out by the user community?



Thanks,
Jim


-
Jim Harsh  E-Mail: [EMAIL PROTECTED]
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 10-Mar-99,Time: 13:08:22
-


issue and motd with xdm

1999-08-09 Thread harsh
Hi,


I would like to display a message before users logon to my machine. I have the
message in /etc/motd and /etc/issue. If I come in through a "terminal" window,
via ssh for examples, I see the /etc/motd contents. When I logoff the console
and log back on, ( I'm running XDM) I don't see either. I had the message in
/etc/nologin with the ignore_nologin set, and this gave the message but users
could not logon thru a terminal, and after a boot the message went away.

Any ideas what I have set wrong since issue or motd are not displayed when I
login thru a X Session?


tek 440 and printcap

1999-04-14 Thread harsh




Hi,

I'm having difficulties setting up my /etc/printcap file to
print to a Tek Phaser 440. The printer is on the network
and I can print to it from any of the Win* OSs, but not
from Linux/Debian. My printcap entry is :




lp1|Phaser 440 hallway:\
:lf=/var/log/lpperrs:\
:df=/etc/filter.ps:\
:lp=/dev/lp1:\
:rm=128.165.168.165:\
:rp=text:\
:mx#0:\
:sd=/var/spool/lpd/remote_lp1:


Which is a copy of my entry for a HP5000, which works
fine. ( The only difference is the IP address in the rm field. )
I've tried rp = to ps, text, lp, lpr, and blank to no avail.

After a boot, lpc returns this for the status:


lpc> status
lp:
queuing is enabled
printing is enabled
no entries
no daemon present
lp1:
queuing is disabled
printing is disabled
no entries
no daemon present
:
queuing is disabled
printing is disabled
no entries
no daemon present
:
queuing is enabled
printing is enabled
1 entry in spool area
no daemon present
lpc> 

Do not know why there is multiple level for lp1. This probably is not helping 
printing to lp1.



lpc> restart all
lp:
no daemon to abort
lp:
daemon started
lp1:
no daemon to abort
lp1:
daemon started
:
no daemon to abort
:
daemon started
:
no daemon to abort
:
daemon started
lpc>start

lpc> status
lp:
queuing is enabled
printing is enabled
no entries
no daemon present
lp1:
queuing is enabled
printing is enabled
1 entry in spool area
waiting for queue to be enabled on 128.165.168.165
:
queuing is enabled
printing is enabled
1 entry in spool area
waiting for queue to be enabled on 128.165.168.165
:
queuing is enabled
printing is enabled
1 entry in spool area
no daemon present
lpc> 
 




When I try to print something, I see this:


$ lpq -Plp1
bajor2: waiting for queue to be enabled on 128.165.168.165
Rank   Owner  Job  Files     Total Size
1stharsh  10   t1.ps 641345 bytes

lp: bad queue name (check printcap entry)
$ 


So I guess I have two questions:

1) what is the correct printcap entry for a Tek Phaser 440?

2) Why do I have what appears to be multiple level of queuing on lp1,
  More importantly how do I get rid of them? I've tried lpc stop, lpc disable,
  commenting lp1 out of the printcap file and rebooting, manually restarting
  lp1 thru lpc.



Thanks for any suggestions,

Jim







-----
Jim Harsh  E-Mail: [EMAIL PROTECTED]
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 14-Apr-99,Time: 09:07:45
-


printer problem

1999-04-15 Thread harsh
Hi All,
I've been mucking about setting up a Tek printer and have lpd
confused. I f I go into lpc and ask for status lp2 I get


lpc> status lp2
lp2:
queuing is enabled
printing is enabled
no entries
no daemon present
lpc>

If I enter just status I get:


lp:
queuing is enabled
printing is enabled
no entries
no daemon present
lp2:
queuing is enabled
printing is enabled
no entries
no daemon present
:
queuing is enabled
printing is enabled
no entries
no daemon present
:
queuing is enabled
printing is enabled
no entries
no daemon present
:
queuing is enabled
printing is enabled
no entries
no daemon present


What are the extra entries after lp2 and how do I get rid of them?

Thanks,
Jim


-----
Jim Harsh  E-Mail: [EMAIL PROTECTED]
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 15-Apr-99,Time: 08:41:26
-


printer problem

1999-04-16 Thread harsh



Hi All,

I sent this a few days ago but have gotten no response, so I'll try again.

I have a Hamm system. 
I've been trying about setting up a Tek printer and have lpd
confused. If I go into lpc and ask for status lp2 I get


lpc> status lp2
lp2:
queuing is enabled
printing is enabled
no entries
no daemon present
lpc>

If I enter just status I get:


lp:
queuing is enabled
printing is enabled
no entries
no daemon present
lp2:
queuing is enabled
printing is enabled
no entries
no daemon present
:
queuing is enabled
printing is enabled
no entries
no daemon present
:
queuing is enabled
printing is enabled
no entries
no daemon present
:
queuing is enabled
printing is enabled
no entries
no daemon present


What are the extra entries after lp2 and how do I get rid of them?

Thanks,
Jim


-----
Jim Harsh  E-Mail: [EMAIL PROTECTED]
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 16-Apr-99,Time: 13:56:42
-


LS-120 vs floppy

1999-04-21 Thread harsh


My system has an LS-120 instead of a floppy. How can I install LILO on the
LS-120, /dev/hdc. Also the resuce disk I have, which is how I currently boot
into linux vs NT was made on another box with a floppy, I have not been
able to make a bootable rescue disk in the LS120. The hardware HOWTO says that
the LS120 is supported, but it does not appear to work as the system
floppy(?).

Any suggestions.



-
Jim Harsh  E-Mail: [EMAIL PROTECTED]
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 21-Apr-99,Time: 11:03:46
-


X problems in Slink

1999-06-02 Thread harsh

Hi,

I've been having problems with my system, It's a long story
bugut to make it short I have a new mother board and have installed
Slink on a freshly partioned drive. Every thing I've tested so far works
except my routines that use Lesstif. I stripped the code to a minimun to
demostrate the problem, compiled and run it on a Dec Alpha to verify it
runs correctly, or at least OK. But on my Machine ( a K6=3 400, 256M of memory)
it segfaults. 

Here are the details ( sorry for the length, I wanted to include enough
so you can see what is happening)


bash-2.01$ make test1
egcc -o test1 -I/usr/include -I/usr/X11R6/include -I/usr/X11R6/include/X11
-L/usr/X11R6/lib -lMesaGL -lXaw -lXt -lXm -lXext  -l
X11 -lm test1.c

bash-2.01$ test1
before toplevel2 0 
after toplevel2 134567448 
Segmentation fault

bash-2.01$ ldd test1
libMesaGL.so.3 => /usr/lib/libMesaGL.so.3 (0x4000f000)
libXaw.so.6 => /usr/X11R6/lib/Xaw3d/libXaw.so.6 (0x400f4000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40149000)
libXm.so.1 => /usr/X11R6/lib/libXm.so.1 (0x40191000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4029f000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402ab000)
libm.so.6 => /lib/libm.so.6 (0x4034e000)
libc.so.6 => /lib/libc.so.6 (0x40367000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4040c000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4041e000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40427000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)


bash-2.01$ egcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs
gcc version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release)


bash-2.01$ cat test1.c

/*
 *
 *
 *
 **/
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 



int main(int argc, char *argv[])
{
XtAppContext app;
Widget toplevel, 
   toplevel2,
   form, 
   label, 
   vtk;
Arg args[4];
int c,n;



toplevel = XtVaAppInitialize(&app, "vis Window", NULL,0,&argc, argv,
   NULL,NULL, 0);

toplevel2 = 0;

printf("before toplevel2 %d \n",toplevel2);

toplevel2 = XtCreateManagedWidget("Display",topLevelShellWidgetClass, 
toplevel, NULL, 0);

printf("after toplevel2 %d \n",toplevel2);

form = XtVaCreateManagedWidget("form",xmFormWidgetClass, toplevel2,
   NULL);


printf("after form\n");

vtk = XtVaCreateManagedWidget( "vtk", xmBulletinBoardWidgetClass,
  form, 
  XmNwidth, 500,
  XmNheight, 500,
  NULL);

label = XtVaCreateManagedWidget("label_text", xmLabelWidgetClass,
  vtk,
  XmNleftAttachment, XmATTACH_FORM,
  XmNtopAttachment, XmATTACH_FORM,
  NULL);



XtRealizeWidget(toplevel);

XtAppMainLoop(app);


exit(0);

}



-
Jim Harsh  E-Mail: [EMAIL PROTECTED]
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 02-Jun-99,Time: 13:10:46
-


Woody & intel compilers

2002-04-04 Thread harsh

Hi All,

I have a woody system, kernel 2.2.20, glibc 2.2.5, onto which I am trying to
install the Intel Ver 5.0 FORTRAN and C/C++ compilers. ( I need some of the
extensions to FORTRAN that Intel offers.) The best I have been able to do is to
get the Fortran compiler to burn cpu cycles but it doesn't produce anything. It
opens a .o file but thats it. The C/C++ compilers exits with an internal
compiler error. After a lot of communications with Intel, (They have been very
helpful, but the say that ver 5.0 is only supported for Red Hat.) they gave me
a beta copy of ver 6.0 of the compilers. They require a 2.4 Kernel. After
looking at the choices from with dselect, I have a few questions:
1) has anyone gotten the ver 5.0 working with Woody with a 2.2.20 kernel?
2) I have a dual Xeon workstation so I believe it is the Intel 860 chipset,
What is the appropriate kernel 2.4.16 to use? I assume it is the one that says
it support SMP but I just wanted to verify my thinking.

Thanks,
Jim


-
Jim Harsh  E-Mail: [EMAIL PROTECTED]
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 04-Apr-2002,Time: 13:01:49
-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



mapping dell cpu to woody 2.4.16 kernel

2002-04-08 Thread harsh

I would like to use a 2.4.16 kernel with woody. I have a dell with a dual
processor chip set 860. What version of the precompiled kernel maps to that
chip set?


TIA
Jm



-- 
-
Jim Harsh  E-Mail: [EMAIL PROTECTED]
Los Alamos National Laboratory, MS P940
Los Alamos, NM 87545
505-665-0485, FAX - 505-665-3359
Date: 08-Apr-2002,Time: 10:33:13
-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



star office 4.0

1998-09-02 Thread Jim Harsh


I read that star office 4.0 was available for download for nocommercial
users. Went to ftp.stardiv.com and downloaded what appears to be latest
version, sp3-49, but it is in German. High scholl was a long time ago, and
my German wasn't that good then. I've tried to go to caldera.com but my dns
server can not find www.caldera.com or ftp.caldera.com. Is there anywhere
else to get star office 4.0? I think debian.org has 3.1.? in
nonfree/contrib/editors.

Thnaks,
Jim
**
Jim Harsh   505-665-0485
DX-3  MSP940
Los Alamos National Laboratory
Los Alamos, NM 87545
**


KHOROS on Debian Problems

1998-06-12 Thread Jim Harsh

Hi,

I think most of these problems are with my debian installation but
thought I'd ask both groups.

I have a AMD K6-233 running Debian 2.0.32(hamm). I've installed KHOROS
2.2 from the CD and cantata, craftsman and guise runs fine, almost.

1) When opening any khoros window with a dialog box, I get a message
from the X window system that the function delete-next-character is not
available. An SGI running KHOROS with the display set to the PC exhibts
the same problem. I think this may be a missing X related library, but
which one. 

2) I have a two button mouse. When in guise ( at least this is where I
found the problem,) the simulation of the middle button does not work.
I can't access a new object, such as in an integer simple variable I can
not access the pane to change it's characteristics. I'm pretty sure this
is a configuration problem on my part.

These two problems are of the nusiance category, I've found work arounds
but I would like to fix them. This last one is a show stopper tho.

3) I wrote a new routine for KHOROS. Every thing went fine until the
link or loading stage of the compilation. The library libfl.a, one of
the makefile's SYS_LIBRARIES, does not exist. ( I searched the entire
/usr/lib path.) I deleted the reference to that library, and the
reference to a routine yywarp was not satisified. I have access to an
SGI with IRIX 6.2, and KHOROS 2.2, there the corresponding library is
libl.a and it does exist with a routine yywarp. I looked through dselect
to see if libfl was available and if it is, it isn't listed as that. 

So my question is: what is and where or how do I get libfl.a?

Sorry for the long winded questions,
Thanks,
Jim

******
Jim Harsh   505-665-0485
DX-3  MSP940
Los Alamos National Laboratory
Los Alamos, NM 87545
**


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


man pages problem

1998-06-22 Thread Jim Harsh
Hi,

I had a problem with the man pages on my hamm system. If I tries to look at
any of the man pages after "nv1" I'd get an error message saying there was
a hash error, I didn't keep it so I don't have the proper message but I
figured I'd just remove the man pages and then reinstall. I used dselect
and remove the packages related to man pages. I then selected them and
tried to reinstall. I get an error when dslect is tring to get
man-db_2.3.10-64.deb from 
dists/frozen/main/binary-i386/doc stating that "No such file or dircetory."

Where do I get the man-db package from.

Thanks,
Jim
******
Jim Harsh   505-665-0485
DX-3  MSP940
Los Alamos National Laboratory
Los Alamos, NM 87545
**


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: man pages problem

1998-06-24 Thread Jim Harsh
At 02:49 PM 6/22/98 -0600, you wrote:
>Hi,
>

>tried to reinstall. I get an error when dslect is tring to get
>man-db_2.3.10-64.deb from 
>dists/frozen/main/binary-i386/doc stating that "No such file or dircetory."
>
I found man-db_2.3.10-65.deb on ftp.debian.org and it installed fine.

Why is dselect looking for a package that is not on the ftp site?
Do I have to do something to update the list dselect references?


******
Jim Harsh   505-665-0485
DX-3  MSP940
Los Alamos National Laboratory
Los Alamos, NM 87545
**


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Upgraded mother board and now...

1999-05-19 Thread Jim Harsh
Hi,

I just upgraded my mother board from a K6-2/233 to a K6-3/400. same memory,
same
periferals. I have been booting from a ls120 with a rescue disk, One of the
reasons to
upgrade the mother board was to get a working floppy controller. Now using
the LS-120, the floppy or from cd trying to boot a rescue floppy or a boot
floppy, the boot process hangs when trying to setup the SCSI controller. The
controller is an Adaptec AHA-2940. message all look correct/normal until it
gets to Downloading sequencer code... 406 instructions downloaded
then the boot just stops. I've noticed this
before when I had a "bad" rescue disk. Good boots usually downloaded 407 or
413 instructuctions.  To work arround this I pulled  the scsi controller.
Now it boots OK but
I'd like to have my Jaz drive.

The second problem is that the mouse does not work. The setup looks fine
using XF86Setup but the mouse does not work in X. When I boot in console
mode, gpm dameon is running but I don't the mouse does not work there either. 

Both of these devices work fine in NT.
My linux system is 2.0.34 or a Hamm system, 2 hard drives


Any ideas??



Thanks,
Jim

******
Jim Harsh   505-665-0485
DX-3  MSP940
Los Alamos National Laboratory
Los Alamos, NM 87545
**


systemctl status smb getting stuck

2017-08-13 Thread harsh savla
I have a python service which issues the foll. command via a subprocess
call:

RUNLEVEL=1 apt-get install 

This package, as part of it's installation, issues a systemctl status smb
command which is getting stuck forever. The reason for giving RUNLEVEL=1 is
to prevent nginx (a dependency of the package) from starting up on port 80
as soon as it is installed since a different service is already bound to
port 80.

OS: Debian 8 Jessie, Python: 2.7.13

Any ideas on what could possibly be wrong? Please ask for more info.

Thanks.


SCSI Hard disk not detected.

1996-11-08 Thread Bhargava, Harsh ROLM SC
Hello,
 I am a installing Linux for the first time.

The log file after booting from the Bootdisk  and rootdisk
shows like this:

<4>Console: 16 point font, 400 scans
<4>Console: colour VGA+ 80x25, 1 virtual console (max 63)
<4>pci_init: no BIOS32 detected
<4>Calibrating delay loop.. ok - 33.18 BogoMIPS
<4>Memory: 14936k/16672k available (756k kernel code, 384k reserved, 596k   
data)
<4>This processor honours the WP bit even when in supervisor mode. Good.
<6>Swansea University Computer Society NET3.035 for Linux 2.0
<6>NET3: Unix domain sockets 0.12 for Linux NET3.035.
<4>Swansea University Computer Society TCP/IP for NET3.034
<4>IP Protocols: ICMP, UDP, TCP
<5>VFS: Diskquotas version dquot_5.6.0 initialized
<4>Checking 386/387 coupling... Ok, fpu using exception 16 error   
reporting.
<4>Checking 'hlt' instruction... Ok.
<4>Linux version 2.0.0 ([EMAIL PROTECTED]) (gcc version 2.7.2) #1 Mon Jun 10   
18:52:32 CDT 1996
<6>Serial driver version 4.13 with no serial options enabled
<6>tty00 at 0x03f8 (irq = 4) is a 16550A
<6>tty01 at 0x02f8 (irq = 3) is a 16550A
<6>PS/2 auxiliary pointing device detected -- driver installed.
<4>Ramdisk driver initialized : 16 ramdisks of 49152K size
<4>hda: CD-ROM CDU55E, ATAPI CDROM drive
<4>ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
<6>Floppy drive(s): fd0 is 1.44M
<4>Started kswapd v 1.4.2.2
<6>FDC 0 is a National Semiconductor PC87306
<4>scsi : 0 hosts.
<4>scsi : detected total.
<4>Partition check:
<5>VFS: Insert root floppy disk to be loaded into ramdisk and press ENTER
<7>VFS: Disk change detected on device 02:1c
<5>RAMDISK: Compressed image found at block 0
<6>JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
<4>VFS: Mounted root (minix filesystem).
<7>VFS: Disk change detected on device 02:00

The configuration of the PC is
It has got 2 hard disks
 SCSI ID#4 MAXTOR 7213-SCSI Drive C:
 SCSI ID#6 CONNER CFP1080S Drive D:

It has got Host Apadter AHA1542CF

Host Adapter is present at port #230
The setting for it are:
 IRQ 11
 DMA Channel5
 SCSI ID7
 SCSI Parity Checking   Enabled
 DMA Transfer Rate   5.0 MB/sec
 SCSI Termination   Enabled

I have win95 on the C: drive and would like to install Linux on E: drive   
which is the logical partition of the second disk.

Since the log file says that SCSI : 0 hosts detected it is not   
recognizing the hard disks.
With this kind of configuration what shall I do next such that I can   
partition the disk for the Linux native.

I tried to go through the document SCSI-HowTo but could not get anything   
out of it.

~
Thanks and regards

Harsh
([EMAIL PROTECTED])

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]