Linux-Misc Digest #2, Volume #21                 Sun, 11 Jul 99 18:13:11 EDT

Contents:
  Re: Linux in Win98??? (Juergen Wakunda)
  6.02B adding /c - causes (Jasen Betts)
  Parsing of 'random' m (Jasen Betts)
  "which" utility (Jasen Betts)
  HELP ME (peter karlsson)

----------------------------------------------------------------------------

From: Juergen Wakunda <[EMAIL PROTECTED]>
Subject: Re: Linux in Win98???
Date: Tue, 06 Jul 1999 09:21:04 +0200

Telly wrote:
> 
> Hilton Travis wrote:
> >
> > Hi All,
> >
> > I was wondering if there is a version of Linux that will work inside
> > Win98?  I know it's a bit of an ask (for Win98 to support ANYTHING), but
> > anyway...
> >
> > What I want to do, without having to build yet another machine, is to
> > have a single machine that has Win98 running and accessing my Linux
> > server.  I want to be able to test config changes by using "Linux in a
> > Window" so to speak, without having to reboot this machine into Linux,
> > and then back into Win98 - a PITA and waste of time to boot!
> >
> > Anyone know of any distribution like this?

Hi,

i didn't track this thread, but what you looking for, is probably vmware.
http://www.vmware.com
I think there's no version for win98, but for Win NT. And you can run win98
under Linux.

Juergen

-- 
======================================================================
Dipl.-Inform. Juergen Wakunda
Universitaet Tuebingen, WSI, Arbeitsbereich Rechnerarchitektur
Koestlinstr. 6, 72074 Tuebingen, Germany
======================================================================
Tel. 07071/29-77175, Fax: 07071/922983
mailto:[EMAIL PROTECTED]
http://www-ra.informatik.uni-tuebingen.de
======================================================================
Key fingerprint = 3B 98 19 A7 59 15 C9 0B  09 0B 95 20 14 98 8A 86

------------------------------

From: [EMAIL PROTECTED] (Jasen Betts)
Crossposted-To: 
comp.os.linux.m68k,comp.os.linux.networking,comp.os.linux.powerpc,comp.os.linux.setup,comp.os.linux.x,comp.os.lynx,comp.os.mach,comp.os.magic-cap,comp.os.minix,comp.os.misc,comp.os.msdos,comp.os.msdos.4dos,comp.os.msdos.app
Subject: 6.02B adding /c - causes
Date: 09 Jul 99 16:58:00 GMT

PK>  LE> BTW, how on earth *are* you changing the switch argument? I can't
PK> find any 4dos command to do it.                                        
PK>
PK> There aren't. When I fiddled around with it, I wrote a smal assembler
PK> program

There used to be a config.sys option - "switches -" or something like that.
                        

------------------------------

From: [EMAIL PROTECTED] (Jasen Betts)
Crossposted-To: 
comp.os.linux.m68k,comp.os.linux.networking,comp.os.linux.powerpc,comp.os.linux.setup,comp.os.linux.x,comp.os.lynx,comp.os.mach,comp.os.magic-cap,comp.os.minix,comp.os.misc,comp.os.msdos,comp.os.msdos.4dos,comp.os.msdos.app
Subject: Parsing of 'random' m
Date: 10 Jul 99 15:19:00 GMT

AH> I think this is a bug after more experimentation.  Even though nested
AH> variable expansion has been disabled using setdos /x-2, the two
AH> compatibility variables %+ and %= are still being expanded, to & and ^
AH> respectively in my case.

personally I don't trust that setdos stuff, and try to avoid it.

AH> > Firstly if the line just contains spaces or tabs, my output file
AH> > contains:
AH> >
AH> > ECHO is OFF

This is a documented feature. Replace the "echo" command eith "echo."
which works just like echo but it doesn't complain about blank lines.

