Saturday, January 2, 2010

[BLUG] available and wanted equipment

I have a Digital VT510-C2 terminal with keyboard that I'm looking to
place in a good home. Also available is a non-functional HP desktop if
anyone wants it for parts.

If anyone has a spare or old wireless PCMIA card lying around, I would
be happy to pick it up from you. I can't seem to get the built-in
wireless working on my laptop so I'm looking for a Linux-friendly card
that I could get running a couple of minutes.

Thanks,
Chris

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Friday, January 1, 2010

Re: [BLUG] My KDExperience

2009/12/28 Steven Black <blacks@indiana.edu>:
> On Mon, Dec 28, 2009 at 09:07:07PM +0000, Mark Krenz wrote:
[snip]
>> Right now the desktop still feels a bit strange because I'm getting used
>> to things like having to press Ctrl+shift+n for a new terminal tab
>> instead of Ctrl+Shift+t.  But those are minor things that will pass.
>> We've definately come a long ways since the days of the FVWM window
>> manager, which could do pretty much anything you wanted, but you had to
>> modify a text file to do it and then reload FVWM.
>
> You can easily tweak the keymap in konsole. It is handy to (for
> instance) disable F1 for help if you find you accidentally press it when
> reaching for ESC.
>
> In fact, you can tweak the keys in pretty much any KDE application. I
> recently wanted to disable Alt-Left-Arrow in Firefox and, to my dismay,
> I found I couldn't change any of the key-mappings. I'm used to KDE
> allowing me to get things to work the way I want.

This is only because Firefox is a Windows application masquerading as
a gtk application in linux. The gnome hid says that users should be
able to change keyboard shortcuts for menu items by hovering the mouse
over the item (or at least, highlighting the item) and pressing the
new shortcut (backspace once clears). Try it in any hid-compliant gtk
program.

Disabling Alt-← in a real gtk browser (like galeon or epiphany) is as
easy as going into the "Go" or "View" or whatever menu, highlighting
"Back", and hitting backspace over it.

--
Jonathan

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Re: [BLUG] New Years Countdown timer

I modified this some to work with zsh and so that it doesn't crash if
you start it after the new year ;)

Also, I tried running it shortly before midnight last night, only to
find that my clock was a couple decaseconds (not deciseconds!) off. I
poked at ntpdate frantically, but my wife and parents were trying to
hand me a glass of champagne already, so I decided there were more
important things to spend the last few seconds of 2009 on ;)

In the spirit of keeping modifications to open source things out
there, I've included my [only slightly] modified version below. Maybe
there should be a clause for "Sorry, you missed it already" instead of
saying "Happy New Year!" when run at this point..

while V=$((`date +%s -d"2010-01-01"`-`date +%s`)); do \
if [[ $V -le 0 ]]; then \
toilet -f smmono12 --gay 'Happy New Year!'; \
break; \
else \
clear; \
toilet -f bigmono12 --gay $V; \
sleep 1; \
fi; \
done;

P.S. one of my later BASIC programs over a decade ago (a few years
before I really discovered linux) was a new year countdown timer. I
think I was preparing it for y2k, but I'm not sure anymore. It was
much longer and more complicated than this script, since I didn't know
about / have utilities like date and toilet, much less regexes (which
I did all by hand, ugh).

--
Jonathan

2009/12/30 Steven Black <blacks@indiana.edu>:
> I ran the script and found (1) I didn't have figlet installed, and (2) it
> suggested I install either figlet or toilet. I installed them both, but
> I think I like toilet's default letters better.
>
> In fact, here's my extended edition of the command (wrapped to be easy
> to read, but with line-continuation so you can copy/paste):
>
> while V=$((`date +%s -d"2010-01-01"`-`date +%s`)); do \
>    if [ $V == 0 ]; then \
>        toilet -f smmono12 --gay 'Happy New Year!'; \
>        break; \
>    else \
>        clear; \
>        toilet -f bigmono12 --gay $V; \
>        sleep 1; \
>    fi; \
> done
>
> I think the --gay toilet is just thing the any New Year's bash.
>
> Cheers,
> Steven Black
>
> On Wed, Dec 30, 2009 at 06:43:48PM +0000, Mark Krenz wrote:
>>
>>
>> This is what I just posted to the climagic account on twitter and
>> identi.ca:
>>
>> while V=$((`date +%s -d"2010-01-01"`-`date +%s`));do if [ $V == 0 ];then figlet 'Happy New Year!';break;else figlet $V;sleep 1;clear;fi;done
>>
>>  Of course I was limited to 140 characters.  Anyways, I thought some
>> people here might appreciate this little snippet.
>
> _______________________________________________
> BLUG mailing list
> BLUG@linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug
>

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Thursday, December 31, 2009

Re: [BLUG] BLUG Digest, Vol 22, Issue 9

I am an xterm guy. I use something like this at startup.

My nine window startup script below! Give it a try.
---------------
#! /bin/bash
cd $HOME
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +0+0 &
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +0+380 &
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +0+740 &
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +510+0 &
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +510+380 &
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +510+740 &
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +1020+0 &
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +1020+380 &
xterm -sl 10000 +sb -fg black -bg white -title HOME -geometry +1020+740 &
exit


On Dec 30, 2009, at 12:00 PM, blug-request@cs.indiana.edu wrote:

> Send BLUG mailing list submissions to
> blug@mailman.cs.indiana.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.cs.indiana.edu/mailman/listinfo/blug
> or, via email, send a message with subject or body 'help' to
> blug-request@mailman.cs.indiana.edu
>
> You can reach the person managing the list at
> blug-owner@mailman.cs.indiana.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of BLUG digest..."
>
>
> Today's Topics:
>
> 1. What size terminal do you use? (Mark Krenz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 30 Dec 2009 14:52:52 +0000
> From: Mark Krenz <mark@slugbug.org>
> Subject: [BLUG] What size terminal do you use?
> To: blug@cs.indiana.edu
> Message-ID: <20091230145252.GW14381@arvo.suso.org>
> Content-Type: text/plain; charset=us-ascii
>
>
> Quick poll. If you use some specific size for your terminal (xterm,
> aterm, gnome-terminal, konsole, etc.), what size do you use and why?
> Also, curious about what terminal you use specifically these days.
>
> Myself, I usually use a terminal that is 160x60, which is way
> oversized and sometimes presents problems on smaller screens like a
> laptop screen or when I want to use a bigger font. But I like the
> space and I often have lists of whatever data on my screen that I need
> to compare. I've thought about making 160x50 my standard though
> recently. I use konsole now, and gnome-terminal before that. Prior to
> that I used aterm for a long time because of its speed.
>
> --
> Mark Krenz
> Bloomington Linux Users Group
> http://www.bloomingtonlinux.org/
>
>
> ------------------------------
>
> _______________________________________________
> BLUG mailing list
> BLUG@linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug
>
>
> End of BLUG Digest, Vol 22, Issue 9
> ***********************************

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Wednesday, December 30, 2009

Re: [BLUG] What size terminal do you use?

I use ROXTerm at 80x24, just because that size doesn't seem too big or
too small. I use a smallish font so it doesn't take up too much space
on my netbook screen--less than ⅔ of both the horizontal and vertical
space. I also use a gtk theme with very short tabs to save on screen
real estate.

ROXTerm is based on gnome-terminal (so's also a familiar-feeling
tabbed gtk2 terminal), but seems to be faster and has much better
options for configuration (and also a couple bugs). It's also
designed to go with other ROX software, such as ROX filer and ROX's
session manager, both of which I use.

--
Jonathan

2009/12/30 Steven Black <blacks@indiana.edu>:
> On Wed, Dec 30, 2009 at 02:52:52PM +0000, Mark Krenz wrote:
>>   Quick poll. If you use some specific size for your terminal (xterm,
>> aterm, gnome-terminal, konsole, etc.), what size do you use and why?
>> Also, curious about what terminal you use specifically these days.
>
> I currently use Konsole.
>
> I have the ncurses-term package installed, so my TERM is set to
> "konsole". I like well defined terminal characteristics, so I don't
> like terminals to use 'xterm' unless they're 100% xterm compatible.
> Neither gnome-terminal nor konsole is 100% compatible. (To be 100%
> compatible you need (1) Tektronix mode, and (2) to fail under the same
> circumstances as xterm.) Additionally, using the stock 'xterm' requires
> that apps either ignore the terminfo characteristics or are limited to
> 16 colors. A proper terminfo would list whether you support extended
> colors like xterm-256 or xterm-88.
>
> I enjoy roguelike games, and poorly defined terminals are the bane of
> nice roguelike games.
>
> In the office, I use terminals that are 24/25 rows, and either 80
> columns or a little more to fill. (10 pt. font, usually two windows at
> the bottom of the screen, with a browser and IRC/IM/etc client filling
> the upper half of that monitor)
>
> At home, where the light is more variable and the distance to the laptop
> tends to also be more variable than my seating at work, I have settings
> which are designed to be gentle on my eyes: Monospace font at 14 pt,
> between 80 and about 94 columns (I rarely maximize the width), and it is
> usually maximized vertically giving me 37 rows.
>
> I also leverage custom color sets, due to my inability to easily read
> dark blue on black (which always seems painfully popular in color
> apps). I use custom dark-background colors, and a custom inverted
> color set. The inverted color set is easier on my eyes in low-power
> settings on my laptop, (I can read it with the display set to dimmest
> with plenty of ambient light), and is specifically designed so that I
> can continue using apps which become illegible if you simply swap the
> default foreground/background colors.
>
> Back in my youth, I'd use SVGATextMode to get Linux consoles in hi-res
> text modes. These days I figure if I'm not kind on my eyes early,
> they'll only give me more trouble later.
>
> While working, I use tabs and more than one terminal emulator, but when
> I'm off-work I'm 100% GNU Screen with a single terminal emulator.
>
> Cheers,
> Steven Black
>
> _______________________________________________
> BLUG mailing list
> BLUG@linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug
>

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Re: [BLUG] New Years Countdown timer

I ran the script and found (1) I didn't have figlet installed, and (2) it
suggested I install either figlet or toilet. I installed them both, but
I think I like toilet's default letters better.

In fact, here's my extended edition of the command (wrapped to be easy
to read, but with line-continuation so you can copy/paste):

while V=$((`date +%s -d"2010-01-01"`-`date +%s`)); do \
if [ $V == 0 ]; then \
toilet -f smmono12 --gay 'Happy New Year!'; \
break; \
else \
clear; \
toilet -f bigmono12 --gay $V; \
sleep 1; \
fi; \
done

I think the --gay toilet is just thing the any New Year's bash.

Cheers,
Steven Black

On Wed, Dec 30, 2009 at 06:43:48PM +0000, Mark Krenz wrote:
>
>
> This is what I just posted to the climagic account on twitter and
> identi.ca:
>
> while V=$((`date +%s -d"2010-01-01"`-`date +%s`));do if [ $V == 0 ];then figlet 'Happy New Year!';break;else figlet $V;sleep 1;clear;fi;done
>
> Of course I was limited to 140 characters. Anyways, I thought some
> people here might appreciate this little snippet.

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

Re: [BLUG] What size terminal do you use?

On Wed, Dec 30, 2009 at 02:52:52PM +0000, Mark Krenz wrote:
> Quick poll. If you use some specific size for your terminal (xterm,
> aterm, gnome-terminal, konsole, etc.), what size do you use and why?
> Also, curious about what terminal you use specifically these days.

I currently use Konsole.

I have the ncurses-term package installed, so my TERM is set to
"konsole". I like well defined terminal characteristics, so I don't
like terminals to use 'xterm' unless they're 100% xterm compatible.
Neither gnome-terminal nor konsole is 100% compatible. (To be 100%
compatible you need (1) Tektronix mode, and (2) to fail under the same
circumstances as xterm.) Additionally, using the stock 'xterm' requires
that apps either ignore the terminfo characteristics or are limited to
16 colors. A proper terminfo would list whether you support extended
colors like xterm-256 or xterm-88.

I enjoy roguelike games, and poorly defined terminals are the bane of
nice roguelike games.

In the office, I use terminals that are 24/25 rows, and either 80
columns or a little more to fill. (10 pt. font, usually two windows at
the bottom of the screen, with a browser and IRC/IM/etc client filling
the upper half of that monitor)

At home, where the light is more variable and the distance to the laptop
tends to also be more variable than my seating at work, I have settings
which are designed to be gentle on my eyes: Monospace font at 14 pt,
between 80 and about 94 columns (I rarely maximize the width), and it is
usually maximized vertically giving me 37 rows.

I also leverage custom color sets, due to my inability to easily read
dark blue on black (which always seems painfully popular in color
apps). I use custom dark-background colors, and a custom inverted
color set. The inverted color set is easier on my eyes in low-power
settings on my laptop, (I can read it with the display set to dimmest
with plenty of ambient light), and is specifically designed so that I
can continue using apps which become illegible if you simply swap the
default foreground/background colors.

Back in my youth, I'd use SVGATextMode to get Linux consoles in hi-res
text modes. These days I figure if I'm not kind on my eyes early,
they'll only give me more trouble later.

While working, I use tabs and more than one terminal emulator, but when
I'm off-work I'm 100% GNU Screen with a single terminal emulator.

Cheers,
Steven Black

_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug