Re: ReGIS Terminal Emulation for Linux?

2002-01-08 Thread Paul Lussier


You're right on all accounts, I didn't look closely at the pages 
because I'm not interested...


In a message dated: Mon, 07 Jan 2002 21:38:20 EST
Rich Cloutier said:


From now on when I post a question here I will be sure to append a line to
my sig to the effect:

Yes I searched Google before bringing the question to this forum.

That would have saved us both the effort of typing these e-mails :)

Btw, you went out of your way to specify that you searched freshmeat 
and sourceforge, which is exactly why I asked if you searched Google.

Often times google will turn up exactly what you're looking for when 
neither of the previous 2 locations do.  You didn't say you searched 
google, so I asked.
-- 

Seeya,
Paul


  God Bless America!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: ReGIS Terminal Emulation for Linux?

2002-01-08 Thread Paul Lussier


In a message dated: Mon, 07 Jan 2002 21:49:39 EST
Rich Cloutier said:

At this point I feel that I should coin my own acronym: RTFP, which stands
for Read the F*cking Page.

Just because a search returns all your keywords doesn't mean that it
returned The Answer.

Well, I would like to point out that I never said anything Google 
turned up was relevant.  You stated you searched 2 locations which 
turned up nothing, and I asked if you searched Google.  I'm well 
aware that Google searches often return false-positive hits and never 
claimed that Google *would* be the answer, just that you didn't 
mention that you had searched it, yet you did mention 2 other 
locations which often turn up nothing almost as often as Google turns up
false-positives.
-- 

Seeya,
Paul


  God Bless America!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: ReGIS Terminal Emulation for Linux?

2002-01-08 Thread Paul Lussier


In a message dated: Mon, 07 Jan 2002 22:44:44 EST
Rich Cloutier said:


Well, at least  DECNet is supported, so we're partway there. :o)

As previously stated, I basically have no interest in ReGIS or LAT (at 
least at this time) and therefore did not look too closely at the 
pages Google returned from my query.  However, this particular URL:

http://www.google.com/search?q=Linux+LATbtnG=Google+Search

did return a this link:

http://linux-decnet.sourceforge.net/lat.html

Following that link, I ended up at a page which as the first sentence 
states:

 This is a quick guide to using LAT on Linux systems.

Now, maybe because I have no interest in whatever LAT is I'm not 
fully aware why this page would not be of use to you.

Oh well, I hope it is of use to you.  And if not, sorry for wasting 
the bandwidth.  I'm going back to my dis-interested life now :)
-- 

Seeya,
Paul


  God Bless America!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread Kevin D. Clark


Bill Sconce [EMAIL PROTECTED] writes:

 What Eckel says now:

...

 o  Python is executable pseudocode. Perl is
executable line noise. 
 
 o  Perl is like vice grips. You can do anything
with it, and it's the wrong tool for every job. 


Just for the record, I disagree with all of this.


Python is nice, but clearly there are a lot of problems out there that
are just screaming to be solved using Perl.

--kevin
-- 
Kevin D. Clark (cetaceannetworks.com!kclark)  |   Will hack Perl for
Cetacean Networks, Inc.   |  fine food, good beer,
Portsmouth, N.H. (USA)|   or fun.
alumni.unh.edu!kdc (PGP Key Available)|


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread Paul Lussier


In a message dated: Tue, 08 Jan 2002 10:52:51 EST
Benjamin Scott said:

On 8 Jan 2002, Kevin D. Clark wrote:
 Just for the record, I disagree with all of this.

  Can we *please* not get involved in a My language is better than yours
debate on this list?  :-)  At least with vi vs. Emacs, there are only two
options to fight over...  :-)

Well, not really.  There's vim, Evil, jed, Xemacs, Gnu Emacs, joe, 
and I'm sure countless others I've forgotten :)  Additionally, 
there's  Kedit, Kwrite, and Kword, not to mention the Gnome 
counterparts :)  Heck, there are as many editors for that war as 
there are languages ;)
-- 

Seeya,
Paul


  God Bless America!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Great quote from NYT article

2002-01-08 Thread Paul Iadonisi

  Hop on over to the New York Times article at
http://www.nytimes.com/2002/01/07/technology/ebusiness/07GADG.html
(free registration required -- ick) and scroll about 2/3 of the down for
this classic quote:

   Mr. Perlman said that after Microsoft acquired WebTV for $425 million
   in April 1997 he had stayed and tried to refine the product until it
   became clear that Microsoft's principal interest was in ensuring that
   its Windows CE operating system was in the box rather than improving
   the consumer experience.

I think that speaks for itself and requires no further comment.

(Yeah, I know, I'm preaching to the choir.)

-- 
-Paul Iadonisi
 Senior Systems Administrator
 Red Hat Certified Engineer / Local Linux Lobbyist
 Ever see a penguin fly?  --  Try Linux.
 GPL all the way: Sell services, don't lease secrets

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread Kevin D. Clark


mike ledoux [EMAIL PROTECTED] writes:

 Err, why are you guys dragging your language war from 'modadlug' (what's
 'modadlug'?) to GNHLUG?  Please don't.

I didn't start a language war.  I merely stated that I disagreed with
a controversial statement.

If I had wanted to start a language war, I would have made a statement
to the effect of Python sucks because

Regards,

--kevin
-- 
Kevin D. Clark (cetaceannetworks.com!kclark)  |   Will hack Perl for
Cetacean Networks, Inc.   |  fine food, good beer,
Portsmouth, N.H. (USA)|   or fun.
alumni.unh.edu!kdc (PGP Key Available)|


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



7013 RISC POWERSTATION

2002-01-08 Thread Kurth Bemis

I have come into a IBM RISC Powerstation Server with 4 workstations 
attached to it.  it also has a high speed printer (1300+lines per min), 
runs AIX 4.1(and i have the root password this time).  Also included in all 
manuals and COBOL Runtime Environment as well as several other misc parts.

If anyone is interested please let me know.  I have no clue what the 
equipment is worth so make me an offer.

~kurth


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread Ray Cote

Bill:

Thanks for the follow-up (even though it did manage to trigger the 
juvenile knee-jerk reaction squad into action).

I've just finished reading Eckel's Thinking In Python and look 
forward to more on the subject of Python and Patterns.

who's Eckel?
sigh Guess I'll have to add that to the 'Who's Knuth?' blank 
stare I get when I talk about his work.

Enjoyed the presentation.

Ray

-- 
-
Raymond Cote, President Appropriate Solutions, Inc.
www.AppropriateSolutions.com   [EMAIL PROTECTED]
603.924.6079(v)  POB 458, Peterborough, NH 03458603.924.8668(f)

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread Benjamin Scott

On Tue, 8 Jan 2002, mike ledoux wrote:
 Err, why are you guys dragging your language war from 'modadlug' (what's
 'modadlug'?) to GNHLUG?  Please don't.

 I didn't start a language war.  I merely stated that I disagreed with
 a controversial statement.

 That may be so, but you stated your disagreement in a different forum
 than the one the controversial statement was made in.  What is the point
 of that?  Everyone here already knows that you like Perl.

  Great, now instead of a debate over which language is best, we're having a
debate over whether or not we're having a debate over which language is
best.  ;-)

-- 
Ben Scott [EMAIL PROTECTED]
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread Karl J. Runge

On Tue, 8 Jan 2002, Benjamin Scott [EMAIL PROTECTED] wrote:
 
   Great, now instead of a debate over which language is best, we're having a
 debate over whether or not we're having a debate over which language is
 best.  ;-)

Well, both languages allow recursion... (as in recursive descent into hell :-)


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Great quote from NYT article

2002-01-08 Thread Michael O'Donnell




Microsoft's principal interest was in ensuring that
its Windows CE operating system was in the box rather
than improving the consumer experience.


Well, they had to make a choice, right?


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread Paul Lussier


In a message dated: Tue, 08 Jan 2002 12:19:42 EST
Ray Cote said:

who's Eckel?
sigh Guess I'll have to add that to the 'Who's Knuth?' blank 
stare I get when I talk about his work.

Ahh, I know who Knuth is, just never come across the Eckel name 
before.
-- 

Seeya,
Paul


  God Bless America!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread Derek D. Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At some point hitherto, Ray Cote hath spake thusly:
 
 who's Eckel?
 sigh Guess I'll have to add that to the 'Who's Knuth?' blank 
 stare I get when I talk about his work.

I haven't ever heard of Eckel either, but there are people who work
with computers who haven't heard of Donald Knuth?  Astounding.

Or, did you mean Joshua Knuth? 

  http://bulky.aecom.yu.edu/users/kknuth/josh/josh.html

:)

- -- 
Derek Martin   [EMAIL PROTECTED]
- -
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8O0IFdjdlQoHP510RAva5AJ9d+Z44XexDCZzDu92Jf1AvhrUbgACfWWcN
E4fVoFEGuwpZ5+NaASsautY=
=aKsV
-END PGP SIGNATURE-

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: x86 Assembly resources

2002-01-08 Thread Rich C

Try here:

http://linuxassembly.org/

They told me that gcc does inline assembly, which I didn't know.

Rich Cloutier
President, C*O
SYSTEM SUPPORT SERVICES
www.sysupport.com


- Original Message -
From: Derek D. Martin [EMAIL PROTECTED]
To: GNHLUG mailing list [EMAIL PROTECTED]; BLU Users' Group
[EMAIL PROTECTED]
Sent: Tuesday, January 08, 2002 2:12 PM
Subject: x86 Assembly resources


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Anyone know any good resources for x86 assembly in a Linux
 environment?  Most of the stuff I've seen deals with MASM, which isn't
 terribly useful to me.

 Thanks!

 - --
 Derek Martin   [EMAIL PROTECTED]
 - -
 I prefer mail encrypted with PGP/GPG!
 GnuPG Key ID: 0x81CFE75D
 Retrieve my public key at http://pgp.mit.edu
 Learn more about it at http://www.gnupg.org
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.0.6 (GNU/Linux)
 Comment: For info see http://www.gnupg.org

 iD8DBQE8O0SJdjdlQoHP510RAlPBAJwLAOkJ9syhlvJiQpXOP/yCLASh7ACeIEW3
 EfQdX4K8EgrWnrnbAVS6Zw0=
 =2RLr
 -END PGP SIGNATURE-

 *
 To unsubscribe from this list, send mail to [EMAIL PROTECTED]
 with the text 'unsubscribe gnhlug' in the message body.
 *



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: x86 Assembly resources

2002-01-08 Thread Michael O'Donnell




Good examples are hard to find.  One approach is to write C
code and then have a peek at what GCC translates it into.
A trivial example might be a file called return1234plus.c
whose entire contents are this:


unsigned long int
return1234plus( unsigned long int more )
{
return( 1234 + more );
}


...and if you then say:


gcc -S -O2 -fomit-frame-pointer return1234plus.c


...you will find the compiler has generated a file
named return1234plus.s that looks like this:


.file   return1234plus.c
.version01.01
gcc2_compiled.:
.text
.align 4
.globl return1234plus
.typereturn1234plus,@function
return1234plus:
movl 4(%esp),%eax
addl $1234,%eax
ret
.Lfe1:
.sizereturn1234plus,.Lfe1-return1234plus
.ident  GCC: (GNU) 2.95.4 20010902 (Debian prerelease)


...which shows (amidst all the glop) how the argument passed
by the caller is copied from the stack to the EAX register
(which is how result values are passed) and 1234 is added to it
before we return to our caller.  There!  Now you're an expert!

Linux kernel source code isn't the greatest, but you can find
some examples of from-scratch assembler code by standing in
a kernel source directory and saying:

find arch/i386 -name *.[sS]

Why are you interested in assembler language?
Did you stop taking your medication again?


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: Python follow-up [modadlug]

2002-01-08 Thread ccb


 who's Eckel?
 sigh Guess I'll have to add that to the 'Who's Knuth?' blank 
 stare I get when I talk about his work.
 
 Ahh, I know who Knuth is, just never come across the Eckel name 
 before.

OK, I specialize in this kind of trivia.  Are we talking Bruce Eckel?


ccb

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: x86 Assembly resources

2002-01-08 Thread ccb


Been to linuxassembly.org you evil cross-poster?


ccb

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: x86 Assembly resources

2002-01-08 Thread Michael O'Donnell




http://linuxassembly.org/

They told me that gcc does inline assembly, which I didn't know.

Yikes!

GCC has supported inline assembler on some
platforms for a number of years now; the kernel
is littered with such sequences.  Being good
at inline GCC assembly doesn't take much,
just familiarity with RTL (Register Transfer
Language) the intermediate representation GCC
uses while it performs its magic transformations
of your program.  RTL makes my brain hurt; the
only place I know of where it's documented is in
the portation guide for GCC.  I have written GCC
inline assembler sequences but they're basically
never necessary under normal conditions.


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: x86 Assembly resources

2002-01-08 Thread Rich C


- Original Message -
From: Michael O'Donnell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 08, 2002 3:12 PM
Subject: Re: x86 Assembly resources





 http://linuxassembly.org/
 
 They told me that gcc does inline assembly, which I didn't know.

 Yikes!

 GCC has supported inline assembler on some
 platforms for a number of years now;

[snip]

Well, as a mostly non-programmer, my assembly language experience is limited
to the PDP-11 and the VAX, and programming some custom 8085 boards.

I have done some C programming on the VAX too, but what with makefiles and
all for compiling source code with Linux, about the only time I've invoked
gcc directly is to get the version!

Rich Cloutier
President, C*O
SYSTEM SUPPORT SERVICES
www.sysupport.com



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



RH 7.1 on ThinkPad T21 hanging

2002-01-08 Thread Rodent of Unusual Size

Now that I'm using my T21 more and more, I'm leaving it on for
longer periods of time.  Not as long as I'd like, though,
since it seems to do a hard hang sometimes.  At least twice
I've noticed that it happened when xscreensaver was running
the greynetic hack; that's what was frozen on the screen.

BIOS functions seem unaffected; the keyboard light, speaker
volume and mute, idle screen power-off, and similar things
are still accessible and running.  Once the screen goes
dark, though, nothing will paint it when a keyboard or mouse
action happens; I'm not even sure it powers back up (but I think
it does).

The only way I've found to get out of this is to hold the
power key down for 10+ seconds -- which blows away any
work-in-progress, of course. :-(

Has anyone here encountered anything like this?

On a brighter note, VMware rocks. :-)
-- 
#kenP-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist  http://Apache-Server.Com/

All right everyone!  Step away from the glowing hamburger!

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: RH 7.1 on ThinkPad T21 hanging

2002-01-08 Thread Ken D'Ambrosio

On Tue, 2002-01-08 at 17:54, Rodent of Unusual Size wrote:
 Now that I'm using my T21 more and more, I'm leaving it on for
 longer periods of time.  Not as long as I'd like, though,
 since it seems to do a hard hang sometimes.  At least twice
 I've noticed that it happened when xscreensaver was running
 the greynetic hack; that's what was frozen on the screen.

Given the circumstances you describe, and assuming it's on a network,
I'd try to ssh in, and see if the computer's crashed, or if it's just
the console.  If it is, indeed, the console, I'd go and disable gpm
(/etc/rc.d/init.d/gpm stop;chkconfig gpm off), and see if it still
happens.  I've had problems, on and off, with gpm on any number of
notebooks, and, unless you spend a lot of time in text console mode, you
really don't need it (it cuts-and-pastes for console mode).  Also, you
might log in and check your /var/log/messages, and see what was
happening right before your boot, and whether or not any of it might be
pertinent.

$.02

-Ken


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: [TriLUG] RH 7.1 on ThinkPad T21 hanging