AH> > M;F9O(&9O<B!S86QE<RP@8VQI8VME9"!O;B!-3U)%+"!A;F0@,R!T:&EN9W,@

you'll never write a uudecoder in 4dos...you will have more success trying to
do a XXdecoder.
you could try parsing the file one character at a time. (use redirection and
inkey) or open the file in binary mode.
                        

------------------------------

From: [EMAIL PROTECTED] (Jasen Betts)
Crossposted-To: 
comp.os.linux.m68k,comp.os.linux.networking,comp.os.linux.powerpc,comp.os.linux.setup,comp.os.linux.x,comp.os.lynx,comp.os.mach,comp.os.magic-cap,comp.os.minix,comp.os.misc,comp.os.msdos,comp.os.msdos.4dos,comp.os.msdos.app
Subject: "which" utility
Date: 10 Jul 99 14:46:00 GMT

MM> Does anyone have a "which" utility (from Unix) that also deals with
MM> .btm files and aliases?  I had one a long time ago, but can't find it
MM> anywhere.

: WHICH.BTM -- report what "command" will *really* do
@echo off
setlocal

:       See if a command to check was supplied.

iff %# == 0 then ^ echo Syntax: where command ^ quit
 else

:  Separate the name and the extension (if any)

 set targ=%@upper[%@name[%1]]
 set ex=%@upper[%@ext[%1]]
endiff

:       Skip some stuff if no extension

if "%ex" == "" goto noext

:       See if the extension is one of the usual executables


if %ex == COM .or. %ex == EXE .or. %ex == BTM .or. %ex == BAT goto catext

:       There is an extension, but it's not a normal executable.  See if there's
:       such an extension in the environment -- i.e., a user-defined executable
:       extension.


:extend
set ey=.%ex
iff "%[%ey]" ne "" then

:       It's a defined executable extension.  Tell the user.
   
   echo Executable extension: %@upper[%targ]=%@upper[%[%ey]]

:       Now find out whether the program which is supposed to be run
:       against the executable extension file is there!

     %0 %[%ey]
else
   echo Executable extension .%ex definition not found
endiff
 goto cleanup

:       Above was for executable extensions.  What follows is the branch
:       label for normal executables (.BTM, .BAT, .COM, and .EXE)

:catext

:       Put the file name back together with its extension.

set targ=%targ.%ex
:noext

:       Check for alias or internal first, because they would be found first.

iff isalias %targ then
  echos Alias:` `
  alias %targ
  goto cleanup
 elseiff isinternal %targ then
  echo %@upper[%1] is an internal command
  goto cleanup
endiff

:       It wasn't an alias or an internal, look down the PATH

set targ=%@upper[%@search[%targ]]
set ex=%@ext[%targ]

iff "%targ" ne "" then
if %ex ne COM .and. %ex ne EXE .and. %ex ne BTM .and. %ex ne BAT goto extend
  iff "%@ext[%targ]" == "bat" .or. "%@ext[%targ]" == "btm" then
    echo Batch File: %targ
  else
    echo Program: %targ
  endiff
else
 echo %@upper[%1] is an unknown command!
 beep
endiff
goto cleanup

:cleanup
endlocal
                        

------------------------------

From: [EMAIL PROTECTED] (peter karlsson)
Crossposted-To: 
comp.os.linux.m68k,comp.os.linux.networking,comp.os.linux.powerpc,comp.os.linux.setup,comp.os.linux.x,comp.os.lynx,comp.os.mach,comp.os.magic-cap,comp.os.minix,comp.os.misc,comp.os.msdos,comp.os.msdos.4dos,comp.os.msdos.app
Subject: HELP ME
Date: 11 Jul 99 05:42:20 GMT

 "DI> Hi people of the web,

Hi there, troll!

Oh, and this is not the web. This is, depending on which side you're on, Usenet or 
Fidonet.

 "DI> I am a post card collector, 

Do you want me to send you a postcard of my computer running 4OS/2?

 "DI> [EMAIL PROTECTED]

Oh, well, I could always scan it in... :-)

\\//
Peter

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to