Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.fortran    |    Putting John Backus on a giant pedestal    |    5,127 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,565 of 5,127    |
|    yeti to All    |
|    Re: Bold print    |
|    13 Jan 24 18:36:06    |
   
   From: yeti@tilde.institute   
      
   Maybe this way?   
      
   bold.f90:   
   ------------------------------------------------------------------------   
   program testbold   
   call system('tput bold')   
   print'("Hello, World!")'   
   call system('tput sgr0')   
   print'("Bye, World!")'   
   end program testbold   
   ------------------------------------------------------------------------   
      
   That's my 1st hand full of Fortran lines since the early 90s, so please   
   don't laugh too loud.   
      
   Using `system` and `tput` avoids needing   
    + to find a Fortran (n)curses library   
    + to hardcode the terminal commands   
   .   
      
   It worked for me with Gfortran on OpenBSD. I was too lazy to install   
   Gfortran on Linux while already having access to it on BSD.   
      
   --   
   I do not bite, I just want to play.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca