Author Topic: Hacked Xterm  (Read 5546 times)

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Hacked Xterm
« on: October 11, 2005, 03:13:34 pm »
I found this here:
http://www.davidsimmons.com/soft/xtermhacks/

press alt+enter and enjoy full screen console inside X.

I renamed the  xterm binary to fsxterm to avoid confusion with the stock xterm.
SLC-860 cacko / senao wifi

stac

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://
Hacked Xterm
« Reply #1 on: October 11, 2005, 03:38:30 pm »
Cheers PGAS! Thanks for the ipk... been looking for a fullscreen terminal... Question - I visited the site you gave the URL to, and noticed that he hadn't prepared the ipk... did you? If so, do you have a reference somewhere that will help me build ipk's from linux source code? I want to be able to prepare ipk's for other pdaXrom users... TIA!

Stac
Sporting...

CacKo 1.23

Sl-C1000, PDAir Leather Case, 1GB ATP 60X SD, Socket 10/100 CF, NetGear MA701, Memorex 64MB (for flashing), 1GB Microdrive (for storing ipkgs and data)


Visit my new package feed and feel free to donate to show your support!

jh

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Hacked Xterm
« Reply #2 on: October 11, 2005, 04:09:24 pm »
Very nice... thanks!

jason

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Hacked Xterm
« Reply #3 on: October 11, 2005, 11:51:57 pm »
stac you can start by reading the documentation here:
http://www.pdaxrom.org/index.php?showid=2&menuid=1
"SDK installation"and "SDK tutorial"

Also read this thread: https://www.oesf.org/forums/index.php?showtopic=15354

you'll find some usefull information.

Feel free to open a new thread if you have question about compilation/ packaging
« Last Edit: October 11, 2005, 11:52:22 pm by pgas »
SLC-860 cacko / senao wifi

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Hacked Xterm
« Reply #4 on: November 16, 2005, 04:09:49 am »
This version is more usable than the stock one.  Thanks!  

By the way could someone please tell me how to set the background and foreground color permanently (like something more than white bg and black text)?  I used fsxterm -bg black -fg white but I had to enter it every time.  Or can I add the options somewhere (like .bashrc but I fail to find files like this in my pdaX), or some alias in profile?  
« Last Edit: November 16, 2005, 04:12:47 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Hacked Xterm
« Reply #5 on: November 16, 2005, 04:25:10 am »
you can put something like

xterm*background:       black
xterm*foreground:         white

in the file  /home/root/.Xresources (create it if it's not present)

or
you can add:

alias fsxterm='fsxterm -bg black -fg white'

in .bashrc

you can also edit /usr/applications/fsxterm.desktop and add the relevant options.
SLC-860 cacko / senao wifi

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Hacked Xterm
« Reply #6 on: November 16, 2005, 04:40:17 am »
Quote
you can put something like

xterm*background:       black
xterm*foreground:         white

in the file  /home/root/.Xresources (create it if it's not present)

or
you can add:

alias fsxterm='fsxterm -bg black -fg white'

in .bashrc

you can also edit /usr/applications/fsxterm.desktop and add the relevant options.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=103865\"][{POST_SNAPBACK}][/a][/div]

Thanks.
I tried the .Xresources but it takes no effects and when I . .Xresources it returns
Code: [Select]
bash: xterm*background:: command not found
bash: xterm*foreground:: command not found

I still cannot find .bashrc using find or locate.  Could your please point me to the path?

I also changed the line EXEC=fsxterm -bg black -fg white in the .desktop file but the app stills opens with white bg and black fg.  Did I do something wrong here?

Thanks again!  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Hacked Xterm
« Reply #7 on: November 16, 2005, 04:47:01 am »
you don't need to source .Xresources, it should be read by xterm.

/home/root/.bashrc create it if needed.

For the rest I need to test to check the syntax
SLC-860 cacko / senao wifi

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Hacked Xterm
« Reply #8 on: November 16, 2005, 04:54:48 am »
Thanks.
I created .bashrc and fsxterm now shows the desired colors.
But fsxterm still opens with the old colors when launching from icons.

[Edited]
Problem solved!  Not sure whether it is necessary or relevant, but after restarting the wm it works.  Thanks, pgas.  
« Last Edit: November 16, 2005, 10:12:06 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]