2002-01-08 Thread Jonathan Magid


We had a similar problems with our thinkpads t2[0-2]. It went away when we
stopped running gpm while running X.

On Tue, 8 Jan 2002, Rodent of Unusual Size wrote:

 Now that I'm using my T21 more and more, I'm leaving it on for
 longer periods of time.  Not as long as I'd like, though,
 since it seems to do a hard hang sometimes.  At least twice
 I've noticed that it happened when xscreensaver was running
 the greynetic hack; that's what was frozen on the screen.

 BIOS functions seem unaffected; the keyboard light, speaker
 volume and mute, idle screen power-off, and similar things
 are still accessible and running.  Once the screen goes
 dark, though, nothing will paint it when a keyboard or mouse
 action happens; I'm not even sure it powers back up (but I think
 it does).

 The only way I've found to get out of this is to hold the
 power key down for 10+ seconds -- which blows away any
 work-in-progress, of course. :-(

 Has anyone here encountered anything like this?

 On a brighter note, VMware rocks. :-)


-- 
Global Village Idiot
Email: jem@sunsite^H^H^H^H^H^H^Hmetalab^H^H^H^H^H^H^Hibiblio.org
http://ibiblio.org/jem/



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: x86 Assembly resources

2002-01-08 Thread Derek D. Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

So that I don't have to answer the question a bunch of times
privately, I'll mention my interest in assembly.

There is no specific problem that I can't address with some other
language.  I'm not trying to optimize the hell out of some piece of
code.  I just want a better familiarity with assembly, and the x86
architecture, so that when I run across it (as I do occasionally),
I'll know what's going on, or at least know more/more quickly.

IOW, my interest is purely academic.

- -- 
Derek Martin   [EMAIL PROTECTED]
- -
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8O51wdjdlQoHP510RAgBoAJ9HKfqEwsrksOqPmYfvSUg54yJ4+wCfb47p
ayTNLtqrFHiGiJVyQugxWGM=
=NBm+
-END PGP SIGNATURE-

*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: x86 Assembly resources

2002-01-08 Thread Benjamin Scott


[Warning: Long and only vaguely on-topic post ahead.  Proceed with caution.]

On Tue, 8 Jan 2002, Derek D. Martin wrote:
 Anyone know any good resources for x86 assembly in a Linux environment?
 Most of the stuff I've seen deals with MASM, which isn't terribly useful
 to me.

On Tue, 8 Jan 2002, Derek D. Martin wrote:
 ... want a better familiarity with assembly, and the x86 architecture ...

  I suspect this is going to open up a can of worms, but you might actually
be better off with MASM and a MS-DOS machine, then.  (I imagine OpenDOS or
FreeDOS and TASM would work just as well, if not better.)

  Why do I say this?  Well, I could draw on my extensive knowledge of
assembler programming -- if I had any.  Unfortunately, I don't.  I do,
however, have an over-stock in the bullsh*t department, so I'll give that
away for free.

  Linux, like any good OS, is designed to hide the underlying hardware
platform from you.  Even the kernel is designed to minimize
platform-specific code.  I've actually traced control flow in drivers for
Linux (to try and determine why said drivers were failing), and believe me,
I don't know squat about drivers or assembler -- but I do have an adequate
understanding of C, and that is what the drivers are written in.  True, I
had only a vague idea of what the code actually did, but I at least found
information that lead to solutions.  If the drivers were in assembler, I
would have been SOL.

  Sure, you can program regular user-mode programs in assembler under Linux.
I have had to do the same on Alpha/Digital Unix, for courses I was taking,
and let me tell you -- it is boring as hell.  The most important thing I
learned was an appreciation of compilers.  User-mode assembler programming is
grunt work, pure and simple.

  So, unless you want to dive into the guts of GCC (which, from what I
understand, has driven strong men into madness), I would guess Linux is a
poor choice to learn about assembler.

  Now, MS-DOS on the other hand, is a different story.  MS-DOS, despite the
name, is not an operating system.  I have best heard it described as a
non-reentrant interrupt handler [1] (although it does make a nice boot
loader for Linux).  MS-DOS did very little for you, and what little it did,
it did badly.  The end result was that to do anything useful, you generally
had to resort to assembler.  And since there was no annoying scheduler or
memory manager to get in your way, you could generally do whatever you
wanted.

  The end result being:  There is a wealth of information about hacking
MS-DOS -- in assembler -- to make it do things it was never meant to do
(like run programs, for instance).  I doubt you will find a more complete
library of literature on the subject for any other platform.  If your goal
really is to learn about x86 assembler and low-level machine organization, I
suspect you will find the most information there.

  If your goal is to learn about assembler strictly under the constraints of
Linux, the entire preceding sermon is invalidated, of course.  And there is
nothing wrong with that; it simply makes the available pool of literature
much smaller.

  And now, as a bonus to you, the reader, should you make it this far: I
have a copy of _Revolutionary Assembly Language_, by Maljugin, et. al., from
Wrox Press.  I have never used it; I bought it right before I met Unix, back
when MS-DOS still seemed like a viable platform to me [2].  I am willing to
offer it on indefinite loan [4] to anyone interested [5].  Reply privately
if you are.

Footnotes
-
[1] I saw this in an Amiga FAQ; Google indicates one Russell Williams.
[2] I was young and stupid.[3]
[3] No guarantees either condition has terminated.
[4] The only reason I impose even this lien is that the possibility exists
that more than one person might want it.
[5] Should the need arise for determination: Derek gets first pick; after
that, it is first come, first serve.

-- 
Ben Scott [EMAIL PROTECTED]
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |



*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*



Re: RH 7.1 on ThinkPad T21 hanging

2002-01-08 Thread Benjamin Scott

On Tue, 8 Jan 2002, Rodent of Unusual Size wrote:
 Now that I'm using my T21 more and more, I'm leaving it on for longer
 periods of time.  Not as long as I'd like, though, since it seems to do
 a hard hang sometimes.

  I used to have a problem like that, when I was running a buggy X server.
To work around it, I combined two things: The kernel's Magic SysRq
feature, and a utility called vga_reset.

  The Magic SysRq feature of the kernel is intended mainly for kernel
hackers, but can be useful for mere mortals as well.  Basically, the Linux
kernel contains a very low-level routine which (if enabled) recognizes
certain key combinations of the form [Alt]+[SysRq]+letter.  If there is
anything left of the console driver at all, the kernel should respond to
these commands.

  One useful combination, for example, is [Alt]+[SysRq]+[U], which syncs all
disks and re-mounts all filesystems re-only.  That can come in handy right
before the ole 120-reset.

  However, the particular ones I found applicable to X hangs were
[Alt]+[SysRq]+[K] (kill all programs on the current virtual console (e.g.,
the X session)), followed by [Alt]+[SysRq]+[R] (reset the keyboard and put
it in a sane state).

  This gave me back my keyboard, and let me do things like switch VCs with
[Alt]+[Fn] combos.  I could even log-in and run commands.  However, since
the normal X server restore screen cleanup routines never got called, I
was blind -- random colored garbage on the screen instead of characters.

  That is where vga_reset came in.  It was part of the SVGALib development
toolkit, IIRC.  It did what it said -- reset the VGA card (complete with
BIOS copyright banner and everything).  Ta-da, I had my console back.  At
that point, I could re-start X, and resume working.

  This is not expected to be a long-term solution, but more of a general
aide in trouble-shooting.  I hope it helps you, or someone.  :)

  (As for why I was running a buggy X server: I was using some VGA card (I
forget what exactly) that was not supported by XFree at the time.  Through
something approaching divine intervention, I found a working (I use the term
loosely) X server on the web.  It consisted of a bare XF86_SVGA binary
hanging out in some directory, without so much as a README.  But it worked.
Sort of.)

-- 
Ben Scott [EMAIL PROTECTED]
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or  |
| organization.  All information is provided without warranty of any kind.  |


*
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*